lanes: state the four guarantees the corrected census's rows carry
Browse files at this commit08b37b05ff6549e0145cb19051ef379895dcdd1cParent: 28bc5921 changed file +50 -2
- lanes/branchcensus.report.md +50 -2
lanes/branchcensus.report.mdmodified+50 -2
| @@ -10,6 +10,50 @@ this lane only adds this report. | |||
| 10 | rebased under it. See **"The census target moved under the run"** below the counts | 10 | rebased under it. See **"The census target moved under the run"** below the counts |
| 11 | before acting on a row. | 11 | before acting on a row. |
| 12 | 12 | ||
| 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 | + | ||
| 13 | ## Method (reproduce with these commands, nothing else) | 57 | ## Method (reproduce with these commands, nothing else) |
| 14 | 58 | ||
| 15 | ```bash | 59 | ```bash |
| @@ -286,8 +330,12 @@ still stands. Only the stated evidence changes. | |||
| 286 | **Not** a false positive: the row was correct when written and went stale inside | 330 | **Not** a false positive: the row was correct when written and went stale inside |
| 287 | the run. The fix landed as `71f1f09c` (same subject, same patch-id | 331 | the run. The fix landed as `71f1f09c` (same subject, same patch-id |
| 288 | `2b7d379f…`), committer date `2026-09-30 01:30:50` — **five minutes after** this | 332 | `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 | 333 | +census's base `3aa16dd1` (`01:25:11`). The row's own printed date is its **tip's** |
| 290 | -what the table prints, so the staleness is invisible in the row. | 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). | ||
| 291 | 339 | ||
| 292 | ```bash | 340 | ```bash |
| 293 | git show 082ef153 --format='' -p | git patch-id --stable # 2b7d379f… | 341 | git show 082ef153 --format='' -p | git patch-id --stable # 2b7d379f… |