From 760d15ed71917f41507b9965edfcfa89aa7eb781 Mon Sep 17 00:00:00 2001 From: Lukasz Boryn Date: Fri, 24 Jul 2026 11:19:18 +0200 Subject: [PATCH] feat(loop): split moor into SKILL.md + REFERENCE.md to hold 110-line cap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 012's ferry-muster step pushed skills/loop/moor/SKILL.md to 115 lines, over the repo's 110-line skill cap (CLAUDE.md §5). Move the COLLAPSE pin block (sealed:/review-base: yaml + jj log template) and the GRADUATE frontmatter-move specifics verbatim into a new moor/REFERENCE.md, each linked from its step; every step name, intent, and guard stays inline. SKILL.md now 102 lines. Pure relocation — a moor run reads the same instructions in the same order. Flip 013 status→implemented. blueprint 013 --- ...013-split-moor-into-skill-and-reference.md | 2 +- OKF/index.md | 2 +- skills/loop/moor/REFERENCE.md | 37 +++++++++++++++++++ skills/loop/moor/SKILL.md | 31 +++++----------- 4 files changed, 48 insertions(+), 24 deletions(-) create mode 100644 skills/loop/moor/REFERENCE.md diff --git a/OKF/blueprints/013-split-moor-into-skill-and-reference.md b/OKF/blueprints/013-split-moor-into-skill-and-reference.md index 039cd1e..46bb367 100644 --- a/OKF/blueprints/013-split-moor-into-skill-and-reference.md +++ b/OKF/blueprints/013-split-moor-into-skill-and-reference.md @@ -1,6 +1,6 @@ --- type: Blueprint -status: locked +status: implemented traces-to: user request 2026-07-24 sounded: 2026-07-24 --- diff --git a/OKF/index.md b/OKF/index.md index 47c633d..a9597b8 100644 --- a/OKF/index.md +++ b/OKF/index.md @@ -34,7 +34,7 @@ your task needs. Humans welcome too. - [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 — implemented -- [013](blueprints/013-split-moor-into-skill-and-reference.md) — split moor into SKILL.md + REFERENCE.md to hold the line cap — locked +- [013](blueprints/013-split-moor-into-skill-and-reference.md) — split moor into SKILL.md + REFERENCE.md to hold the line cap — implemented ## Ferries diff --git a/skills/loop/moor/REFERENCE.md b/skills/loop/moor/REFERENCE.md new file mode 100644 index 0000000..fd43dba --- /dev/null +++ b/skills/loop/moor/REFERENCE.md @@ -0,0 +1,37 @@ +# moor — mechanical detail + +Blocks the [SKILL.md](SKILL.md) steps invoke but need not inline. Each +section is linked from the step that uses it. Nothing here changes moor's +behaviour — it is the same instructions, moved off the spine. + +## GRADUATE {#graduate} + +The graduated `decisions/NNN-.md` carries the frontmatter of +[DECISION-FORMAT.md](../../engineering/model-domain/DECISION-FORMAT.md) +plus a question-shaped `decisions/index.md` line. The `Resolution` body +moves **verbatim** — one home, never two copies; `Options` and `Why it +must be decided` stay behind for COLLAPSE. `blocked-by` edges drop; the +register is not a dependency graph. A resolution that fails the warrant +test graduates nowhere and stays in the collapsed page — graduation is +the default, not an obligation. + +## COLLAPSE {#collapse} + +The pin is read off `@-`, because the sealing commit cannot name itself +and the parent is where the `D-` files still exist: + +``` +jj log -r @- --no-graph -T 'change_id ++ " " ++ commit_id' +``` + +The page opens `type: Ferry Map`, then the pin: + +```yaml +sealed: + change: + commit: + date: +``` + +A ferry that mustered (step 3) also carries `review-base: ` +in this block. diff --git a/skills/loop/moor/SKILL.md b/skills/loop/moor/SKILL.md index 36310b9..62f2e31 100644 --- a/skills/loop/moor/SKILL.md +++ b/skills/loop/moor/SKILL.md @@ -48,29 +48,16 @@ the wiki so the next cold-start agent reads reality, not history. - relative dates → ISO 8601; dead cross-links fixed. 5. **GRADUATE** — every resolved `D-` that passes model-domain's warrant test becomes `decisions/NNN-.md` at the next free - number, carrying the frontmatter of - [DECISION-FORMAT.md](../../engineering/model-domain/DECISION-FORMAT.md) - plus a question-shaped `decisions/index.md` line. The `Resolution` - body moves **verbatim** — one home, never two copies; `Options` and - `Why it must be decided` stay behind for step 6. `blocked-by` edges - drop; the register is not a dependency graph. A resolution that - fails the warrant test graduates nowhere and stays in the collapsed - page — graduation is the default, not an obligation. + number, plus a question-shaped `decisions/index.md` line; a + resolution that fails the test graduates nowhere and stays in the + collapsed page. Frontmatter, the verbatim `Resolution` move, and the + `blocked-by` drop: [REFERENCE.md](REFERENCE.md#graduate). 6. **COLLAPSE** — `ferries//` becomes `ferries/.md`: - problem shape, rejected alternatives, pointers to the numbers that - graduated. The page opens `type: Ferry Map`, then the pin — read off - `@-`, because the sealing commit cannot name itself and the parent is - where the `D-` files still exist - (`jj log -r @- --no-graph -T 'change_id ++ " " ++ commit_id'`): - ```yaml - sealed: - change: - commit: - date: - ``` - A ferry that mustered (step 3) also carries `review-base: ` - here. Then remove the directory — history is the archive, the pin the - way back in. + problem shape, rejected alternatives, pointers to the graduated + numbers. Opens `type: Ferry Map`, then the `sealed:` pin (and + `review-base:` if it mustered), read off `@-` — the pin block and its + `jj log` template: [REFERENCE.md](REFERENCE.md#collapse). Then remove + the directory — history is the archive, the pin the way back in. 7. **PRUNE + INDEX** — sweep the arrived ferry for unextracted follow-ups; every open thread gets a home + backlink: - small and implementable → new blueprint `NNN-.md` with