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.
This commit is contained in:
Łukasz Boryń 2026-10-03 23:43:36 +02:00
parent e34f6dad71
commit 399830f247
73 changed files with 228 additions and 228 deletions

View File

@ -17,7 +17,7 @@ status: live
One module per skill category; the interface of each skill is its One module per skill category; the interface of each skill is its
frontmatter `description` (routing) plus its SKILL.md body (procedure). 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. (knowledge), chart (plan), blueprint, ferry, rig, steer.
- **engineering** (`skills/engineering/`) — practice skills: bdd, - **engineering** (`skills/engineering/`) — practice skills: bdd,
diagnose, review axes (review-angles, nuke-review, winnow), sieve, diagnose, review axes (review-angles, nuke-review, winnow), sieve,
@ -37,7 +37,7 @@ frontmatter `description` (routing) plus its SKILL.md body (procedure).
§The loop. §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 per request chart — a phase only for an arc over >1 blueprint
↓ ↓

View File

@ -5,7 +5,7 @@ answers:
- "What is the canonical name for this concept in octobot?" - "What is the canonical name for this concept in octobot?"
cites: cites:
- skills/productivity/conjure-a-skill/glossary.md - skills/productivity/conjure-a-skill/glossary.md
- skills/loop/write-OKF/okf-layout.md - skills/loop/write-okf/okf-layout.md
status: live status: live
--- ---
@ -31,7 +31,7 @@ _Avoid_: pipeline, workflow (those describe the develop-* orchestrators).
**OKF**: **OKF**:
Open-knowledge-format — the agent-first wiki at a target project's Open-knowledge-format — the agent-first wiki at a target project's
`./OKF/`; layout contract in `./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. _Avoid_: docs folder, wiki (unqualified), knowledge base.
**Blueprint**: **Blueprint**:
@ -51,7 +51,7 @@ fires here. _Avoid_: commit (mechanics), merge.
**Page plan**: **Page plan**:
The locked set of admissible OKF pages, recorded as `index.md`'s 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. edits and locks it. A page absent from the plan is inadmissible.
_Avoid_: TOC, sitemap, nav, wiki.json. _Avoid_: TOC, sitemap, nav, wiki.json.

View File

@ -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` decision-file format rather than a separate one. `OKF/index.md`
§Decisions points at `decisions/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. any error and 0 otherwise, listing every finding with its page path.
- Errors: page missing `type:`; page missing `purpose:` or `answers:`; an - 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. - Stdlib only; frontmatter parsing handles multi-line `answers:` lists.
- Script, not a skill — no SKILL.md, no invocation surface. Callers reach - 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, 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. 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` pasting output; a claim of conformance is not a gate. `okf-layout.md`
documents the register and the warrant contract. documents the register and the warrant contract.
## Seams touched ## Seams touched
- `skills/loop/write-OKF/scripts/okf-check` — CLI: `okf-check <okf-dir>`, - `skills/loop/write-okf/scripts/okf-check` — CLI: `okf-check <okf-dir>`,
findings on stdout, exit 0/1. The interface tests run against. findings on stdout, exit 0/1. The interface tests run against.
- `OKF/decisions/index.md` — question-shaped index format. - `OKF/decisions/index.md` — question-shaped index format.
- `OKF/decisions/NNN-<slug>.md` — warrant frontmatter contract. - `OKF/decisions/NNN-<slug>.md` — warrant frontmatter contract.
- `OKF/ROADMAP.md` §Locked decisions, §Risks & gotchas — pointer shape. - `OKF/ROADMAP.md` §Locked decisions, §Risks & gotchas — pointer shape.
- `OKF/index.md` §Decisions — register link replacing `adr/`. - `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 - `model-domain/ADR-FORMAT.md` — decision-file format, renamed and
re-pointed. The rest of the sweep is reference edits, not seams. re-pointed. The rest of the sweep is reference edits, not seams.
## Verify ## Verify
```sh ```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 "$(wc -l < OKF/ROADMAP.md)" -le 110 \
&& test "$(ls OKF/decisions/[0-9][0-9][0-9]-*.md | wc -l)" -eq 16 \ && test "$(ls OKF/decisions/[0-9][0-9][0-9]-*.md | wc -l)" -eq 16 \
&& test ! -d OKF/adr \ && test ! -d OKF/adr \

View File

@ -67,9 +67,9 @@ rule. Done-criteria require running it and pasting output.
- `skills/loop/moor/SKILL.md` — the graduation and collapse steps, the - `skills/loop/moor/SKILL.md` — the graduation and collapse steps, the
two narrowed guardrails, the `okf-check` gate in done-criteria. 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 <okf-dir>`, findings on stdout, exit 0/1. unchanged: `okf-check <okf-dir>`, 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. moored shape, `sealed:`, and the refresh DRIFT rule.
- `OKF/index.md` — the two ferry line shapes. - `OKF/index.md` — the two ferry line shapes.
- `OKF/ROADMAP.md` phase 7 — both halves tick as one net-shedding line. - `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 \ && grep -q '^sealed:' $F/ferries/fx-topic.md \
&& ls $F/decisions/[0-9][0-9][0-9]-*.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) \ && (cd $F && jj show "$(sed -n 's/.*change: *//p' ferries/fx-topic.md)" >/dev/null) \
&& 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 \ && mkdir $F/ferries/fx-topic && ! skills/loop/write-okf/scripts/okf-check $F \
&& rmdir $F/ferries/fx-topic \ && 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 < OKF/ROADMAP.md)" -le 110 \
&& test "$(wc -l < skills/loop/moor/SKILL.md)" -le 110 \ && test "$(wc -l < skills/loop/moor/SKILL.md)" -le 110 \
&& echo PASS && echo PASS

View File

@ -62,14 +62,14 @@ split nobody wrote down is one the next agent re-litigates.
## Seams touched ## 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: symbol case; a fence-shape check joins it. CLI unchanged:
`okf-check <okf-dir>`, findings on stdout, exit 0/1. `okf-check <okf-dir>`, 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. 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. 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. step 6 (narrowed to pins), and the derived-zone regeneration rule.
- `OKF/ROADMAP.md` phase 6 — the corrected Verify clause and the split - `OKF/ROADMAP.md` phase 6 — the corrected Verify clause and the split
line. One hunk; the phase stays under 110. 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 ```sh
S=$SCRATCH/fx-cites && Z='/okf:derived begin/,/okf:derived end/d' \ 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 \ && 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) \ && diff <(sed "$Z" $S/OKF/ARCHITECTURE.md) <(sed "$Z" $S/before/ARCHITECTURE.md) \
&& printf '<!-- okf:derived begin -->\n' >> $S/OKF/SUMMARY.md \ && printf '<!-- okf:derived begin -->\n' >> $S/OKF/SUMMARY.md \
&& ! skills/loop/write-OKF/scripts/okf-check $S/OKF \ && ! skills/loop/write-okf/scripts/okf-check $S/OKF \
&& skills/loop/write-OKF/scripts/okf-check OKF/ \ && skills/loop/write-okf/scripts/okf-check OKF/ \
&& grep -rL "^purpose:" OKF/*.md OKF/decisions/[0-9]*.md | grep -qx OKF/index.md \ && 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 \ && for f in skills/loop/write-okf/okf-layout.md \
skills/loop/write-OKF/page-warrant.md OKF/ROADMAP.md; do skills/loop/write-okf/page-warrant.md OKF/ROADMAP.md; do
test "$(wc -l < $f)" -le 110 || exit 1; done \ test "$(wc -l < $f)" -le 110 || exit 1; done \
&& echo PASS && echo PASS
``` ```

View File

@ -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 [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) 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 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 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`. 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 ## Seams touched
- `skills/loop/write-OKF/scripts/okf-scan` — **new**. CLI - `skills/loop/write-okf/scripts/okf-scan` — **new**. CLI
`okf-scan <repo-root>`, candidates on stdout, exit 0 whatever it finds `okf-scan <repo-root>`, candidates on stdout, exit 0 whatever it finds
(2 on usage) — a scanner is not a validator, so (2 on usage) — a scanner is not a validator, so
[016](../decisions/R-016-one-okf-check-validator.md) holds. [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- two signals, the evidence rule, the producer seam, the propose-never-
write boundary, and how a proposal becomes a locked plan. 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`. 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 propose → user locks `index.md` → materialise what it lists *and* a
producer can fill. 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. `CONTEXT.md.tpl` and `ROADMAP.md.tpl` added, unmaterialised.
- `OKF/ROADMAP.md` phase 6 — the ✅ tick, paid for by its spent risk line - `OKF/ROADMAP.md` phase 6 — the ✅ tick, paid for by its spent risk line
(`:94-96`; 004 shipped `path:symbol`). (`: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: scaffolds `fx-analysis/OKF` per the rewritten step 2, then runs:
```sh ```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 \ && $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 \ && 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 \ && grep -q '^analyses/' $S/plan-a && ! grep -q '^modules/' $S/plan-a \

View File

@ -9,7 +9,7 @@ traces-to: 005's Out of scope (rescan on refresh); ROADMAP.md phase 8, added by
## Justification ## Justification
005 shipped the scaffold path only — a scan proposes a plan once, at 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 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 page forever. [007](../decisions/R-007-taxonomy-derived-per-repo.md) makes
the taxonomy derived per repo; today it is derived *once*. the taxonomy derived per repo; today it is derived *once*.
@ -57,12 +57,12 @@ page plan.
## Seams touched ## 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 — unreadable directories yield no evidence. No new flag, no new mode —
the delta is read by refresh, not computed by the scanner. 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. 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. rescan and its lock. **≤7 net new lines** — the whole slack it has.
- `OKF/decisions/018-<slug>.md` + `decisions/index.md` — the removal - `OKF/decisions/018-<slug>.md` + `decisions/index.md` — the removal
doctrine. 018 is spent here, so 004's carried cite/pin-split question 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: `src/emit/emit.py`; refreshes per the rewritten steps; then runs:
```sh ```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 \ && $W/scripts/okf-scan $S > $S/plan \
&& grep -q '^analyses/2026-cohort\.md ' $S/plan \ && grep -q '^analyses/2026-cohort\.md ' $S/plan \
&& grep -q '^modules/emit\.md ' $S/plan \ && grep -q '^modules/emit\.md ' $S/plan \

View File

@ -25,7 +25,7 @@ re-founded on the OKF.
**The spine.** Three steps, in order, every run: **The spine.** Three steps, in order, every run:
1. **OKF** — read the pages the question touches. No `./OKF/` → say so 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. 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 2. **nostos** — query the nostos MCP server when one is configured, via
its `find` / `provenance_of` tools. Presence comes from the agent's 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`). 4; the precondition in *Status discipline* (`:43-47`).
- `skills/loop/blueprint/blueprint-format.md` — `sounded:` in the - `skills/loop/blueprint/blueprint-format.md` — `sounded:` in the
frontmatter template. 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`. blueprint escape at `:213`.
- `skills/loop/steer/SKILL.md` — one row in the loop table. - `skills/loop/steer/SKILL.md` — one row in the loop table.
- `README.md:74` — "All loop skills are user-invoked" is now false. - `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 for s in draft locked implemented; do
sed -i "s/^status: .*/status: $s/" "$f" sed -i "s/^status: .*/status: $s/" "$f"
printf '%s: %s\n' "$s" \ 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')" | grep -c 'locked without sounded')"
done 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. Expect `draft: 0` `locked: 1` `implemented: 0`, then `0 error(s)` live.
Four session checks the script cannot make, run once each: Four session checks the script cannot make, run once each:
1. A repo with no `OKF/` — sound stops and names `/write-OKF`. 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 ✅ 2026-07-22 (no-OKF fixture — one line naming `/write-okf` after a
single directory listing, nothing else run) single directory listing, nothing else run)
2. A repo with no nostos MCP — one line naming `nostos install`, then 2. A repo with no nostos MCP — one line naming `nostos install`, then
the run continues. 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. - Writing on a self-fire, in any form, however small.
- Subagents, background or otherwise. - Subagents, background or otherwise.
- Web research past the no-internal-owner gap — upstream `research`. - 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. - Wiring nostos into octobot; the live-nostos leg is tested elsewhere.

View File

@ -81,7 +81,7 @@ touched. `blueprint`, `blueprint-format.md`, `okf-check` and the
## Verify ## Verify
```sh ```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 awk 'END{print NR}' skills/loop/sound/SKILL.md
grep -rni 'live code' README.md OKF/CONTEXT.md skills/loop/sound/SKILL.md grep -rni 'live code' README.md OKF/CONTEXT.md skills/loop/sound/SKILL.md
``` ```

View File

@ -68,17 +68,17 @@ at init. `learnings/` appears when the cap forces it, never before.
## Seams touched ## 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. Rules: per-kind caps, growth paths, indexing rule, supersession.
- `skills/loop/write-OKF/split-page.md` — **new**: the split procedure. - `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/SKILL.md` — refresh gains the trigger that routes
an over-cap error to `split-page.md`; the ≤110 guardrail restates. 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 ## Verify
```sh ```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" && 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 for f in "a:120:Learnings" "blueprints/b:140:Blueprint" "blueprints/c:160:Blueprint"; do
p=${f%%:*}; r=${f#*:}; n=${r%%:*}; t=${r##*:} p=${f%%:*}; r=${f#*:}; n=${r%%:*}; t=${r##*:}

View File

@ -107,15 +107,15 @@ weave/moor: okf-check cannot see live behaviour (decision
the ferry's `muster: true`. the ferry's `muster: true`.
- `skills/loop/blueprint/blueprint-format.md` — documents `muster`, - `skills/loop/blueprint/blueprint-format.md` — documents `muster`,
`review-base`, and the `tally` block. `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()`. 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. blueprint and ferry-map contracts.
## Verify ## Verify
```sh ```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" && 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' base='---\ntype: Blueprint\nstatus: implemented\ntraces-to: t\nmuster: true\n'
printf -- "${base}---\n# a\n" > "$d/blueprints/a.md" # muster+implemented, NO tally printf -- "${base}---\n# a\n" > "$d/blueprints/a.md" # muster+implemented, NO tally

View File

@ -75,15 +75,15 @@ cannot see live behaviour (decision
Close-the-loop, guarded by `muster: true`; `review-base` recorded at Frame. Close-the-loop, guarded by `muster: true`; `review-base` recorded at Frame.
- `skills/loop/blueprint/blueprint-format.md` — documents `muster`, - `skills/loop/blueprint/blueprint-format.md` — documents `muster`,
`review-base`, and the `tally` block. `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()`. 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. contract.
## Verify ## Verify
```sh ```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" && 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' base='---\ntype: Blueprint\nstatus: implemented\ntraces-to: t\nmuster: true\n'
printf -- "${base}---\n# a\n" > "$d/blueprints/a.md" # muster+implemented, NO tally printf -- "${base}---\n# a\n" > "$d/blueprints/a.md" # muster+implemented, NO tally

View File

@ -50,7 +50,7 @@ only what it can see).
- `skills/loop/moor/SKILL.md` — a **Muster** step as moor's first act (after - `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`; GATHER SIGNAL, before CONSOLIDATE), guarded by the ferry's `muster: true`;
derives and persists `review-base`. 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. `review-base:`) fields in the ferry-map contract.
## Verify ## Verify

View File

@ -5,7 +5,7 @@ traces-to: user request 2026-07-30
sounded: 2026-07-30 sounded: 2026-07-30
cites: cites:
- skills/productivity/conjure-a-skill/SKILL.md:topic-named siblings - 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 # 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. progressive-disclosure bullet.
- The 8 renamed files and their 33 referring sites across 21 files. - The 8 renamed files and their 33 referring sites across 21 files.
- `OKF/` frontmatter `cites:` — 4 pages, read by - `OKF/` frontmatter `cites:` — 4 pages, read by
`skills/loop/write-OKF/scripts/okf-check`. `skills/loop/write-okf/scripts/okf-check`.
## Verify ## 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 \ 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\?://') | 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$') 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 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 renaming either one for *meaning* is a vocabulary decision needing
model-domain's warrant test, and burying it in a 33-site mechanical diff 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. 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. file. Untouched.
- `*.template.md` files — already lowercase, and their `.template.` infix is - `*.template.md` files — already lowercase, and their `.template.` infix is
deliberate. deliberate.

View File

@ -62,7 +62,7 @@ printf 'roadmap-stale: %s roadmap-verified: %s\n' \
"$(grep -c '✅ verified' OKF/ROADMAP.md)" "$(grep -c '✅ verified' OKF/ROADMAP.md)"
printf 'exemption: %s\n' \ printf 'exemption: %s\n' \
"$(grep -c 'stamp' skills/loop/blueprint/blueprint-format.md)" "$(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` Expect `stamped: 3` `pending: 1`, `roadmap-stale: 0`

View File

@ -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 'workspace add|isolation: worktree' skills/loop/call-charon/SKILL.md)" \
"$(grep -cE 'SKILL\.md §5|Workflow.*step 5' \ "$(grep -cE 'SKILL\.md §5|Workflow.*step 5' \
skills/productivity/commit-atomic-jj/anti-patterns.md)" 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`, Expect all three line counts ≤ 110, then `twins: parallel`,

View File

@ -10,10 +10,10 @@ cites:
- OKF/blueprints/B-016-pull-two-skills-under-cap-and-level-commit-twins.md:A line-cap lint - 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:exceed 110 lines
- skills/productivity/conjure-a-skill/SKILL.md:≤ 110 lines** — octobot's house cap - 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:CAP = 110
- skills/loop/write-OKF/scripts/okf-check:a check that cannot fail - skills/loop/write-okf/scripts/okf-check:a check that cannot fail
- skills/loop/write-OKF/SKILL.md:output pasted - 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/split-page.md:errors when a page passes its cap
- CLAUDE.md:≤ 110 lines - CLAUDE.md:≤ 110 lines
--- ---
@ -92,11 +92,11 @@ green path over the real tree.
**The lint has one invocation obligation.** `conjure-a-skill`'s **The lint has one invocation obligation.** `conjure-a-skill`'s
done-criteria list currently asserts the cap in prose (`SKILL.md` is ≤ 110 done-criteria list currently asserts the cap in prose (`SKILL.md` is ≤ 110
lines); that line becomes the script call, matching how 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. 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 **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. skill's content.
## Seams touched ## Seams touched
@ -117,7 +117,7 @@ tmp=$(mktemp -d); mkdir -p "$tmp/category/over-cap"
rm -rf "$tmp" rm -rf "$tmp"
grep -c 'skill-check' skills/productivity/conjure-a-skill/SKILL.md grep -c 'skill-check' skills/productivity/conjure-a-skill/SKILL.md
wc -l < 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 Expect, in order: `0 error(s), 9 warning(s)` then `exit: 0` over the real

View File

@ -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. three continue to `moor` — what hand-copying produces, not a decision.
The cost is not cosmetic. The string asserts a straight line; four cited 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 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 *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 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: 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 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-*' . grep -rln 'architect → blueprint' --include='*.md' --exclude='018-*' .
echo "strays exit: $?" echo "strays exit: $?"
grep -rn 'zero context load\|loop diagram in' --include='*.md' --exclude='018-*' . 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 skills/productivity/conjure-a-skill/scripts/skill-check skills/ | tail -1
wc -l OKF/ARCHITECTURE.md OKF/CONTEXT.md skills/loop/steer/SKILL.md wc -l OKF/ARCHITECTURE.md OKF/CONTEXT.md skills/loop/steer/SKILL.md
``` ```

View File

@ -11,8 +11,8 @@ cites:
- OKF/ARCHITECTURE.md:substrate (rare) - OKF/ARCHITECTURE.md:substrate (rare)
- README.md:### loop — the metaharness spine - README.md:### loop — the metaharness spine
- skills/loop/steer/SKILL.md:## The loop - skills/loop/steer/SKILL.md:## The loop
- skills/loop/write-OKF/scripts/okf-check:a check that cannot fail - 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/SKILL.md:run and output pasted
- skills/productivity/conjure-a-skill/scripts/skill-check:usage: skill-check - skills/productivity/conjure-a-skill/scripts/skill-check:usage: skill-check
- OKF/learnings/index.md:Append-only - 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 string on a file missing the block; both copies then compare
empty-to-empty and print `match`. Only the separate `owner: 17 lines` empty-to-empty and print `match`. Only the separate `owner: 17 lines`
expectation catches it — 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 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. of its 150-line cap, so the fix lands here.
@ -47,12 +47,12 @@ validator under it.
## Contract ## 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 <repo-root>`.** It mirrors its two siblings — same argv root: `render-check <repo-root>`.** It mirrors its two siblings — same argv
shape, same `WARN `/`ERROR ` prefixes, same closing `N error(s), M 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), 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 same `#!/usr/bin/env python3` shebang. Under `write-okf` because the owner
page is a write-OKF page. page is a write-okf page.
**The owner is a fixed path; the copies are discovered.** `OKF/ARCHITECTURE.md` **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 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 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. 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 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. 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 ## 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 <repo-root>`). (`render-check <repo-root>`).
- `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/LEARNINGS.md` — one appended entry.
- `OKF/ROADMAP.md` — phase 11's entry, ticked and pruned. - `OKF/ROADMAP.md` — phase 11's entry, ticked and pruned.
## Verify ## Verify
```sh ```sh
LINT=skills/loop/write-OKF/scripts/render-check LINT=skills/loop/write-okf/scripts/render-check
"$LINT" .; echo "exit: $?" "$LINT" .; echo "exit: $?"
tmp=$(mktemp -d); mkdir -p "$tmp/OKF" "$tmp/skills/loop/steer" tmp=$(mktemp -d); mkdir -p "$tmp/OKF" "$tmp/skills/loop/steer"
cp OKF/ARCHITECTURE.md "$tmp/OKF/"; cp README.md "$tmp/" 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" sed -i '/^substrate (rare)/,/^weave = bdd/d' "$tmp/OKF/ARCHITECTURE.md"
"$LINT" "$tmp"; echo "no-owner exit: $?" "$LINT" "$tmp"; echo "no-owner exit: $?"
rm -rf "$tmp" rm -rf "$tmp"
grep -c 'render-check' skills/loop/write-OKF/SKILL.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 wc -l skills/loop/write-okf/SKILL.md OKF/LEARNINGS.md OKF/ROADMAP.md
grep -n '^11\.' 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 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 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 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 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 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. `0 error(s), 0 warning(s)` / `0 error(s), 9 warning(s)` from the siblings.

View File

@ -8,9 +8,9 @@ cites:
- OKF/decisions/R-020-every-page-has-a-growth-path.md:a discharged phase to one - 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/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 - 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/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/scripts/okf-check:carry their own frontmatter contracts
- skills/loop/write-OKF/split-page.md - skills/loop/write-okf/split-page.md
- skills/loop/chart/SKILL.md - skills/loop/chart/SKILL.md
- skills/loop/chart/revise.md - skills/loop/chart/revise.md
- OKF/learnings/index.md:Append-only - 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. this is the mechanical half.
**Rule 2 — every page's cites resolve.** The `continue` at **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 `blueprints`/`ferries` *before* the cite loop, so no blueprint's or ferry's
cites are validated at all. The resolvability loop moves **above** that cites are validated at all. The resolvability loop moves **above** that
`continue`; the `no cites:` warning stays **below** it, gated to warrant `continue`; the `no cites:` warning stays **below** it, gated to warrant
pages — the format requires `traces-to`, not `cites:`, and eighteen live pages — the format requires `traces-to`, not `cites:`, and eighteen live
pages carry none. Cites validate **whole**, path and symbol, per 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 no repo, so it does not split the way
[R-017](../decisions/R-017-pin-drift-splits-by-visibility.md) splits a pin. [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 **`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 105 and B-019 owes it one too; whichever weave crosses the cap performs
R-020's named move, the split into `learnings/<theme>.md`, per R-020's named move, the split into `learnings/<theme>.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 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 on a fixture, rule 2 on the four real cites before repair — and nothing
rendered changes. rendered changes.
## Seams touched ## 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 (rule 2's move) plus one new roadmap check reached from it (rule 1); the
module docstring's error list names both. module docstring's error list names both.
- `skills/loop/architect/SKILL.md` — `:36`, `:54`. - `skills/loop/architect/SKILL.md` — `:36`, `:54`.
@ -98,7 +98,7 @@ rendered changes.
## Verify ## Verify
```sh ```sh
CHECK=skills/loop/write-OKF/scripts/okf-check CHECK=skills/loop/write-okf/scripts/okf-check
"$CHECK" OKF/; echo "real exit: $?" "$CHECK" OKF/; echo "real exit: $?"
tmp=$(mktemp -d); cp -r OKF "$tmp/" tmp=$(mktemp -d); cp -r OKF "$tmp/"
for f in skills README.md CLAUDE.md; do ln -s "$PWD/$f" "$tmp/$f"; done 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}' \ sed -i '/^cites:/,/^status:/{/^ - /d}' \
"$tmp/OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md" "$tmp/OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md"
"$CHECK" "$tmp/OKF" | grep -c 'no cites' "$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:\*\*' \ grep -n 'every phase\|verify line\|\*\*Verify:\*\*' \
skills/loop/architect/SKILL.md skills/loop/architect/revise.md skills/loop/architect/SKILL.md skills/loop/architect/revise.md
wc -l OKF/LEARNINGS.md skills/loop/architect/SKILL.md \ wc -l OKF/LEARNINGS.md skills/loop/architect/SKILL.md \

View File

@ -4,9 +4,9 @@ status: implemented
traces-to: user request 2026-07-30 (the split drift); B-020 §Out of scope traces-to: user request 2026-07-30 (the split drift); B-020 §Out of scope
sounded: 2026-07-30 sounded: 2026-07-30
cites: cites:
- skills/loop/write-OKF/split-page.md - skills/loop/write-okf/split-page.md
- skills/loop/write-OKF/okf-layout.md - skills/loop/write-okf/okf-layout.md
- skills/loop/write-OKF/scripts/okf-check - skills/loop/write-okf/scripts/okf-check
- skills/loop/blueprint/blueprint-format.md - skills/loop/blueprint/blueprint-format.md
- OKF/decisions/R-022-prose-cites-carry-a-register-prefix.md - OKF/decisions/R-022-prose-cites-carry-a-register-prefix.md
- OKF/learnings/index.md - OKF/learnings/index.md
@ -27,7 +27,7 @@ validated field no format declares — the defect class B-020's
contradicting it. contradicting it.
**The first is load-bearing today.** **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; index says the capped page keeps its name and becomes its subpages' index;
`okf-check`'s `reachable()` propagates only through pages named `index.md` `okf-check`'s `reachable()` propagates only through pages named `index.md`
or `MAP.md`, so `learnings/<theme>.md` linked from `LEARNINGS.md` errors or `MAP.md`, so `learnings/<theme>.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 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** `cites:` that B-020 makes the validator enforce. Declared as **optional**
— B-015 is why — with the cite grammar owned by — 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. not restated.
**Nothing rendered by `render-check` changes**, and every touched file **Nothing rendered by `render-check` changes**, and every touched file
@ -85,11 +85,11 @@ stays under its cap.
## Seams touched ## 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. `main()`'s per-page loop, plus the module docstring's error list.
`reachable()` unchanged. `reachable()` unchanged.
- `skills/loop/write-OKF/split-page.md` — §Rewiring the index. - `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/okf-layout.md` — the tree comment on
`LEARNINGS.md` and its page contract. `LEARNINGS.md` and its page contract.
- `skills/loop/blueprint/blueprint-format.md` — skeleton + one Rules bullet. - `skills/loop/blueprint/blueprint-format.md` — skeleton + one Rules bullet.
- `OKF/decisions/022-…` — one sentence, code spans only. - `OKF/decisions/022-…` — one sentence, code spans only.
@ -99,9 +99,9 @@ stays under its cap.
## Verify ## Verify
```sh ```sh
CHECK=skills/loop/write-OKF/scripts/okf-check CHECK=skills/loop/write-okf/scripts/okf-check
"$CHECK" OKF/; echo "real exit: $?" "$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/ ls OKF/LEARNINGS.md; ls OKF/learnings/
grep -c '^- Believed:' OKF/learnings/*.md | awk -F: '{s+=$2} END{print "entries:",s}' grep -c '^- Believed:' OKF/learnings/*.md | awk -F: '{s+=$2} END{print "entries:",s}'
grep -n 'learnings/index.md' OKF/index.md 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' \ printf '\nA bare 017 standing in prose.\n' \
>> "$tmp/OKF/decisions/R-012-one-why-register.md" >> "$tmp/OKF/decisions/R-012-one-why-register.md"
"$CHECK" "$tmp/OKF" | grep -c 'unprefixed register cite' "$CHECK" "$tmp/OKF" | grep -c 'unprefixed register cite'
rm -rf "$tmp" skills/loop/write-OKF/scripts/__pycache__ rm -rf "$tmp" skills/loop/write-okf/scripts/__pycache__
grep -n 'index.md' skills/loop/write-OKF/split-page.md | head -5 grep -n 'index.md' skills/loop/write-okf/split-page.md | head -5
grep -n 'cites' skills/loop/blueprint/blueprint-format.md 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/loop/blueprint/blueprint-format.md OKF/learnings/*.md OKF/index.md
skills/productivity/conjure-a-skill/scripts/skill-check skills/ | tail -1 skills/productivity/conjure-a-skill/scripts/skill-check skills/ | tail -1
``` ```

View File

@ -8,13 +8,13 @@ cites:
- OKF/blueprints/B-021-align-validator-and-doctrine.md - OKF/blueprints/B-021-align-validator-and-doctrine.md
- OKF/learnings/loop.md - OKF/learnings/loop.md
- OKF/index.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/SKILL.md
- skills/loop/chart/revise.md - skills/loop/chart/revise.md
- OKF/ROADMAP.md:A live decision can be contradicted - 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-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/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 - 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. 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 **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 `blueprints`/`ferries` *before* the cite loop, so no blueprint's or ferry's
cites are validated at all. The resolvability loop moves **above** that cites are validated at all. The resolvability loop moves **above** that
`continue`; the `no cites:` warning stays **below** it, gated to warrant `continue`; the `no cites:` warning stays **below** it, gated to warrant
pages — the format requires `traces-to`, not `cites:`. Cites validate pages — the format requires `traces-to`, not `cites:`. Cites validate
**whole**, path and symbol, per **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 no repo, so it does not split the way
[R-017](../decisions/R-017-pin-drift-splits-by-visibility.md) splits a pin. [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` B-018 `ROADMAP.md:loop diagram in` and B-019 `ROADMAP.md:checked by script`
(erased when phase 11 discharged). Repointed: B-017 (erased when phase 11 discharged). Repointed: B-017
`conjure-a-skill/SKILL.md:is ≤ 110 lines`, live at `:55`; B-019 `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 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. `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 ## 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. 2's move), one new roadmap check reached from it (rule 1), the docstring.
- `skills/loop/architect/SKILL.md` `:36`, `:54`; `revise.md` `:15`. - `skills/loop/architect/SKILL.md` `:36`, `:54`; `revise.md` `:15`.
- `OKF/blueprints/014-…`, `017-…`, `018-…`, `019-…`, `021-…` — `cites:` - `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 ## Verify
```sh ```sh
CHECK=skills/loop/write-OKF/scripts/okf-check CHECK=skills/loop/write-okf/scripts/okf-check
"$CHECK" OKF/; echo "real exit: $?" "$CHECK" OKF/; echo "real exit: $?"
tmp=$(mktemp -d); cp -r OKF "$tmp/" tmp=$(mktemp -d); cp -r OKF "$tmp/"
for f in skills README.md CLAUDE.md; do ln -s "$PWD/$f" "$tmp/$f"; done 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}' \ sed -i '/^cites:/,/^---$/{/^ - /d}' \
"$tmp/OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md" "$tmp/OKF/blueprints/B-019-add-a-render-lint-over-the-loop-shape.md"
"$CHECK" "$tmp/OKF" | grep -c 'no cites' "$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:\*\*' \ grep -n 'every phase\|verify line\|\*\*Verify:\*\*' \
skills/loop/architect/SKILL.md skills/loop/architect/revise.md skills/loop/architect/SKILL.md skills/loop/architect/revise.md
grep -h '^status:' OKF/blueprints/020-*.md grep -h '^status:' OKF/blueprints/020-*.md

View File

@ -7,12 +7,12 @@ cites:
- OKF/ROADMAP.md - OKF/ROADMAP.md
- OKF/ARCHITECTURE.md:Cross-links - OKF/ARCHITECTURE.md:Cross-links
- OKF/blueprints/B-002-extract-why-register.md:ADR-FORMAT.md - 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-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/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 - 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/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 # 023 — add a link lint over relative markdown links
@ -62,7 +62,7 @@ a second validator under it.
## Contract ## 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 <repo-root>`.** It mirrors its three siblings — same argv shape, `link-check <repo-root>`.** It mirrors its three siblings — same argv shape,
`WARN `/`ERROR ` prefixes, closing `N error(s), M warning(s)` tally, exit `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. 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 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. 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 `okf-check` and `render-check`, per
[019](B-019-add-a-render-lint-over-the-loop-shape.md)'s placement rule. [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 **The two repairs.** `architect/SKILL.md:55` and `architect/revise.md:16` stop
being links: `[NNN](…)` becomes `` `NNN` ``, `[NNN](blueprints/…)` becomes being links: `[NNN](…)` becomes `` `NNN` ``, `[NNN](blueprints/…)` becomes
@ -98,17 +98,17 @@ being links: `[NNN](…)` becomes `` `NNN` ``, `[NNN](blueprints/…)` becomes
## Seams touched ## 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, 0/1/2, `ERROR ` format, tally) and target classification (skipped: external,
fragment-only, fenced, under `OKF/blueprints/`). 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 - `skills/loop/architect/SKILL.md`, `skills/loop/architect/revise.md` — the
two ellipsis placeholders, as prose not links. two ellipsis placeholders, as prose not links.
## Verify ## Verify
```sh ```sh
cd <repo-root>; LINT=skills/loop/write-OKF/scripts/link-check cd <repo-root>; LINT=skills/loop/write-okf/scripts/link-check
B=skills/loop/moor/SKILL.md; L='[x](../nonexistent-abc/SKILL.md)' B=skills/loop/moor/SKILL.md; L='[x](../nonexistent-abc/SKILL.md)'
F=$(printf '\140\140\140') # a fence, without closing this one F=$(printf '\140\140\140') # a fence, without closing this one

View File

@ -10,7 +10,7 @@ cites:
- skills/loop/rig/SKILL.md - skills/loop/rig/SKILL.md
- skills/loop/ferry/SKILL.md - skills/loop/ferry/SKILL.md
- skills/loop/steer/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/blueprints/B-022-validate-every-cite-at-every-status.md
- OKF/learnings/loop.md - OKF/learnings/loop.md
- OKF/decisions/R-019-recon-may-self-fire.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. terminal, in §Shared rules and §See also.
- `OKF/ARCHITECTURE.md` flow 1 — the canonical render, plus its byte-copy - `OKF/ARCHITECTURE.md` flow 1 — the canonical render, plus its byte-copy
sites in `README.md` and `steer/SKILL.md`. 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`, - Frontmatter `cites:` on `OKF/decisions/002`, `005`, `learnings/loop.md`,
`OKF/blueprints/018`, `020`, `022`, `024`. `OKF/blueprints/018`, `020`, `022`, `024`.
## Verify ## Verify
```sh ```sh
cd <repo-root>; S=skills/loop/write-OKF/scripts; K=~/.claude/skills cd <repo-root>; S=skills/loop/write-okf/scripts; K=~/.claude/skills
$S/link-check . ; $S/render-check . ; $S/okf-check OKF/ $S/link-check . ; $S/render-check . ; $S/okf-check OKF/
skills/productivity/conjure-a-skill/scripts/skill-check skills/ | tail -1 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" grep -rniw 'architect\|weave' skills/ README.md AGENTS.md && echo "FAIL names" || echo "OK names"

View File

@ -14,7 +14,7 @@ cites:
- OKF/blueprints/B-011-add-blueprint-level-muster.md - OKF/blueprints/B-011-add-blueprint-level-muster.md
- skills/loop/rig/SKILL.md:Muster (only if - skills/loop/rig/SKILL.md:Muster (only if
- skills/loop/blueprint/blueprint-format.md:opts into the human review gate - 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 # 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 && grep -qx 'muster: true' OKF/blueprints/B-025-rule-muster-on-every-blueprint.md &&
echo "OK self" || echo "FAIL self" echo "OK self" || echo "FAIL self"
skills/productivity/conjure-a-skill/scripts/skill-check skills/ | tail -1 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` `skill-check` prints `0 error(s), 9 warning(s)`; `link-check` and `okf-check`

View File

@ -4,8 +4,8 @@ status: implemented
traces-to: user request 2026-07-31 traces-to: user request 2026-07-31
sounded: 2026-07-31 sounded: 2026-07-31
cites: cites:
- skills/loop/write-OKF/scripts/link-check - skills/loop/write-okf/scripts/link-check
- skills/loop/write-OKF/scripts/render-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-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-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 - 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 ## 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 import it and neither keeps a private `pages()`. A sibling module is importable
because `python3 <script>` puts the script's directory on `sys.path`; the because `python3 <script>` puts the script's directory on `sys.path`; the
scripts keep their extensionless names and shebangs. scripts keep their extensionless names and shebangs.
@ -85,11 +85,11 @@ true, not whether the blueprint's subject moved.
## Seams touched ## Seams touched
- `skills/loop/write-OKF/scripts/_pages.py` — **new**: `pages(root)`, its git - `skills/loop/write-okf/scripts/_pages.py` — **new**: `pages(root)`, its git
call, and the fallback. call, and the fallback.
- `skills/loop/write-OKF/scripts/link-check` — imports `pages`, drops its own - `skills/loop/write-okf/scripts/link-check` — imports `pages`, drops its own
and its now-unused `SKIP`; docstring gains the walk's rule. and its now-unused `SKIP`; docstring gains the walk's rule.
- `skills/loop/write-OKF/scripts/render-check` — the same two edits; `SKIP` - `skills/loop/write-okf/scripts/render-check` — the same two edits; `SKIP`
moves, `OWNER`/`SENTINEL`/`RETIRED` stay. moves, `OWNER`/`SENTINEL`/`RETIRED` stay.
- `OKF/blueprints/023-*.md`, `019-*.md`, `OKF/index.md` — status words only. - `OKF/blueprints/023-*.md`, `019-*.md`, `OKF/index.md` — status words only.
@ -97,8 +97,8 @@ true, not whether the blueprint's subject moved.
```sh ```sh
cd <repo-root> cd <repo-root>
LINK=skills/loop/write-OKF/scripts/link-check LINK=skills/loop/write-okf/scripts/link-check
REND=skills/loop/write-OKF/scripts/render-check REND=skills/loop/write-okf/scripts/render-check
L='[x](../nonexistent-abc/SKILL.md)' L='[x](../nonexistent-abc/SKILL.md)'
R=$(grep -m1 '^RETIRED' $REND | cut -d'"' -f2) # the constant, never quoted R=$(grep -m1 '^RETIRED' $REND | cut -d'"' -f2) # the constant, never quoted

View File

@ -4,8 +4,8 @@ status: implemented
traces-to: user request 2026-09-23 traces-to: user request 2026-09-23
sounded: 2026-09-23 sounded: 2026-09-23
cites: cites:
- skills/loop/write-OKF/scripts/okf-check:muster is opt-in - skills/loop/write-okf/scripts/okf-check:muster is opt-in
- skills/loop/write-OKF/scripts/okf-check:tally - skills/loop/write-okf/scripts/okf-check:tally
- skills/loop/rig/SKILL.md:never flip on a known miss - skills/loop/rig/SKILL.md:never flip on a known miss
- skills/loop/blueprint/blueprint-format.md:tally - skills/loop/blueprint/blueprint-format.md:tally
muster: false # Verify constructs the exact matches:no/implemented/muster:true muster: false # Verify constructs the exact matches:no/implemented/muster:true
@ -19,7 +19,7 @@ muster: false # Verify constructs the exact matches:no/implemented/muster:true
`okf-check` errors when a `muster: true` blueprint reaches `implemented` `okf-check` errors when a `muster: true` blueprint reaches `implemented`
without a `tally:` block at all without a `tally:` block at all
([okf-check:muster is opt-in](../../skills/loop/write-OKF/scripts/okf-check)), ([okf-check:muster is opt-in](../../skills/loop/write-okf/scripts/okf-check)),
but it only checks that the block **exists** — it never reads the verdict but it only checks that the block **exists** — it never reads the verdict
inside it. A blueprint carrying `tally: matches: no` passes the same check inside it. A blueprint carrying `tally: matches: no` passes the same check
`implemented` requires, silently. [rig](../../skills/loop/rig/SKILL.md)'s `implemented` requires, silently. [rig](../../skills/loop/rig/SKILL.md)'s
@ -42,7 +42,7 @@ unchanged.
## Seams touched ## Seams touched
- `skills/loop/write-OKF/scripts/okf-check` — the muster/tally check - `skills/loop/write-okf/scripts/okf-check` — the muster/tally check
(currently the block starting `# muster is opt-in`, ~line 289) and the (currently the block starting `# muster is opt-in`, ~line 289) and the
`tally()` helper it calls. `tally()` helper it calls.
@ -79,8 +79,8 @@ None.
## Out of scope ## Out of scope
None. None.
EOF EOF
skills/loop/write-OKF/scripts/okf-check "$d" | grep "muster: true, implemented" && \ skills/loop/write-okf/scripts/okf-check "$d" | grep "muster: true, implemented" && \
skills/loop/write-OKF/scripts/okf-check OKF/ skills/loop/write-okf/scripts/okf-check OKF/
``` ```
The fixture run must print an error naming the fixture page; the real-tree The fixture run must print an error naming the fixture page; the real-tree
run after it must stay `0 error(s), 0 warning(s)` (no existing blueprint run after it must stay `0 error(s), 0 warning(s)` (no existing blueprint

View File

@ -6,7 +6,7 @@ sounded: 2026-09-23
cites: cites:
- OKF/ROADMAP.md - OKF/ROADMAP.md
- OKF/decisions/R-023-cross-skill-references-are-unchecked-skill-names.md - OKF/decisions/R-023-cross-skill-references-are-unchecked-skill-names.md
- skills/loop/write-OKF/scripts/link-check - skills/loop/write-okf/scripts/link-check
- skills/productivity/conjure-a-skill/scripts/skill-check - skills/productivity/conjure-a-skill/scripts/skill-check
- README.md - README.md
muster: true muster: true
@ -94,7 +94,7 @@ grep -rEn '\]\(\.\./' skills/ | grep -vE '\.\./\.\./\.\./' \
&& echo "FAIL leftover cross-skill links" || echo "OK links converted" && echo "FAIL leftover cross-skill links" || echo "OK links converted"
# 2. link-check still passes — OKF escapes + sibling links still resolve # 2. link-check still passes — OKF escapes + sibling links still resolve
skills/loop/write-OKF/scripts/link-check . && echo "OK link-check" || echo "FAIL link-check" skills/loop/write-okf/scripts/link-check . && echo "OK link-check" || echo "FAIL link-check"
# 3. new lint passes clean, and catches a planted typo # 3. new lint passes clean, and catches a planted typo
skills/productivity/conjure-a-skill/scripts/skill-ref-check skills/ \ skills/productivity/conjure-a-skill/scripts/skill-ref-check skills/ \
@ -118,8 +118,8 @@ for d in ~/.claude/skills ~/.agents/skills; do
done done
# 5. tree still green # 5. tree still green
skills/loop/write-OKF/scripts/render-check . skills/loop/write-okf/scripts/render-check .
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/ skills/productivity/conjure-a-skill/scripts/skill-check skills/
``` ```

View File

@ -11,7 +11,7 @@ cites:
- OKF/decisions/R-009-index-is-the-page-plan.md - OKF/decisions/R-009-index-is-the-page-plan.md
- OKF/decisions/R-015-moor-collapses-ferry-directory.md - OKF/decisions/R-015-moor-collapses-ferry-directory.md
- OKF/decisions/R-020-every-page-has-a-growth-path.md - OKF/decisions/R-020-every-page-has-a-growth-path.md
- skills/loop/write-OKF/scripts/okf-check - skills/loop/write-okf/scripts/okf-check
- OKF/index.md - OKF/index.md
- OKF/decisions/index.md - OKF/decisions/index.md
- OKF/learnings/index.md - OKF/learnings/index.md
@ -73,7 +73,7 @@ collapsed page), mirroring the current inline `## Ferries` section this
replaces. replaces.
## Seams touched ## Seams touched
- `skills/loop/write-OKF/scripts/okf-check` — two new check functions, - `skills/loop/write-okf/scripts/okf-check` — two new check functions,
parallel in shape to the existing `reachable()` check. parallel in shape to the existing `reachable()` check.
- `OKF/blueprints/index.md` — new file. - `OKF/blueprints/index.md` — new file.
- `OKF/ferries/index.md` — new file. - `OKF/ferries/index.md` — new file.
@ -82,9 +82,9 @@ replaces.
## Verify ## Verify
``` ```
skills/loop/write-OKF/scripts/render-check . skills/loop/write-okf/scripts/render-check .
skills/loop/write-OKF/scripts/okf-check OKF/ skills/loop/write-okf/scripts/okf-check OKF/
skills/loop/write-OKF/scripts/link-check . skills/loop/write-okf/scripts/link-check .
skills/productivity/conjure-a-skill/scripts/skill-ref-check skills/ skills/productivity/conjure-a-skill/scripts/skill-ref-check skills/
``` ```
All four `0 error(s)`, and `okf-check` errors (verified by a temporary All four `0 error(s)`, and `okf-check` errors (verified by a temporary

View File

@ -7,11 +7,11 @@ cites:
- OKF/decisions/R-024-register-filenames-carry-their-prefix.md - OKF/decisions/R-024-register-filenames-carry-their-prefix.md
- OKF/decisions/R-022-prose-cites-carry-a-register-prefix.md - OKF/decisions/R-022-prose-cites-carry-a-register-prefix.md
- OKF/ROADMAP.md - OKF/ROADMAP.md
- skills/loop/write-OKF/scripts/okf-check - skills/loop/write-okf/scripts/okf-check
- skills/loop/blueprint/SKILL.md - skills/loop/blueprint/SKILL.md
- skills/loop/blueprint/blueprint-format.md - skills/loop/blueprint/blueprint-format.md
- skills/engineering/model-domain/decision-format.md - skills/engineering/model-domain/decision-format.md
- skills/loop/write-OKF/scripts/link-check - skills/loop/write-okf/scripts/link-check
muster: true muster: true
review-base: tklwumrx review-base: tklwumrx
tally: tally:
@ -69,7 +69,7 @@ blueprint is that second, later piece of
- `OKF/decisions/*.md`, `OKF/blueprints/*.md` — renamed. - `OKF/decisions/*.md`, `OKF/blueprints/*.md` — renamed.
- `OKF/index.md`, `OKF/decisions/index.md`, `OKF/blueprints/index.md`, - `OKF/index.md`, `OKF/decisions/index.md`, `OKF/blueprints/index.md`,
`OKF/ferries/index.md`, `OKF/learnings/*.md` — link targets updated. `OKF/ferries/index.md`, `OKF/learnings/*.md` — link targets updated.
- `skills/loop/write-OKF/scripts/okf-check` — `register_numbers()`. - `skills/loop/write-okf/scripts/okf-check` — `register_numbers()`.
- `skills/loop/blueprint/SKILL.md` — numbering step. - `skills/loop/blueprint/SKILL.md` — numbering step.
- `skills/loop/blueprint/blueprint-format.md`, - `skills/loop/blueprint/blueprint-format.md`,
`skills/engineering/model-domain/decision-format.md`, `skills/engineering/model-domain/decision-format.md`,
@ -77,9 +77,9 @@ blueprint is that second, later piece of
## Verify ## Verify
``` ```
skills/loop/write-OKF/scripts/render-check . skills/loop/write-okf/scripts/render-check .
skills/loop/write-OKF/scripts/okf-check OKF/ skills/loop/write-okf/scripts/okf-check OKF/
skills/loop/write-OKF/scripts/link-check . skills/loop/write-okf/scripts/link-check .
skills/productivity/conjure-a-skill/scripts/skill-ref-check skills/ skills/productivity/conjure-a-skill/scripts/skill-ref-check skills/
ls OKF/decisions/ | grep -c '^R-[0-9]\{3\}-' # 24 ls OKF/decisions/ | grep -c '^R-[0-9]\{3\}-' # 24
ls OKF/blueprints/ | grep -c '^B-[0-9]\{3\}-' # 30 ls OKF/blueprints/ | grep -c '^B-[0-9]\{3\}-' # 30

View File

@ -4,9 +4,9 @@ status: implemented
traces-to: user request 2026-10-01 traces-to: user request 2026-10-01
sounded: 2026-10-01 sounded: 2026-10-01
cites: cites:
- skills/loop/write-OKF/scripts/okf-check - skills/loop/write-okf/scripts/okf-check
- skills/loop/write-OKF/okf-layout.md - skills/loop/write-okf/okf-layout.md
- skills/loop/write-OKF/split-page.md - skills/loop/write-okf/split-page.md
- OKF/learnings/okf-format.md - OKF/learnings/okf-format.md
muster: false # Verify runs okf-check against real + synthetic fixtures and checks exit codes — observes the cap/type logic directly, not just "tests pass" muster: false # Verify runs okf-check against real + synthetic fixtures and checks exit codes — observes the cap/type logic directly, not just "tests pass"
--- ---
@ -74,11 +74,11 @@ branch itself is not merged or rebased — redone fresh against `main`.
## Seams touched ## Seams touched
- `skills/loop/write-OKF/scripts/okf-check` — the `CAP`/`BLUEPRINT_CAP` - `skills/loop/write-okf/scripts/okf-check` — the `CAP`/`BLUEPRINT_CAP`
constants and the cap-selection branch inside the per-page loop. constants and the cap-selection branch inside the per-page loop.
- `skills/loop/write-OKF/okf-layout.md` — spine diagram, Conformance - `skills/loop/write-okf/okf-layout.md` — spine diagram, Conformance
page-type enum, Page contracts section, Rules section. page-type enum, Page contracts section, Rules section.
- `skills/loop/write-OKF/split-page.md` — opening sentence, new Guide - `skills/loop/write-okf/split-page.md` — opening sentence, new Guide
section. section.
- `OKF/learnings/okf-format.md` — one new append-only entry. - `OKF/learnings/okf-format.md` — one new append-only entry.
- `OKF/CONTEXT.md` — **Line cap** / **House cap** glossary entries, which - `OKF/CONTEXT.md` — **Line cap** / **House cap** glossary entries, which
@ -87,7 +87,7 @@ branch itself is not merged or rebased — redone fresh against `main`.
## Verify ## Verify
```bash ```bash
cd skills/loop/write-OKF cd skills/loop/write-okf
# 1. No regression: this repo's own OKF still validates. # 1. No regression: this repo's own OKF still validates.
python3 scripts/okf-check ../../../OKF python3 scripts/okf-check ../../../OKF
# 2. The new cap/type logic actually fires, both directions. # 2. The new cap/type logic actually fires, both directions.

View File

@ -4,7 +4,7 @@ purpose: Fix where a project's knowledge substrate lives and what shape it takes
answers: answers:
- "Where does a project's OKF live?" - "Where does a project's OKF live?"
cites: cites:
- skills/loop/write-OKF/okf-layout.md - skills/loop/write-okf/okf-layout.md
status: live status: live
reversible: it's files reversible: it's files
--- ---

View File

@ -4,14 +4,14 @@ purpose: Stop a fixed page list producing empty ceremonial pages in repos it doe
answers: answers:
- "Is the OKF page taxonomy fixed or derived per repo?" - "Is the OKF page taxonomy fixed or derived per repo?"
cites: cites:
- skills/loop/write-OKF/okf-layout.md - skills/loop/write-okf/okf-layout.md
status: live status: live
reversible: collapse to a fixed list in okf-layout.md reversible: collapse to a fixed list in okf-layout.md
--- ---
# 007 — page taxonomy is derived per repo, never fixed # 007 — page taxonomy is derived per repo, never fixed
Page taxonomy is **derived per repo, never fixed** — write-OKF scans Page taxonomy is **derived per repo, never fixed** — write-okf scans
disk, proposes a page plan, user locks it. A fixed layout yields empty disk, proposes a page plan, user locks it. A fixed layout yields empty
ceremonial pages: analysis repos keep analyses in directories and may ceremonial pages: analysis repos keep analyses in directories and may
have no plotting module; libraries have neither. Reversible — collapse have no plotting module; libraries have neither. Reversible — collapse

View File

@ -5,7 +5,7 @@ answers:
- "What justifies a page's existence in the OKF?" - "What justifies a page's existence in the OKF?"
cites: cites:
- OKF/CONTEXT.md - OKF/CONTEXT.md
- skills/loop/write-OKF/scripts/okf-check - skills/loop/write-okf/scripts/okf-check
status: live status: live
reversible: OKF v0.1 permits producer-defined fields after type reversible: OKF v0.1 permits producer-defined fields after type
--- ---

View File

@ -4,14 +4,14 @@ purpose: Keep the code-reference layer from becoming a second router.
answers: answers:
- "Does the code-reference layer get its own skill?" - "Does the code-reference layer get its own skill?"
cites: cites:
- skills/loop/write-OKF/SKILL.md - skills/loop/write-okf/SKILL.md
status: live status: live
reversible: by extraction if the router breaches the house cap reversible: by extraction if the router breaches the house cap
--- ---
# 011 — code-reference layer stays inside write-OKF # 011 — code-reference layer stays inside write-okf
Code-reference layer stays **inside write-OKF** as siblings Code-reference layer stays **inside write-okf** as siblings
(`taxonomy-scan.md`, `page-warrant.md`), not a new skill — one (`taxonomy-scan.md`, `page-warrant.md`), not a new skill — one
trigger, one mental model. Reversible by extraction if the router trigger, one mental model. Reversible by extraction if the router
breaches the house cap. breaches the house cap.

View File

@ -4,7 +4,7 @@ purpose: Make the OKF done-gate a run with pasted output, not a claim.
answers: answers:
- "How is OKF conformance enforced?" - "How is OKF conformance enforced?"
cites: cites:
- skills/loop/write-OKF/scripts/okf-check - skills/loop/write-okf/scripts/okf-check
- skills/engineering/add-copilot-project-skill/project-validator.md - skills/engineering/add-copilot-project-skill/project-validator.md
status: live status: live
reversible: by inlining the checks as prose reversible: by inlining the checks as prose
@ -12,10 +12,10 @@ reversible: by inlining the checks as prose
# 016 — one okf-check validator # 016 — one okf-check validator
**One `okf-check` validator** at `write-OKF/scripts/`, built to the **One `okf-check` validator** at `write-okf/scripts/`, built to the
existing doctrine in existing doctrine in
[add-copilot-project-skill/project-validator.md](../../skills/engineering/add-copilot-project-skill/project-validator.md); [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 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 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 octobot today — over-cap pages are a **warning** until phase 7, never
an error. Reversible by inlining the checks as prose. an error. Reversible by inlining the checks as prose.

View File

@ -4,8 +4,8 @@ purpose: Stop the next agent from "fixing" okf-check to resolve sealed: pins.
answers: answers:
- "Why doesn't `okf-check` verify that a `sealed:` pin resolves?" - "Why doesn't `okf-check` verify that a `sealed:` pin resolves?"
cites: cites:
- skills/loop/write-OKF/scripts/okf-check - skills/loop/write-okf/scripts/okf-check
- skills/loop/write-OKF/SKILL.md - skills/loop/write-okf/SKILL.md
status: live status: live
reversible: yes — the resolution check is a few lines either side reversible: yes — the resolution check is a few lines either side
--- ---

View File

@ -4,7 +4,7 @@ purpose: Let a rescan drop a page it can rebuild, and only that one.
answers: answers:
- "What happens to a page a rescan no longer proposes?" - "What happens to a page a rescan no longer proposes?"
cites: cites:
- skills/loop/write-OKF/taxonomy-scan.md - skills/loop/write-okf/taxonomy-scan.md
- OKF/decisions/R-010-two-zone-pages.md - OKF/decisions/R-010-two-zone-pages.md
status: live status: live
reversible: supersede every unwarranted page, delete none reversible: supersede every unwarranted page, delete none
@ -17,7 +17,7 @@ proposed — is **deleted only if it is wholly derived**: nothing outside
its [010](R-010-two-zone-pages.md) `okf:derived` fences but frontmatter and its [010](R-010-two-zone-pages.md) `okf:derived` fences but frontmatter and
title. Such a page loses nothing a rescan cannot rebuild. One byte of title. Such a page loses nothing a rescan cannot rebuild. One byte of
judgement and it is **superseded** instead, struck with a pointer per judgement and it is **superseded** instead, struck with a pointer per
`write-OKF/SKILL.md` refresh step 3; either way `write-okf/SKILL.md` refresh step 3; either way
[015](R-015-moor-collapses-ferry-directory.md) holds — history is the [015](R-015-moor-collapses-ferry-directory.md) holds — history is the
archive of record, not the OKF. Removal is proposed, never applied archive of record, not the OKF. Removal is proposed, never applied
unasked: the user locks it as they lock the plan. unasked: the user locks it as they lock the plan.

View File

@ -5,9 +5,9 @@ answers:
- "What happens to a page at cap+1?" - "What happens to a page at cap+1?"
cites: cites:
- OKF/blueprints/B-009-give-every-page-a-growth-path.md - OKF/blueprints/B-009-give-every-page-a-growth-path.md
- skills/loop/write-OKF/okf-layout.md - skills/loop/write-okf/okf-layout.md
- skills/loop/write-OKF/split-page.md - skills/loop/write-okf/split-page.md
- skills/loop/write-OKF/scripts/okf-check - skills/loop/write-okf/scripts/okf-check
status: live status: live
reversible: demote the cap to a warning in okf-check; splits already made stand reversible: demote the cap to a warning in okf-check; splits already made stand
--- ---

View File

@ -6,7 +6,7 @@ answers:
- "How does one skill's prose reference another skill?" - "How does one skill's prose reference another skill?"
cites: cites:
- OKF/ROADMAP.md - OKF/ROADMAP.md
- skills/loop/write-OKF/scripts/link-check - skills/loop/write-okf/scripts/link-check
status: live status: live
reversible: yes — costly (290 links, 59 files), but nothing else depends reversible: yes — costly (290 links, 59 files), but nothing else depends
on the prose form on the prose form

View File

@ -22,7 +22,7 @@ Format: `NNN — <question it settles> — <verdict> — <status>`.
- [008](R-008-page-warrant.md) — What justifies a page's existence in the OKF? — its warrant — live - [008](R-008-page-warrant.md) — What justifies a page's existence in the OKF? — its warrant — live
- [009](R-009-index-is-the-page-plan.md) — Where is the locked page plan recorded? — `index.md` itself — live - [009](R-009-index-is-the-page-plan.md) — Where is the locked page plan recorded? — `index.md` itself — live
- [010](R-010-two-zone-pages.md) — How does a refresh regenerate a page without destroying judgement? — `okf:derived` fences — live - [010](R-010-two-zone-pages.md) — How does a refresh regenerate a page without destroying judgement? — `okf:derived` fences — live
- [011](R-011-code-reference-inside-write-okf.md) — Does the code-reference layer get its own skill? — no, write-OKF siblings — live - [011](R-011-code-reference-inside-write-okf.md) — Does the code-reference layer get its own skill? — no, write-okf siblings — live
- [012](R-012-one-why-register.md) — Where do settled decisions live? — this register — live - [012](R-012-one-why-register.md) — Where do settled decisions live? — this register — live
- [013](R-013-roadmap-is-a-plan.md) — What may ROADMAP.md hold? — only what is still ahead — live - [013](R-013-roadmap-is-a-plan.md) — What may ROADMAP.md hold? — only what is still ahead — live
- [014](R-014-ferry-decisions-graduate-at-moor.md) — What happens to a resolved ferry decision at moor? — it graduates here — live - [014](R-014-ferry-decisions-graduate-at-moor.md) — What happens to a resolved ferry decision at moor? — it graduates here — live

View File

@ -4,8 +4,8 @@ purpose: Keep what the OKF format's page contracts, warrants and prior art turne
answers: answers:
- "What did we get wrong about the OKF format itself?" - "What did we get wrong about the OKF format itself?"
cites: cites:
- skills/loop/write-OKF/okf-layout.md - skills/loop/write-okf/okf-layout.md
- skills/loop/write-OKF/page-warrant.md - skills/loop/write-okf/page-warrant.md
status: live status: live
--- ---

View File

@ -4,7 +4,7 @@ purpose: Keep what the check scripts turned out to see, and what their parsers a
answers: answers:
- "What did we get wrong about the OKF check scripts?" - "What did we get wrong about the OKF check scripts?"
cites: cites:
- skills/loop/write-OKF/scripts/okf-check - skills/loop/write-okf/scripts/okf-check
status: live status: live
--- ---

View File

@ -106,7 +106,7 @@ and a bare `OKF/` so the spine below has something to scaffold or refresh.
<sub>Generated with GPT-5.6 Luna</sub> <sub>Generated with GPT-5.6 Luna</sub>
</p> </p>
- **write-OKF** — scaffold or refresh the OKF wiki; wires `AGENTS.md` so - **write-okf** — scaffold or refresh the OKF wiki; wires `AGENTS.md` so
every agent reads `OKF/index.md` before code. every agent reads `OKF/index.md` before code.
- **chart** — plan a project or revise its plan (`OKF/ROADMAP.md`); - **chart** — plan a project or revise its plan (`OKF/ROADMAP.md`);
greenfield and revision modes (replaces plan-project + update-project). greenfield and revision modes (replaces plan-project + update-project).
@ -222,14 +222,14 @@ script — read the relevant SKILL.md as you enter each step.
### Project lifecycle ### Project lifecycle
- **New repo (octobot never ran here)** — `/init-octobot` (bootstrap - **New repo (octobot never ran here)** — `/init-octobot` (bootstrap
`AGENTS.md`, bare `OKF/`, README stub) → `/write-OKF` only if `AGENTS.md`, bare `OKF/`, README stub) → `/write-okf` only if
`init-octobot` found a `LEGACY` file (migrates `CONTEXT.md` / `init-octobot` found a `LEGACY` file (migrates `CONTEXT.md` /
`docs/Roadmap.md` / `docs/adr` into `OKF/`) → `/chart` (Socratic `docs/Roadmap.md` / `docs/adr` into `OKF/`) → `/chart` (Socratic
kickoff → `OKF/ROADMAP.md`) → `/build-py-project` | kickoff → `OKF/ROADMAP.md`) → `/build-py-project` |
`/build-r-package` | `/build-r-analysis` (scaffold) → `/write-readme` `/build-r-package` | `/build-r-analysis` (scaffold) → `/write-readme`
(replaces the stub with a real README) → feature loops below → (replaces the stub with a real README) → feature loops below →
`/chart` (revision mode as you learn). `/chart` (revision mode as you learn).
- **Greenfield, octobot already present** — `/write-OKF` (knowledge - **Greenfield, octobot already present** — `/write-okf` (knowledge
scaffold) → `/chart` (Socratic kickoff → `OKF/ROADMAP.md`) scaffold) → `/chart` (Socratic kickoff → `OKF/ROADMAP.md`)
→ `/build-py-project` | `/build-r-package` | `/build-r-analysis` (scaffold) → `/build-py-project` | `/build-r-package` | `/build-r-analysis` (scaffold)
→ feature loops below → `/chart` (revision mode as you learn). → feature loops below → `/chart` (revision mode as you learn).

View File

@ -45,7 +45,7 @@ habit any skill can do; that's not this skill.
## File layout the skill expects ## File layout the skill expects
``` ```
OKF/ # open-knowledge-format wiki (see write-OKF) OKF/ # open-knowledge-format wiki (see write-okf)
├── CONTEXT.md # single-context default — THE canonical glossary ├── CONTEXT.md # single-context default — THE canonical glossary
├── context/ # multi-context mode: one <subroot>.md per ├── context/ # multi-context mode: one <subroot>.md per
│ └── <subroot>.md # bounded context, indexed from OKF/index.md │ └── <subroot>.md # bounded context, indexed from OKF/index.md
@ -56,7 +56,7 @@ OKF/ # open-knowledge-format wiki (see write-OKF)
Create files **lazily** — only when there's a real first thing to write. Create files **lazily** — only when there's a real first thing to write.
No `OKF/CONTEXT.md` yet? Create it when the first term is resolved (run No `OKF/CONTEXT.md` yet? Create it when the first term is resolved (run
`/write-OKF` scaffold if `OKF/` itself is `/write-okf` scaffold if `OKF/` itself is
missing). No `OKF/decisions/`? Create it when the first decision is missing). No `OKF/decisions/`? Create it when the first decision is
settled. Confirm the *first* write to any new file in the repo before settled. Confirm the *first* write to any new file in the repo before
proceeding. A legacy root `CONTEXT.md` or `docs/adr/` → offer to migrate proceeding. A legacy root `CONTEXT.md` or `docs/adr/` → offer to migrate

View File

@ -46,14 +46,14 @@ up in the diff.>
## Rules ## Rules
- Title is imperative — a blueprint names a change, not a state. - Title is imperative — a blueprint names a change, not a state.
- `type: Blueprint` is the OKF-v0.1 conformance field (see `/write-OKF`'s - `type: Blueprint` is the OKF-v0.1 conformance field (see `/write-okf`'s
`okf-layout.md`) — always first. `okf-layout.md`) — always first.
- `traces-to` is mandatory; a blueprint that traces to nothing fails - `traces-to` is mandatory; a blueprint that traces to nothing fails
`/sieve`'s Real test by definition. `/sieve`'s Real test by definition.
- `sounded:` is the date `/sound` verified what the - `sounded:` is the date `/sound` verified what the
blueprint rests on; absent until then, and required to lock. blueprint rests on; absent until then, and required to lock.
- `cites:` (optional) pins what the blueprint rests on — one entry per - `cites:` (optional) pins what the blueprint rests on — one entry per
line, grammar owned by `/write-OKF`'s `okf-layout.md` §Conformance, not line, grammar owned by `/write-okf`'s `okf-layout.md` §Conformance, not
restated here. Optional because a blueprint may rest on nothing on disk: restated here. Optional because a blueprint may rest on nothing on disk:
B-015 carries none. B-015 carries none.
- `muster: true` (optional) opts into the human review gate: rig halts - `muster: true` (optional) opts into the human review gate: rig halts

View File

@ -18,7 +18,7 @@ Owns `OKF/ROADMAP.md`. Planning only, never implementation.
## Mode detection ## Mode detection
| State | Mode | | State | Mode |
|---|---| |---|---|
| no `./OKF/` | run `/write-OKF` scaffold first | | no `./OKF/` | run `/write-okf` scaffold first |
| `OKF/ROADMAP.md` absent or all-TODO | **Greenfield** → [greenfield.md](greenfield.md) | | `OKF/ROADMAP.md` absent or all-TODO | **Greenfield** → [greenfield.md](greenfield.md) |
| `OKF/ROADMAP.md` has real content | **Revision** → [revise.md](revise.md) | | `OKF/ROADMAP.md` has real content | **Revision** → [revise.md](revise.md) |
| code exists but user wants plan-vs-code stress-test only | hand to `/grill-with-docs` | | code exists but user wants plan-vs-code stress-test only | hand to `/grill-with-docs` |
@ -71,7 +71,7 @@ fill the missing sections as deltas, don't restart.
## See also ## See also
- [greenfield.md](greenfield.md) / [revise.md](revise.md) — the loops. - [greenfield.md](greenfield.md) / [revise.md](revise.md) — the loops.
- `/write-OKF` — scaffolds the OKF - `/write-okf` — scaffolds the OKF
this skill writes into. this skill writes into.
- `/blueprint` — decomposes roadmap - `/blueprint` — decomposes roadmap
phases into blueprints. phases into blueprints.

View File

@ -31,7 +31,7 @@ For a project with no real roadmap yet. Formerly `plan-project`.
`OKF/CONTEXT.md` edit (confirm the first write). `OKF/CONTEXT.md` edit (confirm the first write).
6. **Write `OKF/ROADMAP.md`** when answers stop moving decisions, using 6. **Write `OKF/ROADMAP.md`** when answers stop moving decisions, using
the skeleton in [SKILL.md](SKILL.md). If `OKF/` is missing, run the skeleton in [SKILL.md](SKILL.md). If `OKF/` is missing, run
`/write-OKF` scaffold first. `/write-okf` scaffold first.
7. **Hand forward**: name the Phase-0 items ready for 7. **Hand forward**: name the Phase-0 items ready for
`/blueprint`, and the scaffold skill `/blueprint`, and the scaffold skill
(`/build-py-project` / (`/build-py-project` /

View File

@ -70,7 +70,7 @@ the wiki so the next cold-start agent reads reality, not history.
register gains its new lines; blueprint statuses go current. register gains its new lines; blueprint statuses go current.
## Output / done criteria ## Output / done criteria
- **`write-OKF/scripts/okf-check OKF/` run and its output pasted**, - **`write-okf/scripts/okf-check OKF/` run and its output pasted**,
exiting 0. A claim of conformance is not a gate. exiting 0. A claim of conformance is not a gate.
- The arrived ferry contains no forward-looking work — every follow-up - The arrived ferry contains no forward-looking work — every follow-up
has a new home with a backlink. has a new home with a backlink.
@ -98,5 +98,5 @@ the wiki so the next cold-start agent reads reality, not history.
hands off here. hands off here.
- `/rig` — moor runs after its - `/rig` — moor runs after its
done-gate on the ferry's last blueprint. done-gate on the ferry's last blueprint.
- `/write-OKF` — the page - `/write-okf` — the page
contracts moor reconciles against. contracts moor reconciles against.

View File

@ -51,7 +51,7 @@ superpowers' subagent-driven-development, jj-native.
7. **Close the loop** — flip blueprint status to `implemented`; update its 7. **Close the loop** — flip blueprint status to `implemented`; update its
index.md line; tick the roadmap item via index.md line; tick the roadmap item via
`/chart` revise mode; wiki-worthy learnings `/chart` revise mode; wiki-worthy learnings
→ `OKF/LEARNINGS.md` (`/write-OKF` refresh if → `OKF/LEARNINGS.md` (`/write-okf` refresh if
pages went stale). pages went stale).
## Subagent dispatch — the handoff gate ## Subagent dispatch — the handoff gate

View File

@ -16,7 +16,7 @@ where step 2 came up short.
1. **OKF** — read the pages the question touches, starting at 1. **OKF** — read the pages the question touches, starting at
`OKF/index.md`. No `./OKF/` → say so in one line, name `OKF/index.md`. No `./OKF/` → say so in one line, name
`/write-OKF`, **stop**. Nothing else runs. `/write-okf`, **stop**. Nothing else runs.
2. **nostos** — query the nostos MCP server, via its `find` / 2. **nostos** — query the nostos MCP server, via its `find` /
`provenance_of` tools. It is the primary source for what the code `provenance_of` tools. It is the primary source for what the code
says, not a hint feeding a later read: what it returns is source, not says, not a hint feeding a later read: what it returns is source, not
@ -36,7 +36,7 @@ where step 2 came up short.
Cite `path:symbol` where a symbol carries the claim — that is the shape Cite `path:symbol` where a symbol carries the claim — that is the shape
that breaks when the thing it cites moves, while a `path:line` suffix is that breaks when the thing it cites moves, while a `path:line` suffix is
a reading aid nothing validates (`/write-OKF`'s `okf-layout.md`). A a reading aid nothing validates (`/write-okf`'s `okf-layout.md`). A
claim with no internal owner — a third-party API, a spec — is followed claim with no internal owner — a third-party API, a spec — is followed
to its primary source and cited. **Nothing else leaves the repo.** to its primary source and cited. **Nothing else leaves the repo.**
@ -90,7 +90,7 @@ the user asks, or when a cite no longer resolves.
## See also ## See also
- `/blueprint` — the caller; sounding - `/blueprint` — the caller; sounding
gates its lock step. gates its lock step.
- `/write-OKF` — no `OKF/` → there - `/write-okf` — no `OKF/` → there
first; `okf-check` owns the warning. first; `okf-check` owns the warning.
- `/rig` — executes what a sounded - `/rig` — executes what a sounded
blueprint locked. blueprint locked.

View File

@ -13,7 +13,7 @@ be. Ask "/steer <situation>" or just read the table.
## The loop (the metaharness spine) ## The loop (the metaharness spine)
``` ```
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 per request chart — a phase only for an arc over >1 blueprint
↓ ↓
@ -34,7 +34,7 @@ rig = bdd → 4-axis review → Verify → commit-atomic-jj → close (OKF refre
| Situation | Skill | | Situation | Skill |
|---|---| |---|---|
| project has no `OKF/` knowledge folder, or wiki is stale | `/write-OKF` | | project has no `OKF/` knowledge folder, or wiki is stale | `/write-okf` |
| starting a project / roadmap needs creating or revising | `/chart` | | starting a project / roadmap needs creating or revising | `/chart` |
| discussed work needs a justified, verifiable blueprint | `/blueprint` | | discussed work needs a justified, verifiable blueprint | `/blueprint` |
| a blueprint is about to lock on unverified knowledge | `/sound` | | a blueprint is about to lock on unverified knowledge | `/sound` |

View File

@ -1,10 +1,10 @@
--- ---
name: write-OKF name: write-okf
description: Scaffold or refresh a project's OKF (open-knowledge-format) wiki — the agent-first knowledge folder at ./OKF/ that AGENTS.md points every agent at before it touches code. description: Scaffold or refresh a project's OKF (open-knowledge-format) wiki — the agent-first knowledge folder at ./OKF/ that AGENTS.md points every agent at before it touches code.
disable-model-invocation: true disable-model-invocation: true
--- ---
# write-OKF # write-okf
The OKF is a Karpathy-LLM-wiki-style knowledge substrate: dense synthesis, The OKF is a Karpathy-LLM-wiki-style knowledge substrate: dense synthesis,
not raw dumps; agents read it *before* code; every page inspectable, not raw dumps; agents read it *before* code; every page inspectable,
@ -12,7 +12,7 @@ versioned, agent-maintained. Layout and Google-OKF-v0.1 conformance
contract: [okf-layout.md](okf-layout.md). contract: [okf-layout.md](okf-layout.md).
## When to use ## When to use
- User says "scribe OKF", "/write-OKF", "set up the knowledge folder", - User says "scribe OKF", "/write-okf", "set up the knowledge folder",
"refresh the wiki". "refresh the wiki".
- Another loop skill (`/chart`, - Another loop skill (`/chart`,
`/rig`) requires an `OKF/` that is absent `/rig`) requires an `OKF/` that is absent

View File

@ -13,7 +13,7 @@ beside it. Warnings (exit 0): page with no cites, blueprint locked
without a `sounded:` stamp. without a `sounded:` stamp.
Pin *shape* only — whether the change id still resolves needs the repo in Pin *shape* only — whether the change id still resolves needs the repo in
hand, which is write-OKF refresh's job, not a validator that must exit 0 hand, which is write-okf refresh's job, not a validator that must exit 0
on an OKF tree copied outside its jj repo. on an OKF tree copied outside its jj repo.
""" """
import re import re

View File

@ -22,7 +22,7 @@ from pathlib import Path
from _pages import pages from _pages import pages
OWNER = "OKF/ARCHITECTURE.md" OWNER = "OKF/ARCHITECTURE.md"
SENTINEL = "substrate (rare) write-OKF — scaffold, or refresh when stale" SENTINEL = "substrate (rare) write-okf — scaffold, or refresh when stale"
RETIRED = "chart → blueprint" RETIRED = "chart → blueprint"

View File

@ -1,7 +1,7 @@
<!-- <!--
Assembly, not a flat file: init-octobot builds AGENTS.md from three Assembly, not a flat file: init-octobot builds AGENTS.md from three
sources rather than this template holding real prose — sources rather than this template holding real prose —
1. skills/loop/write-OKF/agents-md-hook.md — Knowledge + Behavioral 1. skills/loop/write-okf/agents-md-hook.md — Knowledge + Behavioral
guardrails, verbatim. guardrails, verbatim.
2. simplicity-block.md — Simplicity & rigor, verbatim. 2. simplicity-block.md — Simplicity & rigor, verbatim.
3. Point 5 below, materialized from scripts/repo-scan's output. 3. Point 5 below, materialized from scripts/repo-scan's output.

View File

@ -8,7 +8,7 @@ disable-model-invocation: true
Fixes the "octobot dropped into a repo with no ROADMAP, no OKF, no Fixes the "octobot dropped into a repo with no ROADMAP, no OKF, no
AGENTS.md, no CLAUDE.md" gap. Writes everything itself — never chains to AGENTS.md, no CLAUDE.md" gap. Writes everything itself — never chains to
another user-invoked skill mid-run, since write-OKF, `/chart`, and another user-invoked skill mid-run, since write-okf, `/chart`, and
write-readme each gate their own writes on explicit user confirmation write-readme each gate their own writes on explicit user confirmation
that a silent sub-step would bypass. that a silent sub-step would bypass.
@ -25,20 +25,20 @@ that a silent sub-step would bypass.
- `CONVENTION <bullet> — <path>` — a language/lint/test signal. - `CONVENTION <bullet> — <path>` — a language/lint/test signal.
2. **OKF/ROADMAP.md**: 2. **OKF/ROADMAP.md**:
- Any `LEGACY` line → **skip** `OKF/` and `ROADMAP.md` entirely. Tell - Any `LEGACY` line → **skip** `OKF/` and `ROADMAP.md` entirely. Tell
the user to run `/write-OKF` (offers the migration these files need) the user to run `/write-okf` (offers the migration these files need)
then `/chart` (produces a real roadmap). Do not scaffold in this then `/chart` (produces a real roadmap). Do not scaffold in this
branch — write-OKF's Scaffold-only migration step never fires once branch — write-okf's Scaffold-only migration step never fires once
`OKF/` already exists, so pre-creating it here would forfeit that `OKF/` already exists, so pre-creating it here would forfeit that
path. path.
- No `LEGACY` line → materialize `OKF/index.md` and `OKF/ROADMAP.md` - No `LEGACY` line → materialize `OKF/index.md` and `OKF/ROADMAP.md`
from write-OKF's own from write-okf's own
[`templates/index.md.tpl`](../../loop/write-OKF/templates/index.md.tpl) [`templates/index.md.tpl`](../../loop/write-okf/templates/index.md.tpl)
and and
[`templates/ROADMAP.md.tpl`](../../loop/write-OKF/templates/ROADMAP.md.tpl) [`templates/ROADMAP.md.tpl`](../../loop/write-okf/templates/ROADMAP.md.tpl)
verbatim (`<project>` substituted) — reuse, don't reinvent. Both stay verbatim (`<project>` substituted) — reuse, don't reinvent. Both stay
all-`TODO`, so `/chart`'s "absent or all-TODO → Greenfield" mode all-`TODO`, so `/chart`'s "absent or all-TODO → Greenfield" mode
detection still fires correctly later. `OKF/` now exists, so a detection still fires correctly later. `OKF/` now exists, so a
future `/write-OKF` run takes Refresh mode — its rescan step (page future `/write-okf` run takes Refresh mode — its rescan step (page
plan via `okf-scan`, sorted against the still-empty `index.md`) is plan via `okf-scan`, sorted against the still-empty `index.md`) is
built to reconcile exactly this bare state; only the Scaffold-only built to reconcile exactly this bare state; only the Scaffold-only
migration/hook-wiring steps are permanently skipped, not full migration/hook-wiring steps are permanently skipped, not full
@ -47,8 +47,8 @@ that a silent sub-step would bypass.
source prose into this repo's copy — insert each block verbatim, source prose into this repo's copy — insert each block verbatim,
substituting `<project>` with the repo's directory name in every substituting `<project>` with the repo's directory name in every
block, not just the OKF templates): block, not just the OKF templates):
1. Knowledge + Behavioral guardrails, from write-OKF's 1. Knowledge + Behavioral guardrails, from write-okf's
[`agents-md-hook.md`](../../loop/write-OKF/agents-md-hook.md). [`agents-md-hook.md`](../../loop/write-okf/agents-md-hook.md).
2. Simplicity & rigor, from 2. Simplicity & rigor, from
[`simplicity-block.md`](simplicity-block.md) — CLAUDE.md §1–4's [`simplicity-block.md`](simplicity-block.md) — CLAUDE.md §1–4's
union-minus-overlap with the hook block above; no information union-minus-overlap with the hook block above; no information
@ -76,7 +76,7 @@ that a silent sub-step would bypass.
reshaping the existing prose into the step-3/4 structure; show the reshaping the existing prose into the step-3/4 structure; show the
diff; write only after the user confirms. diff; write only after the user confirms.
8. **Close out** — list what was written and skipped, and suggest next 8. **Close out** — list what was written and skipped, and suggest next
steps: `/write-OKF`, `/chart`, `/write-readme` — whichever apply. steps: `/write-okf`, `/chart`, `/write-readme` — whichever apply.
## Output / done criteria ## Output / done criteria
- Every file in Process is either written (diff shown) or explicitly - Every file in Process is either written (diff shown) or explicitly
@ -88,7 +88,7 @@ that a silent sub-step would bypass.
the repo takes chore-scoped infra commits). the repo takes chore-scoped infra commits).
## Guardrails ## Guardrails
- **Never** invoke write-OKF, `/chart`, or write-readme as a sub-step — - **Never** invoke write-okf, `/chart`, or write-readme as a sub-step —
point the user at them instead. point the user at them instead.
- **Never** fabricate a `CONVENTION` bullet without a `repo-scan` line - **Never** fabricate a `CONVENTION` bullet without a `repo-scan` line
behind it. behind it.
@ -97,7 +97,7 @@ that a silent sub-step would bypass.
- **Never** scaffold `OKF/` or `ROADMAP.md` when a `LEGACY` line fired. - **Never** scaffold `OKF/` or `ROADMAP.md` when a `LEGACY` line fired.
## See also ## See also
- `/write-OKF` — full OKF scaffold/refresh, legacy migration, AGENTS.md - `/write-okf` — full OKF scaffold/refresh, legacy migration, AGENTS.md
hook-wiring on a repo with no prior `OKF/`. hook-wiring on a repo with no prior `OKF/`.
- `/chart` — writes real `OKF/ROADMAP.md` content. - `/chart` — writes real `OKF/ROADMAP.md` content.
- `/write-readme` — full README generation by ecosystem detection. - `/write-readme` — full README generation by ecosystem detection.

View File

@ -4,9 +4,9 @@
Two kinds of line on stdout, each naming the disk evidence that warranted Two kinds of line on stdout, each naming the disk evidence that warranted
it — no evidence, no line; this scan proposes, it never writes: it — no evidence, no line; this scan proposes, it never writes:
LEGACY <path> — a write-OKF migration source exists; LEGACY <path> — a write-okf migration source exists;
init-octobot defers OKF/ROADMAP.md init-octobot defers OKF/ROADMAP.md
creation to /write-OKF instead of creation to /write-okf instead of
scaffolding them itself. scaffolding them itself.
CONVENTION <bullet> — <path> — a point-5 "Repo conventions" bullet CONVENTION <bullet> — <path> — a point-5 "Repo conventions" bullet
candidate, for user confirmation. candidate, for user confirmation.

View File

@ -2,7 +2,7 @@
Insert verbatim into the target `AGENTS.md`, after the Knowledge and Insert verbatim into the target `AGENTS.md`, after the Knowledge and
Behavioral guardrails sections from Behavioral guardrails sections from
[write-OKF's `agents-md-hook.md`](../../loop/write-OKF/agents-md-hook.md). [write-okf's `agents-md-hook.md`](../../loop/write-okf/agents-md-hook.md).
Each bullet below carries only what that hook block does **not** already Each bullet below carries only what that hook block does **not** already
say — CLAUDE.md §1–4 in full still holds every claim; this is the say — CLAUDE.md §1–4 in full still holds every claim; this is the
union minus the overlap, not a restatement, so nothing is lost even for union minus the overlap, not a restatement, so nothing is lost even for