Phase 1017: add guild churn rejoin refresh journey stub (v0.8.984).

Non-breaking agentctl stub runMeshStabilityUiGuildChurnRejoinRefreshJourney
for mesh stability UI chrome refresh track verification. No behavior changes.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-05 06:47:29 -04:00
co-authored by Cursor
parent de664e5419
commit 0257ba6ab1
+19
View File
@@ -2339,6 +2339,25 @@ class HeadlessSession {
return { guildId: gid, fields, snapshot, badgeText, view }
}
/** Journey stub: guild churn rejoin refresh predicate keys + snapshot (Phase 1017). */
async runMeshStabilityUiGuildChurnRejoinRefreshJourney (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 uiPath = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-guild-churn-rejoin-refresh.js')
const {
listMeshStabilityUiGuildChurnRejoinRefreshFieldKeys,
buildMeshStabilityGuildChurnRejoinRefreshSnapshot,
guildChurnRejoinNeedsRefresh
} = await import(uiPath)
const view = await this.refreshView()
const keys = listMeshStabilityUiGuildChurnRejoinRefreshFieldKeys()
const snapshot = buildMeshStabilityGuildChurnRejoinRefreshSnapshot(view)
const stable = guildChurnRejoinNeedsRefresh(view, view)
return { guildId: gid, keys, snapshot, stable, view }
}
/** Journey stub: guild recovery burst refresh predicate keys + snapshot (Phase 1016). */
async runMeshStabilityUiGuildRecoveryBurstRefreshJourney (guildId) {
if (!this.platform) throw new Error('headless not started')