Phase 1064: add next-post-mesh-next-era rotation prep journey stub

Add runMeshStabilityUiNextPostMeshNextEraRotationPrepJourney for Phase 1064
rotation prep verification. Non-breaking — no behavior changes.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-05 09:19:14 -04:00
co-authored by Cursor
parent 757b213a27
commit 3d2163b224
+19
View File
@@ -2662,6 +2662,25 @@ class HeadlessSession {
return { trackContinuation, audit, stats }
}
/** Journey stub: mesh stability UI next-post-mesh-next-era rotation prep (Phase 1064). */
async runMeshStabilityUiNextPostMeshNextEraRotationPrepJourney (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 path = require('bare-path')
const platformDir = path.join(__dirname, '..', 'pearcord-platform')
const uiDir = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui')
const {
assertMeshStabilityUiNextPostMeshNextEraRotationPrep,
buildMeshStabilityUiNextPostMeshNextEraRotationPrepSnapshot
} = require('pearcord-platform/mesh-stability-ui-next-post-mesh-next-era-rotation-prep')
const audit = assertMeshStabilityUiNextPostMeshNextEraRotationPrep(platformDir, uiDir)
const rotationPrep = buildMeshStabilityUiNextPostMeshNextEraRotationPrepSnapshot()
const stats = this.platform.getMeshStabilityStats(gid)
await this.refreshView()
return { rotationPrep, audit, stats }
}
/** Journey stub: mesh stability UI next-post-mesh-next-era track closure (Phase 1063). */
async runMeshStabilityUiNextPostMeshNextEraTrackClosureJourney (guildId) {
if (!this.platform) throw new Error('headless not started')