octobot/OKF/decisions/021-session-checks-discharge-on-the-blueprint.md
Lukasz Boryn e6f92335f9 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.
2026-07-30 17:24:17 +02:00

2.3 KiB

type, purpose, answers, cites, status, reversible
type purpose answers cites status reversible
Decision Give a check the sealing session cannot run one place to be recorded and one place to be discharged.
Where is a discharged-session check recorded?
skills/loop/blueprint/blueprint-format.md
OKF/blueprints/007-add-sound.md
OKF/ROADMAP.md
live yes — strike the stamps; the checks they record stay in §Verify

021 — a session check discharges on its own blueprint

Some Verify checks a script cannot make — fresh-session behaviour, a missing MCP server, a self-fire leaving its file byte-identical — so they ride later sessions and are discharged one at a time. That record belongs on the blueprint that wrote the check, appended to the numbered check itself as ✅ <date> (<what discharged it> — <what was observed>), with ⏳ pending standing until then. ROADMAP.md keeps no discharge prose: a phase line names its blueprint and stops.

The rule in blueprint-format.md that a locked blueprint's Verify is immutable is narrowed, not broken — it binds the text of a check, which still may only be superseded. A stamp records that an unchanged check was run.

Considered options

Leaving the record in ROADMAP.md, where B-007's already sat, was rejected on two counts. 013 makes ROADMAP a plan, and a discharge is past-tense; worse, 020 prunes a discharged phase to one line, so the prune silently deletes any check still pending — the one thing that must survive.

A terminal verified status after implemented, with okf-check erroring on a ⏳ pending line under implemented, was rejected as premature: one blueprint has ever carried a pending check. The stamps make the state legible first; if checks start going missing, the validator rule is a small addition on top and costs nothing now.

Consequences

  • 007-add-sound.md §Verify is backfilled with three ✅ stamps and one ⏳ pending (check 3, the self-fire byte-identity run).
  • ROADMAP.md phase 9 loses its parenthetical discharge prose and its trailing "Check 3 alone must ride the next sounding" clause.
  • blueprint-format.md states the stamp exemption where it states the immutability rule, so the next blueprint author reads both together.