roadmap BUILT

517. What fraction of survivor growth arrives on lines a pull request touched

Built 2026-09-21 (all dates UTC; the measurements ran through the evening of 2026-09-20 UTC and the block landed just after midnight). Minted provisionally by the maintainer after calef asked for the number milestone 438 (would a diff-scoped mutation check have caught the 55) named as his to ask rather than a lane's to answer.

The answer is 81.6%, and the shape of the other 18.4% is the part that decides anything. Of the 771 survivors standing in the 2026-09-14 census, 629 sit on a line a pull request in the window rewrote or added, and a diff-scoped check running on that pull request would have reported them. The remaining 142 sit on lines older than the window, and every one of them was checked against a mutation run of the tree as it stood on 2026-08-03: 141 were already survivors then, and one was not.

So the inflow hypothesis holds on the measurement: survivors arrive with new code, not by old code quietly losing its tests. One counter-example exists and is named below, which is what keeps this a measurement rather than a slogan.

Nothing here is switched on

No gate, no workflow, no script/ci-build row, no ruleset entry, no edit to design/fatal-risks/README.md, .cargo/mutants.toml or notes/mutation-testing.md. This block is three numbers and a proposed wording. Milestone 479 (a blocking --in-diff mutation gate) carries the standing refusal and the condition that would change it; the last section is written for whoever answers that condition, and this lane does not answer it.

The method, because the method is what the number rests on

Milestone 438's own BUGS said the experiment needed pull requests its clone did not contain, and that this tree could not replay them. That is no longer true for two reasons, and neither of them is a deeper fetch.

The main checkout has the whole history. 4,957 commits back to 2026-07-12, so every pull request in the window is present and git archive reaches any of them.

And the census does not have to be re-run, because it kept its receipts. The weekly workflow uploads one artifact per shard, each with missed.txt naming every survivor by path:line:col: description. The runs of 2026-09-14 and 2026-09-19 are both still downloadable. design/fatal-risks/README.md's risk 3 says the 2026-09-14 census's per-crate numbers "were never written into the tree", and that is true of the tree; the artifacts carry something stronger than per-crate numbers, one line per survivor, and have been sitting there the whole time. The 2026-09-14 run's 8 shards hold exactly 771 lines, the census's own number, at head e25f519a.

So the measurement is two steps and no census:

  1. Blame every survivor line at the census commit. A survivor whose line's last touch is inside the window is a line some pull request in the window wrote. One whose last touch predates 2026-08-03 is a line no in-window diff contained, so no diff-scoped check running in the window could ever have seen it.
  2. Replay cargo mutants --in-diff against the pull requests blame names, to find out whether the proxy tells the truth. It is a proxy in a specific direction: blame reports the last touch, so a rename or a lint fix that rewrites a line re-blames a survivor that is much older than the commit it now points at. The gate at that commit would not have reported it.

The fraction

survivors share
census, 2026-09-14, all shards 771
on a line last touched in the window (after 2026-08-03) 629 81.6%
on a line older than the window 142 18.4%

The 629 are concentrated, which is the finding under the finding. They are blamed to 80 commits in 62 pull requests, out of 761 pull requests merged in the window. The median such pull request carries 6 survivors; the largest carries 79.

pull request what landed survivors
#207 the mDNS/DNS-SD wire format 79
#545 milestone 142 (a text display good enough that people use it instead of a GUI), with UTF-8 decoding and scrollback 66
#326 milestone 129 (scheduled execution: a cron whose every entry is a grant), the timetable crate 48
#130 milestone 40 (documentation as a system service), renderer and all 43
#451 milestone 161 (the x86_64 kernel port), ACPI parsing included 42

A whole new crate landing is what this instrument sees, which is the same thing design/fatal-risks/README.md's risk 3 already says from the corpus side when it reports that the like-for-like gap is "exactly the 26 crates that did not exist at baseline". The two records agree, measured from opposite ends.

The bound on 81.6%, stated as a range

It is 68% to 85% across the plausible boundaries, and 81.6% at the right one. The baseline run is dated 2026-08-03 with no hour recorded, so the cut is a day rather than an instant.

Does the proxy tell the truth: six replays, 197 of 197

Each replay ran cargo mutants --in-diff against one commit blame names, and asked whether the survivors blame attributes to that commit are among those it reports. Every attributed survivor was reported, including in two lint-only commits picked because they should have broken the proxy. One lesson travels: mutants have to be matched on the function and the mutation, not on the path, because the tree renames.

The other 18.4%: pre-existing, with exactly one exception

The 142 survivors on old lines are the population an inflow gate is structurally blind to. Whether that matters depends on whether they are old survivors or regressions, code that was once tested and quietly stopped being. Each was checked against a mutation run of the tree as it stood when the window opened, and every one but one was already a survivor then.

The one regression is compositor's replace * with + in Rect::area, a survivor at the census on a line nobody in the window touched. It is exactly the case a diff-scoped inflow gate cannot see, it is real, and out of 771 survivors it is one.

What it would take to put kernel/** and components/** in the corpus

This is milestone 438's third objection and the one that decides whether an inflow gate can carry risk 3 at all: a kernel change passes by construction today, because .cargo/mutants.toml excludes both trees. It is mechanically possible, and the price is between two and three orders of magnitude, about 500 hours of runner time per census across three architectures.

So the honest verdict has two halves. A kernel census at the current cadence is not feasible and should not be attempted: 500 hours a week to measure a suite is a worse use of the machine than anything it would find. A kernel diff-scoped check is feasible, costs minutes on a kernel pull request, and is the only version of "put the kernel in the corpus" that this project can pay for. Nobody has priced the scaffolding half, which is the piece that would need a lane.

What the green condition should say

A proposal for calef, not an edit. design/fatal-risks/README.md is his and this lane does not touch it. The condition below is offered against the ruling of 2026-09-20 that the green condition should be inflow, with the corpus rate as a lagging indicator.

The measurement supports the inflow framing, and it says how strongly. Over six weeks the tree gained 629 survivors on lines pull requests wrote and one on a line nobody touched. Decay of old code is real and it is running about three orders of magnitude behind inflow, so inflow is not merely most of the problem, it is nearly all of it. A condition written about it is a condition written about the thing that is happening.

That one is still why the condition needs a second clause. An inflow-only condition cannot see Rect::area at all, and the failure it would miss is silent by construction: nobody is editing the code, so nothing prompts anyone to look. A trailing clause costs nothing, because the census already runs weekly, and it is what stops this entry repeating the defect risk 3's own text names in its predecessor, "a condition written for one quantity being applied to another".

Proposed wording, two clauses, and the second is what makes the first safe:

Green when both hold. (a) Inflow: the survivors a merged pull request adds on its own lines, measured by cargo mutants --in-diff on the merged diff, are zero or triaged into a test, an exclusion with a reason, or a recorded gap, under milestone 85's rule, for every pull request since the last census. (b) Trailing: the like-for-like census rate has not fallen between the two most recent censuses. Amber if (a) holds and (b) does not, because that is coverage decaying on code nobody is editing, which is a different defect and wants a different repair.

Why (a) rather than "the gate is on". A condition that requires a blocking gate makes the fatal risk hostage to a decision milestone 479 refused on evidence that has not changed. The measurement is available without the gate: the replay costs four seconds on a documentation change and under two minutes on the largest crate landing in six weeks. And it can run after the merge, weekly, over the window since the last census, which is exactly what this lane did for six weeks in an afternoon.

Why (b) is a floor and not a target. A percentage target can be met by excluding awkward crates, which is the argument milestone 326 (nobody has been assigned to turn a mutation score upward) makes; "has not fallen" cannot be, because the exclusions change both sides of the comparison.

What this costs if it is adopted, priced rather than asserted. An inflow condition measured over the window would have named 62 pull requests of 761 (8.1%) as carrying untriaged survivors, with a median of 6 each. That is a real worklist and it is the honest shape of the claim: "new code does not arrive less tested" is a promise about roughly one pull request in twelve.

And it does not carry the kernel, which is the caveat that has to travel with it. The kernel pricing above prices that; until the scaffolding half is built, any inflow condition is a claim about the host crates only. Risk 3's text should say so where the reader meets the verdict rather than in a follow-on.

What could not be replayed, and what was not attempted

Follow-on

BUGS

Index row

Milestone 438 ended at the measurement that refused a diff-scoped gate and named the one nobody had: what share of the mutation corpus's survivor growth arrives on lines a pull request touched. It is 81.6%. Of the 771 survivors in the 2026-09-14 census, 629 sit on lines last touched inside the window that opened at the 2026-08-03 baseline, blamed to 80 commits in 62 pull requests out of 761 merged. All 142 on older lines were checked against a mutation run of the tree as it stood on 2026-08-03, and 141 were already survivors then. The exception is compositor's replace * with + in Rect::area, caught in August and surviving now on a line nobody edited. The blame proxy was validated by replaying cargo mutants --in-diff against six commits: 197 attributed survivors, 197 reported, including two lint-only commits picked because they should have broken it. Neither the census nor a deeper clone was needed, because the weekly workflow's artifacts carry the per-survivor list the tree does not. Putting kernel/** and components/** in the corpus is mechanically possible and costs about 500 hours of runner time per census across three architectures, against 52 minutes today. So a kernel census is refused on price and a kernel diff-scoped check is the affordable half. The proposed green condition is inflow plus a trailing clause, because one regression on an untouched line in six weeks is small enough to make inflow the right primary term and not small enough to leave unwatched.