Phase 1013: add guild mesh rail refresh agentctl journey stub (v0.8.980).
Non-breaking refactor — runMeshStabilityUiGuildMeshRailRefreshJourney for mesh stability UI chrome refresh verification. No behavior changes. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
+19
@@ -2339,6 +2339,25 @@ class HeadlessSession {
|
||||
return { guildId: gid, fields, snapshot, badgeText, view }
|
||||
}
|
||||
|
||||
/** Journey stub: guild mesh rail refresh predicate keys + snapshot (Phase 1013). */
|
||||
async runMeshStabilityUiGuildMeshRailRefreshJourney (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-mesh-rail-refresh.js')
|
||||
const {
|
||||
listMeshStabilityUiGuildMeshRailRefreshFieldKeys,
|
||||
buildMeshStabilityGuildMeshRailRefreshSnapshot,
|
||||
guildMeshRailNeedsRefresh
|
||||
} = await import(uiPath)
|
||||
const view = await this.refreshView()
|
||||
const keys = listMeshStabilityUiGuildMeshRailRefreshFieldKeys()
|
||||
const snapshot = buildMeshStabilityGuildMeshRailRefreshSnapshot(view)
|
||||
const stable = guildMeshRailNeedsRefresh(view, view)
|
||||
return { guildId: gid, keys, snapshot, stable, view }
|
||||
}
|
||||
|
||||
/** Journey stub: guild mesh topology refresh predicate keys + snapshot (Phase 1012). */
|
||||
async runMeshStabilityUiGuildMeshTopologyRefreshJourney (guildId) {
|
||||
if (!this.platform) throw new Error('headless not started')
|
||||
|
||||
Reference in New Issue
Block a user