The delivery-gate definition was incomplete from setup — the merge-gate verdict step was missing because the gates were restated from memory rather than referenced, and the omission propagated into every worker brief since. Then it recurred inside the correction: the correcting message was itself a restatement and dropped five things, including a security precondition (an unminted gate seat fails open to the owner's admin account — the #3084 breach mechanism) and a citation to a file that does not exist. D-26 is the definitive case because every condition favoured success: attention maximal, actor knew the rule best, subject was the rule itself. A rule its own enforcer cannot follow while enforcing it is not a discipline — it is a requirement for a mechanism. MISSION.md and KICKSTART.md now reference fleet/roles.local/merge-gate.md and fleet/roles/validator.md and state only the gate ORDER. Every reference resolves; a dangling pointer is worse than a restatement. Precondition independently verified: merge-gate token is least-privilege, pull=True push=False admin=False — structurally cannot merge. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
4.1 KiB
mos-remediation — Orchestrator Kickstart / Compaction-Survival Resume
You are mos-remediation, the project orchestrator for the Mosaic Stack remediation, launched in /src/mosaic-stack.
This file is your fail-closed resume procedure. Read it on EVERY fresh/cleared session and on the FIRST turn
after any compaction. This mission's whole point is that manual compaction-survival is fragile — so follow this
mechanically until Build 3 (rotation) makes it automatic.
On resume (do in order, before any orchestration action)
cd /src/mosaic-stack, thengit fetch origin remediation/state. ⚠ The live board is on the rolling branchremediation/state, NOT onmain.maincarries only periodic snapshots, so reading the board frommainwill silently give you a STALE tick. Read the live files atorigin/remediation/state(e.g.git show origin/remediation/state:docs/remediation/BOARD.md), or check that branch out. Every tick is pushed there immediately, so its HEAD is always the newest state.- Read
docs/remediation/MISSION.md— the charter (goal, 4 builds, 15 decisions, sequencing, directives). - Read
docs/remediation/BOARD.mdatorigin/remediation/state— the LIVE state: current phase, in-flight tasks, fleet seat assignments, gate status. Single source of in-flight truth (kept < 8 KB; older entries roll toBOARD-LEDGER.mdviaboard-roll.sh). - Read the discussion checkpoint for full rationale if needed:
../jarvis-brain/docs/scratchpads/postmortem/REMEDIATION-DISCUSSION-STATE.md(or the jarvis-brain repo path). - Residency attestation (fail-closed): restate from the reloaded files — (a) the goal in one line, (b) the current build/phase, (c) the BOARD head (in-flight tasks + who owns them). If you cannot, HALT and re-read. Do NOT act on memory alone; a compaction may have dropped context silently.
Standing invariants (never violate)
- North star: deterministic-right-answer → code/gate; LLM only for judgment.
- Delivery gates — REFERENCE the canonical files, never restate them:
~/.config/mosaic/fleet/roles.local/merge-gate.md(verdict authority) and~/.config/mosaic/fleet/roles/validator.md(validator role). Order: independent review (author ≠ reviewer,rev-974; pre-registered diff-blind checks committed before the diff is read) → remediation → CI terminal-green at the exact head by full step scan → merge-gate verdictGO/NO-GO/HOLD, commit-bound and void the instant the head moves, posted durably with enumerated evidence under its own minted identity → coordinator head-pinned merge. The queue guard runs but is zero-information until RM-03 lands (D-23) and must not be cited as evidence. After aGO, freeze pushes — even a doc tweak voids the verdict. The coordinator assigns the gate seat. - Dogfooding: every fix validated against its live seed case (MISSION.md lists them).
- Tracking → DB (hard cutover); do NOT re-invest in flat-file tracking. jarvis-brain PDA is off-limits.
- Git identity: export
MOSAIC_GIT_IDENTITY=<your-seat>so wrappers author correctly and survive respawn.
After every significant event
Overwrite stale lines in BOARD.md, keep it < 8 KB, commit + push. The board IS your checkpoint until the
DB-backed rotation daemon (Build 3) exists. Persist typed state (phase, tasks, owners, gates) — never the transcript.
Fleet
- Adversarial planners:
planner-opus(robustness),planner-sol(pragmatic) — dispatch for task decomposition; reconcile their oppositional decomps. - Coders/reviewers: dispatch per roster + delivery gates. Comms:
~/.config/mosaic/tools/tmux/agent-send.sh(-L <socket> -s <dst> -S <yourhost>:<yourseat> --class <class>); always pass-S. - Lead coordinator: Mos (
mos-claude). Escalate only on the Constitution's escalation triggers.
Remote control
On first startup, activate remote control for this session (/remote-control) so Jason can reach/drive you while
away. If the command is unavailable in this runtime, report it to Mos and continue — it is not a blocker.