76. Split the roadmap: design/roadmap/README.md as index, one file per milestone
Built (2026-08-03, the day it was raised; the postscript below says why it jumped the queue). Raised 2026-08-03 by calef, after a discussion of whether the roadmap should move to GitHub issues at all. It should not, and the reasons are recorded below because the question will come back. What it should do is stop being one 5,375-line file.
Why not issues, since that was the alternative considered
The friction was real: every roadmap edit takes a branch, a PR and a merge. Three arguments against moving were made and two of them did not survive checking, which is worth recording so nobody re-runs them:
- "It would break thousands of validated citations." False.
script/roadmap --checkreads one file and its prose check is scoped to that same file, so of 2,179milestone Ncitations in the tree, the ~1,988 in code comments are validated by nothing today. - "The gates would need network calls." Mostly false.
DECISIONS.mdwas never part of the proposal, soscript/decisions --checkis untouched. Onlyscript/roadmap --checkwould need the API, and the prose checks would simply stop covering roadmap text rather than start calling out. - "Consumption." This one holds, and it decides it. The roadmap is read constantly, locally, by
grep and awk, and by every lane, offline, at the commit it is working from. Answering "what is
needed before the board" was one
awkacross 64 detail blocks. Against an API that is a fetch of the whole corpus, which to work with efficiently would be written to disk and grepped: the file, rebuilt.git log -pshowing how an argument evolved has no equivalent either.
Why one file is nonetheless the wrong shape
Four structural defects landed in the documentation on 2026-08-03 alone, and every gate reported clean through all four:
- §61 was appended below
DECISIONS.md's## Readingcloser. - Milestone 69's table row said
NOT-STARTEDwhile its own detail block saidBUILT. - A prose line wrapped so that
## Reading, §61began a line, rendering as an H2 nobody wrote. - Milestones 68 through 75 are all filed under
## The rival worth understanding, not building, an essay about seL4, becausecat >>appends to the end of a file and the##sections are interleaved among the### N.blocks.
The fourth is eight instances of one mistake, made by the integrator, invisible to
script/roadmap --check because it verifies that a block has a table row and never where the
block sits. That is the same well-formed-but-wrong blind spot CLAUDE.md already records for citations.
A split does not detect those. It makes three of the four impossible: there are no sections to file a
block under, the filename is the identity, and cat >> into design/roadmap/0074-cycle-counters.md
can only add text to milestone 74.
It also removes a conflict that already happened: PR #19 and PR #20 collided on design/roadmap.md
solely because each marked its own milestone BUILT.
The shape (calef, 2026-08-03)
design/roadmap/README.mdholds the table and the surrounding prose. GitHub renders a directory's README automatically, so browsing todesign/roadmap/shows the index, and this is the patternnotes/README.mdalready sets, whichscript/lintalready enforces ("every notes/*.md must appear in notes/README.md").design/roadmap/0074-cycle-counters.mdper milestone. Hyphenated, per CLAUDE.md's rule for ordinary markdown. Numbers run 12 to 76 today. A block's addendum is an appendix in its directory (0020-portable-hal/name-the-seams.md), never a lettered block.- The three
##essays currently interleaved among the blocks are design prose, not milestones, and become their own files underdesign/: "One decision this roadmap still forces", "The display ladder", and "The rival worth understanding, not building".
What the gate must grow
script/roadmap --check reads a directory instead of a file, and gains the check whose absence let
defect 2 through: a milestone's status in the index and in its own file must agree. It should also
keep the existing checks, which stay meaningful across files: the status vocabulary, every file having
an index row, and every milestone N referenced in prose resolving.
And the prose check widens to the whole tree (calef, 2026-08-03)
Today script/roadmap --check validates milestone N references only inside design/roadmap.md.
script/decisions --check already does the tree-wide version for its own citations, via git grep.
So two citation schemes of identical shape and identical risk get opposite treatment:
| citation | validated | occurrences in code |
|---|---|---|
§N into DECISIONS.md |
tree-wide | 817 |
milestone N into the roadmap |
roadmap.md only | ~1,988 |
The objection to closing that gap is that a stale citation in a code comment becomes a build failure. calef's answer: that is the feature. The documentation is versioned with the code so it cannot describe a system that no longer exists, and a comment pointing at a milestone that was renumbered or never existed is exactly the drift the gate is for. It is the same argument DECISIONS §61 makes about lints, and the same one CLAUDE.md makes about citations being invisible when well-formed and wrong.
It costs nothing to adopt: the tree passes today. Checking every milestone N occurrence outside
vendor/ and patches/ against the table, for N >= 12, produced zero unresolved citations. So
this is a ratchet in §38's shape and not a cleanup, and it can ship with the gate rewrite rather than
waiting behind it.
Two details for whoever implements it. The existing n >= 12 floor stays, because milestones below 12
predate the table and live in git history and DECISIONS.md. And the regex must keep matching
milestone 16a (real hardware + IOMMU-backed driver isolation) as 16, since prose names a block's
parts with a letter.
Backfill milestones 1 to 11, and drop the n >= 12 floor (calef, 2026-08-03)
The floor exists because the table started at 12 when it moved out of DECISIONS.md, not because the
early history is lost. It is not lost. The original plan survives verbatim in the first commit,
b7f10e7 ("Record architecture decisions and the milestone plan", 2026-07-12), as a ## Milestones
table in DECISIONS.md carrying 1 through 10 with a title and a "what it teaches" column. Milestone
11 was added two days later in 491f23d as "Untyped memory: the kernel stops allocating".
So 304 live citations to milestones 1 to 11 are unvalidated for a reason that stopped being true. Backfilling them and removing the floor takes the gate from 1,875 checked citations to all 2,179.
Record the outcomes, not the plans, and the reason is that they differ. Most of the early milestones have a commit that titles them, and those titles say what actually happened:
- "Milestone 2: exception vectors, and a fault that tells you what it was"
- "Milestone 3: hand out physical memory, and detect a smashed stack"
- "Milestone 5: the GIC and the timer. The kernel is preemptible."
- "Milestone 11: untyped memory, and the number that proves the kernel stops allocating"
Where plan and outcome disagree, the disagreement is the history worth keeping. Milestone 8 was planned as "virtio-blk driver + read-only filesystem" and landed as "the console driver leaves the kernel"; virtio-blk moved to 9, which had been "Processes: spawn, exit, wait". A backfill that copied the original table would record a plan that was overtaken and silently misdate the driver work.
Two need reconstruction rather than copying, because no commit titles them: milestone 1 (the earliest commits predate the convention, though "Boot to Rust on QEMU virt and print to the PL011 UART" is the commit and matches the plan exactly). The other is milestone 7 (user mode: EL0, capabilities, the ELF loader), the capability decision point. It is the densest citation target in the tree at 79 references, and its outcome is DECISIONS §10 (process model) rather than a single commit.
Mark all eleven BUILT. They are, and the evidence is the kernel.
Scope note
File moves, no content edits, with milestone 69's proof obligation: reassembling the files must
reproduce the original byte for byte, apart from the fixed placement of blocks 68 to 75. Twenty-nine files
outside the roadmap link to design/roadmap.md, including README.md, SECURITY.md,
DECISIONS.md, several crates and several design notes; every one must land on the index. Relative links inside the blocks point
at ../notes/, which becomes ../../notes/ one directory down, and script/lint already checks that
every relative markdown link resolves, so a missed one fails loudly rather than quietly.
Postscript: why it jumped the queue, and what the build found (2026-08-03)
Raised in the morning, bumped to the front the same day, calef's call. The single file did not wait for the split. Nine milestone entries landed in it in one day (a postscript to 78, and 79 through 87), and it passed 6,200 lines. It produced repeated merge conflicts between same-day pull requests (#46 against #47, then #53 replacing #52), which is exactly the conflict class this entry's own rationale predicted. The entry was still NOT-STARTED while its motivating failure was recurring, so it stopped queueing.
The build held to the scope note, with the differences recorded:
- The proof obligation was met in the strong form. A reassembly script inverted every mechanical adjustment (heading promotion, inserted status lines, deepened links, the phrase fixes where prose named the old single-file geometry, the linkified table). It reproduced the pre-split file byte for byte, all 468,082 bytes, before the old file was deleted.
- "Twenty-nine files link to the old path" was undercounted the way tree-spanning counts usually are: the merged tree had 44 live references across 34 files. Taken from grep at build time, per CLAUDE.md.
- The backup-server ladder essay was a fourth interleaved essay this entry's list of three
missed (it is
###-level, so the survey of##headings did not see it); it moved todesign/with the others. - Every milestone file now opens with a machine-checked
**Status:line mirroring its index row, which is the agreement check the gate needed; where an old block narrated status in prose, the prose stays as narrative below the line.
The status-agreement check, the one-milestone-per-file checks, and the tree-wide citation check
were each proven against injected defects. They were a pasted ### N. block, a second H1, a flipped
status, a stray file, a rowless file, two files claiming one number, and a citation to a milestone
that does not exist. Seven injections, seven failures reported, none missed.
Follow-on
- None. Everything this block asked for was built in the same lane: the split, the
status-agreement check, the tree-wide citation check, the backfill of milestones 1 to 11, and the
removal of the
n >= 12floor. The postscript records the three places the build differed from the plan, and none of them left work behind.
Index row
built 2026-08-03, the day the single file (by then 6,200 lines) took nine entries and two more
same-day PR conflicts. The split is this directory, proven by byte-for-byte reassembly; the gate now
checks index/file status agreement, one milestone per file, and every milestone N citation
tree-wide (2,255, all resolving). 1 to 11 are backfilled from the first commits and the n >= 12
floor gone