Phase 992: add read receipt sync agentctl journey stub (v0.8.959)

Non-breaking headless journey for mesh stability UI read receipt sync
keys snapshot and settings panel embed HTML verification.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-05 05:12:11 -04:00
co-authored by Cursor
parent 3289c4d65c
commit 7bc313024f
+21
View File
@@ -1847,6 +1847,27 @@ class HeadlessSession {
}
}
/** Journey stub: mesh stability UI read receipt sync keys + embed snapshot (Phase 992). */
async runMeshStabilityUiReadReceiptSyncJourney (guildId) {
if (!this.platform) throw new Error('headless not started')
const gid = guildId || this.platform.guild?.guild?.id
if (!gid) throw new Error('no guild')
const path = require('bare-path')
const {
listMeshStabilityUiReadReceiptSyncRowFieldKeys,
buildMeshStabilityReadReceiptSyncSnapshot
} = require('pearcord-platform/mesh-stability-ui-read-receipt-sync-keys')
const uiPath = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-read-receipt-sync.js')
const { buildMeshStabilityReadReceiptSyncDiagnosticsEmbedHtml } = await import(uiPath)
const view = await this.refreshView()
const fields = listMeshStabilityUiReadReceiptSyncRowFieldKeys()
const snapshot = buildMeshStabilityReadReceiptSyncSnapshot(view)
const embedHtml = buildMeshStabilityReadReceiptSyncDiagnosticsEmbedHtml({
readReceiptSyncRows: [{ channelName: 'general', channelId: 'abc123def456', lastReadAt: Date.now() }]
}, (s) => String(s))
return { guildId: gid, fields, snapshot, embedHtml, view }
}
/** Journey stub: mesh stability UI partition heal diagnostics keys + embed snapshot (Phase 991). */
async runMeshStabilityUiPartitionHealDiagnosticsJourney (guildId) {
if (!this.platform) throw new Error('headless not started')