forge
Explore
Log in

Don't you dare go Hollow

lanes: state the four guarantees the corrected census's rows carry

Browse files at this commit

08b37b05ff6549e0145cb19051ef379895dcdd1cAhmet Kaan GümüşParent: 28bc592
Adds a header section to the branch census so a reader knows what the table's
rows are worth before acting on one, and so the next census inherits the method
rather than rediscovering it. The guarantees are recorded in the managed skill
branch-census-patch-id-disposition.

G1 — the base's committer instant is pinned in the header. Worth stating
precisely, because the obvious phrasing is wrong: the Method block ALREADY
printed committer dates (`%(committerdate:short)`, `%cd`) and that was never the
defect. A row's own date can never reveal that its fix landed on main after the
census snapshotted main. That is exactly the C3 trap — lane-infra-gitdir's row
correctly printed its tip's committer date 2026-09-25 06:40:53, while its main
carrier 71f1f09c has committer 2026-09-30 01:30:50, five minutes past the
01:25:11 base. With the base instant written down the check is one command:
`git merge-base --is-ancestor <landing> 3aa16dd1`. The base's committer time is
therefore 2026-09-30 01:25:11 +0300 and is now written into the header.

G2 — reverse-apply is mandatory over every row and its hits are marked, not just
used to rank. All 32 outstanding rows carrying a code delta were tested (1 hit);
the 4 report-only rows are named as skipped rather than left silent.

G3 — three verdicts kept distinct: false-positive, stale-inside-the-run,
outstanding.

G4 — a twin-flow sweep's subject names one arm and its diff touches both;
tested across every unlanded commit in every outstanding row.

Also records the two proof shapes that were tried and REJECTED with their
measured failure rates (post-image line-percentage: ~50% on genuinely-unlanded
commits and blind to a semantic duplicate, 7/13 on an already-landed commit;
lane-tag grep: proves the marker is absent, not the fix), and states the known
remaining blind spot — a false positive whose landing commit is neither a twin
sweep nor byte-identical would be caught by neither detector.

C3's body text carried the same author-date imprecision and is corrected there
too. Report-only; no decoder edits.
lanes/branchcensus.report.mdmodified+50 -2
@@ -10,6 +10,50 @@ this lane only adds this report.
1010 rebased under it. See **"The census target moved under the run"** below the counts
1111 before acting on a row.
1212
13+## What this table's rows guarantee
14+
15+The first pass of this census produced five wrong or imprecise rows, including
16+its single most actionable one. The method behind this revision carries four
17+guarantees, recorded in the managed skill `branch-census-patch-id-disposition`
18+so the next census inherits them rather than rediscovering them:
19+
20+- **G1 — the base's committer time is pinned in this header, and that is the
21+ half that matters.** The base `3aa16dd1` was committed at
22+ **`2026-09-30 01:25:11 +0300`**. The Method block already prints *committer*
23+ dates for every row (`%(committerdate:short)`, `%cd`), and that part was never
24+ the defect: a row's own date can never reveal that its fix landed on main
25+ *after* the census snapshotted main. That is exactly the §C3 trap —
26+ `lane-infra-gitdir`'s row correctly printed its own tip's committer date
27+ `2026-09-25 06:40:53`, while the main carrier `71f1f09c` has committer
28+ `2026-09-30 01:30:50`, five minutes past the base. With the base's instant
29+ written down, that comparison is one command instead of a lucky rebase:
30+ `git merge-base --is-ancestor <landing> 3aa16dd1`.
31+- **G2 — reverse-apply is mandatory over every row, and its hits are marked.**
32+ `git apply --reverse --check` on each branch's code diff; success is decisive
33+ in the *landed* direction. The 32 outstanding rows carrying a
34+ `crates/`/`scripts/`/`tools/`/`.cargo/` delta were all tested (1 hit,
35+ §C3); the 4 report-only rows have no code diff to test and are named here
36+ rather than left silent.
37+- **G3 — three verdicts, never collapsed**: `false-positive` (wrong when
38+ written, ancestry-proven), `stale-inside-the-run` (correct, then overtaken),
39+ `outstanding` (still unlanded). §C1 is the first kind, §C3 the second; the
40+ distinction is what makes the table actionable.
41+- **G4 — a twin-flow sweep's subject names one arm, its diff touches both.**
42+ Every unlanded commit in every outstanding row was tested for hunks landing
43+ in both copies of `decode_inter_block` (§C1, §C5). This is the filter whose
44+ absence made §C1 possible.
45+
46+Two proof shapes were tried and **rejected**, with measured failure rates: a
47+post-image line-percentage test (reads ~50% on genuinely-unlanded commits, and
48+is blind to a semantic duplicate — 7/13 on a commit that was in fact already
49+landed), and grepping a lane's tag comment (proves the *marker* is absent, not
50+that the fix is). Neither decides a row here.
51+
52+**Known remaining blind spot**, stated so no reader over-trusts the table: a
53+false positive whose landing commit is neither a twin sweep nor byte-identical
54+would be caught by neither detector and would need a per-row read. See "What
55+was re-checked, and what was not" for exactly which rows got that read.
56+
1357 ## Method (reproduce with these commands, nothing else)
1458
1559 ```bash
@@ -286,8 +330,12 @@ still stands. Only the stated evidence changes.
286330 **Not** a false positive: the row was correct when written and went stale inside
287331 the run. The fix landed as `71f1f09c` (same subject, same patch-id
288332 `2b7d379f…`), committer date `2026-09-30 01:30:50` — **five minutes after** this
289-census's base `3aa16dd1` (`01:25:11`). The author date is `2026-09-25`, which is
290-what the table prints, so the staleness is invisible in the row.
333+census's base `3aa16dd1` (`01:25:11`). The row's own printed date is its **tip's**
334+committer date `2026-09-25 06:40:53`, which is correct per the Method block and
335+is *not* the defect — a row's date can never show that its fix landed on main
336+after the snapshot. The staleness is only visible by comparing the **carrier's**
337+committer date against the base's, which is why the header now pins the base
338+instant (G1).
291339
292340 ```bash
293341 git show 082ef153 --format='' -p | git patch-id --stable # 2b7d379f…