feat(loop): split moor into SKILL.md + REFERENCE.md to hold 110-line cap

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
This commit is contained in:
Łukasz Boryń 2026-07-24 11:19:18 +02:00
parent 86e1a08449
commit 760d15ed71
4 changed files with 48 additions and 24 deletions

View File

@ -1,6 +1,6 @@
---
type: Blueprint
status: locked
status: implemented
traces-to: user request 2026-07-24
sounded: 2026-07-24
---

View File

@ -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

View File

@ -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-<slug>.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-<n>` 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: <jj change id>
commit: <git hash>
date: <ISO date>
```
A ferry that mustered (step 3) also carries `review-base: <changeid>`
in this block.

View File

@ -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-<n>` that passes model-domain's
warrant test becomes `decisions/NNN-<slug>.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/<topic>/` becomes `ferries/<topic>.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-<n>` files still exist
(`jj log -r @- --no-graph -T 'change_id ++ " " ++ commit_id'`):
```yaml
sealed:
change: <jj change id>
commit: <git hash>
date: <ISO date>
```
A ferry that mustered (step 3) also carries `review-base: <changeid>`
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-<slug>.md` with