docs(blueprint): split 010 into 011 (implemented) + 012, supersede 010
splits 010 per growth-doctrine 020, whose ferry-muster needed a seam it never declared: - 011 add-blueprint-level-muster: implemented, carries the green diff - 012 add-ferry-level-muster: draft, needs the ferry skill as a seam - 010 status advanced to superseded-by-011
This commit is contained in:
parent
3421847c15
commit
5943180375
@ -1,6 +1,6 @@
|
||||
---
|
||||
type: Blueprint
|
||||
status: locked
|
||||
status: superseded-by-011
|
||||
traces-to: user request 2026-07-24
|
||||
sounded: 2026-07-24
|
||||
---
|
||||
@ -9,6 +9,13 @@ sounded: 2026-07-24
|
||||
|
||||
## Justification
|
||||
|
||||
**Superseded 2026-07-24 — split per growth-doctrine
|
||||
[020](../decisions/020-every-page-has-a-growth-path.md): the blueprint-level
|
||||
gate ships as [011](011-add-blueprint-level-muster.md) (implemented); the
|
||||
ferry-level gate — which needs the `ferry` skill as a seam this blueprint
|
||||
never declared — becomes [012](012-add-ferry-level-muster.md). The
|
||||
justification and sounding below stand for both.**
|
||||
|
||||
The loop reviews before it seals — [review-angles](../../engineering/review-angles/SKILL.md),
|
||||
[review-blueprint](../../engineering/review-blueprint/SKILL.md),
|
||||
[nuke-review](../../engineering/nuke-review/SKILL.md) — but all of it is
|
||||
|
||||
105
OKF/blueprints/011-add-blueprint-level-muster.md
Normal file
105
OKF/blueprints/011-add-blueprint-level-muster.md
Normal file
@ -0,0 +1,105 @@
|
||||
---
|
||||
type: Blueprint
|
||||
status: implemented
|
||||
traces-to: user request 2026-07-24
|
||||
sounded: 2026-07-24
|
||||
---
|
||||
|
||||
# 011 — add blueprint-level muster, the opt-in human review gate in weave
|
||||
|
||||
## Justification
|
||||
|
||||
Splits the blueprint-level half out of
|
||||
[010](010-add-muster-the-human-review-gate.md) per growth-doctrine
|
||||
[020](../decisions/020-every-page-has-a-growth-path.md); 010 carries the full
|
||||
justification and sounding. The ferry-level half —
|
||||
which needs the `ferry` skill as a seam 010 never declared — is
|
||||
[012](012-add-ferry-level-muster.md).
|
||||
|
||||
The loop's review before it seals is all *agent* eyes; the human running it
|
||||
does not read the diff after a weave. Muster is the forced human checkpoint,
|
||||
opt-in, that halts weave after the seal and refuses to advance until the
|
||||
human has read the whole change against intent and recorded a verdict.
|
||||
|
||||
Sieve — **Real**: the user's own testimony; the loop has no human gate today.
|
||||
**Good**: a *did-this-do-what-I-intended* surface the four axes cannot
|
||||
supply. **Minimal**: opt-in, so mode-off weave is byte-identical; reuses the
|
||||
`[ -d .jj ]` split, the existing seal, and the blueprint page for storage; no
|
||||
mandated dependency — hunk is a viewer, raw `jj diff` / `git diff` the fallback.
|
||||
|
||||
## Contract
|
||||
|
||||
**Muster is a mode, off by default.** `muster: true` in a blueprint's
|
||||
frontmatter opts in. Absent or false → weave behaves exactly as today: no
|
||||
base, no halt, no tally.
|
||||
|
||||
**The base is a stored ref.** With muster on, weave records `review-base:
|
||||
<changeid-or-sha>` on the blueprint at Frame — `@-` (jj) or `git rev-parse
|
||||
HEAD` (git), the parent of where Build begins. The whole change is the range
|
||||
`review-base..@`, unioning every atomic commit the seal produced.
|
||||
|
||||
**The gate halts weave** after Seal, before status flips to `implemented`. At
|
||||
the halt the whole-change diff is piped into **hunk** — `hunk patch -` reads
|
||||
a unified diff from stdin, VCS-agnostic (hunk README,
|
||||
`github.com/modem-dev/hunk`). `[ -d .jj ]` selects only the producer:
|
||||
|
||||
- jj: `jj diff --from <review-base> --to @ --git | hunk patch -`
|
||||
- git: `git diff <review-base>..HEAD | hunk patch -`
|
||||
|
||||
No hunk → the same range shown raw. The teeth are the tally, not the viewer.
|
||||
|
||||
**The teeth are the tally.** The human records a `tally:` block on the
|
||||
blueprint:
|
||||
|
||||
```yaml
|
||||
tally:
|
||||
intent: <what the change was meant to do>
|
||||
matches: yes | no
|
||||
note: <optional>
|
||||
```
|
||||
|
||||
`matches: yes` → weave resumes and flips to `implemented`. `matches: no` →
|
||||
weave **stays halted** for a fix + re-muster; never a known miss.
|
||||
|
||||
**The tally is machine-enforced.** `okf-check` errors on any blueprint with
|
||||
`muster: true` and `status: implemented` carrying no `tally:` block. The
|
||||
block needs a parser mirroring `okf-check:pin`, because the generic
|
||||
`frontmatter()` flattens a nested block to an empty list. Blueprints without
|
||||
`muster` never retro-flag. The halt itself is prose in weave: okf-check
|
||||
cannot see live behaviour (decision
|
||||
[017](../decisions/017-pin-drift-splits-by-visibility.md)).
|
||||
|
||||
## Seams touched
|
||||
|
||||
- `skills/loop/weave/SKILL.md` — a **Muster** step between Seal and
|
||||
Close-the-loop, guarded by `muster: true`; `review-base` recorded at Frame.
|
||||
- `skills/loop/blueprint/blueprint-format.md` — documents `muster`,
|
||||
`review-base`, and the `tally` block.
|
||||
- `skills/loop/write-OKF/scripts/okf-check` — the tally-required-when-implemented
|
||||
rule, via a `tally:` block parser modelled on `pin()`.
|
||||
- `skills/loop/write-OKF/okf-layout.md` — the new fields in the blueprint
|
||||
contract.
|
||||
|
||||
## Verify
|
||||
|
||||
```sh
|
||||
cd skills/loop/write-OKF && d=$(mktemp -d) && mkdir -p "$d/blueprints" &&
|
||||
printf -- '---\nokf_version: "0.1"\n---\n- [a](blueprints/a.md)\n- [b](blueprints/b.md)\n' > "$d/index.md" &&
|
||||
base='---\ntype: Blueprint\nstatus: implemented\ntraces-to: t\nmuster: true\n'
|
||||
printf -- "${base}---\n# a\n" > "$d/blueprints/a.md" # muster+implemented, NO tally
|
||||
printf -- "${base}tally:\n intent: x\n matches: yes\n---\n# b\n" > "$d/blueprints/b.md" # has tally
|
||||
scripts/okf-check "$d"; echo "exit=$?"; scripts/okf-check ../../../OKF
|
||||
```
|
||||
|
||||
Expect: `blueprints/a.md` errors (muster + implemented, no `tally:`),
|
||||
`blueprints/b.md` passes, and octobot's own `OKF/` still reports 0 errors.
|
||||
|
||||
## Out of scope
|
||||
|
||||
- **Ferry-level muster** — the moor halt and the ferry's `review-base` writer
|
||||
are [012](012-add-ferry-level-muster.md).
|
||||
- **GitHub** — no push, branch, or PR; muster is a local terminal review.
|
||||
- **The agent review axes** — muster is a human gate beside them, not a change to them.
|
||||
- **Any default-mode behaviour** — mode-off weave stays byte-identical.
|
||||
- **Auto-fixing on `matches: no`** — weave halts for the human.
|
||||
- **Promoting `muster` / `tally` to `CONTEXT.md`** — issue-local until it recurs.
|
||||
52
OKF/blueprints/012-add-ferry-level-muster.md
Normal file
52
OKF/blueprints/012-add-ferry-level-muster.md
Normal file
@ -0,0 +1,52 @@
|
||||
---
|
||||
type: Blueprint
|
||||
status: draft
|
||||
traces-to: user request 2026-07-24
|
||||
---
|
||||
|
||||
# 012 — add ferry-level muster, the human review gate at moor
|
||||
|
||||
## Justification
|
||||
|
||||
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.
|
||||
|
||||
## 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.
|
||||
|
||||
**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.
|
||||
|
||||
## 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.
|
||||
|
||||
## 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.
|
||||
|
||||
## Out of scope
|
||||
|
||||
- **Everything 011 owns** — the weave gate, the `okf-check` tally rule, the
|
||||
`tally:` block format.
|
||||
- **GitHub**, the agent axes, default-mode behaviour, auto-fix — as 011.
|
||||
@ -31,7 +31,9 @@ your task needs. Humans welcome too.
|
||||
- [007](blueprints/007-add-sound.md) — add sound, the recon that precedes a lock — implemented
|
||||
- [008](blueprints/008-make-nostos-primary-and-files-the-fallback.md) — make nostos primary and file reads the fallback — implemented
|
||||
- [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 — locked
|
||||
- [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
|
||||
|
||||
## Ferries
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user