feat(agentctl): add guild mesh topic pool snapshot journey stub (Phase 961)
Headless runGuildMeshTopicPoolSnapshotJourney verifies topic pool snapshot presence across mesh stability stats and replication diagnostics exports. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -275,6 +275,8 @@ Enable autonomous agents (and developers) to drive Pearcord like a real user wit
|
||||
|
||||
Both modes use **`pearcord-ui-flow` `dispatchUiMessage`** — the same handler as `apps/pearcord/index.js`.
|
||||
|
||||
**v0.8.928 (Phase 961):** Headless `runGuildMeshTopicPoolSnapshotJourney(guildId)` — topic pool snapshot stability/replication chain stub. Smoke: `npm run test:agentctl-guild-mesh-topic-pool-journey-stub`.
|
||||
|
||||
**v0.8.927 (Phase 960):** Headless `runGuildMeshReplicationDiagnosticsJourney(guildId)` — replication diagnostics export field registry stub. Smoke: `npm run test:agentctl-guild-mesh-replication-journey-stub`.
|
||||
|
||||
**v0.8.926 (Phase 959):** Headless `runGuildMeshPeerQualityStatsJourney(guildId)` — meshPeerQuality snapshot + view chain stub. Smoke: `npm run test:agentctl-guild-mesh-peer-quality-journey-stub`.
|
||||
|
||||
+11
@@ -1752,6 +1752,17 @@ class HeadlessSession {
|
||||
return { replication }
|
||||
}
|
||||
|
||||
/** Journey stub: guild mesh topic pool snapshot (Phase 961). */
|
||||
async runGuildMeshTopicPoolSnapshotJourney (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 stats = this.platform.getMeshStabilityStats(gid)
|
||||
const replication = this.platform.exportMeshReplicationDiagnostics(gid)
|
||||
await this.refreshView()
|
||||
return { stats, replication }
|
||||
}
|
||||
|
||||
/** Journey stub: guild mesh peer quality snapshot (Phase 959). */
|
||||
async runGuildMeshPeerQualityStatsJourney (guildId) {
|
||||
if (!this.platform) throw new Error('headless not started')
|
||||
|
||||
Reference in New Issue
Block a user