feat(agentctl): add guild mesh bandwidth stats journey stub (Phase 958)
Headless runGuildMeshBandwidthStatsJourney validates bandwidth window stats and exportGuildSyncDiagnostics cap keys without behavior changes. 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`.
|
Both modes use **`pearcord-ui-flow` `dispatchUiMessage`** — the same handler as `apps/pearcord/index.js`.
|
||||||
|
|
||||||
|
**v0.8.925 (Phase 958):** Headless `runGuildMeshBandwidthStatsJourney(guildId)` — bandwidth window stats + guild sync diagnostics slice stub. Smoke: `npm run test:agentctl-guild-mesh-bandwidth-journey-stub`.
|
||||||
|
|
||||||
**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.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.923 (Phase 956):** Headless `runGuildMeshStabilityStatsJourney(guildId)` — `getMeshStabilityStats` journey stub. Smoke: `npm run test:agentctl-guild-mesh-stability-journey-stub`.
|
||||||
|
|||||||
+11
@@ -1742,6 +1742,17 @@ class HeadlessSession {
|
|||||||
return { health, diagnostics }
|
return { health, diagnostics }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Journey stub: guild mesh bandwidth window stats (Phase 958). */
|
||||||
|
async runGuildMeshBandwidthStatsJourney (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 diagnostics = this.platform.exportGuildSyncDiagnostics(gid)
|
||||||
|
await this.refreshView()
|
||||||
|
return { stats, diagnostics }
|
||||||
|
}
|
||||||
|
|
||||||
/** Journey stub: guild mesh gossip outbox stats (Phase 957). */
|
/** Journey stub: guild mesh gossip outbox stats (Phase 957). */
|
||||||
async runGuildMeshGossipOutboxStatsJourney (guildId) {
|
async runGuildMeshGossipOutboxStatsJourney (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