Phase 1044: add parity rail-hash split rotation prep journey stub (v0.8.1011)

Wire runMeshStabilityUiParityRailHashSplitRotationPrepJourney for agentctl
smoke verification. Non-breaking — no mesh UI behavior changes.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-05 08:21:44 -04:00
co-authored by Cursor
parent d6d50119a7
commit 59112432c6
+19
View File
@@ -2586,6 +2586,25 @@ class HeadlessSession {
return { guildId: gid, keys, snapshot, stable, view } return { guildId: gid, keys, snapshot, stable, view }
} }
/** Journey stub: parity rail-hash split rotation prep (Phase 1044). */
async runMeshStabilityUiParityRailHashSplitRotationPrepJourney (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 {
assertMeshStabilityUiParityRailHashSplitRotationPrep,
buildMeshStabilityUiParityRailHashSplitRotationPrepSnapshot
} = require('pearcord-platform/mesh-stability-ui-parity-rail-hash-split-rotation-prep')
const audit = assertMeshStabilityUiParityRailHashSplitRotationPrep(platformDir, uiDir)
const rotationPrep = buildMeshStabilityUiParityRailHashSplitRotationPrepSnapshot()
const stats = this.platform.getMeshStabilityStats(gid)
await this.refreshView()
return { rotationPrep, audit, stats }
}
/** Journey stub: parity rail-hash split hardening consolidation (Phase 1043). */ /** Journey stub: parity rail-hash split hardening consolidation (Phase 1043). */
async runMeshStabilityUiParityRailHashSplitConsolidationJourney (guildId) { async runMeshStabilityUiParityRailHashSplitConsolidationJourney (guildId) {
if (!this.platform) throw new Error('headless not started') if (!this.platform) throw new Error('headless not started')