From e8a769864a8d5d4ebc61b3eb28ae2d749d9aa497 Mon Sep 17 00:00:00 2001 From: Lukasz Boryn Date: Tue, 21 Jul 2026 02:41:58 +0200 Subject: [PATCH] docs(okf): extract the why-register from ROADMAP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - docs(okf): add OKF/decisions/ — one file per settled decision, bodies migrated verbatim, warrant frontmatter added, numbers 1-16 preserved - docs(okf): index the register by the question each decision settles - docs(okf): shed both registers from ROADMAP — decisions to the register, believed/true entries to LEARNINGS.md, §Risks keeps forward-looking risk - docs(okf): compress §Why to its conclusion so ROADMAP clears the 110-line cap once warrant frontmatter is added; prior-art scan moves to LEARNINGS - docs(okf): give every durable page a warrant (purpose, answers, cites) - docs(okf): retire the empty adr/ for the register implements blueprint 002 --- OKF/ARCHITECTURE.md | 8 ++ OKF/CONTEXT.md | 7 ++ OKF/LEARNINGS.md | 21 ++++ OKF/ROADMAP.md | 102 +++--------------- OKF/SUMMARY.md | 7 ++ OKF/adr/.gitkeep | 0 OKF/decisions/001-okf-at-project-root.md | 15 +++ .../002-architect-replaces-plan-update.md | 15 +++ OKF/decisions/003-blueprints-are-files.md | 15 +++ OKF/decisions/004-one-glossary-per-context.md | 14 +++ .../005-handoff-gate-for-subagents.md | 15 +++ .../006-imperative-verb-first-names.md | 14 +++ .../007-taxonomy-derived-per-repo.md | 18 ++++ OKF/decisions/008-page-warrant.md | 19 ++++ OKF/decisions/009-index-is-the-page-plan.md | 16 +++ OKF/decisions/010-two-zone-pages.md | 17 +++ .../011-code-reference-inside-write-okf.md | 17 +++ OKF/decisions/012-one-why-register.md | 19 ++++ OKF/decisions/013-roadmap-is-a-plan.md | 17 +++ .../014-ferry-decisions-graduate-at-moor.md | 15 +++ .../015-moor-collapses-ferry-directory.md | 22 ++++ OKF/decisions/016-one-okf-check-validator.md | 21 ++++ OKF/decisions/index.md | 30 ++++++ OKF/index.md | 4 +- 24 files changed, 357 insertions(+), 91 deletions(-) delete mode 100644 OKF/adr/.gitkeep create mode 100644 OKF/decisions/001-okf-at-project-root.md create mode 100644 OKF/decisions/002-architect-replaces-plan-update.md create mode 100644 OKF/decisions/003-blueprints-are-files.md create mode 100644 OKF/decisions/004-one-glossary-per-context.md create mode 100644 OKF/decisions/005-handoff-gate-for-subagents.md create mode 100644 OKF/decisions/006-imperative-verb-first-names.md create mode 100644 OKF/decisions/007-taxonomy-derived-per-repo.md create mode 100644 OKF/decisions/008-page-warrant.md create mode 100644 OKF/decisions/009-index-is-the-page-plan.md create mode 100644 OKF/decisions/010-two-zone-pages.md create mode 100644 OKF/decisions/011-code-reference-inside-write-okf.md create mode 100644 OKF/decisions/012-one-why-register.md create mode 100644 OKF/decisions/013-roadmap-is-a-plan.md create mode 100644 OKF/decisions/014-ferry-decisions-graduate-at-moor.md create mode 100644 OKF/decisions/015-moor-collapses-ferry-directory.md create mode 100644 OKF/decisions/016-one-okf-check-validator.md create mode 100644 OKF/decisions/index.md diff --git a/OKF/ARCHITECTURE.md b/OKF/ARCHITECTURE.md index b985db8..0248200 100644 --- a/OKF/ARCHITECTURE.md +++ b/OKF/ARCHITECTURE.md @@ -1,5 +1,13 @@ --- type: Architecture +purpose: Map the skill categories, the seams between them, and the flows that cross them. +answers: + - "Which module owns a given skill, and where are the seams?" +cites: + - skills/loop + - skills/engineering/bdd/SKILL.md + - skills/productivity/conjure-a-skill/PRINCIPLES.md +status: live --- # octobot — architecture diff --git a/OKF/CONTEXT.md b/OKF/CONTEXT.md index 7cec48e..8491a85 100644 --- a/OKF/CONTEXT.md +++ b/OKF/CONTEXT.md @@ -1,5 +1,12 @@ --- type: Glossary +purpose: Fix octobot's own vocabulary — one canonical name per concept, with what to avoid. +answers: + - "What is the canonical name for this concept in octobot?" +cites: + - skills/productivity/conjure-a-skill/GLOSSARY.md + - skills/loop/write-OKF/okf-layout.md +status: live --- # octobot — context diff --git a/OKF/LEARNINGS.md b/OKF/LEARNINGS.md index 0f5b31f..2f94410 100644 --- a/OKF/LEARNINGS.md +++ b/OKF/LEARNINGS.md @@ -1,5 +1,12 @@ --- type: Learnings +purpose: Keep what was believed, what turned out true, and the source that settled it. +answers: + - "What did we get wrong here, and what is actually true?" +cites: + - README.md + - skills/productivity/commit-atomic-jj/anti-patterns.md +status: live --- # octobot — learnings @@ -20,3 +27,17 @@ type: Learnings produces phantom conflicts; rebasing onto the true destination shrank a 2-file conflict to 1 file before any hand-resolution. Source: session 2026-07-19 (write-readme-py conflict). +- Believed: skills can cross-invoke via description matching. True: + cross-links are file paths, so disable-model-invocation is safe for + linked skills; only description routing dies. Source: Claude Code + skill mechanics, README §Install. +- Believed: OKF was an octobot coinage. True: OKF v0.1 is also what + OpenWiki emits, so import-compat is nearly free — but its output model + (hundreds of generated files, CI-refreshed) is opposite pressure to + OKF's ≤110-line durable synthesis. Source: langchain-ai/openwiki + (scanned 2026-07-21). +- Believed: declared page plans were an octobot invention. True: they are + convergent prior art — DeepWiki `pages[]{title, purpose, parent}` and + deepwiki-skill's `toc.yaml`; decision 9 is the same move minus a config + format. Source: , + (scanned 2026-07-21). diff --git a/OKF/ROADMAP.md b/OKF/ROADMAP.md index 7f6b1fb..17cae50 100644 --- a/OKF/ROADMAP.md +++ b/OKF/ROADMAP.md @@ -1,5 +1,11 @@ --- type: Roadmap +purpose: Carry only what is still ahead — phases, their verify steps, and live risk. +answers: + - "What is octobot building next, and how is each phase verified?" +cites: + - OKF/decisions/index.md +status: live --- # octobot Roadmap @@ -11,79 +17,16 @@ substrate, alongside the existing practice/scaffold skills. Vocabulary: ## Why (gap vs prior art) -| repo | has | lacks | -|---|---|---| -| mattpocock/skills | blueprint/ticket pipeline, tracker-backed | file-based substrate, jj, R/Py ecosystem, debloat/review axes | -| obra/superpowers | subagent execution, verification gate | persistent wiki memory, ecosystem scaffolds | -| octobot pre-2026-07 | review axes, scaffolds, jj discipline | plan→blueprint→weave spine, knowledge substrate | -| langchain-ai/openwiki | OKF v0.1 emitter, CI auto-refresh, doc Q&A | durable-synthesis caps, human-locked page plan, loop wiring | -| Cognition DeepWiki | declared page plan (`.devin/wiki.json`), page hierarchy | local/file-based, OKF conformance, warrant checks | -| natsu1211/deepwiki-skill | TOC-first generation, line-level cites, `--update` | taxonomy adapted per repo shape, judgement/derived split | - -Sources: , -, - (scanned 2026-07-21). - -Octobot's slot: file-based loop over OKF (open-knowledge-format), jj-native. +Octobot's slot: a file-based loop over OKF (open-knowledge-format), +jj-native. mattpocock/skills has the blueprint pipeline but no substrate; +obra/superpowers has subagent execution but no persistent wiki; neither +carries the R/Py scaffolds or the debloat/review axes. The prior-art scan +behind that claim, and what it debunked: [LEARNINGS.md](LEARNINGS.md). ## Locked decisions -1. OKF = open-knowledge-format at target project's `./OKF/` — reversible - (it's files). Karpathy-LLM-wiki style; OpenWiki-inspired, dependency-free. -2. architect replaces plan-project + update-project (mode-routed) — - reversible by re-splitting. -3. Blueprints are files with status frontmatter, not tracker issues — the - "tracker" is grep. Reversible via export. -4. One canonical glossary per bounded context, never per issue. -5. Handoff gate: no mutating subagent without a brief (goal, OKF/blueprint - refs, verify command); read-only lookups exempt. -6. New skill names: imperative-verb-first; legacy names grandfathered. -7. Page taxonomy is **derived per repo, never fixed** — write-OKF scans - disk, proposes a page plan, user locks it. A fixed layout yields empty - ceremonial pages: analysis repos keep analyses in directories and may - have no plotting module; libraries have neither. Reversible — collapse - to a fixed list in okf-layout.md. -8. Every page carries a **warrant** after `type`: `purpose`, `answers[]`, - `cites[]`. Zero `answers`, or answers another page owns → inadmissible; - unresolved `cites` → drift. Doubles as routing index - (`grep -r "answers:" OKF/`). Reversible — OKF v0.1 permits - producer-defined fields after `type`. -9. `index.md` **is** the locked page plan; no TOC file, which would - duplicate index.md's job. Absent from index.md → inadmissible. - Reversible by extracting TOC.md. -10. Module and analysis pages are **two-zone**: `` - fences the scan-regenerated seam, everything outside is judgement — - append/supersede only, never scan-edited. Reversible — drop fences, - fall back to the existing whole-page supersede rule. -11. Code-reference layer stays **inside write-OKF** as siblings - (`taxonomy-scan.md`, `page-warrant.md`), not a new skill — one - trigger, one mental model. Reversible by extraction if the router - breaches the house cap. -12. **One why-register**: `OKF/decisions/NNN-.md`, indexed by the - question each settles. Absorbs this section and `adr/` (empty at - absorption — zero migration cost, and evidence three-of-three was - unusable); the warrant replaces the three-of-three rule. Reversible - by re-splitting. -13. ROADMAP is a **plan, not an archive** — decisions move to the - register, debunked claims to LEARNINGS.md (which already duplicates - them by instruction), §Risks keeps only forward-looking risk. -14. Ferry decisions **graduate at moor** into the register; MAP.md keeps - a pointer, never a copy. -15. Moor **collapses** `ferries//` into `ferries/.md` — - problem shape, rejected alternatives, decision pointers. Directory - means open, file means moored, so `ls` answers what's in flight. - Deliberation stays recoverable via `sealed:` (jj change id + git - hash + date) pinned to the **parent** (`@-` at moor) — the sealing - commit cannot name itself, and the parent is where the D-n files - still exist. Unresolvable pin = drift. Reversible: OKF is not the - archive of record, history is. -16. **One `okf-check` validator** at `write-OKF/scripts/`, built to the - existing doctrine in - [add-copilot-project-skill/project-validator.md](../skills/engineering/add-copilot-project-skill/project-validator.md); - write-OKF and moor both gate on its pasted output, so the done-gate - is a run, not a claim. Per that doctrine it must pass clean on - octobot today — over-cap pages are a **warning** until phase 7, never - an error. Reversible by inlining the checks as prose. +16 live, in the why-register: [decisions/index.md](decisions/index.md). +Each line is the question its decision settles. Cite by number. ## Architecture @@ -146,27 +89,8 @@ See [ARCHITECTURE.md](ARCHITECTURE.md); loop diagram in `README.md`. and makes octobot's own OKF *run* the register before phase 6 freezes it into a contract for other repos. Numbers stay as issued — append-only. -> ROADMAP is over the 110-line cap until phase 7 lands. Tracked, not -> ignored — closing it is that phase's first verify clause. - ## Risks & gotchas -- Believed: skills can cross-invoke via description matching. True: - cross-links are file paths, so disable-model-invocation is safe for - linked skills; only description routing dies. Source: Claude Code - skill mechanics, README §Install. -- Trigger collisions with co-installed plugins (superpowers, caveman) - — the invocation audit (phase 5) is the mitigation. -- `jj` mutations backgrounded hang on the headless editor — always - foreground, use `-m`/`--use-destination-message` - ([LEARNINGS.md](LEARNINGS.md)). -- Believed: OKF was an octobot coinage. True: OKF v0.1 is also what - OpenWiki emits, so import-compat is nearly free — but its output model - (hundreds of generated files, CI-refreshed) is opposite pressure to - OKF's ≤110-line durable synthesis. Source: langchain-ai/openwiki. -- Declared page plans are convergent prior art, not invention — DeepWiki - `pages[]{title, purpose, parent}` and deepwiki-skill's `toc.yaml`. - Decision 9 is the same move minus a config format. - Open, for phase 6's blueprint: `cites:` pinned at `path:line` churns on every refactor — the staleness detector is also the maintenance bill. Candidate mitigation `path:symbol` where the language allows. diff --git a/OKF/SUMMARY.md b/OKF/SUMMARY.md index b57ed11..de98d9a 100644 --- a/OKF/SUMMARY.md +++ b/OKF/SUMMARY.md @@ -1,5 +1,12 @@ --- type: Summary +purpose: Orient an agent landing cold — what octobot is, how it runs, what to read next. +answers: + - "What is octobot and how do I run it?" +cites: + - README.md + - skills +status: live --- # octobot — summary diff --git a/OKF/adr/.gitkeep b/OKF/adr/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/OKF/decisions/001-okf-at-project-root.md b/OKF/decisions/001-okf-at-project-root.md new file mode 100644 index 0000000..c5082de --- /dev/null +++ b/OKF/decisions/001-okf-at-project-root.md @@ -0,0 +1,15 @@ +--- +type: Decision +purpose: Fix where a project's knowledge substrate lives and what shape it takes. +answers: + - "Where does a project's OKF live?" +cites: + - skills/loop/write-OKF/okf-layout.md +status: live +reversible: it's files +--- + +# 001 — OKF at the target project's ./OKF/ + +OKF = open-knowledge-format at target project's `./OKF/` — reversible +(it's files). Karpathy-LLM-wiki style; OpenWiki-inspired, dependency-free. diff --git a/OKF/decisions/002-architect-replaces-plan-update.md b/OKF/decisions/002-architect-replaces-plan-update.md new file mode 100644 index 0000000..aaf8fad --- /dev/null +++ b/OKF/decisions/002-architect-replaces-plan-update.md @@ -0,0 +1,15 @@ +--- +type: Decision +purpose: Settle whether planning is one mode-routed skill or two skills. +answers: + - "Which skill owns project planning?" +cites: + - skills/loop/architect/SKILL.md +status: live +reversible: by re-splitting +--- + +# 002 — architect replaces plan-project + update-project + +architect replaces plan-project + update-project (mode-routed) — +reversible by re-splitting. diff --git a/OKF/decisions/003-blueprints-are-files.md b/OKF/decisions/003-blueprints-are-files.md new file mode 100644 index 0000000..5dd8cc9 --- /dev/null +++ b/OKF/decisions/003-blueprints-are-files.md @@ -0,0 +1,15 @@ +--- +type: Decision +purpose: Settle the storage backend for units of planned work. +answers: + - "Where do blueprints live: files or a tracker?" +cites: + - skills/loop/blueprint/SKILL.md +status: live +reversible: via export +--- + +# 003 — blueprints are files, not tracker issues + +Blueprints are files with status frontmatter, not tracker issues — the +"tracker" is grep. Reversible via export. diff --git a/OKF/decisions/004-one-glossary-per-context.md b/OKF/decisions/004-one-glossary-per-context.md new file mode 100644 index 0000000..1c394a0 --- /dev/null +++ b/OKF/decisions/004-one-glossary-per-context.md @@ -0,0 +1,14 @@ +--- +type: Decision +purpose: Stop per-issue glossaries fragmenting the domain vocabulary. +answers: + - "How many glossaries may a bounded context have?" +cites: + - skills/engineering/model-domain/CONTEXT-FORMAT.md +status: live +reversible: yes — split the glossary again +--- + +# 004 — one canonical glossary per bounded context + +One canonical glossary per bounded context, never per issue. diff --git a/OKF/decisions/005-handoff-gate-for-subagents.md b/OKF/decisions/005-handoff-gate-for-subagents.md new file mode 100644 index 0000000..c15cc4c --- /dev/null +++ b/OKF/decisions/005-handoff-gate-for-subagents.md @@ -0,0 +1,15 @@ +--- +type: Decision +purpose: Stop mutating subagents from being spawned on a bare sentence. +answers: + - "What must a mutating subagent receive before it is spawned?" +cites: + - skills/loop/weave/SKILL.md +status: live +reversible: yes — drop the gate +--- + +# 005 — no mutating subagent without a brief + +Handoff gate: no mutating subagent without a brief (goal, OKF/blueprint +refs, verify command); read-only lookups exempt. diff --git a/OKF/decisions/006-imperative-verb-first-names.md b/OKF/decisions/006-imperative-verb-first-names.md new file mode 100644 index 0000000..dd904a1 --- /dev/null +++ b/OKF/decisions/006-imperative-verb-first-names.md @@ -0,0 +1,14 @@ +--- +type: Decision +purpose: Fix the naming convention new skills are held to. +answers: + - "How are new skills named?" +cites: + - skills/productivity/conjure-a-skill/SKILL.md +status: live +reversible: yes — rename +--- + +# 006 — new skill names are imperative-verb-first + +New skill names: imperative-verb-first; legacy names grandfathered. diff --git a/OKF/decisions/007-taxonomy-derived-per-repo.md b/OKF/decisions/007-taxonomy-derived-per-repo.md new file mode 100644 index 0000000..65100ba --- /dev/null +++ b/OKF/decisions/007-taxonomy-derived-per-repo.md @@ -0,0 +1,18 @@ +--- +type: Decision +purpose: Stop a fixed page list producing empty ceremonial pages in repos it does not fit. +answers: + - "Is the OKF page taxonomy fixed or derived per repo?" +cites: + - skills/loop/write-OKF/okf-layout.md +status: live +reversible: collapse to a fixed list in okf-layout.md +--- + +# 007 — page taxonomy is derived per repo, never fixed + +Page taxonomy is **derived per repo, never fixed** — write-OKF scans +disk, proposes a page plan, user locks it. A fixed layout yields empty +ceremonial pages: analysis repos keep analyses in directories and may +have no plotting module; libraries have neither. Reversible — collapse +to a fixed list in okf-layout.md. diff --git a/OKF/decisions/008-page-warrant.md b/OKF/decisions/008-page-warrant.md new file mode 100644 index 0000000..13f4add --- /dev/null +++ b/OKF/decisions/008-page-warrant.md @@ -0,0 +1,19 @@ +--- +type: Decision +purpose: Give every page a machine-checkable justification for existing. +answers: + - "What justifies a page's existence in the OKF?" +cites: + - OKF/CONTEXT.md + - skills/loop/write-OKF/scripts/okf-check +status: live +reversible: OKF v0.1 permits producer-defined fields after type +--- + +# 008 — every page carries a warrant + +Every page carries a **warrant** after `type`: `purpose`, `answers[]`, +`cites[]`. Zero `answers`, or answers another page owns → inadmissible; +unresolved `cites` → drift. Doubles as routing index +(`grep -r "answers:" OKF/`). Reversible — OKF v0.1 permits +producer-defined fields after `type`. diff --git a/OKF/decisions/009-index-is-the-page-plan.md b/OKF/decisions/009-index-is-the-page-plan.md new file mode 100644 index 0000000..f6e366d --- /dev/null +++ b/OKF/decisions/009-index-is-the-page-plan.md @@ -0,0 +1,16 @@ +--- +type: Decision +purpose: Keep one file authoritative for which pages are admissible. +answers: + - "Where is the locked page plan recorded?" +cites: + - OKF/index.md +status: live +reversible: by extracting TOC.md +--- + +# 009 — index.md is the locked page plan + +`index.md` **is** the locked page plan; no TOC file, which would +duplicate index.md's job. Absent from index.md → inadmissible. +Reversible by extracting TOC.md. diff --git a/OKF/decisions/010-two-zone-pages.md b/OKF/decisions/010-two-zone-pages.md new file mode 100644 index 0000000..99132c8 --- /dev/null +++ b/OKF/decisions/010-two-zone-pages.md @@ -0,0 +1,17 @@ +--- +type: Decision +purpose: Let a scan regenerate part of a page without overwriting human judgement. +answers: + - "How does a refresh regenerate a page without destroying judgement?" +cites: + - OKF/CONTEXT.md +status: live +reversible: drop fences, fall back to whole-page supersede +--- + +# 010 — module and analysis pages are two-zone + +Module and analysis pages are **two-zone**: `` +fences the scan-regenerated seam, everything outside is judgement — +append/supersede only, never scan-edited. Reversible — drop fences, +fall back to the existing whole-page supersede rule. diff --git a/OKF/decisions/011-code-reference-inside-write-okf.md b/OKF/decisions/011-code-reference-inside-write-okf.md new file mode 100644 index 0000000..b939adc --- /dev/null +++ b/OKF/decisions/011-code-reference-inside-write-okf.md @@ -0,0 +1,17 @@ +--- +type: Decision +purpose: Keep the code-reference layer from becoming a second router. +answers: + - "Does the code-reference layer get its own skill?" +cites: + - skills/loop/write-OKF/SKILL.md +status: live +reversible: by extraction if the router breaches the house cap +--- + +# 011 — code-reference layer stays inside write-OKF + +Code-reference layer stays **inside write-OKF** as siblings +(`taxonomy-scan.md`, `page-warrant.md`), not a new skill — one +trigger, one mental model. Reversible by extraction if the router +breaches the house cap. diff --git a/OKF/decisions/012-one-why-register.md b/OKF/decisions/012-one-why-register.md new file mode 100644 index 0000000..8dd0bec --- /dev/null +++ b/OKF/decisions/012-one-why-register.md @@ -0,0 +1,19 @@ +--- +type: Decision +purpose: Collapse two competing decision homes into one indexed register. +answers: + - "Where do settled decisions live?" +cites: + - OKF/decisions/index.md + - skills/engineering/model-domain/DECISION-FORMAT.md +status: live +reversible: by re-splitting +--- + +# 012 — one why-register + +**One why-register**: `OKF/decisions/NNN-.md`, indexed by the +question each settles. Absorbs this section and `adr/` (empty at +absorption — zero migration cost, and evidence three-of-three was +unusable); the warrant replaces the three-of-three rule. Reversible +by re-splitting. diff --git a/OKF/decisions/013-roadmap-is-a-plan.md b/OKF/decisions/013-roadmap-is-a-plan.md new file mode 100644 index 0000000..99f7c9c --- /dev/null +++ b/OKF/decisions/013-roadmap-is-a-plan.md @@ -0,0 +1,17 @@ +--- +type: Decision +purpose: Stop ROADMAP growing forever by carrying registers it does not own. +answers: + - "What may ROADMAP.md hold?" +cites: + - OKF/ROADMAP.md + - OKF/LEARNINGS.md +status: live +reversible: yes — fold the registers back in +--- + +# 013 — ROADMAP is a plan, not an archive + +ROADMAP is a **plan, not an archive** — decisions move to the +register, debunked claims to LEARNINGS.md (which already duplicates +them by instruction), §Risks keeps only forward-looking risk. diff --git a/OKF/decisions/014-ferry-decisions-graduate-at-moor.md b/OKF/decisions/014-ferry-decisions-graduate-at-moor.md new file mode 100644 index 0000000..f9a3e40 --- /dev/null +++ b/OKF/decisions/014-ferry-decisions-graduate-at-moor.md @@ -0,0 +1,15 @@ +--- +type: Decision +purpose: Give resolved ferry decisions one home instead of two copies. +answers: + - "What happens to a resolved ferry decision at moor?" +cites: + - skills/loop/moor/SKILL.md +status: live +reversible: yes — copy back into MAP.md +--- + +# 014 — ferry decisions graduate at moor + +Ferry decisions **graduate at moor** into the register; MAP.md keeps +a pointer, never a copy. diff --git a/OKF/decisions/015-moor-collapses-ferry-directory.md b/OKF/decisions/015-moor-collapses-ferry-directory.md new file mode 100644 index 0000000..f9bb25f --- /dev/null +++ b/OKF/decisions/015-moor-collapses-ferry-directory.md @@ -0,0 +1,22 @@ +--- +type: Decision +purpose: Make `ls ferries/` answer what deliberation is still in flight. +answers: + - "What shape does a ferry take once it is moored?" +cites: + - skills/loop/moor/SKILL.md + - OKF/CONTEXT.md +status: live +reversible: OKF is not the archive of record, history is +--- + +# 015 — moor collapses the ferry directory into one page + +Moor **collapses** `ferries//` into `ferries/.md` — +problem shape, rejected alternatives, decision pointers. Directory +means open, file means moored, so `ls` answers what's in flight. +Deliberation stays recoverable via `sealed:` (jj change id + git +hash + date) pinned to the **parent** (`@-` at moor) — the sealing +commit cannot name itself, and the parent is where the D-n files +still exist. Unresolvable pin = drift. Reversible: OKF is not the +archive of record, history is. diff --git a/OKF/decisions/016-one-okf-check-validator.md b/OKF/decisions/016-one-okf-check-validator.md new file mode 100644 index 0000000..51e4479 --- /dev/null +++ b/OKF/decisions/016-one-okf-check-validator.md @@ -0,0 +1,21 @@ +--- +type: Decision +purpose: Make the OKF done-gate a run with pasted output, not a claim. +answers: + - "How is OKF conformance enforced?" +cites: + - skills/loop/write-OKF/scripts/okf-check + - skills/engineering/add-copilot-project-skill/project-validator.md +status: live +reversible: by inlining the checks as prose +--- + +# 016 — one okf-check validator + +**One `okf-check` validator** at `write-OKF/scripts/`, built to the +existing doctrine in +[add-copilot-project-skill/project-validator.md](../../skills/engineering/add-copilot-project-skill/project-validator.md); +write-OKF and moor both gate on its pasted output, so the done-gate +is a run, not a claim. Per that doctrine it must pass clean on +octobot today — over-cap pages are a **warning** until phase 7, never +an error. Reversible by inlining the checks as prose. diff --git a/OKF/decisions/index.md b/OKF/decisions/index.md new file mode 100644 index 0000000..cdb43d1 --- /dev/null +++ b/OKF/decisions/index.md @@ -0,0 +1,30 @@ +--- +type: Index +--- + +# octobot — why-register + +One file per settled decision. Lines are **question-shaped** — the +question is derived from the file's first `answers:` entry, so read a +line to find the decision that settles your question, then open it. +Numbers are permanent (they are cited from CONTEXT.md and commit +messages); superseding adds a file, never renumbers one. + +Format: `NNN — — — `. + +- [001](001-okf-at-project-root.md) — Where does a project's OKF live? — at the target project's `./OKF/` — live +- [002](002-architect-replaces-plan-update.md) — Which skill owns project planning? — architect, mode-routed — live +- [003](003-blueprints-are-files.md) — Where do blueprints live: files or a tracker? — files with status frontmatter — live +- [004](004-one-glossary-per-context.md) — How many glossaries may a bounded context have? — exactly one — live +- [005](005-handoff-gate-for-subagents.md) — What must a mutating subagent receive before it is spawned? — a brief — live +- [006](006-imperative-verb-first-names.md) — How are new skills named? — imperative-verb-first — live +- [007](007-taxonomy-derived-per-repo.md) — Is the OKF page taxonomy fixed or derived per repo? — derived, then locked — live +- [008](008-page-warrant.md) — What justifies a page's existence in the OKF? — its warrant — live +- [009](009-index-is-the-page-plan.md) — Where is the locked page plan recorded? — `index.md` itself — live +- [010](010-two-zone-pages.md) — How does a refresh regenerate a page without destroying judgement? — `okf:derived` fences — live +- [011](011-code-reference-inside-write-okf.md) — Does the code-reference layer get its own skill? — no, write-OKF siblings — live +- [012](012-one-why-register.md) — Where do settled decisions live? — this register — live +- [013](013-roadmap-is-a-plan.md) — What may ROADMAP.md hold? — only what is still ahead — live +- [014](014-ferry-decisions-graduate-at-moor.md) — What happens to a resolved ferry decision at moor? — it graduates here — live +- [015](015-moor-collapses-ferry-directory.md) — What shape does a ferry take once it is moored? — one page, pinned with `sealed:` — live +- [016](016-one-okf-check-validator.md) — How is OKF conformance enforced? — `okf-check`, output pasted — live diff --git a/OKF/index.md b/OKF/index.md index 911df12..7403cb2 100644 --- a/OKF/index.md +++ b/OKF/index.md @@ -17,8 +17,8 @@ your task needs. Humans welcome too. ## Decisions -- `adr/` — none yet; three-of-three rule applies (see - [model-domain](../skills/engineering/model-domain/ADR-FORMAT.md)). +- [decisions/index.md](decisions/index.md) — the why-register, indexed by + the question each decision settles. 16 live. ## Blueprints