octobot/OKF/decisions/020-every-page-has-a-growth-path.md
Lukasz Boryn fda72effec docs(decisions): record the growth-path doctrine as 020
Blueprint 009 shipped the per-kind growth paths and the cap-as-error, but
it alone held the rejected alternative: a uniform `<page>/<theme>.md` rule
for every kind. Blueprints are supersedable and are not the register, so
the why had no queryable home. 020 gives it one, on the 018 precedent —
doctrine in the register, procedure in the skill.

- docs(decisions): add 020, verdict plus the rejected uniform rule
- docs(index): bump the live counter to 20 in OKF/index.md and ROADMAP.md

Sounded 2026-07-24: nostos absent from MCP config, so every claim fell
through to a file read; all four dirty paths and every cite read from
disk. Every growth path held against okf-layout.md and okf-check. The
twelve-pages-over-cap measurement has no owner in this repo — it is
nostos, 2026-07-22 — so 020 now cites blueprint 009 for it.

Verify: okf-check OKF → 0 error(s), 0 warning(s), exit 0; 20 numbered
decision files, 20 index lines, both counters reading 20.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-24 00:28:28 +02:00

36 lines
1.6 KiB
Markdown

---
type: Decision
purpose: Make the line cap enforceable by naming one legal move per page kind.
answers:
- "What happens to a page at cap+1?"
cites:
- OKF/blueprints/009-give-every-page-a-growth-path.md
- skills/loop/write-OKF/okf-layout.md
- skills/loop/write-OKF/split-page.md
- skills/loop/write-OKF/scripts/okf-check
status: live
reversible: demote the cap to a warning in okf-check; splits already made stand
---
# 020 — every page kind has one named growth path
A cap with no legal move at cap+1 decays into prose: measured in a repo
running this skill, twelve pages sat over the ≤110-line cap while the one
*mechanical* rule was obeyed without exception. So each kind gets exactly
one move — `blueprints/` over 150 is a **scope** signal (split in two, or
`ferry`), `ARCHITECTURE.md` **sheds** per-module prose into
`modules/`/`analyses/`, `ROADMAP.md` **prunes** a discharged phase to one
line, `CONTEXT.md` opens `context/<subroot>.md` only when the repo is
genuinely multi-context, and `LEARNINGS.md` alone **splits**, into
`learnings/<theme>.md` — and over-cap becomes an `okf-check` error.
Directories are created lazily, never scaffolded at init.
## Considered options
A uniform `<page>/<theme>.md` rule for every kind was rejected: it invents
`architecture/` and `roadmap/` duplicating the `modules/`/`analyses/` and
`blueprints/` pages that already hold that content, where the per-kind
rule adds one directory in total. The asymmetry is the point — only
`LEARNINGS.md` has an append-only contract, so only it grows without
bound, and only it needs somewhere to go.