From 531c214e3bbb2c25df5601f5d93a05c3c0c2faac Mon Sep 17 00:00:00 2001 From: Lukasz Boryn Date: Fri, 24 Jul 2026 10:39:43 +0200 Subject: [PATCH] docs(blueprint): lock 012 add-ferry-level-muster incorporates the sound refinement: ferry review-base derived at moor (Option 3, no ferry/weave seam); muster halts as moor first act, after GATHER SIGNAL and before CONSOLIDATE, gating all mutations. --- OKF/blueprints/012-add-ferry-level-muster.md | 75 +++++++++++++------- OKF/index.md | 2 +- 2 files changed, 51 insertions(+), 26 deletions(-) diff --git a/OKF/blueprints/012-add-ferry-level-muster.md b/OKF/blueprints/012-add-ferry-level-muster.md index 0ce48f3..85e1c63 100644 --- a/OKF/blueprints/012-add-ferry-level-muster.md +++ b/OKF/blueprints/012-add-ferry-level-muster.md @@ -1,7 +1,8 @@ --- type: Blueprint -status: draft +status: locked traces-to: user request 2026-07-24 +sounded: 2026-07-24 --- # 012 — add ferry-level muster, the human review gate at moor @@ -10,43 +11,67 @@ traces-to: user request 2026-07-24 The ferry-level half split out of [010](010-add-muster-the-human-review-gate.md) per growth-doctrine -[020](../decisions/020-every-page-has-a-growth-path.md), because it needs a -seam 010 never declared: the ferry's `review-base` has no writer among 010's -seams, and planting it at ferry generation touches the `ferry` skill. -[011](011-add-blueprint-level-muster.md) shipped the weave gate; this ships -the moor gate so a whole delivered ferry gets one human read before it moors. +[020](../decisions/020-every-page-has-a-growth-path.md): 010 bundled the +weave gate and the moor gate, and the moor gate's `review-base` had no writer +among 010's declared seams. [011](011-add-blueprint-level-muster.md) shipped +the weave gate. Sounding (2026-07-24) resolved the base question — the +ferry's `review-base` is **derivable at moor**, so this needs no ferry-skill +seam and no weave coupling. 010 carries the full justification and sounding +of the muster concept; this ships the gate that gives a whole delivered ferry +one human read before moor finalises it. ## Contract -**Opt in on the ferry's `MAP.md`** with `muster: true`. The `ferry` skill, at -generation, records `review-base:` on the `MAP.md` — the parent of where the -ferry's first blueprint begins. Absent → moor behaves exactly as today. +**Opt in on the ferry's `MAP.md`** with `muster: true`. Absent → moor behaves +exactly as today. -**The gate halts moor** after GATHER SIGNAL, before COLLAPSE: the whole ferry -diff `review-base..@` is reviewed via `hunk patch -` (raw diff fallback), -unioning every blueprint the ferry spawned. The human records a `tally:` -block on the collapsed page; `matches: no` stays halted for a fix + -re-muster. The ferry-level tally is **prose-enforced at moor** — -`check_ferries` is shape-only, so okf-check does not gate it. +**The base is derived at moor.** moor's GATHER SIGNAL already reads `jj log` +since the ferry started and the ferry's blueprint numbers; `review-base` = +the parent of the earliest commit citing one of those blueprints (weave seals +cite `blueprint NNN` — commit-atomic-jj principle 5). moor persists it as +`review-base:` on the collapsed page for the record. Nothing is stored at +generation. + +**The gate is moor's first act.** moor halts **after GATHER SIGNAL (2, the +last read-only step), before CONSOLIDATE (3, its first mutation)**: review the +whole-ferry diff `review-base..@` — unioning every blueprint the ferry +spawned — via `hunk patch -` (raw diff fallback). The human records a `tally:` +block. `matches: no` **halts moor before it consolidates, graduates, or +collapses anything**; `matches: yes` → moor proceeds. This is the gate on the +arrival → moor transition: nothing in moor mutates until the human signs off. + +**Prose-enforced.** `check_ferries` is shape-only, so `okf-check` does not +gate the ferry tally — halt and tally both live in moor's prose (decision +[017](../decisions/017-pin-drift-splits-by-visibility.md): okf-check enforces +only what it can see). ## Seams touched -- `skills/loop/ferry/SKILL.md` — records `review-base` on `MAP.md` at - generation when `muster: true`. -- `skills/loop/moor/SKILL.md` — a **Muster** step before COLLAPSE, guarded by - the ferry's `muster: true`. -- `skills/loop/write-OKF/okf-layout.md` — the new fields in the ferry-map - contract. +- `skills/loop/moor/SKILL.md` — a **Muster** step as moor's first act (after + GATHER SIGNAL, before CONSOLIDATE), guarded by the ferry's `muster: true`; + derives and persists `review-base`. +- `skills/loop/write-OKF/okf-layout.md` — the `muster: true` (+ persisted + `review-base:`) fields in the ferry-map contract. ## Verify -To be settled at sound: a scratch moored-ferry walkthrough showing moor halts -before COLLAPSE on `muster: true` and records the tally, versus a mode-off -ferry that moors unchanged. A prose-gate resists a one-command Verify — this -is what lock must scrutinise. +To settle at lock: a scratch moored-ferry walkthrough — a `muster: true` +ferry halts moor before CONSOLIDATE and refuses to mutate on `matches: no`, +versus a mode-off ferry that moors unchanged. A prose gate resists a +one-command Verify; this is what lock must scrutinise. (`okf-check` has no +ferry-tally rule by design — see Contract.) ## Out of scope - **Everything 011 owns** — the weave gate, the `okf-check` tally rule, the `tally:` block format. +- **A ferry-skill seam** — the base is derived at moor, not stamped at ferry + generation. +- **Clean isolation of interleaved work** — `review-base..@` is a contiguous + range, so any non-ferry commit woven between the ferry's blueprints shows in + the muster diff. Accept for solo / one-ferry-at-a-time; a per-commit union + is a larger design. +- **1-blueprint muster-ferries** — the ferry muster would re-review the single + blueprint's diff; use blueprint-level muster (011) there. Flag only + multi-blueprint ferries. - **GitHub**, the agent axes, default-mode behaviour, auto-fix — as 011. diff --git a/OKF/index.md b/OKF/index.md index 8a38f7c..e9c609f 100644 --- a/OKF/index.md +++ b/OKF/index.md @@ -33,7 +33,7 @@ your task needs. Humans welcome too. - [009](blueprints/009-give-every-page-a-growth-path.md) — give every page a growth path so the line cap can be enforced — implemented - [010](blueprints/010-add-muster-the-human-review-gate.md) — add muster, the opt-in human review gate on the loop's close — superseded-by-011 - [011](blueprints/011-add-blueprint-level-muster.md) — add blueprint-level muster, the opt-in human review gate in weave — implemented -- [012](blueprints/012-add-ferry-level-muster.md) — add ferry-level muster, the human review gate at moor — draft +- [012](blueprints/012-add-ferry-level-muster.md) — add ferry-level muster, the human review gate at moor — locked ## Ferries