Phase 957: gossip outbox stats journey stub (v0.8.924)

Add runGuildMeshGossipOutboxStatsJourney for replication diagnostics
gossip slice verification. Non-breaking refactor only.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-04 23:13:44 -04:00
co-authored by Cursor
parent d884a29de3
commit 7785869971
2 changed files with 13 additions and 0 deletions
+2
View File
@@ -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.924 (Phase 957):** Headless `runGuildMeshGossipOutboxStatsJourney(guildId)` — replication diagnostics gossip slice stub. Smoke: `npm run test:agentctl-guild-mesh-gossip-outbox-journey-stub`.
**v0.8.923 (Phase 956):** Headless `runGuildMeshStabilityStatsJourney(guildId)``getMeshStabilityStats` journey stub. Smoke: `npm run test:agentctl-guild-mesh-stability-journey-stub`.
**v0.8.921 (Phase 954):** Headless `runExportMeshRegistryValidateJourney()` — calls `runExportMeshFetchRegistryValidateE2e()` for export mesh registry alignment + coverage stub. Smoke: `npm run test:agentctl-export-mesh-journey-stub`.
+11
View File
@@ -1742,6 +1742,17 @@ class HeadlessSession {
return { health, diagnostics }
}
/** Journey stub: guild mesh gossip outbox stats (Phase 957). */
async runGuildMeshGossipOutboxStatsJourney (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 replication = this.platform.exportMeshReplicationDiagnostics(gid)
const stats = this.platform.getMeshStabilityStats(gid)
await this.refreshView()
return { replication, stats }
}
/** Journey stub: guild mesh stability stats (Phase 956). */
async runGuildMeshStabilityStatsJourney (guildId) {
if (!this.platform) throw new Error('headless not started')