Phase 1005: add mesh stability UI parity track closure journey (v0.8.972)

Headless journey validates 48-module parity track closure audit and
snapshot without changing observable UI behavior.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-05 06:03:57 -04:00
co-authored by Cursor
parent fa34eeb6f6
commit c5bf265229
+20
View File
@@ -1868,6 +1868,26 @@ class HeadlessSession {
return { guildId: gid, fields, snapshot, embedHtml, view }
}
/** Journey stub: mesh stability UI parity track closure + rotation prep (Phase 1005). */
async runMeshStabilityUiParityTrackClosureJourney (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 {
assertMeshStabilityUiParityTrackClosure,
buildMeshStabilityUiParityTrackClosureSnapshot
} = require('pearcord-platform/mesh-stability-ui-parity-track-closure')
const platformDir = path.join(__dirname, '..', 'pearcord-platform')
const uiDir = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui')
const audit = assertMeshStabilityUiParityTrackClosure(platformDir, uiDir)
const closure = buildMeshStabilityUiParityTrackClosureSnapshot()
const stats = this.platform.getMeshStabilityStats(gid)
await this.refreshView()
return { closure, audit, stats }
}
/** Journey stub: mesh stability UI guild sync panel keys + embed snapshot (Phase 1004). */
async runMeshStabilityUiGuildSyncPanelJourney (guildId) {
if (!this.platform) throw new Error('headless not started')