feat(phase979): production validate e2e journey stub

Add runGuildMeshProductionValidateE2eJourney chaining validate chain
with live getMeshStabilityStats. Non-breaking agentctl harness only.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-05 04:15:08 -04:00
co-authored by Cursor
parent 1c704518d5
commit 075d1a0995
+18
View File
@@ -1817,6 +1817,24 @@ class HeadlessSession {
return { multi, federation }
}
/** Journey stub: guild mesh production track e2e validate extend (Phase 979). */
async runGuildMeshProductionValidateE2eJourney (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 fs = require('bare-fs')
const path = require('bare-path')
const { runGuildMeshProductionValidateE2e } = require('pearcord-platform/guild-mesh-production-validate-e2e')
const platformDir = path.join(__dirname, '..', 'pearcord-platform')
const validate = runGuildMeshProductionValidateE2e({
readFileSync: fs.readFileSync.bind(fs),
platformDir
})
const stats = this.platform.getMeshStabilityStats(gid)
await this.refreshView()
return { validate, stats }
}
/** Journey stub: guild mesh production track regression chain 956977 (Phase 978). */
async runGuildMeshTrackRegressionChainJourney (guildId) {
if (!this.platform) throw new Error('headless not started')