Phase 1024: add sync pending/health bundle refresh journey stub (v0.8.991).
Headless agentctl journey for guild sync pending/health bundle refresh predicate smoke verification. No behavior changes. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
+27
@@ -2586,6 +2586,33 @@ class HeadlessSession {
|
||||
return { guildId: gid, keys, snapshot, stable, view }
|
||||
}
|
||||
|
||||
/** Journey stub: guild sync pending/health bundle refresh predicates (Phase 1024). */
|
||||
async runMeshStabilityUiGuildSyncPendingHealthBundleRefreshJourney (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 bundleKeys = require('pearcord-platform/mesh-stability-ui-guild-sync-pending-health-bundle-refresh-keys')
|
||||
const syncPendingUi = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-guild-sync-pending-refresh.js')
|
||||
const quadSyncPendingUi = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-guild-quad-sync-pending-refresh.js')
|
||||
const quadSyncHealthUi = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-guild-quad-sync-health-refresh.js')
|
||||
const ackWatermarkUi = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-guild-sync-ack-watermark-refresh.js')
|
||||
const syncPending = await import(syncPendingUi)
|
||||
const quadSyncPending = await import(quadSyncPendingUi)
|
||||
const quadSyncHealth = await import(quadSyncHealthUi)
|
||||
const ackWatermark = await import(ackWatermarkUi)
|
||||
const view = await this.refreshView()
|
||||
const kinds = bundleKeys.listMeshStabilityUiGuildSyncPendingHealthBundleRefreshKindKeys()
|
||||
const snapshots = {
|
||||
syncPending: syncPending.buildMeshStabilityGuildSyncPendingRefreshSnapshot(view),
|
||||
quadSyncPending: quadSyncPending.buildMeshStabilityGuildQuadSyncPendingRefreshSnapshot(view),
|
||||
quadSyncHealth: quadSyncHealth.buildMeshStabilityGuildQuadSyncHealthRefreshSnapshot(view),
|
||||
syncAckWatermark: ackWatermark.buildMeshStabilityGuildSyncAckWatermarkRefreshSnapshot(view)
|
||||
}
|
||||
const stableSyncPending = syncPending.guildSyncPendingNeedsRefresh(view, view)
|
||||
return { guildId: gid, kinds, snapshots, stableSyncPending, view }
|
||||
}
|
||||
|
||||
/** Journey stub: guild quad pins/roles/reactions bundle refresh predicates (Phase 1023). */
|
||||
async runMeshStabilityUiGuildQuadPinsRolesReactionsBundleRefreshJourney (guildId) {
|
||||
if (!this.platform) throw new Error('headless not started')
|
||||
|
||||
Reference in New Issue
Block a user