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:
+18
@@ -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 956–977 (Phase 978). */
|
||||
async runGuildMeshTrackRegressionChainJourney (guildId) {
|
||||
if (!this.platform) throw new Error('headless not started')
|
||||
|
||||
Reference in New Issue
Block a user