feat(phase984): mesh stability UI reconnect chrome journey stub

Adds runMeshStabilityUiReconnectChromeJourney for agentctl smoke coverage.
Non-breaking headless journey only.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-05 04:36:43 -04:00
co-authored by Cursor
parent 7511c8553a
commit b07d3e6f4f
+17
View File
@@ -1817,6 +1817,23 @@ class HeadlessSession {
return { multi, federation } return { multi, federation }
} }
/** Journey stub: mesh stability UI reconnect chrome keys + snapshot (Phase 984). */
async runMeshStabilityUiReconnectChromeJourney (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 {
listMeshStabilityUiReconnectChromeFieldKeys,
buildMeshStabilityReconnectChromeSnapshot,
formatMeshStabilityP2pBadgeText
} = require('pearcord-platform/mesh-stability-ui-reconnect-chrome-keys')
const view = await this.refreshView()
const fields = listMeshStabilityUiReconnectChromeFieldKeys()
const snapshot = buildMeshStabilityReconnectChromeSnapshot(view)
const badgeText = formatMeshStabilityP2pBadgeText(view?.stats)
return { guildId: gid, fields, snapshot, badgeText, view }
}
/** Journey stub: mesh stability UI refresh predicate keys + snapshot (Phase 983). */ /** Journey stub: mesh stability UI refresh predicate keys + snapshot (Phase 983). */
async runMeshStabilityUiRefreshPredicateJourney (guildId) { async runMeshStabilityUiRefreshPredicateJourney (guildId) {
if (!this.platform) throw new Error('headless not started') if (!this.platform) throw new Error('headless not started')