roadmap BUILT

275. A gate that diffs design/fatal-risks/README.md against the roadmap it cites

Built as script/fatal-risks, wired into script/lint. It found all four of the findings of a review of design/fatal-risks/README.md against the tree, the file's own BUGS warning ("nothing gates this file") firing four separate ways in one pass. The corrections were part of this milestone rather than a follow-on.

What the 2026-09-10 review found, because this milestone exists to stop finding it by hand

Four instances, one review, no gate involved in catching any of them:

The pattern across all four: each is a fact design/fatal-risks/README.md states about a milestone or decision it names, and every one of the four went stale the moment the thing it named changed status, because nothing reads the two together. script/decisions --check and script/roadmap --check both prove a citation resolves; neither asks whether what fatal-risks.md says about what it resolved to is still true.

What this needs

  1. Extract every milestone and decision citation in design/fatal-risks/README.md, the same way script/citations already extracts them tree-wide, but scoped to this one file. Its citations carry a stated status claim (RUN, MEASURED, unmeasured, blocking, and similar) that a bare §N cross-reference elsewhere in the tree does not.
  2. Compare the claimed status against the roadmap's or decisions' own recorded status. The simplest version: a risk marked with a specific milestone's status word (e.g. "milestone 191... AMBER" implying 191 is done) should fail loudly if that milestone's own Status: line disagrees in a way that matters. (NOT-STARTED when the risk entry assumes it ran, SUPERSEDED when the risk entry assumes it stands.)
  3. This cannot be fully mechanical, and the block should say so rather than overpromise: risk 9's two stale claims were about a premise (does 177 need the graphical stack) that changed for a reason no status field encodes. The gate's honest scope is catching the first kind of drift (a status word disagreeing with the roadmap), not the second (an argument's premise being overtaken). Naming the boundary now is cheaper than a gate that claims more than it checks.
  4. Where in script/lint or script/gates this belongs, and whether it runs on every push or on a cadence. design/fatal-risks/README.md does not change often, so a cheap weekly check (the shape script/cadence-check already uses for scheduled workflows) may fit better than a per-push cost on every unrelated pull request.

What got built, and what the four open questions above resolved to

script/fatal-risks, name provisional, with the provenance block every script/ entry carries. Three modes: a report, --check (wired into script/lint), and --selftest.

Eight checks, each anchored on a marker the file already writes, because the alternative is reading a status claim out of free prose and that is a false-positive generator. A risk whose **Status: RUN**/MEASURED names an experiment milestone that is NOT-STARTED. A risk whose experiment is explicitly not run naming one that is BUILT (the rule script/roadmap already keeps for a Gate: MILESTONE N). A struck row in the running order owned to a milestone that never started. A status word the file spells out about milestone 161 (the x86_64 kernel port) (milestone 161 is PARTIAL) that the record contradicts. A cited path that does not exist; a cited proposal changed after the entry that cites it was last dated. And a risk entry whose own latest date precedes the Built date of a milestone it cites.

Question 1 (extraction) reused script/citations' shape rather than inventing a second parser, and the records come from script/roadmap and script/decisions' own report output rather than a second derivation of what a status is. Only the Built column is read from the index, because the reports do not carry a date, and that column's shape is already enforced by script/roadmap --check.

Question 2 (what "disagrees in a way that matters" means) came out as a vocabulary split rather than a similarity measure. NOT-STARTED is the only token that can contradict "this ran"; BUILT/REMOVED are the only ones that can contradict "this has not run yet"; and PARTIAL sits in neither on purpose, because a partial milestone is honest evidence for either claim. That one choice is most of what keeps the check quiet, which is what the BUGS section below demands.

Question 3 (this cannot be fully mechanical) is unchanged and is stated in three places now: the script's header, its --check failure message, and design/fatal-risks/README.md's own BUGS entry. This milestone struck that entry through for the mechanical half only, and it now says in as many words that a green run is not a warrant that the arguments still hold.

Question 4 (where it runs) resolved to script/lint, per push, not a cadence. The precedent that decides it is script/cadence-check's own header, which is the nearby script that answered the other way and says why: "a dead cadence is not a defect in the commit that happens to trip it." Drift here is the opposite and always is. It is caused by an in-tree edit, either a milestone's status moving or this file being written against a tree that has since changed. So the commit that trips it is the commit that caused it, and the lane holding it can fix it in the same breath. That is the definition of a lint. The measured cost is about a second, nearly all of it the two report subprocesses.

The cost of that choice, stated rather than discovered: 35 milestones are cited by design/fatal-risks/README.md, so roughly one lane in ten that turns a cited milestone BUILT will trip the "as of" check and owe a dated correction paragraph. That is the intended bill. The file's own idiom for paying it already exists ("Two corrections, 2026-09-03, from the §86 research lane") and the failure message names it.

How it is known to be able to fail

script/fatal-risks --selftest, eleven fixtures, run by script/lint beside --check. Eight positive fixtures must each come back red on exactly their own check; three negative ones must stay quiet. One of the eight is a check that refuses rather than answers: a shallow clone has no commit touching a tracked file, so the proposal check would pass vacuously in one and reports instead. That is script/roadmap's own lesson from the day its merged-branch check "spent a day passing in CI while being unable to fail". The negatives are the more interesting half, since this gate's stated bias is that a false positive costs more than a false negative. A RUN verdict over a PARTIAL milestone. A pending running-order row over a BUILT owner: row 5 owns risk 3 to milestone 85 (mutation testing over the host crates), which is built, while its experiment is a re-run that has not happened. And a milestone built before the citing entry's own date.

And all three of the 2026-09-10 review's mechanical findings were reproduced against the real file, by reverting each correction in turn and watching --check go red:

reverted what the check said
milestone 191 back to NOT-STARTED two findings, experiment-ran at risk 2 and running-order at the table: "A struck row and a NOT-STARTED owner cannot both be true"
risk 9's milestone-164 correction as-of: "risk 9 was last dated 2026-08-30 and cites milestone 164, which the roadmap records as BUILT on 2026-09-01"
risk 6's instrument correction proposal-moved: "risk 6 was last dated 2026-09-05 and cites design/roadmap/0306-time-the-hw-entropy-step.md as work that would answer it; that proposal was last changed 2026-09-10"

The selftest is what makes that repeatable. The three reverts above are a person's experiment, run once, and by this file's own standard that is an attestation rather than evidence.

BUGS

Follow-on

Index row

script/fatal-risks, in script/lint, diffs design/fatal-risks/README.md against the roadmap it cites, because a review found the same status-in-two-places defect four separate times in one file, one pass, with nothing catching any of them.