roadmap BUILT

385. When a milestone's status flips, tell the lane which notes cite it

Filed 2026-09-05 as an unnumbered proposal, written after six "is there a milestone for X" questions in one evening turned up four things wrong on main rather than four things missing; numbered 2026-09-19 by milestone 433's drain of the proposal pile. Premise re-read against the tree on 2026-09-19 and still true: script/citations still takes --check and --untracked and nothing else. There is still no mode that reads a pull request's base commit, notices a milestone's status moving, and prints the notes citing it. The instances have been corrected, which is the whole point of the block rather than a reason to close it. Milestone 99's block no longer claims a compressor among the things this tree has or is building, and the other three were fixed before the file was written. (Number provisional until the merge queue lands it.)

(The **Gate:** line this block carried is retired by DECISIONS §207 (the roadmap is a graph, and the block says so in fields a script can walk), which this milestone's design had to be read against. It said NONE and was true.)

Landed 2026-09-14, nine days late. It was committed on 2026-09-05 to a maintainer branch that was never pushed. Milestone 259 (sweep notes/ for claims that stopped being true), minted and built the same day as "the other half" of this proposal, cited this file by path from main. So for nine days a BUILT block pointed at a file that did not exist, and no gate said so (see BUGS). It surfaced during a branch cleanup that checked each stale branch for unique commits before deleting.

The failure, with its four instances

Each was found by a person asking an unrelated question, not by any gate.

Where the four stand on 2026-09-14. Three are fixed: notes/why-not-general-purpose.md was rewritten and now marks each old claim false, milestone 66's table no longer says listen and accept are absent, and the TLS proposal was corrected that evening. The fourth was still on main: milestone 99 still counted a compressor among things the tree has or is building, when nothing in the tree compresses and milestone 258 (archive and compression) is NOT-STARTED. It is corrected in the same pull request that lands this file, which is the proposal's own point made a fifth time. Fixing the instances does not fix the class, and one of four survived a sweep aimed at exactly this.

Every one is rung four in AGENTS.md's ladder: a note, a table, a gloss. Every one stayed green through every gate. notes/why-not-general-purpose.md even asked in writing to be updated "when a subsystem that would move the needle... actually gets built", and two of the three were built.

What to build

When a pull request changes a milestone's status, print the notes that cite that milestone. Not a failure, a worklist, in the shape script/names --unratified already uses: it names work without blocking anybody's build.

The lane flipping milestone N to BUILT is the one person in the project who knows what N now makes true, and it is holding that knowledge at exactly the moment the check fires. Any later reader has to reconstruct it.

Four measurements, because they decided the design rather than decorating it

1. A worklist is three notes, not thirty. Across notes/, 194 milestones are cited by at least one note; the median is 3 notes per milestone, the mean 4.4, the maximum 20. Three files is a thing a lane reads. That is what makes this viable at all.

2. It must fire per pull request, not over the tree. In the fourteen days to 2026-09-05, 68 milestone rows flipped to BUILT, about five a day. Tree-wide at a median of three notes each, that is fifteen note-reads a day owned by nobody, which is how a check becomes noise and then gets ignored. Scoped to the pull request that moved the status, it is three reads by the person responsible.

  1. It must key on the bare citation, and this is the one that would have broken it. Of 1,519 milestone citations in notes/, only 66 carry a gloss and 1,453 do not: 4%. script/citations checks the glossed form, which is right for what that script does and would find one citation in twenty-five here. This check reads milestone N and nothing more.

  2. It catches one of the two real cases, and the one it misses is the worse one. This is the measurement worth arguing with rather than accepting:

case cites the milestone that moved? caught?
Milestone 66's gap table yes, milestone 107 and milestone 64, inside the stale region yes
notes/why-not-general-purpose.md no. It cited milestone 7 and §4, §5, §10, §11, and none of 30, 33, 57 or 121 no

The half it misses, stated plainly rather than glossed over

A page that says "there is no networking" cites nothing, because there is nothing to cite. That is the shape of the worst instance found, and it is inherent: a negative claim has no anchor, so there is no citation to hang a check on.

Do not try to detect negative claims in prose. AGENTS.md already prices that experiment: git grep -w TODO ran at an 82% false-positive rate, and a lint that tried to tell an assertion from an observation would be the same thing wearing different clothes.

What the other half wants is a sweep, not a gate, and there is precedent: milestone 247 swept completed milestones for buried follow-on work, and this is the same exercise aimed at notes/. That is a milestone somebody could mint and it is not this proposal.

So this is worth building because it is cheap and it catches a real half, and the proposal says out loud that it is a half. A mechanism sold as covering the whole class would be worse than none, because the next reader would trust the green.

Where it goes

script/citations already parses milestone citations and has the index. The natural shape is a new mode there rather than a new script, invoked from script/lint when a base commit is available, and silent when one is not. It never fails a build, for the reason above: it cannot tell a stale citation from a fine one, and a check that guesses at prose earns its own ignoring.

The closest built relative is milestone 275 (a gate that diffs design/fatal-risks/README.md against the roadmap it cites), which compares a status a file states about a milestone with the status the roadmap records. That is the same comparison in its strict form, scoped to one file whose claims carry a status word. This proposal is the loose form, over every note, and it lists rather than fails because most citations in notes/ carry no status word to compare.

What was built

script/citations --moved, a fourth mode on the script that already had both halves: the milestone table, the bare-citation regex --census reads, the file scanner that strips comment markers and blanks fences, and a diff-against-a-base machine --ratchet had already written. Neither script/roadmap nor a third script had more than one of those. It parses the **Status: line of every design/roadmap/N-*.md the branch touched, at the base commit and at the tip, and for each one that differs prints the files under notes/ and design/ that name that number.

script/lint runs it after the ratchet, with || true, and it is the only thing in that script that cannot fail a build. A report that can take the build down is a gate whatever its output says.

It tells, and does not oblige, which is the side of DECISIONS §207 (the roadmap is a graph, and the block says so in fields a script can walk) this had to land on. §207 was ratified on 2026-09-23 and cites this milestone by number as its evidence. It retired Gate: MILESTONE N because that rule obliged an edit in every dependent block whenever a dependency landed, made by somebody in another lane who was not looking. What §207 removed is an obligation to edit on a status flip. This is a duty to tell somebody on a status flip, addressed to the one lane already in the file: it asks for no edit, it is read and dismissed in a sentence, and no other branch goes red. A version that demanded edits would have reintroduced what §207 refused, three weeks after.

One of this block's own BUGS entries closed itself while the block sat. It feared a status moving without the pull request touching the index and asked the implementation to read both. There is no longer a both: design/roadmap/README.md was generated from the blocks by milestone 294 (design/roadmap/README.md's index is generated, not hand-maintained) and retired by calef on 2026-09-21. The Status: line is the single record, and §76 (what catches a milestone status that is wrong in both places?) cannot recur.

**It reads design/ as well as notes/, which this block's BUGS asked for and the proposal had not measured: two of the four instances that prompted the milestone were in design/roadmap/.

What it prints against the live tree

Milestone 525 (a bad upgrade cannot brick the machine: two boot slots, tries and priority) turning BUILT, which is the case named in the brief:

$ script/citations --moved 5f850c367~1..5f850c367
citations: milestone 525 moved NEW -> BUILT: A bad upgrade cannot brick the machine: two boot slots, tries an
citations:   design/decisions/0207-the-roadmap-is-a-graph-and-says-so.md:50
citations:   design/roadmap/0554-a-good-upgrade-sticks.md:10

The second hit is the defect: milestone 554 (a good upgrade sticks: what marks a trial boot successful)'s block still described 525 as the proposal it had been. Milestone 302 (a baseline records what it was saved against, and a stale one fails loudly) being promoted prints three files, which is the median-sized worklist the proposal predicted.

Measured over the 150 most recent merges into main on 2026-09-23: 50 moved at least one status and 100 printed one line saying nothing moved. Of the 50, the median is 4 citing files. The tail is three merges, two of them sweeps that restatused dozens of blocks at once and one flip on a heavily cited number. notes/citations.md has the table and the worst single case, milestone 433 (drain the proposal pile to zero, and keep it there) at 108 citing files.

Name provisional. --moved is the lane's, not calef's.

Follow-on

BUGS

Index row

Six "is there a milestone for X" questions in one evening turned up four things wrong on main rather than four things missing, all the same shape: prose that was true when written and went silently false when a milestone landed. Citations that name what they cite lists them. Milestone 66's gap table said TCP listen and accept were absent from the contract a month after milestone 107 (the socket contract learns to accept) shipped them. Every one is rung four of AGENTS.md's ladder and every one stayed green through every gate. The mechanism is a worklist rather than a failure, in the shape script/names --unratified already uses. When a pull request moves a milestone's status, print the notes that cite that milestone. The lane doing the flipping is the one person who knows what that milestone now makes true and is holding that knowledge at exactly the moment the check fires. Four measurements decided the design: the median milestone is cited by three notes, so a worklist is readable. 68 statuses flipped in fourteen days, so it must be scoped to a pull request rather than swept over the tree. Only 4% of the 1,519 milestone citations in notes/ carry a gloss, so it keys on the bare milestone N and not on what script/citations checks. It catches one of the two real cases. The half it misses is stated rather than glossed: a page saying "there is no networking" cites nothing, so there is no anchor to hang a check on, and that half wants a sweep rather than a gate.