Phase 1035: add heal/soak track closure journey stub (v0.8.1002).

Headless journey for heal/soak post-track module audit and closure snapshot.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-05 07:53:28 -04:00
co-authored by Cursor
parent 1e58f13da7
commit 1e691befc4
+20
View File
@@ -2586,6 +2586,26 @@ class HeadlessSession {
return { guildId: gid, keys, snapshot, stable, view } return { guildId: gid, keys, snapshot, stable, view }
} }
/** Journey stub: heal/soak post-track closure + rotation prep (Phase 1035). */
async runMeshStabilityUiHealSoakTrackClosureJourney (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 {
assertMeshStabilityUiHealSoakTrackClosure,
buildMeshStabilityUiHealSoakTrackClosureSnapshot
} = require('pearcord-platform/mesh-stability-ui-heal-soak-track-closure')
const platformDir = path.join(__dirname, '..', 'pearcord-platform')
const uiDir = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui')
const audit = assertMeshStabilityUiHealSoakTrackClosure(platformDir, uiDir)
const closure = buildMeshStabilityUiHealSoakTrackClosureSnapshot()
const stats = this.platform.getMeshStabilityStats(gid)
await this.refreshView()
return { closure, audit, stats }
}
/** Journey stub: quad ultimate roster top bundle refresh predicates (Phase 1034). */ /** Journey stub: quad ultimate roster top bundle refresh predicates (Phase 1034). */
async runMeshStabilityUiGuildQuadUltimateRosterTopBundleRefreshJourney (guildId) { async runMeshStabilityUiGuildQuadUltimateRosterTopBundleRefreshJourney (guildId) {
if (!this.platform) throw new Error('headless not started') if (!this.platform) throw new Error('headless not started')