Blueprints and the why-register number independently, so 013, 017 and 019 each already name two unrelated pages. A markdown link is safe — its path says which — but a bare number in prose is not. Prose now takes a register prefix: B-NNN blueprint, R-NNN why-register, D-n ferry decision. Filenames, link targets, index labels and superseded-by-NNN status values are untouched. - adds decision 022 with the reasoning, including why D- was rejected: D-<n> already names a ferry decision on disk and in CONTEXT.md, so reusing it would fuse two namespaces that today collide only in type: - CONTEXT.md states the rule in the intro; 109 of 110 after compressing the entry twice, since R-020 gives it no growth path short of a split it does not qualify for - retrofits the live pages rather than applying it forward-only, which would leave two dialects — the defect phase 10 exists to remove - ROADMAP.md:43, :84, :87, :94 and 021:32; moor and build-r-package each carried one genuinely ambiguous cite LEARNINGS.md is deliberately not retrofitted: it is append-only by its own header, so its bare numbers stand and new entries carry the prefix. Locked blueprints are left as written for the same reason. Nothing enforces this yet — a bare three-digit number outside a link is a lint the okf-check blueprint should carry, or the rule decays exactly as R-020 prune did. okf-check 0 errors, skill-check 0 errors.
5.6 KiB
5.6 KiB
name, description, disable-model-invocation
| name | description | disable-model-invocation |
|---|---|---|
| moor | Close out a delivered ferry — reconcile the OKF wiki with what shipped, promote durable knowledge to its one home, extract loose ends into new blueprints/ferries, and shrink index.md; status flips, nothing deleted. | true |
moor
What you do when the ferry has arrived: tie it up. Runs after weave + review-blueprint + commit-atomic-jj, once every decision is resolved and the spawned blueprints are done. Consolidates the wiki so the next cold-start agent reads reality, not history.
When to use
- User says "moor", "/moor", "close out the ferry", "the ferry is done".
- weave's done-gate passes on the last blueprint of a ferry-traced chain.
Process
- ORIENT — read
OKF/index.md, the ferry'sMAP.md, andgrep -r "^status:" OKF/blueprints/. Map claimed state before touching anything. If any decision is open or a spawned blueprint is not done, stop — this is a ferry sitting, not a mooring. - GATHER SIGNAL — collect delivery evidence, targeted only:
jj logsince the ferry started, each blueprint's Verify section (must have pasted output), review-blueprint verdicts. No full-transcript rereads. - MUSTER — only if the ferry's
MAP.mdcarriesmuster: true; absent → skip, moor runs unchanged. The human gate on arrival → moor: halts after GATHER SIGNAL, before every mutation below. Derivereview-base= parent of the earliest commit citing one of the ferry's blueprints (weave seals citeblueprint NNN); pipe thereview-base..@diff to hunk (jj diff --from <review-base> --to @ --git | hunk patch -; git:git diff <review-base>..HEAD | hunk patch -; no hunk → raw). The human records atally:block;matches: nostays halted for a fix, never mutates on a known miss. COLLAPSE persistsreview-base:; 1-blueprint ferry → use blueprint muster (B-011), not this. - CONSOLIDATE — promote durable knowledge out of the ferry into its
one home, cross-linked back:
- spawned blueprints →
status: done(orsuperseded); MAP.md→ mark arrived, record the blueprint numbers produced;- shipped architecture changes →
ARCHITECTURE.mdreconciled with reality, every claim citing a file path (the ferry keeps the why, ARCHITECTURE.md holds the current what); - generalizable rationale from resolved decisions →
LEARNINGS.md(append, never edit); - terms that recurred beyond the ferry →
CONTEXT.mdper model-domain; the delivered phase → checked off inROADMAP.md; - relative dates → ISO 8601; dead cross-links fixed.
- spawned blueprints →
- GRADUATE — every resolved
D-<n>that passes model-domain's warrant test becomesdecisions/NNN-<slug>.mdat the next free number, plus a question-shapeddecisions/index.mdline; a resolution that fails the test graduates nowhere and stays in the collapsed page. Frontmatter, the verbatimResolutionmove, and theblocked-bydrop: graduate.md. - COLLAPSE —
ferries/<topic>/becomesferries/<topic>.md: problem shape, rejected alternatives, pointers to the graduated numbers. Openstype: Ferry Map, then thesealed:pin (andreview-base:if it mustered), read off@-— the pin block and itsjj logtemplate: collapse.md. Then remove the directory — history is the archive, the pin the way back in. - PRUNE + INDEX — sweep the arrived ferry for unextracted
follow-ups; every open thread gets a home + backlink:
- small and implementable → new blueprint
NNN-<slug>.mdwithtraces-tociting the source decision; - big or multi-session → a new ferry, or a
ROADMAP.mdentry; - neither → a
LEARNINGS.mdnote, so it stays findable. Then rebuild the touchedindex.mdlines — the ferry's changes shape with its state,<topic> — moored <date> → <topic>.md, which is what keeps the collapsed page reachable once itsMAP.mdis gone; the register gains its new lines; blueprint statuses go current.
- small and implementable → new blueprint
Output / done criteria
write-OKF/scripts/okf-check OKF/run and its output pasted, exiting 0. A claim of conformance is not a gate.- The arrived ferry contains no forward-looking work — every follow-up has a new home with a backlink.
index.mdmatches reality: the ferry line moored and pointing at the collapsed page, blueprint statuses current, no dangling links.ferries/<topic>/is gone,ferries/<topic>.mdcarries the pin, and every graduated number is reachable fromdecisions/index.md.
Guardrails
- Never collapse without a resolvable pin —
jj show <change>must resolve before the directory goes. The pin is what makes the removal recoverable; without it the deliberation is simply deleted. - Never delete a blueprint or a graduated decision file — they are the why-record. Supersede, don't delete.
- OKF files only — moor never touches source code, configs, or skills.
- Never graduate a decision that fails the warrant test — a
resolution answering no question another page lacks stays in the
collapsed page; model-domain's test gates
OKF/decisions/. - Never moor a ferry with open decisions — that's resolving by neglect. Go back to the ferry skill.
See also
- ../ferry/SKILL.md — upstream; its "Arrive" step hands off here.
- ../weave/SKILL.md — moor runs after its done-gate on the ferry's last blueprint.
- ../write-OKF/okf-layout.md — the page contracts moor reconciles against.