From 399830f2476e7470f2aeac593a7ad23942acd78a Mon Sep 17 00:00:00 2001 From: Lukasz Boryn Date: Sat, 3 Oct 2026 23:43:36 +0200 Subject: [PATCH] fix(skills): rename write-OKF to write-okf Skill names must be lowercase a-z, 0-9, hyphens; pi rejected the uppercase name. Folder, frontmatter name and all references renamed. --- OKF/ARCHITECTURE.md | 4 +-- OKF/CONTEXT.md | 6 ++-- OKF/blueprints/B-002-extract-why-register.md | 12 ++++---- .../B-003-graduate-and-collapse-ferries.md | 10 +++---- ...give-cites-teeth-and-fence-derived-zone.md | 20 ++++++------- ...-propose-the-page-plan-from-a-repo-scan.md | 14 +++++----- .../B-006-rescan-the-page-plan-on-refresh.md | 10 +++---- OKF/blueprints/B-007-add-sound.md | 14 +++++----- ...e-nostos-primary-and-files-the-fallback.md | 2 +- .../B-009-give-every-page-a-growth-path.md | 10 +++---- .../B-010-add-muster-the-human-review-gate.md | 6 ++-- .../B-011-add-blueprint-level-muster.md | 6 ++-- .../B-012-add-ferry-level-muster.md | 2 +- .../B-014-unify-skill-sibling-file-naming.md | 8 +++--- ...ssion-check-discharges-on-the-blueprint.md | 2 +- ...skills-under-cap-and-level-commit-twins.md | 2 +- .../B-017-add-a-line-cap-lint-over-skills.md | 14 +++++----- .../B-018-own-the-loop-shape-in-flow-1.md | 6 ++-- ...9-add-a-render-lint-over-the-loop-shape.md | 28 +++++++++---------- ...force-the-prune-and-validate-every-cite.md | 18 ++++++------ .../B-021-align-validator-and-doctrine.md | 26 ++++++++--------- ...022-validate-every-cite-at-every-status.md | 16 +++++------ ...-add-a-link-lint-over-relative-md-links.md | 16 +++++------ ...the-spine-and-give-chart-its-ferry-edge.md | 6 ++-- .../B-025-rule-muster-on-every-blueprint.md | 4 +-- ...-026-walk-only-what-git-does-not-ignore.md | 16 +++++------ ...27-error-on-implemented-with-matches-no.md | 12 ++++---- ...onvert-cross-skill-links-to-skill-names.md | 8 +++--- ...er-filenames-and-validate-okf-structure.md | 10 +++---- ...rate-register-filenames-to-their-prefix.md | 12 ++++---- ...-okf-line-cap-and-add-a-guide-page-type.md | 14 +++++----- OKF/decisions/R-001-okf-at-project-root.md | 2 +- .../R-007-taxonomy-derived-per-repo.md | 4 +-- OKF/decisions/R-008-page-warrant.md | 2 +- .../R-011-code-reference-inside-write-okf.md | 6 ++-- .../R-016-one-okf-check-validator.md | 6 ++-- .../R-017-pin-drift-splits-by-visibility.md | 4 +-- ...R-018-rescan-deletes-only-derived-pages.md | 4 +-- .../R-020-every-page-has-a-growth-path.md | 6 ++-- ...ll-references-are-unchecked-skill-names.md | 2 +- OKF/decisions/index.md | 2 +- OKF/learnings/okf-format.md | 4 +-- OKF/learnings/validators.md | 2 +- README.md | 6 ++-- skills/engineering/model-domain/SKILL.md | 4 +-- skills/loop/blueprint/blueprint-format.md | 4 +-- skills/loop/chart/SKILL.md | 4 +-- skills/loop/chart/greenfield.md | 2 +- skills/loop/moor/SKILL.md | 4 +-- skills/loop/rig/SKILL.md | 2 +- skills/loop/sound/SKILL.md | 6 ++-- skills/loop/steer/SKILL.md | 4 +-- skills/loop/{write-OKF => write-okf}/SKILL.md | 6 ++-- .../agents-md-hook.md | 0 .../{write-OKF => write-okf}/okf-layout.md | 0 .../{write-OKF => write-okf}/page-warrant.md | 0 .../scripts/_pages.py | 0 .../scripts/link-check | 0 .../scripts/okf-check | 2 +- .../{write-OKF => write-okf}/scripts/okf-scan | 0 .../scripts/render-check | 2 +- .../{write-OKF => write-okf}/split-page.md | 0 .../{write-OKF => write-okf}/taxonomy-scan.md | 0 .../templates/ARCHITECTURE.md.tpl | 0 .../templates/CONTEXT.md.tpl | 0 .../templates/LEARNINGS.md.tpl | 0 .../templates/ROADMAP.md.tpl | 0 .../templates/SUMMARY.md.tpl | 0 .../templates/index.md.tpl | 0 skills/scaffold/init-octobot/AGENTS.md.tpl | 2 +- skills/scaffold/init-octobot/SKILL.md | 24 ++++++++-------- .../scaffold/init-octobot/scripts/repo-scan | 4 +-- .../scaffold/init-octobot/simplicity-block.md | 2 +- 73 files changed, 228 insertions(+), 228 deletions(-) rename skills/loop/{write-OKF => write-okf}/SKILL.md (98%) rename skills/loop/{write-OKF => write-okf}/agents-md-hook.md (100%) rename skills/loop/{write-OKF => write-okf}/okf-layout.md (100%) rename skills/loop/{write-OKF => write-okf}/page-warrant.md (100%) rename skills/loop/{write-OKF => write-okf}/scripts/_pages.py (100%) rename skills/loop/{write-OKF => write-okf}/scripts/link-check (100%) rename skills/loop/{write-OKF => write-okf}/scripts/okf-check (99%) rename skills/loop/{write-OKF => write-okf}/scripts/okf-scan (100%) rename skills/loop/{write-OKF => write-okf}/scripts/render-check (98%) rename skills/loop/{write-OKF => write-okf}/split-page.md (100%) rename skills/loop/{write-OKF => write-okf}/taxonomy-scan.md (100%) rename skills/loop/{write-OKF => write-okf}/templates/ARCHITECTURE.md.tpl (100%) rename skills/loop/{write-OKF => write-okf}/templates/CONTEXT.md.tpl (100%) rename skills/loop/{write-OKF => write-okf}/templates/LEARNINGS.md.tpl (100%) rename skills/loop/{write-OKF => write-okf}/templates/ROADMAP.md.tpl (100%) rename skills/loop/{write-OKF => write-okf}/templates/SUMMARY.md.tpl (100%) rename skills/loop/{write-OKF => write-okf}/templates/index.md.tpl (100%) diff --git a/OKF/ARCHITECTURE.md b/OKF/ARCHITECTURE.md index ba5a704..484a34c 100644 --- a/OKF/ARCHITECTURE.md +++ b/OKF/ARCHITECTURE.md @@ -17,7 +17,7 @@ status: live One module per skill category; the interface of each skill is its frontmatter `description` (routing) plus its SKILL.md body (procedure). -- **loop** (`skills/loop/`) — the metaharness spine: write-OKF +- **loop** (`skills/loop/`) — the metaharness spine: write-okf (knowledge), chart (plan), blueprint, ferry, rig, steer. - **engineering** (`skills/engineering/`) — practice skills: bdd, diagnose, review axes (review-angles, nuke-review, winnow), sieve, @@ -37,7 +37,7 @@ frontmatter `description` (routing) plus its SKILL.md body (procedure). §The loop. ``` -substrate (rare) write-OKF — scaffold, or refresh when stale +substrate (rare) write-okf — scaffold, or refresh when stale ↓ per request chart — a phase only for an arc over >1 blueprint ↓ diff --git a/OKF/CONTEXT.md b/OKF/CONTEXT.md index d5e4594..0d7a012 100644 --- a/OKF/CONTEXT.md +++ b/OKF/CONTEXT.md @@ -5,7 +5,7 @@ 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 + - skills/loop/write-okf/okf-layout.md status: live --- @@ -31,7 +31,7 @@ _Avoid_: pipeline, workflow (those describe the develop-* orchestrators). **OKF**: Open-knowledge-format — the agent-first wiki at a target project's `./OKF/`; layout contract in -[write-OKF/okf-layout.md](../skills/loop/write-OKF/okf-layout.md). +[write-okf/okf-layout.md](../skills/loop/write-okf/okf-layout.md). _Avoid_: docs folder, wiki (unqualified), knowledge base. **Blueprint**: @@ -51,7 +51,7 @@ fires here. _Avoid_: commit (mechanics), merge. **Page plan**: The locked set of admissible OKF pages, recorded as `index.md`'s -one-line-per-page list. write-OKF proposes it from a repo scan; the user +one-line-per-page list. write-okf proposes it from a repo scan; the user edits and locks it. A page absent from the plan is inadmissible. _Avoid_: TOC, sitemap, nav, wiki.json. diff --git a/OKF/blueprints/B-002-extract-why-register.md b/OKF/blueprints/B-002-extract-why-register.md index 07b22e3..fe870e6 100644 --- a/OKF/blueprints/B-002-extract-why-register.md +++ b/OKF/blueprints/B-002-extract-why-register.md @@ -53,7 +53,7 @@ replaced by the warrant per decision 12, and `ADR-FORMAT.md` becomes the decision-file format rather than a separate one. `OKF/index.md` §Decisions points at `decisions/index.md`. -**`okf-check` exists** at `skills/loop/write-OKF/scripts/`, exiting 1 on +**`okf-check` exists** at `skills/loop/write-okf/scripts/`, exiting 1 on any error and 0 otherwise, listing every finding with its page path. - Errors: page missing `type:`; page missing `purpose:` or `answers:`; an @@ -67,29 +67,29 @@ any error and 0 otherwise, listing every finding with its page path. - Stdlib only; frontmatter parsing handles multi-line `answers:` lists. - Script, not a skill — no SKILL.md, no invocation surface. Callers reach it **from the skill's own base directory**, never a repo-relative path, - since `skills/loop/...` resolves only inside octobot and write-OKF's + since `skills/loop/...` resolves only inside octobot and write-okf's purpose is running elsewhere. The target OKF is an argument. -**write-OKF gates on it** — done-criteria require running `okf-check` and +**write-okf gates on it** — done-criteria require running `okf-check` and pasting output; a claim of conformance is not a gate. `okf-layout.md` documents the register and the warrant contract. ## Seams touched -- `skills/loop/write-OKF/scripts/okf-check` — CLI: `okf-check `, +- `skills/loop/write-okf/scripts/okf-check` — CLI: `okf-check `, findings on stdout, exit 0/1. The interface tests run against. - `OKF/decisions/index.md` — question-shaped index format. - `OKF/decisions/NNN-.md` — warrant frontmatter contract. - `OKF/ROADMAP.md` §Locked decisions, §Risks & gotchas — pointer shape. - `OKF/index.md` §Decisions — register link replacing `adr/`. -- `skills/loop/write-OKF/SKILL.md` done-criteria + `okf-layout.md`. +- `skills/loop/write-okf/SKILL.md` done-criteria + `okf-layout.md`. - `model-domain/ADR-FORMAT.md` — decision-file format, renamed and re-pointed. The rest of the sweep is reference edits, not seams. ## Verify ```sh -skills/loop/write-OKF/scripts/okf-check OKF/ \ +skills/loop/write-okf/scripts/okf-check OKF/ \ && test "$(wc -l < OKF/ROADMAP.md)" -le 110 \ && test "$(ls OKF/decisions/[0-9][0-9][0-9]-*.md | wc -l)" -eq 16 \ && test ! -d OKF/adr \ diff --git a/OKF/blueprints/B-003-graduate-and-collapse-ferries.md b/OKF/blueprints/B-003-graduate-and-collapse-ferries.md index 5f92b15..b77eaf2 100644 --- a/OKF/blueprints/B-003-graduate-and-collapse-ferries.md +++ b/OKF/blueprints/B-003-graduate-and-collapse-ferries.md @@ -67,9 +67,9 @@ rule. Done-criteria require running it and pasting output. - `skills/loop/moor/SKILL.md` — the graduation and collapse steps, the two narrowed guardrails, the `okf-check` gate in done-criteria. -- `skills/loop/write-OKF/scripts/okf-check` — the ferry shape rule. CLI +- `skills/loop/write-okf/scripts/okf-check` — the ferry shape rule. CLI unchanged: `okf-check `, findings on stdout, exit 0/1. -- `skills/loop/write-OKF/okf-layout.md` — `ferries/` contract gains the +- `skills/loop/write-okf/okf-layout.md` — `ferries/` contract gains the moored shape, `sealed:`, and the refresh DRIFT rule. - `OKF/index.md` — the two ferry line shapes. - `OKF/ROADMAP.md` phase 7 — both halves tick as one net-shedding line. @@ -86,10 +86,10 @@ F=$SCRATCH/fixture-okf \ && grep -q '^sealed:' $F/ferries/fx-topic.md \ && ls $F/decisions/[0-9][0-9][0-9]-*.md \ && (cd $F && jj show "$(sed -n 's/.*change: *//p' ferries/fx-topic.md)" >/dev/null) \ - && skills/loop/write-OKF/scripts/okf-check $F \ - && mkdir $F/ferries/fx-topic && ! skills/loop/write-OKF/scripts/okf-check $F \ + && skills/loop/write-okf/scripts/okf-check $F \ + && mkdir $F/ferries/fx-topic && ! skills/loop/write-okf/scripts/okf-check $F \ && rmdir $F/ferries/fx-topic \ - && skills/loop/write-OKF/scripts/okf-check OKF/ \ + && skills/loop/write-okf/scripts/okf-check OKF/ \ && test "$(wc -l < OKF/ROADMAP.md)" -le 110 \ && test "$(wc -l < skills/loop/moor/SKILL.md)" -le 110 \ && echo PASS diff --git a/OKF/blueprints/B-004-give-cites-teeth-and-fence-derived-zone.md b/OKF/blueprints/B-004-give-cites-teeth-and-fence-derived-zone.md index 5e8ce64..43fadb4 100644 --- a/OKF/blueprints/B-004-give-cites-teeth-and-fence-derived-zone.md +++ b/OKF/blueprints/B-004-give-cites-teeth-and-fence-derived-zone.md @@ -62,14 +62,14 @@ split nobody wrote down is one the next agent re-litigates. ## Seams touched -- `skills/loop/write-OKF/scripts/okf-check` — `cite_resolves` gains the +- `skills/loop/write-okf/scripts/okf-check` — `cite_resolves` gains the symbol case; a fence-shape check joins it. CLI unchanged: `okf-check `, findings on stdout, exit 0/1. -- `skills/loop/write-OKF/page-warrant.md` — **new**. The warrant contract +- `skills/loop/write-okf/page-warrant.md` — **new**. The warrant contract and the `sealed:` pin block, moved verbatim. -- `skills/loop/write-OKF/okf-layout.md` — the cite grammar, the derived +- `skills/loop/write-okf/okf-layout.md` — the cite grammar, the derived fence contract, and a pointer replacing the two moved blocks. -- `skills/loop/write-OKF/SKILL.md` — refresh step 4 (the cite grammar), +- `skills/loop/write-okf/SKILL.md` — refresh step 4 (the cite grammar), step 6 (narrowed to pins), and the derived-zone regeneration rule. - `OKF/ROADMAP.md` phase 6 — the corrected Verify clause and the split line. One hunk; the phase stays under 110. @@ -83,16 +83,16 @@ citing `src/conf.py:parse_config` from a fenced `ARCHITECTURE.md`, and a ```sh S=$SCRATCH/fx-cites && Z='/okf:derived begin/,/okf:derived end/d' \ - && test ! -d $S/.jj && skills/loop/write-OKF/scripts/okf-check $S/OKF \ + && test ! -d $S/.jj && skills/loop/write-okf/scripts/okf-check $S/OKF \ && sed -i 's/def parse_config/def load_config/' $S/src/conf.py \ - && ! skills/loop/write-OKF/scripts/okf-check $S/OKF \ + && ! skills/loop/write-okf/scripts/okf-check $S/OKF \ && diff <(sed "$Z" $S/OKF/ARCHITECTURE.md) <(sed "$Z" $S/before/ARCHITECTURE.md) \ && printf '\n' >> $S/OKF/SUMMARY.md \ - && ! skills/loop/write-OKF/scripts/okf-check $S/OKF \ - && skills/loop/write-OKF/scripts/okf-check OKF/ \ + && ! skills/loop/write-okf/scripts/okf-check $S/OKF \ + && skills/loop/write-okf/scripts/okf-check OKF/ \ && grep -rL "^purpose:" OKF/*.md OKF/decisions/[0-9]*.md | grep -qx OKF/index.md \ - && for f in skills/loop/write-OKF/okf-layout.md \ - skills/loop/write-OKF/page-warrant.md OKF/ROADMAP.md; do + && for f in skills/loop/write-okf/okf-layout.md \ + skills/loop/write-okf/page-warrant.md OKF/ROADMAP.md; do test "$(wc -l < $f)" -le 110 || exit 1; done \ && echo PASS ``` diff --git a/OKF/blueprints/B-005-propose-the-page-plan-from-a-repo-scan.md b/OKF/blueprints/B-005-propose-the-page-plan-from-a-repo-scan.md index 97ad63d..8960f77 100644 --- a/OKF/blueprints/B-005-propose-the-page-plan-from-a-repo-scan.md +++ b/OKF/blueprints/B-005-propose-the-page-plan-from-a-repo-scan.md @@ -12,7 +12,7 @@ Phase 6's second half, the last thing owed before it ticks. [007](../decisions/R-007-taxonomy-derived-per-repo.md) settled that the page taxonomy is derived per repo; [009](../decisions/R-009-index-is-the-page-plan.md) settled where the plan is recorded. Neither has a producer — scaffold -still materialises a fixed four-template skeleton (`write-OKF/SKILL.md:32`), +still materialises a fixed four-template skeleton (`write-okf/SKILL.md:32`), the exact layout 007 rejects. The Real need: a scan turning a repo's shape into a proposal a user can lock. Brief: `ROADMAP.md:70-77`. @@ -58,19 +58,19 @@ fill, unmaterialised — no pre-warranted shell slips past the check. ## Seams touched -- `skills/loop/write-OKF/scripts/okf-scan` — **new**. CLI +- `skills/loop/write-okf/scripts/okf-scan` — **new**. CLI `okf-scan `, candidates on stdout, exit 0 whatever it finds (2 on usage) — a scanner is not a validator, so [016](../decisions/R-016-one-okf-check-validator.md) holds. -- `skills/loop/write-OKF/taxonomy-scan.md` — **new**. The scan contract: +- `skills/loop/write-okf/taxonomy-scan.md` — **new**. The scan contract: two signals, the evidence rule, the producer seam, the propose-never- write boundary, and how a proposal becomes a locked plan. -- `skills/loop/write-OKF/okf-layout.md` — `modules/` and `analyses/` in +- `skills/loop/write-okf/okf-layout.md` — `modules/` and `analyses/` in the tree, marked proposable; a pointer to `taxonomy-scan.md`. -- `skills/loop/write-OKF/SKILL.md` — scaffold step 2 becomes scan → +- `skills/loop/write-okf/SKILL.md` — scaffold step 2 becomes scan → propose → user locks `index.md` → materialise what it lists *and* a producer can fill. -- `skills/loop/write-OKF/templates/` — warrants on the four templates; +- `skills/loop/write-okf/templates/` — warrants on the four templates; `CONTEXT.md.tpl` and `ROADMAP.md.tpl` added, unmaterialised. - `OKF/ROADMAP.md` phase 6 — the ✅ tick, paid for by its spent risk line (`:94-96`; 004 shipped `path:symbol`). @@ -83,7 +83,7 @@ Weave builds two scratchpad fixtures — `fx-analysis/` with scaffolds `fx-analysis/OKF` per the rewritten step 2, then runs: ```sh -S=$SCRATCH && A=$S/fx-analysis && L=$S/fx-lib && W=skills/loop/write-OKF \ +S=$SCRATCH && A=$S/fx-analysis && L=$S/fx-lib && W=skills/loop/write-okf \ && $W/scripts/okf-scan $A > $S/plan-a && $W/scripts/okf-scan $L > $S/plan-l \ && test -s $S/plan-a && test -s $S/plan-l && ! diff -q $S/plan-a $S/plan-l \ && grep -q '^analyses/' $S/plan-a && ! grep -q '^modules/' $S/plan-a \ diff --git a/OKF/blueprints/B-006-rescan-the-page-plan-on-refresh.md b/OKF/blueprints/B-006-rescan-the-page-plan-on-refresh.md index 923ee12..3717df4 100644 --- a/OKF/blueprints/B-006-rescan-the-page-plan-on-refresh.md +++ b/OKF/blueprints/B-006-rescan-the-page-plan-on-refresh.md @@ -9,7 +9,7 @@ traces-to: 005's Out of scope (rescan on refresh); ROADMAP.md phase 8, added by ## Justification 005 shipped the scaffold path only — a scan proposes a plan once, at -birth. Refresh (`write-OKF/SKILL.md:50-73`) never runs it, so a repo that +birth. Refresh (`write-okf/SKILL.md:50-73`) never runs it, so a repo that grows a module gets no page and one that loses a module keeps a stale page forever. [007](../decisions/R-007-taxonomy-derived-per-repo.md) makes the taxonomy derived per repo; today it is derived *once*. @@ -57,12 +57,12 @@ page plan. ## Seams touched -- `skills/loop/write-OKF/scripts/okf-scan` — container suppression; +- `skills/loop/write-okf/scripts/okf-scan` — container suppression; unreadable directories yield no evidence. No new flag, no new mode — the delta is read by refresh, not computed by the scanner. -- `skills/loop/write-OKF/taxonomy-scan.md` (64/110) — a **Rescan on +- `skills/loop/write-okf/taxonomy-scan.md` (64/110) — a **Rescan on refresh** section: three buckets, removal doctrine, container rule. -- `skills/loop/write-OKF/SKILL.md` (103/110) — refresh step 1 gains the +- `skills/loop/write-okf/SKILL.md` (103/110) — refresh step 1 gains the rescan and its lock. **≤7 net new lines** — the whole slack it has. - `OKF/decisions/018-.md` + `decisions/index.md` — the removal doctrine. 018 is spent here, so 004's carried cite/pin-split question @@ -83,7 +83,7 @@ Weave builds `$SCRATCH/fx-refresh/` — `analysis/2026-cohort/report.Rmd`, `src/emit/emit.py`; refreshes per the rewritten steps; then runs: ```sh -S=$SCRATCH/fx-refresh && O=$S/OKF && W=skills/loop/write-OKF \ +S=$SCRATCH/fx-refresh && O=$S/OKF && W=skills/loop/write-okf \ && $W/scripts/okf-scan $S > $S/plan \ && grep -q '^analyses/2026-cohort\.md ' $S/plan \ && grep -q '^modules/emit\.md ' $S/plan \ diff --git a/OKF/blueprints/B-007-add-sound.md b/OKF/blueprints/B-007-add-sound.md index 365b76c..6a31c54 100644 --- a/OKF/blueprints/B-007-add-sound.md +++ b/OKF/blueprints/B-007-add-sound.md @@ -25,7 +25,7 @@ re-founded on the OKF. **The spine.** Three steps, in order, every run: 1. **OKF** — read the pages the question touches. No `./OKF/` → say so - in one line, name `/write-OKF`, stop. Nothing else runs — which is + in one line, name `/write-okf`, stop. Nothing else runs — which is also what keeps a wrong self-fire costing two lines, not a recon. 2. **nostos** — query the nostos MCP server when one is configured, via its `find` / `provenance_of` tools. Presence comes from the agent's @@ -68,7 +68,7 @@ correct there) nor at `implemented` (noise, and it would retro-flag 4; the precondition in *Status discipline* (`:43-47`). - `skills/loop/blueprint/blueprint-format.md` — `sounded:` in the frontmatter template. -- `skills/loop/write-OKF/scripts/okf-check` — the gate, above the +- `skills/loop/write-okf/scripts/okf-check` — the gate, above the blueprint escape at `:213`. - `skills/loop/steer/SKILL.md` — one row in the loop table. - `README.md:74` — "All loop skills are user-invoked" is now false. @@ -83,18 +83,18 @@ f="$tmp/OKF/blueprints/B-006-rescan-the-page-plan-on-refresh.md" for s in draft locked implemented; do sed -i "s/^status: .*/status: $s/" "$f" printf '%s: %s\n' "$s" \ - "$(skills/loop/write-OKF/scripts/okf-check "$tmp/OKF" \ + "$(skills/loop/write-okf/scripts/okf-check "$tmp/OKF" \ | grep -c 'locked without sounded')" done -skills/loop/write-OKF/scripts/okf-check OKF/ +skills/loop/write-okf/scripts/okf-check OKF/ ``` Expect `draft: 0` `locked: 1` `implemented: 0`, then `0 error(s)` live. Four session checks the script cannot make, run once each: -1. A repo with no `OKF/` — sound stops and names `/write-OKF`. - ✅ 2026-07-22 (no-OKF fixture — one line naming `/write-OKF` after a +1. A repo with no `OKF/` — sound stops and names `/write-okf`. + ✅ 2026-07-22 (no-OKF fixture — one line naming `/write-okf` after a single directory listing, nothing else run) 2. A repo with no nostos MCP — one line naming `nostos install`, then the run continues. @@ -112,5 +112,5 @@ Four session checks the script cannot make, run once each: - Writing on a self-fire, in any form, however small. - Subagents, background or otherwise. - Web research past the no-internal-owner gap — upstream `research`. -- Retro-sounding 001–006, and any change to `write-OKF`. +- Retro-sounding 001–006, and any change to `write-okf`. - Wiring nostos into octobot; the live-nostos leg is tested elsewhere. diff --git a/OKF/blueprints/B-008-make-nostos-primary-and-files-the-fallback.md b/OKF/blueprints/B-008-make-nostos-primary-and-files-the-fallback.md index eb9c495..f372ad1 100644 --- a/OKF/blueprints/B-008-make-nostos-primary-and-files-the-fallback.md +++ b/OKF/blueprints/B-008-make-nostos-primary-and-files-the-fallback.md @@ -81,7 +81,7 @@ touched. `blueprint`, `blueprint-format.md`, `okf-check` and the ## Verify ```sh -skills/loop/write-OKF/scripts/okf-check OKF/ +skills/loop/write-okf/scripts/okf-check OKF/ awk 'END{print NR}' skills/loop/sound/SKILL.md grep -rni 'live code' README.md OKF/CONTEXT.md skills/loop/sound/SKILL.md ``` diff --git a/OKF/blueprints/B-009-give-every-page-a-growth-path.md b/OKF/blueprints/B-009-give-every-page-a-growth-path.md index 0b26cef..8ed98b4 100644 --- a/OKF/blueprints/B-009-give-every-page-a-growth-path.md +++ b/OKF/blueprints/B-009-give-every-page-a-growth-path.md @@ -68,17 +68,17 @@ at init. `learnings/` appears when the cap forces it, never before. ## Seams touched -- `skills/loop/write-OKF/okf-layout.md` — layout tree, page contracts, +- `skills/loop/write-okf/okf-layout.md` — layout tree, page contracts, Rules: per-kind caps, growth paths, indexing rule, supersession. -- `skills/loop/write-OKF/split-page.md` — **new**: the split procedure. -- `skills/loop/write-OKF/SKILL.md` — refresh gains the trigger that routes +- `skills/loop/write-okf/split-page.md` — **new**: the split procedure. +- `skills/loop/write-okf/SKILL.md` — refresh gains the trigger that routes an over-cap error to `split-page.md`; the ≤110 guardrail restates. -- `skills/loop/write-OKF/scripts/okf-check` — per-kind cap, warning → error. +- `skills/loop/write-okf/scripts/okf-check` — per-kind cap, warning → error. ## Verify ```sh -cd skills/loop/write-OKF && d=$(mktemp -d) && mkdir -p "$d/blueprints" && +cd skills/loop/write-okf && d=$(mktemp -d) && mkdir -p "$d/blueprints" && printf -- '---\nokf_version: "0.1"\n---\n- [a](a.md)\n- [b](blueprints/b.md)\n- [c](blueprints/c.md)\n' > "$d/index.md" && for f in "a:120:Learnings" "blueprints/b:140:Blueprint" "blueprints/c:160:Blueprint"; do p=${f%%:*}; r=${f#*:}; n=${r%%:*}; t=${r##*:} diff --git a/OKF/blueprints/B-010-add-muster-the-human-review-gate.md b/OKF/blueprints/B-010-add-muster-the-human-review-gate.md index e050654..cae7fce 100644 --- a/OKF/blueprints/B-010-add-muster-the-human-review-gate.md +++ b/OKF/blueprints/B-010-add-muster-the-human-review-gate.md @@ -107,15 +107,15 @@ weave/moor: okf-check cannot see live behaviour (decision the ferry's `muster: true`. - `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 +- `skills/loop/write-okf/scripts/okf-check` — the tally-required-when-implemented rule, via a `tally:` block parser modelled on the existing `pin()`. -- `skills/loop/write-OKF/okf-layout.md` — the new frontmatter fields in the +- `skills/loop/write-okf/okf-layout.md` — the new frontmatter fields in the blueprint and ferry-map contracts. ## Verify ```sh -cd skills/loop/write-OKF && d=$(mktemp -d) && mkdir -p "$d/blueprints" && +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 diff --git a/OKF/blueprints/B-011-add-blueprint-level-muster.md b/OKF/blueprints/B-011-add-blueprint-level-muster.md index 71a111b..83b3877 100644 --- a/OKF/blueprints/B-011-add-blueprint-level-muster.md +++ b/OKF/blueprints/B-011-add-blueprint-level-muster.md @@ -75,15 +75,15 @@ cannot see live behaviour (decision 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 +- `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 +- `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" && +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 diff --git a/OKF/blueprints/B-012-add-ferry-level-muster.md b/OKF/blueprints/B-012-add-ferry-level-muster.md index 7ec890a..37049da 100644 --- a/OKF/blueprints/B-012-add-ferry-level-muster.md +++ b/OKF/blueprints/B-012-add-ferry-level-muster.md @@ -50,7 +50,7 @@ only what it can see). - `skills/loop/moor/SKILL.md` — a **Muster** step as moor's first act (after GATHER SIGNAL, before CONSOLIDATE), guarded by the ferry's `muster: true`; derives and persists `review-base`. -- `skills/loop/write-OKF/okf-layout.md` — the `muster: true` (+ persisted +- `skills/loop/write-okf/okf-layout.md` — the `muster: true` (+ persisted `review-base:`) fields in the ferry-map contract. ## Verify diff --git a/OKF/blueprints/B-014-unify-skill-sibling-file-naming.md b/OKF/blueprints/B-014-unify-skill-sibling-file-naming.md index 5ac8001..2bde1b0 100644 --- a/OKF/blueprints/B-014-unify-skill-sibling-file-naming.md +++ b/OKF/blueprints/B-014-unify-skill-sibling-file-naming.md @@ -5,7 +5,7 @@ traces-to: user request 2026-07-30 sounded: 2026-07-30 cites: - skills/productivity/conjure-a-skill/SKILL.md:topic-named siblings - - skills/loop/write-OKF/scripts/okf-check:cite_resolves + - skills/loop/write-okf/scripts/okf-check:cite_resolves --- # 014 — unify skill sibling-file naming on lowercase-kebab topic names @@ -89,7 +89,7 @@ repository, not a local reference, and is not rewritten. progressive-disclosure bullet. - The 8 renamed files and their 33 referring sites across 21 files. - `OKF/` frontmatter `cites:` — 4 pages, read by - `skills/loop/write-OKF/scripts/okf-check`. + `skills/loop/write-okf/scripts/okf-check`. ## Verify @@ -98,7 +98,7 @@ old='REFERENCE\.md|GLOSSARY\.md|PRINCIPLES\.md|CONTEXT-FORMAT\.md|DECISION-FORMA stale=$(grep -rnE "$old" --include='*.md' skills README.md CLAUDE.md OKF \ | grep -vE '^OKF/(blueprints/(001|003|013|014)|index\.md)' | grep -v 'https\?://') upper=$(find skills -type f -name '*.md' ! -name 'SKILL.md' | grep -E '/[A-Z][A-Z0-9-]*\.md$') -[ -z "$stale" ] && [ -z "$upper" ] && python3 skills/loop/write-OKF/scripts/okf-check OKF +[ -z "$stale" ] && [ -z "$upper" ] && python3 skills/loop/write-okf/scripts/okf-check OKF ``` Green when no old name survives outside the four exempted OKF files and the @@ -126,7 +126,7 @@ non-zero baseline and cannot express pass/fail. renaming either one for *meaning* is a vocabulary decision needing model-domain's warrant test, and burying it in a 33-site mechanical diff would defeat `review-blueprint`'s scope check. F9 inherits the coincidence. -- `write-OKF/` — the folder's uppercase `OKF` is a skill name, not a sibling +- `write-okf/` — the folder's uppercase `OKF` is a skill name, not a sibling file. Untouched. - `*.template.md` files — already lowercase, and their `.template.` infix is deliberate. diff --git a/OKF/blueprints/B-015-record-session-check-discharges-on-the-blueprint.md b/OKF/blueprints/B-015-record-session-check-discharges-on-the-blueprint.md index 3a1123c..1df80ee 100644 --- a/OKF/blueprints/B-015-record-session-check-discharges-on-the-blueprint.md +++ b/OKF/blueprints/B-015-record-session-check-discharges-on-the-blueprint.md @@ -62,7 +62,7 @@ printf 'roadmap-stale: %s roadmap-verified: %s\n' \ "$(grep -c '✅ verified' OKF/ROADMAP.md)" printf 'exemption: %s\n' \ "$(grep -c 'stamp' skills/loop/blueprint/blueprint-format.md)" -skills/loop/write-OKF/scripts/okf-check OKF/ +skills/loop/write-okf/scripts/okf-check OKF/ ``` Expect `stamped: 3` `pending: 1`, `roadmap-stale: 0` diff --git a/OKF/blueprints/B-016-pull-two-skills-under-cap-and-level-commit-twins.md b/OKF/blueprints/B-016-pull-two-skills-under-cap-and-level-commit-twins.md index 345f0ed..014cc4f 100644 --- a/OKF/blueprints/B-016-pull-two-skills-under-cap-and-level-commit-twins.md +++ b/OKF/blueprints/B-016-pull-two-skills-under-cap-and-level-commit-twins.md @@ -117,7 +117,7 @@ printf 'charon-mechanics: %s stale-backrefs: %s\n' \ "$(grep -cE 'workspace add|isolation: worktree' skills/loop/call-charon/SKILL.md)" \ "$(grep -cE 'SKILL\.md §5|Workflow.*step 5' \ skills/productivity/commit-atomic-jj/anti-patterns.md)" -skills/loop/write-OKF/scripts/okf-check OKF/ +skills/loop/write-okf/scripts/okf-check OKF/ ``` Expect all three line counts ≤ 110, then `twins: parallel`, diff --git a/OKF/blueprints/B-017-add-a-line-cap-lint-over-skills.md b/OKF/blueprints/B-017-add-a-line-cap-lint-over-skills.md index 540f5f6..79b6619 100644 --- a/OKF/blueprints/B-017-add-a-line-cap-lint-over-skills.md +++ b/OKF/blueprints/B-017-add-a-line-cap-lint-over-skills.md @@ -10,10 +10,10 @@ cites: - OKF/blueprints/B-016-pull-two-skills-under-cap-and-level-commit-twins.md:A line-cap lint - skills/productivity/conjure-a-skill/SKILL.md:exceed 110 lines - skills/productivity/conjure-a-skill/SKILL.md:≤ 110 lines** — octobot's house cap - - skills/loop/write-OKF/scripts/okf-check:CAP = 110 - - skills/loop/write-OKF/scripts/okf-check:a check that cannot fail - - skills/loop/write-OKF/SKILL.md:output pasted - - skills/loop/write-OKF/split-page.md:errors when a page passes its cap + - skills/loop/write-okf/scripts/okf-check:CAP = 110 + - skills/loop/write-okf/scripts/okf-check:a check that cannot fail + - skills/loop/write-okf/SKILL.md:output pasted + - skills/loop/write-okf/split-page.md:errors when a page passes its cap - CLAUDE.md:≤ 110 lines --- @@ -92,11 +92,11 @@ green path over the real tree. **The lint has one invocation obligation.** `conjure-a-skill`'s done-criteria list currently asserts the cap in prose (`SKILL.md` is ≤ 110 lines); that line becomes the script call, matching how -`write-OKF/SKILL.md` obliges `okf-check` to be run and its output pasted. +`write-okf/SKILL.md` obliges `okf-check` to be run and its output pasted. One line replaces one line — `conjure-a-skill` sits at 105 and stays there. **Today's tree is green.** Zero errors; nine of 41 skills sit in the -warning band, `write-OKF` and `bdd` at the cap itself. The lint changes no +warning band, `write-okf` and `bdd` at the cap itself. The lint changes no skill's content. ## Seams touched @@ -117,7 +117,7 @@ tmp=$(mktemp -d); mkdir -p "$tmp/category/over-cap" rm -rf "$tmp" grep -c 'skill-check' skills/productivity/conjure-a-skill/SKILL.md wc -l < skills/productivity/conjure-a-skill/SKILL.md -skills/loop/write-OKF/scripts/okf-check OKF/ +skills/loop/write-okf/scripts/okf-check OKF/ ``` Expect, in order: `0 error(s), 9 warning(s)` then `exit: 0` over the real diff --git a/OKF/blueprints/B-018-own-the-loop-shape-in-flow-1.md b/OKF/blueprints/B-018-own-the-loop-shape-in-flow-1.md index c0fe8d2..6f41ce1 100644 --- a/OKF/blueprints/B-018-own-the-loop-shape-in-flow-1.md +++ b/OKF/blueprints/B-018-own-the-loop-shape-in-flow-1.md @@ -28,7 +28,7 @@ flat arrow string cannot state cadence. Three end at `commit-atomic-jj`, three continue to `moor` — what hand-copying produces, not a decision. The cost is not cosmetic. The string asserts a straight line; four cited -facts contradict it. `write-OKF` fires on scaffold or staleness, not per +facts contradict it. `write-okf` fires on scaffold or staleness, not per request. `ferry` is for work more than one agent session can hold, so it *branches* off blueprint rather than following it. `call-charon` is the multi-blueprint form of weave, not a tier above it. `moor` closes only a @@ -45,7 +45,7 @@ fixes an ordering is what let six sites drift. inside the fence: ``` -substrate (rare) write-OKF — scaffold, or refresh when stale +substrate (rare) write-okf — scaffold, or refresh when stale ↓ per request architect — a phase only for an arc over >1 blueprint ↓ @@ -121,7 +121,7 @@ done grep -rln 'architect → blueprint' --include='*.md' --exclude='018-*' . echo "strays exit: $?" grep -rn 'zero context load\|loop diagram in' --include='*.md' --exclude='018-*' . -skills/loop/write-OKF/scripts/okf-check OKF/ +skills/loop/write-okf/scripts/okf-check OKF/ skills/productivity/conjure-a-skill/scripts/skill-check skills/ | tail -1 wc -l OKF/ARCHITECTURE.md OKF/CONTEXT.md skills/loop/steer/SKILL.md ``` diff --git a/OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md b/OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md index 9976fcf..5adb1b7 100644 --- a/OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md +++ b/OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md @@ -11,8 +11,8 @@ cites: - OKF/ARCHITECTURE.md:substrate (rare) - README.md:### loop — the metaharness spine - skills/loop/steer/SKILL.md:## The loop - - skills/loop/write-OKF/scripts/okf-check:a check that cannot fail - - skills/loop/write-OKF/SKILL.md:run and output pasted + - skills/loop/write-okf/scripts/okf-check:a check that cannot fail + - skills/loop/write-okf/SKILL.md:run and output pasted - skills/productivity/conjure-a-skill/scripts/skill-check:usage: skill-check - OKF/learnings/index.md:Append-only --- @@ -33,7 +33,7 @@ range typed into a blueprint, which expires with it. empty string on a file missing the block; both copies then compare empty-to-empty and print `match`. Only the separate `owner: 17 lines` expectation catches it — -[`okf-check`](../../skills/loop/write-OKF/scripts/okf-check)'s own docstring +[`okf-check`](../../skills/loop/write-okf/scripts/okf-check)'s own docstring names the failure: *a check that cannot fail is not a check*. 018 sits at 149 of its 150-line cap, so the fix lands here. @@ -47,12 +47,12 @@ validator under it. ## Contract -**A script at `skills/loop/write-OKF/scripts/render-check`, taking a repo +**A script at `skills/loop/write-okf/scripts/render-check`, taking a repo root: `render-check `.** It mirrors its two siblings — same argv shape, same `WARN `/`ERROR ` prefixes, same closing `N error(s), M warning(s)` tally, same exit codes (1 on any error, 0 otherwise, 2 on usage), -same `#!/usr/bin/env python3` shebang. Under `write-OKF` because the owner -page is a write-OKF page. +same `#!/usr/bin/env python3` shebang. Under `write-okf` because the owner +page is a write-okf page. **The owner is a fixed path; the copies are discovered.** `OKF/ARCHITECTURE.md` is the sole owner per 018, so the script names it. Copies come from walking @@ -76,7 +76,7 @@ by [blueprint-format](../../skills/loop/blueprint/blueprint-format.md), so a rule that could turn one red would be unfixable by design, and blueprints quote retired forms as record. 018's `--exclude='018-*'` becomes a rule. -**One invocation obligation, one line for one line.** `write-OKF/SKILL.md:83` +**One invocation obligation, one line for one line.** `write-okf/SKILL.md:83` obliges `okf-check` to be run and its output pasted; that line grows to name both scripts. The file sits at exactly 110 — the cap — so it must not grow. @@ -93,16 +93,16 @@ lint changes no rendered content. ## Seams touched -- `skills/loop/write-OKF/scripts/render-check` — new; the CLI entry point +- `skills/loop/write-okf/scripts/render-check` — new; the CLI entry point (`render-check `). -- `skills/loop/write-OKF/SKILL.md` — the §Output done-criteria line at :83. +- `skills/loop/write-okf/SKILL.md` — the §Output done-criteria line at :83. - `OKF/LEARNINGS.md` — one appended entry. - `OKF/ROADMAP.md` — phase 11's entry, ticked and pruned. ## Verify ```sh -LINT=skills/loop/write-OKF/scripts/render-check +LINT=skills/loop/write-okf/scripts/render-check "$LINT" .; echo "exit: $?" tmp=$(mktemp -d); mkdir -p "$tmp/OKF" "$tmp/skills/loop/steer" cp OKF/ARCHITECTURE.md "$tmp/OKF/"; cp README.md "$tmp/" @@ -115,10 +115,10 @@ sed -i 's/^ blueprint → sound/ blueprint → sound/' "$tmp/README.md" sed -i '/^substrate (rare)/,/^weave = bdd/d' "$tmp/OKF/ARCHITECTURE.md" "$LINT" "$tmp"; echo "no-owner exit: $?" rm -rf "$tmp" -grep -c 'render-check' skills/loop/write-OKF/SKILL.md -wc -l skills/loop/write-OKF/SKILL.md OKF/LEARNINGS.md OKF/ROADMAP.md +grep -c 'render-check' skills/loop/write-okf/SKILL.md +wc -l skills/loop/write-okf/SKILL.md OKF/LEARNINGS.md OKF/ROADMAP.md grep -n '^11\.' OKF/ROADMAP.md -skills/loop/write-OKF/scripts/okf-check OKF/ +skills/loop/write-okf/scripts/okf-check OKF/ skills/productivity/conjure-a-skill/scripts/skill-check skills/ | tail -1 ``` @@ -126,7 +126,7 @@ Expect `0 error(s), 0 warning(s)` / exit 0 over the real repo and again over the pristine copy, then each leg firing alone at exit 1: `stray.md` naming the retired form, `README.md` diverging on one added space, and the missing owner block reported as an error — **not** as a `match`, the defect this -blueprint exists to remove. Then `1`; `110` for `write-OKF/SKILL.md` with +blueprint exists to remove. Then `1`; `110` for `write-okf/SKILL.md` with both OKF pages at or under 110; a phase 11 line carrying `✅`; and `0 error(s), 0 warning(s)` / `0 error(s), 9 warning(s)` from the siblings. diff --git a/OKF/blueprints/B-020-enforce-the-prune-and-validate-every-cite.md b/OKF/blueprints/B-020-enforce-the-prune-and-validate-every-cite.md index d131627..5ed6208 100644 --- a/OKF/blueprints/B-020-enforce-the-prune-and-validate-every-cite.md +++ b/OKF/blueprints/B-020-enforce-the-prune-and-validate-every-cite.md @@ -8,9 +8,9 @@ cites: - OKF/decisions/R-020-every-page-has-a-growth-path.md:a discharged phase to one - OKF/decisions/R-017-pin-drift-splits-by-visibility.md:pin drift splits by what each tool can see - OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md:Two `okf-check` rules - - skills/loop/write-OKF/page-warrant.md:cite drift does not split the same way - - skills/loop/write-OKF/scripts/okf-check:carry their own frontmatter contracts - - skills/loop/write-OKF/split-page.md + - skills/loop/write-okf/page-warrant.md:cite drift does not split the same way + - skills/loop/write-okf/scripts/okf-check:carry their own frontmatter contracts + - skills/loop/write-okf/split-page.md - skills/loop/chart/SKILL.md - skills/loop/chart/revise.md - OKF/learnings/index.md:Append-only @@ -46,13 +46,13 @@ next such line or the next `## ` heading — carrying both `✅` and this is the mechanical half. **Rule 2 — every page's cites resolve.** The `continue` at -[`okf-check`](../../skills/loop/write-OKF/scripts/okf-check):245 skips +[`okf-check`](../../skills/loop/write-okf/scripts/okf-check):245 skips `blueprints`/`ferries` *before* the cite loop, so no blueprint's or ferry's cites are validated at all. The resolvability loop moves **above** that `continue`; the `no cites:` warning stays **below** it, gated to warrant pages — the format requires `traces-to`, not `cites:`, and eighteen live pages carry none. Cites validate **whole**, path and symbol, per -[page-warrant.md](../../skills/loop/write-OKF/page-warrant.md): a cite needs +[page-warrant.md](../../skills/loop/write-okf/page-warrant.md): a cite needs no repo, so it does not split the way [R-017](../decisions/R-017-pin-drift-splits-by-visibility.md) splits a pin. @@ -80,14 +80,14 @@ omitted. This blueprint cites every file it edits that way. **`LEARNINGS.md` ends at or under 110 with the entry present.** It sits at 105 and B-019 owes it one too; whichever weave crosses the cap performs R-020's named move, the split into `learnings/.md`, per -[split-page.md](../../skills/loop/write-OKF/split-page.md) — pure +[split-page.md](../../skills/loop/write-okf/split-page.md) — pure relocation, alone in its own change. **Both new rules fire today** — rule 1 on a fixture, rule 2 on the four real cites before repair — and nothing rendered changes. ## Seams touched -- `skills/loop/write-OKF/scripts/okf-check` — `main()`'s per-page loop +- `skills/loop/write-okf/scripts/okf-check` — `main()`'s per-page loop (rule 2's move) plus one new roadmap check reached from it (rule 1); the module docstring's error list names both. - `skills/loop/architect/SKILL.md` — `:36`, `:54`. @@ -98,7 +98,7 @@ rendered changes. ## Verify ```sh -CHECK=skills/loop/write-OKF/scripts/okf-check +CHECK=skills/loop/write-okf/scripts/okf-check "$CHECK" OKF/; echo "real exit: $?" tmp=$(mktemp -d); cp -r OKF "$tmp/" for f in skills README.md CLAUDE.md; do ln -s "$PWD/$f" "$tmp/$f"; done @@ -113,7 +113,7 @@ sed -i 's|^ - OKF/CONTEXT.md:House cap| - OKF/nope.md:x|' \ sed -i '/^cites:/,/^status:/{/^ - /d}' \ "$tmp/OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md" "$CHECK" "$tmp/OKF" | grep -c 'no cites' -rm -rf "$tmp" skills/loop/write-OKF/scripts/__pycache__ +rm -rf "$tmp" skills/loop/write-okf/scripts/__pycache__ grep -n 'every phase\|verify line\|\*\*Verify:\*\*' \ skills/loop/architect/SKILL.md skills/loop/architect/revise.md wc -l OKF/LEARNINGS.md skills/loop/architect/SKILL.md \ diff --git a/OKF/blueprints/B-021-align-validator-and-doctrine.md b/OKF/blueprints/B-021-align-validator-and-doctrine.md index a982a5f..86b69bc 100644 --- a/OKF/blueprints/B-021-align-validator-and-doctrine.md +++ b/OKF/blueprints/B-021-align-validator-and-doctrine.md @@ -4,9 +4,9 @@ status: implemented traces-to: user request 2026-07-30 (the split drift); B-020 §Out of scope sounded: 2026-07-30 cites: - - skills/loop/write-OKF/split-page.md - - skills/loop/write-OKF/okf-layout.md - - skills/loop/write-OKF/scripts/okf-check + - skills/loop/write-okf/split-page.md + - skills/loop/write-okf/okf-layout.md + - skills/loop/write-okf/scripts/okf-check - skills/loop/blueprint/blueprint-format.md - OKF/decisions/R-022-prose-cites-carry-a-register-prefix.md - OKF/learnings/index.md @@ -27,7 +27,7 @@ validated field no format declares — the defect class B-020's contradicting it. **The first is load-bearing today.** -[split-page.md](../../skills/loop/write-OKF/split-page.md) §Rewiring the +[split-page.md](../../skills/loop/write-okf/split-page.md) §Rewiring the index says the capped page keeps its name and becomes its subpages' index; `okf-check`'s `reachable()` propagates only through pages named `index.md` or `MAP.md`, so `learnings/.md` linked from `LEARNINGS.md` errors @@ -77,7 +77,7 @@ repaired with code spans, which is what the rule already permits. and `sounded:` only, while every blueprint since B-014 but B-015 carries a `cites:` that B-020 makes the validator enforce. Declared as **optional** — B-015 is why — with the cite grammar owned by -[okf-layout.md](../../skills/loop/write-OKF/okf-layout.md) and referenced, +[okf-layout.md](../../skills/loop/write-okf/okf-layout.md) and referenced, not restated. **Nothing rendered by `render-check` changes**, and every touched file @@ -85,11 +85,11 @@ stays under its cap. ## Seams touched -- `skills/loop/write-OKF/scripts/okf-check` — one new check reached from +- `skills/loop/write-okf/scripts/okf-check` — one new check reached from `main()`'s per-page loop, plus the module docstring's error list. `reachable()` unchanged. -- `skills/loop/write-OKF/split-page.md` — §Rewiring the index. -- `skills/loop/write-OKF/okf-layout.md` — the tree comment on +- `skills/loop/write-okf/split-page.md` — §Rewiring the index. +- `skills/loop/write-okf/okf-layout.md` — the tree comment on `LEARNINGS.md` and its page contract. - `skills/loop/blueprint/blueprint-format.md` — skeleton + one Rules bullet. - `OKF/decisions/022-…` — one sentence, code spans only. @@ -99,9 +99,9 @@ stays under its cap. ## Verify ```sh -CHECK=skills/loop/write-OKF/scripts/okf-check +CHECK=skills/loop/write-okf/scripts/okf-check "$CHECK" OKF/; echo "real exit: $?" -skills/loop/write-OKF/scripts/render-check . +skills/loop/write-okf/scripts/render-check . ls OKF/LEARNINGS.md; ls OKF/learnings/ grep -c '^- Believed:' OKF/learnings/*.md | awk -F: '{s+=$2} END{print "entries:",s}' grep -n 'learnings/index.md' OKF/index.md @@ -111,10 +111,10 @@ for f in skills README.md CLAUDE.md; do ln -s "$PWD/$f" "$tmp/$f"; done printf '\nA bare 017 standing in prose.\n' \ >> "$tmp/OKF/decisions/R-012-one-why-register.md" "$CHECK" "$tmp/OKF" | grep -c 'unprefixed register cite' -rm -rf "$tmp" skills/loop/write-OKF/scripts/__pycache__ -grep -n 'index.md' skills/loop/write-OKF/split-page.md | head -5 +rm -rf "$tmp" skills/loop/write-okf/scripts/__pycache__ +grep -n 'index.md' skills/loop/write-okf/split-page.md | head -5 grep -n 'cites' skills/loop/blueprint/blueprint-format.md -wc -l skills/loop/write-OKF/split-page.md skills/loop/write-OKF/okf-layout.md \ +wc -l skills/loop/write-okf/split-page.md skills/loop/write-okf/okf-layout.md \ skills/loop/blueprint/blueprint-format.md OKF/learnings/*.md OKF/index.md skills/productivity/conjure-a-skill/scripts/skill-check skills/ | tail -1 ``` diff --git a/OKF/blueprints/B-022-validate-every-cite-at-every-status.md b/OKF/blueprints/B-022-validate-every-cite-at-every-status.md index 1fdca2e..d0492c4 100644 --- a/OKF/blueprints/B-022-validate-every-cite-at-every-status.md +++ b/OKF/blueprints/B-022-validate-every-cite-at-every-status.md @@ -8,13 +8,13 @@ cites: - OKF/blueprints/B-021-align-validator-and-doctrine.md - OKF/learnings/loop.md - OKF/index.md - - skills/loop/write-OKF/scripts/okf-check + - skills/loop/write-okf/scripts/okf-check - skills/loop/chart/SKILL.md - skills/loop/chart/revise.md - OKF/ROADMAP.md:A live decision can be contradicted - OKF/decisions/R-020-every-page-has-a-growth-path.md:a discharged phase to one - OKF/decisions/R-017-pin-drift-splits-by-visibility.md:pin drift splits by what each tool can see - - skills/loop/write-OKF/page-warrant.md:cite drift does not split the same way + - skills/loop/write-okf/page-warrant.md:cite drift does not split the same way - skills/loop/blueprint/blueprint-format.md:sections are immutable --- @@ -42,13 +42,13 @@ such line or the next `## ` heading — carrying both `✅` and `**Verify:**` is an **ERROR**: the mechanical half R-020's prune never had. As in B-020. **Rule 2 — every page's cites resolve.** The `continue` at -[`okf-check`](../../skills/loop/write-OKF/scripts/okf-check):272 skips +[`okf-check`](../../skills/loop/write-okf/scripts/okf-check):272 skips `blueprints`/`ferries` *before* the cite loop, so no blueprint's or ferry's cites are validated at all. The resolvability loop moves **above** that `continue`; the `no cites:` warning stays **below** it, gated to warrant pages — the format requires `traces-to`, not `cites:`. Cites validate **whole**, path and symbol, per -[page-warrant.md](../../skills/loop/write-OKF/page-warrant.md): a cite needs +[page-warrant.md](../../skills/loop/write-okf/page-warrant.md): a cite needs no repo, so it does not split the way [R-017](../decisions/R-017-pin-drift-splits-by-visibility.md) splits a pin. @@ -68,7 +68,7 @@ approximate text. Dropped: B-014 `CLAUDE.md:EXAMPLES.md` (file gone); B-018 B-018 `ROADMAP.md:loop diagram in` and B-019 `ROADMAP.md:checked by script` (erased when phase 11 discharged). Repointed: B-017 `conjure-a-skill/SKILL.md:is ≤ 110 lines`, live at `:55`; B-019 -`write-OKF/SKILL.md:run and its output pasted`, live at `:84`; B-019 and +`write-okf/SKILL.md:run and its output pasted`, live at `:84`; B-019 and B-020 `OKF/LEARNINGS.md:Append-only` and B-021 `OKF/LEARNINGS.md`, all onto `OKF/learnings/index.md`, the page the split renamed it to. @@ -90,7 +90,7 @@ rule 2 on the nine real cites before repair — and nothing rendered changes. ## Seams touched -- `skills/loop/write-OKF/scripts/okf-check` — `main()`'s per-page loop (rule +- `skills/loop/write-okf/scripts/okf-check` — `main()`'s per-page loop (rule 2's move), one new roadmap check reached from it (rule 1), the docstring. - `skills/loop/architect/SKILL.md` `:36`, `:54`; `revise.md` `:15`. - `OKF/blueprints/014-…`, `017-…`, `018-…`, `019-…`, `021-…` — `cites:` @@ -101,7 +101,7 @@ rule 2 on the nine real cites before repair — and nothing rendered changes. ## Verify ```sh -CHECK=skills/loop/write-OKF/scripts/okf-check +CHECK=skills/loop/write-okf/scripts/okf-check "$CHECK" OKF/; echo "real exit: $?" tmp=$(mktemp -d); cp -r OKF "$tmp/" for f in skills README.md CLAUDE.md; do ln -s "$PWD/$f" "$tmp/$f"; done @@ -117,7 +117,7 @@ sed -i '0,/^cites:/s|^cites:|cites:\n - OKF/nope.md:x|' \ sed -i '/^cites:/,/^---$/{/^ - /d}' \ "$tmp/OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md" "$CHECK" "$tmp/OKF" | grep -c 'no cites' -rm -rf "$tmp" skills/loop/write-OKF/scripts/__pycache__ +rm -rf "$tmp" skills/loop/write-okf/scripts/__pycache__ grep -n 'every phase\|verify line\|\*\*Verify:\*\*' \ skills/loop/architect/SKILL.md skills/loop/architect/revise.md grep -h '^status:' OKF/blueprints/020-*.md diff --git a/OKF/blueprints/B-023-add-a-link-lint-over-relative-md-links.md b/OKF/blueprints/B-023-add-a-link-lint-over-relative-md-links.md index b84d591..f2421ed 100644 --- a/OKF/blueprints/B-023-add-a-link-lint-over-relative-md-links.md +++ b/OKF/blueprints/B-023-add-a-link-lint-over-relative-md-links.md @@ -7,12 +7,12 @@ cites: - OKF/ROADMAP.md - OKF/ARCHITECTURE.md:Cross-links - OKF/blueprints/B-002-extract-why-register.md:ADR-FORMAT.md - - skills/loop/write-OKF/scripts/_pages.py:dot-directories and blueprints out + - skills/loop/write-okf/scripts/_pages.py:dot-directories and blueprints out - OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md:Why a third script - OKF/blueprints/B-017-add-a-line-cap-lint-over-skills.md:Why a sibling script - OKF/decisions/R-016-one-okf-check-validator.md:One `okf-check` validator - skills/productivity/conjure-a-skill/scripts/skill-check:usage: skill-check - - skills/loop/write-OKF/SKILL.md:run and output pasted + - skills/loop/write-okf/SKILL.md:run and output pasted --- # 023 — add a link lint over relative markdown links @@ -62,7 +62,7 @@ a second validator under it. ## Contract -**A script at `skills/loop/write-OKF/scripts/link-check`, taking a repo root: +**A script at `skills/loop/write-okf/scripts/link-check`, taking a repo root: `link-check `.** It mirrors its three siblings — same argv shape, `WARN `/`ERROR ` prefixes, closing `N error(s), M warning(s)` tally, exit codes (1 on any error, 0 otherwise, 2 on usage), and `python3` shebang. @@ -87,10 +87,10 @@ unresolvable link: ../architect/SKILL.md`. Errors only; an unresolvable link is always a defect, so there is no warning band, though the tally still prints both counts — `render-check` hardcodes `0 warning(s)` for the same reason. -**Where it lives, and registration.** Under `write-OKF/scripts/` beside +**Where it lives, and registration.** Under `write-okf/scripts/` beside `okf-check` and `render-check`, per [019](B-019-add-a-render-lint-over-the-loop-shape.md)'s placement rule. -`write-OKF/SKILL.md`'s *run and output pasted* line grows to name it. +`write-okf/SKILL.md`'s *run and output pasted* line grows to name it. **The two repairs.** `architect/SKILL.md:55` and `architect/revise.md:16` stop being links: `[NNN](…)` becomes `` `NNN` ``, `[NNN](blueprints/…)` becomes @@ -98,17 +98,17 @@ being links: `[NNN](…)` becomes `` `NNN` ``, `[NNN](blueprints/…)` becomes ## Seams touched -- `skills/loop/write-OKF/scripts/link-check` — the CLI (argv arity, exit codes +- `skills/loop/write-okf/scripts/link-check` — the CLI (argv arity, exit codes 0/1/2, `ERROR ` format, tally) and target classification (skipped: external, fragment-only, fenced, under `OKF/blueprints/`). -- `skills/loop/write-OKF/SKILL.md` — the run-and-paste obligation. +- `skills/loop/write-okf/SKILL.md` — the run-and-paste obligation. - `skills/loop/architect/SKILL.md`, `skills/loop/architect/revise.md` — the two ellipsis placeholders, as prose not links. ## Verify ```sh -cd ; LINT=skills/loop/write-OKF/scripts/link-check +cd ; LINT=skills/loop/write-okf/scripts/link-check B=skills/loop/moor/SKILL.md; L='[x](../nonexistent-abc/SKILL.md)' F=$(printf '\140\140\140') # a fence, without closing this one diff --git a/OKF/blueprints/B-024-rename-the-spine-and-give-chart-its-ferry-edge.md b/OKF/blueprints/B-024-rename-the-spine-and-give-chart-its-ferry-edge.md index 26921f1..c24e6a7 100644 --- a/OKF/blueprints/B-024-rename-the-spine-and-give-chart-its-ferry-edge.md +++ b/OKF/blueprints/B-024-rename-the-spine-and-give-chart-its-ferry-edge.md @@ -10,7 +10,7 @@ cites: - skills/loop/rig/SKILL.md - skills/loop/ferry/SKILL.md - skills/loop/steer/SKILL.md - - skills/loop/write-OKF/scripts/render-check + - skills/loop/write-okf/scripts/render-check - OKF/blueprints/B-022-validate-every-cite-at-every-status.md - OKF/learnings/loop.md - OKF/decisions/R-019-recon-may-self-fire.md @@ -102,14 +102,14 @@ gap. Ferry's `disable-model-invocation` stays `true`. terminal, in §Shared rules and §See also. - `OKF/ARCHITECTURE.md` flow 1 — the canonical render, plus its byte-copy sites in `README.md` and `steer/SKILL.md`. -- `skills/loop/write-OKF/scripts/render-check` — the `RETIRED` constant. +- `skills/loop/write-okf/scripts/render-check` — the `RETIRED` constant. - Frontmatter `cites:` on `OKF/decisions/002`, `005`, `learnings/loop.md`, `OKF/blueprints/018`, `020`, `022`, `024`. ## Verify ```sh -cd ; S=skills/loop/write-OKF/scripts; K=~/.claude/skills +cd ; S=skills/loop/write-okf/scripts; K=~/.claude/skills $S/link-check . ; $S/render-check . ; $S/okf-check OKF/ skills/productivity/conjure-a-skill/scripts/skill-check skills/ | tail -1 grep -rniw 'architect\|weave' skills/ README.md AGENTS.md && echo "FAIL names" || echo "OK names" diff --git a/OKF/blueprints/B-025-rule-muster-on-every-blueprint.md b/OKF/blueprints/B-025-rule-muster-on-every-blueprint.md index d6b8d21..9b08f53 100644 --- a/OKF/blueprints/B-025-rule-muster-on-every-blueprint.md +++ b/OKF/blueprints/B-025-rule-muster-on-every-blueprint.md @@ -14,7 +14,7 @@ cites: - OKF/blueprints/B-011-add-blueprint-level-muster.md - skills/loop/rig/SKILL.md:Muster (only if - skills/loop/blueprint/blueprint-format.md:opts into the human review gate - - skills/loop/write-OKF/scripts/okf-check:muster is opt-in + - skills/loop/write-okf/scripts/okf-check:muster is opt-in --- # 025 — rule muster on every blueprint @@ -81,7 +81,7 @@ grep -q 'muster: false' skills/loop/blueprint/SKILL.md && echo "OK step" || echo grep -qx 'muster: true' OKF/blueprints/B-025-rule-muster-on-every-blueprint.md && echo "OK self" || echo "FAIL self" skills/productivity/conjure-a-skill/scripts/skill-check skills/ | tail -1 -skills/loop/write-OKF/scripts/link-check . ; skills/loop/write-OKF/scripts/okf-check OKF/ +skills/loop/write-okf/scripts/link-check . ; skills/loop/write-okf/scripts/okf-check OKF/ ``` `skill-check` prints `0 error(s), 9 warning(s)`; `link-check` and `okf-check` diff --git a/OKF/blueprints/B-026-walk-only-what-git-does-not-ignore.md b/OKF/blueprints/B-026-walk-only-what-git-does-not-ignore.md index f34b212..5b12e3f 100644 --- a/OKF/blueprints/B-026-walk-only-what-git-does-not-ignore.md +++ b/OKF/blueprints/B-026-walk-only-what-git-does-not-ignore.md @@ -4,8 +4,8 @@ status: implemented traces-to: user request 2026-07-31 sounded: 2026-07-31 cites: - - skills/loop/write-OKF/scripts/link-check - - skills/loop/write-OKF/scripts/render-check + - skills/loop/write-okf/scripts/link-check + - skills/loop/write-okf/scripts/render-check - OKF/blueprints/B-023-add-a-link-lint-over-relative-md-links.md:What it walks - OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md:dot-directories skipped - OKF/blueprints/B-024-rename-the-spine-and-give-chart-its-ferry-edge.md:that Contract is sealed @@ -48,7 +48,7 @@ mechanised three times — [017](B-017-add-a-line-cap-lint-over-skills.md), ## Contract -**One shared walk, at `skills/loop/write-OKF/scripts/_pages.py`.** Both lints +**One shared walk, at `skills/loop/write-okf/scripts/_pages.py`.** Both lints import it and neither keeps a private `pages()`. A sibling module is importable because `python3