Phase 1007: agentctl guild light-poll refresh journey stub.
Adds runMeshStabilityUiGuildLightPollRefreshJourney for chrome refresh track verification without changing mesh or RPC behavior. 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 }
|
return { guildId: gid, fields, snapshot, badgeText, view }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Journey stub: guild light-poll refresh predicate keys + snapshot (Phase 1007). */
|
||||||
|
async runMeshStabilityUiGuildLightPollRefreshJourney (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-light-poll-refresh.js')
|
||||||
|
const {
|
||||||
|
listMeshStabilityUiGuildLightPollRefreshKindKeys,
|
||||||
|
buildMeshStabilityGuildLightPollRefreshSnapshot,
|
||||||
|
guildChannelsNeedsRefresh
|
||||||
|
} = await import(uiPath)
|
||||||
|
const view = await this.refreshView()
|
||||||
|
const kinds = listMeshStabilityUiGuildLightPollRefreshKindKeys()
|
||||||
|
const snapshot = buildMeshStabilityGuildLightPollRefreshSnapshot(view, view)
|
||||||
|
const stableChannels = guildChannelsNeedsRefresh(view, view)
|
||||||
|
return { guildId: gid, kinds, snapshot, stableChannels, view }
|
||||||
|
}
|
||||||
|
|
||||||
/** Journey stub: guild sync health refresh predicate keys + snapshot (Phase 1006). */
|
/** Journey stub: guild sync health refresh predicate keys + snapshot (Phase 1006). */
|
||||||
async runMeshStabilityUiGuildSyncHealthRefreshJourney (guildId) {
|
async runMeshStabilityUiGuildSyncHealthRefreshJourney (guildId) {
|
||||||
if (!this.platform) throw new Error('headless not started')
|
if (!this.platform) throw new Error('headless not started')
|
||||||
|
|||||||
Reference in New Issue
Block a user