docs(okf): cite registers with a B-/R- prefix in prose

Blueprints and the why-register number independently, so 013, 017 and
019 each already name two unrelated pages. A markdown link is safe —
its path says which — but a bare number in prose is not. Prose now
takes a register prefix: B-NNN blueprint, R-NNN why-register, D-n
ferry decision. Filenames, link targets, index labels and
superseded-by-NNN status values are untouched.

- adds decision 022 with the reasoning, including why D- was rejected:
  D-<n> already names a ferry decision on disk and in CONTEXT.md, so
  reusing it would fuse two namespaces that today collide only in type:
- CONTEXT.md states the rule in the intro; 109 of 110 after compressing
  the entry twice, since R-020 gives it no growth path short of a split
  it does not qualify for
- retrofits the live pages rather than applying it forward-only, which
  would leave two dialects — the defect phase 10 exists to remove
- ROADMAP.md:43, :84, :87, :94 and 021:32; moor and build-r-package
  each carried one genuinely ambiguous cite

LEARNINGS.md is deliberately not retrofitted: it is append-only by its
own header, so its bare numbers stand and new entries carry the prefix.
Locked blueprints are left as written for the same reason.

Nothing enforces this yet — a bare three-digit number outside a link is
a lint the okf-check blueprint should carry, or the rule decays exactly
as R-020 prune did. okf-check 0 errors, skill-check 0 errors.
This commit is contained in:
Łukasz Boryń 2026-07-30 17:12:43 +02:00
parent 478ce9fd91
commit e6f92335f9
7 changed files with 64 additions and 10 deletions

View File

@ -14,7 +14,8 @@ status: live
Vocabulary for octobot itself. Skill-authoring terms (leading word,
context load, progressive disclosure, sprawl, no-op) live in
[conjure-a-skill/glossary.md](../skills/productivity/conjure-a-skill/glossary.md)
— not duplicated here.
— not duplicated here. Prose cites take a register prefix: `B-`
blueprint, `R-` why-register, `D-` ferry (R-022); links need none.
## Language

View File

@ -40,7 +40,7 @@ per [013](decisions/013-roadmap-is-a-plan.md): what they shipped is in
how each verified is in jj history. Numbers stay as issued —
append-only.
Blueprints 008–017 traced to `user request <date>`, a declared
B-008–B-017 traced to `user request <date>`, a declared
`traces-to` value — a phase is opened for an arc spanning more than one
blueprint or session, not for a single request. What they shipped is
indexed in [index.md](index.md).
@ -80,18 +80,18 @@ indexed in [index.md](index.md).
- **A rule bound to pressure that never arrives is not enforced.**
Believed: [020](decisions/020-every-page-has-a-growth-path.md)'s prune
keeps this page a plan. True: the prune triggers at cap+1, and the page
sat at 83 of 110 — so phase 9 kept a 20-line body while 013, 020 and
021 each required one line. The trigger belongs on `✅ verified`; still
unvalidated, and owed a lint.
sat at 83 of 110 — so phase 9 kept a 20-line body while R-013, R-020
and R-021 each required one line. The trigger belongs on `✅ verified`;
still unvalidated, and owed a lint.
- **A live decision can be contradicted by the skill that owns the file,
and by the validator that checks it.** Believed: `020`'s prune-to-one-
and by the validator that checks it.** Believed: `R-020`'s prune-to-one-
line settles what a discharged phase keeps. True: it does, but
[architect](../skills/loop/architect/SKILL.md) still tells its own
revision loop to keep the verify line and mark the tick *on* it
(`SKILL.md:36`, `:54`, `revise.md:15`); and `okf-check:245` skips
`blueprints`/`ferries` before its cite loop, so no blueprint's cites
are checked at all. Neither drift had anything to catch it. Source:
sounding blueprint 019, 2026-07-30.
sounding B-019, 2026-07-30.
## Out of scope

View File

@ -29,7 +29,7 @@ stamp records that an unchanged check was run.
## Considered options
Leaving the record in `ROADMAP.md`, where 007's already sat, was
Leaving the record in `ROADMAP.md`, where B-007's already sat, was
rejected on two counts. [013](013-roadmap-is-a-plan.md) makes ROADMAP a
plan, and a discharge is past-tense; worse,
[020](020-every-page-has-a-growth-path.md) prunes a discharged phase to

View File

@ -0,0 +1,52 @@
---
type: Decision
purpose: Stop a bare three-digit number meaning two different pages at once.
answers:
- "How is a register entry cited in prose?"
cites:
- OKF/CONTEXT.md
- OKF/decisions/index.md
- skills/loop/blueprint/blueprint-format.md
- OKF/ferries/python-siblings/MAP.md
status: live
reversible: yes — drop the prefixes; numbers, filenames and links never moved
---
# 022 — a prose cite carries its register's prefix
Blueprints and the why-register number independently, so the same three
digits already name two unrelated pages three times over: 013, 017 and
019 each exist in both. A markdown link is safe — its path says which —
but a bare number in prose is not, and `B-019` (the render lint) against
`R-019` (recon may self-fire) is the kind of collision a reader resolves
wrongly without noticing. **In prose: `B-NNN` for a blueprint, `R-NNN`
for a why-register decision, `D-n` for a ferry decision.** Filenames,
link targets, `index.md` labels and `superseded-by-NNN` status values are
untouched — the prefix is a reading aid, not an identity.
## Considered options
**`D-` for the why-register** was the first proposal and is unavailable:
`D-<n>` already names a *ferry* decision, on disk at
`ferries/python-siblings/D-1..D-3` and canonical in `CONTEXT.md`. Reusing
it would fuse two namespaces that today collide only in `type:`. `R-` for
why-**R**egister keeps them apart.
**Renaming the files** (`B019-…md`, `D020-…md`) was rejected: it breaks
every link, the register index, `blueprint-format`'s `NNN-<slug>`
contract and `blueprint`'s numbering step, and contradicts *numbers are
permanent — supersede, never renumber*.
**Applying it only to new prose** was rejected as the cheaper half of the
same idea. A convention adopted forward-only leaves two dialects, which
is the defect phase 10 already exists to remove; the live pages were
retrofitted in the same change.
## Consequences
- `LEARNINGS.md` is **not** retrofitted — it is append-only by its own
header, so its bare numbers stand as written and new entries carry the
prefix.
- Nothing enforces this yet. A bare three-digit number outside a link and
without a prefix is a lint the `okf-check` blueprint should carry, or
the rule decays exactly as R-020's prune did.

View File

@ -33,3 +33,4 @@ Format: `NNN — <question it settles> — <verdict> — <status>`.
- [019](019-recon-may-self-fire.md) — Which skills may fire without the user asking? — orchestrators never, read-only recon may — live
- [020](020-every-page-has-a-growth-path.md) — What happens to a page at cap+1? — one named move per page kind, enforced as an error — live
- [021](021-session-checks-discharge-on-the-blueprint.md) — Where is a discharged-session check recorded? — stamped on its own blueprint's Verify check — live
- [022](022-prose-cites-carry-a-register-prefix.md) — How is a register entry cited in prose? — `B-NNN` blueprint, `R-NNN` why-register, `D-n` ferry — live

View File

@ -33,7 +33,7 @@ the wiki so the next cold-start agent reads reality, not history.
`git diff <review-base>..HEAD | hunk patch -`; no hunk → raw). The human
records a `tally:` block; `matches: no` stays halted for a fix, never
mutates on a known miss. COLLAPSE persists `review-base:`; 1-blueprint
ferry → use blueprint muster (011), not this.
ferry → use blueprint muster (B-011), not this.
4. **CONSOLIDATE** — promote durable knowledge out of the ferry into its
one home, cross-linked back:
- spawned blueprints → `status: done` (or `superseded`);

View File

@ -41,7 +41,7 @@ disable-model-invocation: true
> [`/commit-atomic-jj`](../../productivity/commit-atomic-jj/SKILL.md) when satisfied."
5. **Suggest** [`/write-readme`](../../engineering/write-readme/SKILL.md),
which already covers r-package; its dedicated R counterpart is
blueprint 001, still a draft.
B-001, still a draft.
## Placeholders used by templates
- `<package-name>` — R package name (validated above).