forge
Explore
Log in

Don't you dare go Hollow

refutation pass: land the independent audit of the six exactness merges, and annotate the four reports whose figures it corrected

Browse files at this commit

00ec0ee6d145590e86429fd32e1d5336bea8739bAhmet Kaan GümüşParent: 5d5fc1e
No fix is refuted. 5 of 6 exactness claims CONFIRMED with every headline integer reproduced on the
lane's own before/after pair, measured with a comparator written from scratch (geometry an explicit
argument, both sides genuinely read, and per-cell liveness proven by flipping one oracle byte in each
of Y/U/V). The defects are all in report tables, and they are corrected in place rather than rewritten:

- av1444altref: the decode-order TOTAL is 397 (0 Y / 185 U / 212 V), not 317 -- 317 is the DISPLAY-order
  figure (it reproduces exactly on that basis), and the gap is the hidden picture. Per-picture f13 is
  15, not 80. The merge is still the commit that moves ll444_c: its first parent a20aba01 and the base
  3698787d both give 8/18 decode-order exact (0/185/212), 9367642a and all descendants give 18/18 (0/0/0).
- av1422llpred: X_intrabc_tiled is not 'no change' -- its U plane moves 421744 -> 421746 (+2) on the
  report's own display-order basis; W is exactly delta 0.
- av1422lpf: the 'Golomb tail' refusal on W/X does not occur at 3698787d (17/17 pictures, no message),
  and 'they do not decode to completion' is false -- rung 12 zips 17 frames per side. The
  4:2:0-specificity evidence does not reproduce either: the '1028 out of range for slice of length 1024'
  panic appears only on ll422_noibc, a 4:2:2 cell, and the cell the report used is pinned by no sha.
- av1422llinter2: '24 of 31 exact before' vs its own table's 23, and decode.rs:24618 is statically
  UNREACHABLE (24544 subsumes it) rather than 'already shape-generic' -- the conclusion 'no fourth
  reachable site' holds.

The six fixes themselves are untouched: the merge that closes the panic family panics at
decode.rs:37565:24 on its base exactly as reported and decodes 17/17 with exit 0 after; the altref gate's
comparator runs aomdec as a subprocess and reads its file off disk; and llinter2's three fixed arms were
re-measured with counters at 131/356/202 (W), 148/376/178 (X), 3/166/565 (Y).
lanes/av1422llinter2.report.mdmodified+11 -0
@@ -1,5 +1,16 @@
11 # lane-av1422llinter2 — the lossless 4:2:2 inter divergence is FIXED
22
3+> **CORRECTIONS from the independent refutation pass `lanes/refute-av1-w3a.report.md` (2026-09-30).** The
4+> fix, its class sweep and its reachability all CONFIRMED, and this merge's claim is the one the pass
5+> states most strongly: the three fixed arms were re-measured with temporary counters — single-ref /
6+> compound / intra-in-inter fire 131/356/202 on `W_intrabc`, 148/376/178 on `X_intrabc_tiled`,
7+> 3/166/565 on `Y_intrabc_10b`. Two arithmetic slips in this report: **§6 says "24 of 31 exact before"
8+> where its own table gives 23**, and the class sweep describes `decode.rs:24618`
9+> (`else if chroma_444 && lossless`) as "already shape-generic" when it is statically UNREACHABLE
10+> (24544 subsumes it) — the conclusion "no fourth reachable site" still holds, but the reason phrased there
11+> is wrong.
12+
13+
314 Tip: `main` = `cc211d13` (Merge lane-av1422llinter). Worktree
415 `/home/user/.cache/wt/av1422llinter2`, branch `lane-av1422llinter2`, commit
516 `475c45ac`. One source file changed: `crates/ec-av1/src/decode.rs`. The 4:2:2
lanes/av1422llpred.report.mdmodified+7 -0
@@ -1,5 +1,12 @@
11 # lane-av1422llpred — 4:2:2 chroma intra prediction divergence
22
3+> **CORRECTION from the independent refutation pass `lanes/refute-av1-w3a.report.md` (2026-09-30).** The
4+> fix and its headline numbers stand. One regression row is wrong: `X_intrabc_tiled` is not "no change" —
5+> on the report's own display-order basis its **U plane moves 421744 -> 421746 (+2 samples)**; `W_intrabc`
6+> is exactly delta 0. Two samples out of 1.3 M is not a regression that matters, but "no change" was a
7+> claim and it was not measured.
8+
9+
310 Target: `probe/ll422_allintra.obu` (320x240, 4:2:2 lossless all-intra, 1 frame).
411 Base: `2005a35d` (both prior fixes already landed). Baseline reproduced exactly:
512 **Y 0 / U 3126 / V 3139**.
lanes/av1422lpf.report.mdmodified+17 -0
@@ -1,5 +1,22 @@
11 # lane-av1422lpf — the `--lossless=1` 4:2:2 inter chroma panic family is SEVEN sites, and all seven are fixed
22
3+> **CORRECTIONS from the independent refutation pass `lanes/refute-av1-w3a.report.md` (2026-09-30).** The
4+> FIX stands — the seven panic sites and their before/after panic lines were re-measured and reproduce
5+> exactly (`exit 101` at `decode.rs:37565:24` on `aef4fa67`, `17/17` pictures with `exit 0` on
6+> `3698787d`). Three claims in this report do NOT reproduce and are withdrawn:
7+> (1) **§4.1** the "a Golomb tail longer than this decoder reads" refusal on `W_intrabc`/`X_intrabc_tiled`
8+> does not occur at `3698787d` — both decode 17/17 pictures with zero refusal lines (the llintra lane had
9+> already retracted it; now independently confirmed).
10+> (2) **§5** "decode-order (rung 12) comparison was not run on the three cells — they do not decode to
11+> completion" is false: they do, and rung 12 was run on both sides, 17 frames per side at the expected
12+> per-frame geometry.
13+> (3) **§1.1** the "Site 1 is NOT 4:2:2-specific" evidence (a 4:2:0 panic `range end index 1028 out of
14+> range for slice of length 1024` on `ll420_a.obu`) does not reproduce on the pinned `regress_420/ll420_a.obu`
15+> at `aef4fa67` (`exit 0`; all four `ll420_*` are 16/16 byte-exact at `18643bb5` and `3698787d`). That panic
16+> shape was produced only on `ll422_noibc`, a **4:2:2** cell — and the cell this report used is pinned by
17+> no sha, so the claim is not reproducible. The site's 4:2:2-specificity is therefore UNPROVEN here.
18+
19+
320 Base `aef4fa67` (main), worktree `~/.cache/wt/av1422lpf`, branch
421 `lane-av1422lpf`. **All seven panics are gone. The three cells still do not
522 decode byte-exact** — §4 says exactly where that residual lives and why it is
lanes/av1444altref.report.mdmodified+14 -0
@@ -1,5 +1,19 @@
11 # lane-av1444altref — 4:4:4 LOSSLESS + alt-ref chroma residual: FIXED, GATED
22
3+> **CORRECTIONS from the independent refutation pass `lanes/refute-av1-w3a.report.md` (2026-09-30).** The
4+> FIX and its GATE stand, and were re-measured from scratch: the merge's first parent `a20aba01` and the
5+> lane base `3698787d` both give `ll444_c` 8/18 decode-order exact with Y 0 / U 185 / V 212, while
6+> `9367642a` and every descendant give 18/18 exact 0/0/0 — so "exact before" cannot masquerade as "this
7+> commit fixed it". The gate's comparator was read and DOES read both sides (not the av1422anom
8+> tautology), and the mutation number (0/147/170) reproduces exactly.
9+> Two figures are WRONG as labels, not as fixes:
10+> (1) **§1's decode-order per-picture table**: 9 of 10 entries reproduce exactly, but **f13 is 15**,
11+> not 80.
12+> (2) **§1's "TOTAL 317" in a decode-order table**: the decode-order total is **397** (0 Y / 185 U / 212 V).
13+> 397 − 317 = 80 = the hidden picture, i.e. **317 is the DISPLAY-order figure**; it reproduces exactly on
14+> that basis (0/147/170). The report's own per-picture list also sums to 462, not 317.
15+
16+
317 Base `3698787d` (main), worktree `~/.cache/wt/av1444altref`, branch `lane-av1444altref`.
418 Round 3 (Agent27-3 → Agent17-2). **The 317-byte chroma residual is gone: `ll444_c`
519 now decodes byte-exact against the oracle aomdec on all 18 decode-order pictures
lanes/refute-av1-w3a.report.mdadded+459 -0
@@ -0,0 +1,459 @@
1+# refute-av1-w3a — an independent refutation pass over the six byte-exactness merges of 2026-09-30
2+
3+Read-only audit. Nothing was fixed, no merge was re-opened, no push, no rustfmt.
4+Scratch worktree `~/.cache/wt/Agent102-3` (branch `lane-Agent102-3`, from `main` = `81a21c7d`)
5+was created, every historical state was measured inside it, and it was removed
6+afterwards. `git status --porcelain` on the primary checkout is EMPTY. `main` has
7+since advanced to `52c62c15`; every number below is pinned to an explicit SHA, so
8+none of it moves.
9+
10+## 0. Method, in the order it mattered
11+
12+**Fixture bytes.** Every cell I measured is the cell the report pins:
13+
14+| cell | sha256 (first 16) | bytes | committed as |
15+|---|---|---|---|
16+| `W_intrabc.obu` | `0aad0d6fdd236557` | 130 320 | `crates/ec-av1/fixtures/W_intrabc.obu` — same sha |
17+| `X_intrabc_tiled.obu` | `e7c0c60af1a61531` | 131 696 | `fixtures/X_intrabc_tiled.obu` — same sha |
18+| `Y_intrabc_10b.obu` | `ce84d7cb4cfadf3f` | 202 281 | `fixtures/Y_intrabc_10b.obu` — same sha |
19+| `regress_444/ll444_c.obu` | `999a41d88a092840` | 512 220 | `fixtures/ll444_c_altref_leaf8_warp.obu` — same sha |
20+| `probe/ll422_allintra.obu` | `d56f6b655743897a` | 43 255 | probe cell, not committed |
21+| `probe/ll422_noibc.obu` | `c8559205ecf398fa` | 460 682 | probe cell, not committed |
22+| `probe/ll420_allintra.obu` | `c5ea0690a10e38b6` | 32 544 | probe cell, not committed |
23+| `probe/ll444_allintra.obu` | `47669206ad085842` | 60 840 | probe cell, not committed |
24+
25+**Two legitimate bases, and telling them apart is the whole game.**
26+
27+* *decode order* — `EC_AV1_FINAL_DUMP` on both sides (`aomdec` rung 12, and
28+ `stream.rs:2210`), Y then U then V, u8 / u16-LE by the header's bit depth,
29+ **every** picture including hidden alt-refs. This is what I used for every
30+ per-frame and per-plane table below.
31+* *display order* — `aomdec --rawvideo` against our `dump_yuv`, **shown frames
32+ only**, hidden alt-refs dropped. This is what several reports' headline
33+ totals are on.
34+
35+On `ll444_c` the two disagree: display **317** vs decode **397**, the gap being
36+the hidden picture's 80. A total quoted in a decode-order table that is really
37+the display-order number is a labelling error, not a wrong fix. I always report
38+both.
39+
40+**Comparator (`~/.cache/cem23/cmp.py`), written from scratch, not a lane's.**
41+Geometry is an explicit argument, never inferred from file size; a file-size
42+mismatch and an empty glob are both hard errors; per-plane, per-frame; counts
43+differing **samples** (u16 pairs for HBD). It reads `<prefix>.f<N>` from BOTH
44+sides — the failure class that made `lane-av1422anom` withdraw an "18/18
45+byte-exact" is a comparator that loads one side and compares it with itself, and
46+that is structurally impossible here.
47+
48+**Comparator liveness, per cell.** For all eight primary cells I flipped **one**
49+oracle byte in **each** of Y, U and V at one frame and re-ran:
50+
51+| cell | flipped frame | Y | U | V | other frames |
52+|---|---|---|---|---|---|
53+| `W_intrabc` | f1 | +1 | +1 | +1 | unchanged |
54+| `X_intrabc_tiled` | f1 | +1 | +1 | +1 | unchanged |
55+| `Y_intrabc_10b` | f1 | +1 | +1 | +1 | unchanged |
56+| `ll422_allintra` | f0 | +1 | +1 | +1 | n/a (1 frame) |
57+| `ll422_noibc` | f1 | +1 | +1 | +1 | unchanged |
58+| `ll420_allintra` | f0 | +1 | +1 | +1 | n/a |
59+| `ll444_allintra` | f0 | +1 | +1 | +1 | n/a |
60+| `ll444_c` | f1 | +1 | +1 | +1 | unchanged |
61+
62+Exactly +1 on the plane and frame flipped, +0 everywhere else, every time. The
63+zeros below are live comparisons.
64+
65+**Reaching 4:2:2.** The one-line `stream.rs` header guard was patched out once,
66+saved as a diff, and `git apply`-ed after every `git reset --hard`; the patch
67+does NOT apply at every historical SHA (the surrounding comment text shifts), so
68+each state was checked with `git status --porcelain` before its build was
69+trusted. No bypass, probe or counter of mine is in any commit.
70+
71+**State ladder.** One worktree, one `CARGO_TARGET_DIR`, `git reset --hard <sha>`
72+→ `git apply bypass` → build → run. Each lane was measured on **its own**
73+before/after pair, which is the branch parent → branch tip, not the merge's
74+first-parent → merge. That distinction matters: merge `ac00e9fb` also carried
75+lane-stackbox's 67-line `stream.rs` + 158-line `decode.rs` change, so measuring
76+`d202b8b4 → ac00e9fb` made a false refutation appear (see claim 5).
77+
78+---
79+
80+## 1. `3698787d` lane-av1422lpf — **CONFIRMED** (two sub-claims refuted, one not reproduced)
81+
82+**Confirmed — all three panics gone.** At the lane's declared base `aef4fa67`
83+with the bypass, `W_intrabc`, `X_intrabc_tiled` and `Y_intrabc_10b` all die with
84+exit 101 at `crates/ec-av1/src/decode.rs:37565:24` — the exact line the report
85+quotes. At the pre-merge main `18643bb5` they all panic at `:37617` with
86+`range end index 20 out of range for slice of length 16`. At `3698787d` all three
87+decode **17 of 17** pictures and exit 0. `ll422_noibc` also panicked before
88+(`range end index 1028 out of range for slice of length 1024`) and decodes 16/16
89+after — a fourth cell the report did not claim.
90+
91+**Confirmed — the report's own "not byte-exact" honesty.** At `3698787d`, W, X
92+and Y are each 0/17 exact. Nothing was overstated.
93+
94+**Confirmed — zero regressions, sample-exact.** `ll420_a/b/c/d` and
95+`ll444_a/b` are **16/16 byte-exact on all three planes at both `18643bb5` and
96+`3698787d`**; `ll444_c` is 8/18 exact with identical counts
97+(`Y 0 / U 185 / V 212`) at both. Display order, `ll444_c` is **7 of 16 shown
98+frames exact** at both — the "DIVERGES 7/16" row reproduces exactly.
99+
100+**REFUTED — §4.1's symptom column.** "`W_intrabc` → `a Golomb tail longer than
101+this decoder reads` at mi (16,52)"; "`X_intrabc_tiled` → same at mi (8,64)".
102+At `3698787d` with the bypass, W and X decode all 17 pictures and **print no
103+refusal message at all**. The quantity that kills it: 17 of 17 pictures emitted,
104+0 refusal lines. (`lane-av1422llintra` §1 retracted this itself; I confirm the
105+retraction independently rather than taking it on trust.)
106+
107+**REFUTED — §5's `not_done` line.** "Decode-order (rung 12) comparison was not
108+run on the three cells — they do not decode to completion, so there is nothing
109+to zip against the oracle's per-frame dumps." They do decode to completion. I
110+ran rung 12 on both sides for all three, 17 frames per side, 153 600 B per frame
111+(Y 76 800 + U 38 400 + V 38 400 for the 8-bit cells, 307 200 B for the 10-bit
112+cell), and the oracle's 17 frame files match those expected sizes exactly. The
113+stated blocker does not exist.
114+
115+**NOT REPRODUCED — §1.1's "site 1 is NOT 4:2:2-specific".** The report's
116+headline counter-evidence is a 4:2:0 panic:
117+`panicked at decode.rs:37574:24: range end index 1028 out of range for slice of
118+length 1024` on `ll420_a.obu`, argued from a 64x128 block's 32x64 chroma plane
119+block. On the pinned `regress_420/ll420_a.obu` at `aef4fa67` there is **no
120+panic** (exit 0), and all four `ll420_*` cells decode with exit 0 at
121+`aef4fa67`; at `18643bb5` and `3698787d` they are 16/16 byte-exact. The one place
122+I could produce a `1028 / 1024`-shaped panic is `ll422_noibc`, a **4:2:2** cell,
123+at `18643bb5`. The cell the report used is pinned by no sha, so the claim cannot
124+be reproduced from anything committed, and its evidence for "not 4:2:2-specific"
125+is unsupported. The per-site arithmetic may still be right; the demonstration
126+does not stand.
127+
128+**Untested.** The 33-cell diff of §3.2/§3.3 beyond the seven lossless controls
129+(the lossy 4:2:2 corpus) — those cells are unchanged at `3698787d` by
130+construction, and the same corpus is measured in §7 below at the llinter2 pair.
131+
132+---
133+
134+## 2. `9367642a` lane-av1444altref — **CONFIRMED** (one §1 table entry refuted)
135+
136+**Confirmed, and the attribution is clean.** The merge's first parent is
137+`a20aba01`; the lane's own base is `3698787d`. On **both**:
138+
139+| state | `ll444_c` decode order | Y / U / V |
140+|---|---|---|
141+| `3698787d` (lane base) | 8/18 exact | 0 / 185 / 212 |
142+| `a20aba01` (merge parent) | 8/18 exact | 0 / 185 / 212 |
143+| `9367642a` (merge) | **18/18 exact** | **0 / 0 / 0** |
144+| `2005a35d`, `5c216458`, `ac00e9fb`, `81a21c7d` | 18/18 exact | 0 / 0 / 0 |
145+
146+"Exact before this commit" cannot masquerade as "this commit fixed it": the
147+commit is what moves the cell, and nothing else in the chain does.
148+
149+**Confirmed — the headline 317, exactly, on its own basis.** Display order
150+(`aomdec --rawvideo` vs `dump_yuv`, 16 shown frames, 320x240 4:4:4 8-bit) at
151+`3698787d`: **`Y 0 / U 147 / V 170`, total 317.** Not "close to 317" — the same
152+three integers.
153+
154+**REFUTED — §1's decode-order per-picture table.** My decode-order measurement
155+reproduces **9 of its 10** entries exactly — f8 80, f9 25, f10 5, f11 50, f12 3,
156+f14 46, f15 80, f16 67, f17 26 — but:
157+
158+| decode picture | report §1 | my measurement |
159+|---|---|---|
160+| f13 | **80** | **15** |
161+| TOTAL | **317** | **397** (0 Y / 185 U / 212 V) |
162+
163+The report's list sums to 462, its stated `TOTAL 317` is the display-order
164+figure, and 397 − 317 = 80 = the hidden picture f8. So §1's table is the
165+display-order total wearing a decode-order label, with one picture value wrong
166+by 65. The fix and its attribution are unaffected; the table is not.
167+
168+**Confirmed — the gate is not tautological.** `a_lossless_444_altref_leaf8_warp_chroma_is_byte_exact`
169+lives at `stream.rs:8414`. Its comparator, `count_rawvideo_diffs`
170+(`stream.rs:10884`), runs `aomdec` as a **subprocess**, reads its `--rawvideo`
171+file off disk, decodes with `decode_stream`, packs with `pack_rawvideo`, asserts
172+the two lengths are equal (returning `None`, which the gate turns into a panic),
173+and zips. Both sides are genuinely read. Inside the gate there is an oracle-flip
174+arm (one byte of the oracle's own output rotated, count must move by exactly one
175+in U only) and a `compound_warp_hits_8` reachability witness. The comparator has
176+its own separate unconditional non-vacuity test,
177+`the_counting_oracle_diff_detects_one_flipped_oracle_byte`
178+(`stream.rs:10999`), which flips an oracle byte and requires exactly one wrong
179+sample and one fewer exact frame. This is the anti-`av1422anom` structure.
180+
181+**Confirmed — the mutation number.** The report's mutation proof reverts the four
182+warp calls and the gate reds with `0 Y / 147 U / 170 V`. That is exactly what I
183+measure at the pre-fix state `3698787d`, independently, on the same basis.
184+
185+**Confirmed — the source shape.** `59d3594a` adds four
186+`warp_affine_compound` calls (U ref0, U ref1, V ref0, V ref1) inside
187+`decode_inter_block8`'s compound chroma arms, each behind
188+`warp_plane_allowed(chroma_w, chroma_h)`, plus the tightened single-ref guard.
189+
190+---
191+
192+## 3. `2005a35d` lane-av1422llintra — **CONFIRMED**, every headline number exact
193+
194+Measured on the report's own basis (display order, `dump_yuv` vs
195+`aomdec --rawvideo`), lane base `3698787d` → lane tip `a347784b`:
196+
197+| cell | before | after |
198+|---|---|---|
199+| `ll422_allintra` | **Y 75 210 / U 38 235 / V 38 240** | **Y 0 / U 3 126 / V 3 139** |
200+| `W_intrabc` frame 0 | Y 75 632 / U 37 979 / V 38 070 | **0 / 0 / 0** |
201+| `X_intrabc_tiled` frame 0 | Y 59 775 / U 30 085 / V 30 738 | **0 / 0 / 0** |
202+
203+"luma now byte-exact (75 210 wrong → 0)" — exact. "chroma 38 235 / 38 240 →
204+3 126 / 3 139" — exact. "frame 0 now byte-exact" for both W and X — exact.
205+Decode-order cross-check at the merge states: `ll422_allintra` is
206+`75210/38235/38240` at `3698787d`, `a20aba01` **and** `9367642a`, and
207+`0/3126/3139` at `2005a35d`, so llintra is the only commit in that span that
208+moves the cell.
209+
210+**Minor non-reproduction.** The whole-cell totals the report gives for the
211+"both fixes" build: W `917974 / 474518 / 487693`, X `864325 / 421582 / 414905`.
212+I measure W `917974 / 474506 / 487692` and X `864325 / 421744 / 414838`. Luma
213+matches to the sample; chroma is off by 12 and 1 (W) and 162 and 67 (X). The
214+BEFORE totals in the same table — W `1214609 / 611596 / 612205`, X
215+`1072597 / 533606 / 539334` — match mine exactly. Direction and magnitude class
216+are right; three of the six "after" chroma figures do not reproduce.
217+
218+**Confirmed — the source shape.** `a347784b` converts exactly **three**
219+`around_mi_rect` dc-sign gathers to `around_mi_422_chroma`, matching the report's
220+"3 chroma gathers"; `around_mi_422_chroma` has 53 call sites at main.
221+
222+---
223+
224+## 4. `5c216458` lane-av1422llpred — **CONFIRMED on the headline, one regression row REFUTED**
225+
226+Isolated pair `2005a35d` → `29c21f51` (the merge `5c216458` also carries
227+`lane-av1oddheightfork2`'s instrumentation, so it is not the lane's own delta):
228+
229+| cell | before | after |
230+|---|---|---|
231+| `ll422_allintra` | **U 3 126 / V 3 139** | **U 2 984 / V 3 067** — not exact |
232+| `ll420_allintra` | 0 / 0 / 0 | 0 / 0 / 0 |
233+| `ll444_allintra` | 0 / 0 / 0 | 0 / 0 / 0 |
234+| `ll444_c` | 18/18 exact | 18/18 exact |
235+
236+Every headline quantity is exact, and the 4:2:0 / 4:4:4 controls are untouched.
237+The report is also honest that the cell is still not exact.
238+
239+**REFUTED — the "Regression (W_intrabc / X_intrabc_tiled) — no change" row, on
240+the report's OWN display-order basis.**
241+
242+| cell | plane | `2005a35d` | `29c21f51` | delta |
243+|---|---|---|---|---|
244+| `W_intrabc` | Y / U / V | 917974 / 474506 / 487692 | 917974 / 474506 / 487692 | **0 / 0 / 0** |
245+| `X_intrabc_tiled` | Y | 864325 | 864325 | 0 |
246+| `X_intrabc_tiled` | **U** | **421 744** | **421 746** | **+2** |
247+| `X_intrabc_tiled` | V | 414838 | 414838 | 0 |
248+
249+`W_intrabc` is exactly delta 0, as claimed. `X_intrabc_tiled`'s **U plane moves
250+by 2 samples**, so the "no change" row is false as written. The report's own
251+absolute figures for X's chroma (421 718 / 414 871) also do not reproduce; I get
252+421 744 / 414 838, i.e. +26 and −33. The load-bearing conclusion — that
253+`X_intrabc_tiled` is not in this defect's class — survives; the stated quantity
254+does not.
255+
256+**Confirmed — the source shape.** `29c21f51` changes 19 lines of
257+`crates/ec-av1/src/decode.rs`: `tu_reach` → `tu_reach_rect` with `4 << ss_y(fctx)`
258+at three sites (the found fix plus the two-site class sweep).
259+
260+---
261+
262+## 5. `ac00e9fb` lane-av1422llpred2 — **CONFIRMED**, including the delta-0 rows
263+
264+Isolated pair `d202b8b4` → `7a603bef`. The merge `ac00e9fb` is **not** the lane
265+alone — `7a603bef..ac00e9fb` adds 67 lines to `ec-av1/src/stream.rs` and 158 to
266+`ec-av1/src/decode.rs` (lane-stackbox). Measuring the merge pair instead of the
267+lane pair produces a false refutation; I state this because a future audit will
268+hit it.
269+
270+| cell | before | after |
271+|---|---|---|
272+| `ll422_allintra` | **0 / 2 984 / 3 067** | **0 / 0 / 0 — byte-exact** |
273+| `ll420_allintra` | 1/1 exact | 1/1 exact |
274+| `ll444_allintra` | 1/1 exact | 1/1 exact |
275+| `ll444_c` | 18/18 exact | 18/18 exact |
276+
277+**Confirmed — the "delta 0" regression rows, on the report's own basis.**
278+
279+| cell | `d202b8b4` | `7a603bef` | delta |
280+|---|---|---|---|
281+| `W_intrabc` Y / U / V | 917974 / 474506 / 487692 | 917974 / 474506 / 487692 | **0 / 0 / 0** |
282+| `X_intrabc_tiled` Y / U / V | 864325 / 421746 / 414838 | 864325 / 421746 / 414838 | **0 / 0 / 0** |
283+
284+Six plane-totals, six zeros. This is the claim a merge-level measurement would
285+have refuted, and the isolated pair rescues it.
286+
287+**Not reproduced — the absolute figures.** The report's before/after W totals
288+`807779 / 389623 / 418698` and X totals `761090 / 361159 / 386148` do not
289+reproduce on its stated base `d202b8b4`; I measure `917974 / 474506 / 487692`
290+and `864325 / 421746 / 414838`, a 110 195-sample difference on W. The delta-zero
291+property holds; the absolute numbers come from some other build.
292+
293+**An omission, not an error.** `ll422_noibc` on the same pair moves
294+`Y 922750 / U 463030 / V 472221` → `U 452672 / V 462814` and goes 0/16 → 2/16
295+exact. The report's before/after table does not mention it.
296+
297+**UNTESTED, with reason.** "Prediction-sum disagreements 453 → 0 of 9600" — I did
298+not re-run the `EC_PRED` / `EC_PREDOUT8` rung pairing. My measurement of
299+`ll422_allintra` is byte-exactness over all 153 600 bytes of the frame on all
300+three planes, which is strictly stronger: zero prediction-sum disagreements is a
301+consequence, not an extra fact. The rung ladder itself remains unverified.
302+
303+---
304+
305+## 6. `81a21c7d` lane-av1422llinter2 — **CONFIRMED**, counters and arm reachability reproduced
306+
307+Lane base `cc211d13` (the merge's first parent) → `81a21c7d` (the merge), bypass
308+on both, decode order, all three planes:
309+
310+| cell | before | after | claimed |
311+|---|---|---|---|
312+| `W_intrabc` | 1/17 exact, Y 986 852 U 508 140 V 523 735 | **17/17 exact, 0 / 0 / 0** | 1/17 → 17/17 ✓ |
313+| `X_intrabc_tiled` | 1/17 exact | **17/17 exact, 0 / 0 / 0** | 1/17 → 17/17 ✓ |
314+| `Y_intrabc_10b` | **4 pictures emitted of 17** | **17/17 exact, 0 / 0 / 0** | 1/4 → 17/17 ✓ |
315+| `ll422_noibc` | 2/16 exact | **16/16 exact, 0 / 0 / 0** | 2/16 → 16/16 ✓ |
316+| `ll420_allintra` | 1/1 exact | 1/1 exact | unchanged ✓ |
317+| `ll444_allintra` | 1/1 exact | 1/1 exact | unchanged ✓ |
318+| `ll444_c` | 18/18 exact | 18/18 exact | unchanged ✓ |
319+
320+**Every gate-counter delta in the report reproduces EXACTLY** (`W_intrabc`):
321+
322+| counter | report before → after | my measurement |
323+|---|---|---|
324+| `chroma422_rect` | 88 → **0** | **88 → 0** |
325+| `chroma422_sub8` | 169 → **391** | **169 → 391** |
326+| `chroma422_square` | 3 312 → 3 312 | **3 312 → 3 312** |
327+| `intra128_lossless` | 8 → 0 | **8 → 0** |
328+| `rect4_16_pair.lossless_chroma` | 106 → 72 | **106 → 72** |
329+
330+**Arm reachability — measured, not assumed.** The fix changes a gate at **three**
331+call sites (single-ref inter, compound inter, intra-in-inter, all in
332+`decode_inter_block8`). A predicate fix proves nothing unless all three arms run,
333+so I added a temporary `thread_local!{Cell<usize>}` immediately after each of
334+the three gates and printed them from `examples/decode_probe.rs`, in the scratch
335+worktree, then discarded it with the worktree:
336+
337+| cell | single-ref | compound | intra-in-inter |
338+|---|---|---|---|
339+| `W_intrabc` | 131 | 356 | **202** |
340+| `X_intrabc_tiled` | 148 | 376 | **178** |
341+| `Y_intrabc_10b` | 3 | 166 | **565** |
342+| `ll422_noibc` | 111 | 109 | 0 |
343+| `ll444_c` (4:4:4) | 423 | 771 | 13 |
344+
345+**All three arms are exercised** on all three cells that went exact — the
346+intra-in-inter arm is the *most* exercised on `Y_intrabc_10b`. The pre-existing
347+`llintra8_chroma_walk` counter agrees exactly with my third column
348+(202 / 178 / 565 / 0 / 13). Note the trap I nearly fell into: that counter reads
349+**0 before** the fix, because the arm did not route there yet. Reading only the
350+"before" value would have produced a confident and completely wrong "this arm is
351+never reached".
352+
353+**Class sweep — the conclusion holds, one description is wrong.** I enumerated
354+every `lossless` + chroma-shape gate in `decode.rs` at main. The only other
355+4:4:4-keyed lossless chroma gate in the tree is
356+
357+```rust
358+} else if (chroma_444 || chroma_422) && lossless(fctx) { // 24544
359+} else if chroma_444 && lossless(fctx) { // 24618
360+```
361+
362+The report lists 24618 among sites that "were already shape-generic". It is not
363+shape-generic — it is **statically unreachable**: 24618's condition implies
364+24544's, so it can never be evaluated. "No fourth site exists" is therefore true
365+for every *reachable* site, and the report's characterisation of 24618 is wrong
366+in a way that would mislead a later reader into looking for a live 4:4:4-only
367+path there. The remaining lossless chroma gates (18365, 18366, 24500, 24752) are
368+shape-generic or the matching stamp guard.
369+
370+**The full 4:2:2 corpus, all 34 cells, both states** (decode order, `lossy_all/`
371+plus `probe/`):
372+
373+| cell | `cc211d13` | `81a21c7d` | report's §6 |
374+|---|---|---|---|
375+| `W_intrabc` | 1/17 | **17/17** | 1/17 → 17/17 ✓ |
376+| `X_intrabc_tiled` | 1/17 | **17/17** | 1/17 → 17/17 ✓ |
377+| `Y_intrabc_10b` | 1/17 (4 emitted) | **17/17** | 1/17 → 17/17 ✓ |
378+| `ll422_noibc` | 2/16 | **16/16** | 2/16 → 16/16 ✓ |
379+| `ll422_allintra` | 1/1 | 1/1 | ✓ |
380+| `422_allskip_2f` | 2/2 | 2/2 | ✓ |
381+| `422_intrabc_sb128_strip` | 5/5 | 5/5 | ✓ |
382+| `422_intrabc_sb128_strip_notxsearch` | 5/5 | 5/5 | ✓ |
383+| `422_residual_compound_warp_16f` | 16/16 | 16/16 | ✓ |
384+| `422_residual_compound_warp_nolr_16f` | 16/16 | 16/16 | ✓ |
385+| `422_sb128_3f` | 3/3 | 3/3 | ✓ |
386+| `AA_inter_compound` | 43/43 | 43/43 | ✓ |
387+| `AD_inter_nogm` | 43/43 | 43/43 | ✓ |
388+| `A_testsrc2_cpu0` | 17/17 | 17/17 | ✓ |
389+| `B_testsrc2_cpu6` | 17/17 | 17/17 | ✓ |
390+| `C_mandel320` | 16/16 | 16/16 | ✓ |
391+| `D_bars` | 16/16 | 16/16 | ✓ |
392+| `E_noglobal` | 17/17 | 17/17 | ✓ |
393+| `F_allintra` | 16/16 | 16/16 | ✓ |
394+| `H_10bit_testsrc2` | 17/17 | 17/17 | ✓ |
395+| `I_10bit_mandel` | 16/16 | 16/16 | ✓ |
396+| `J_10bit_lr0` | 17/17 | 17/17 | ✓ |
397+| `K_sct` | 17/17 | 17/17 | ✓ |
398+| `L_tiled` | 17/17 | 17/17 | ✓ |
399+| `R_odd322x240` | 17/17 | 17/17 | ✓ |
400+| `T_tilecols2` | 17/17 | 17/17 | ✓ |
401+| `U_tilerows1` | 17/17 | 17/17 | ✓ |
402+| `V_tile2x2_odd` | 17/17 | 17/17 | ✓ |
403+| `AB_inter_warp_odd` | 0/43 | 0/43 | 43 bad → 43 bad ✓ |
404+| `O_odd322x242` | 0/17 | 0/17 | 17 bad → 17 bad ✓ |
405+| `Q_odd320x242` | 0/17 | 0/17 | 17 bad → 17 bad ✓ |
406+| `S_odd326x242_10b` | 0/17 | 0/17 | 17 bad → 17 bad ✓ |
407+| `ll420_allintra` | 1/1 | 1/1 | ✓ |
408+| `ll444_allintra` | 1/1 | 1/1 | ✓ |
409+
410+**34 of 34 rows reproduce, before and after.** The odd-height cluster is
411+byte-identical before and after and stays at 0 — the report's "untouched, as
412+instructed" is exact.
413+
414+**Minor.** §6's summary line "24 of 31 unique 4:2:2 cells exact before". From the
415+report's own 31 rows, 8 are not exact before (W, X, Y, `ll422_noibc`, and the
416+four odd-height cells), so 23, not 24. "27 of 31 after" is correct. One-cell
417+arithmetic slip, same flavour as claim 2's total.
418+
419+**Minor.** The §5 per-frame before-table reproduces 46 of 48 (W) and 38 of 48 (X)
420+per-plane per-frame numbers exactly; the Y column is exact on all 17 frames of
421+both cells. Two W entries drift (`f11` U 33 187 reported vs my 33 204; `f6` V
422+26 030 vs my 26 029) and ten X entries drift by ≤ 64 samples.
423+
424+---
425+
426+## 7. Summary
427+
428+| merge | lane | verdict |
429+|---|---|---|
430+| `3698787d` | av1422lpf | **CONFIRMED** — 3 panics gone, 6 lossless controls byte-exact both states, cells honestly not-exact. Two sub-claims refuted (a non-existent Golomb refusal; a non-existent "does not decode to completion" blocker); §1.1's 4:2:0 counter-evidence not reproducible. |
431+| `9367642a` | av1444altref | **CONFIRMED** — 8/18 → 18/18 decode-order, 0/147/**170** = **317** display-order, gate reads both sides with an in-test flip control, mutation number reproduced. §1's decode-order table: f13 is 15 not 80 and the total is 397 not 317. |
432+| `2005a35d` | av1422llintra | **CONFIRMED** — 75 210 → 0 luma, 38 235/38 240 → 3 126/3 139, W and X frame 0 → 0/0/0, every headline integer exact. Three of six "after" whole-cell chroma figures do not reproduce. |
433+| `5c216458` | av1422llpred | **CONFIRMED on the headline** (U 3 126 → 2 984, V 3 139 → 3 067, still not exact). **REFUTED:** the "`X_intrabc_tiled` — no change" row; its U plane moves 421 744 → 421 746 (+2) on the report's own basis. |
434+| `ac00e9fb` | av1422llpred2 | **CONFIRMED** — `ll422_allintra` byte-exact, 4:2:0/4:4:4 controls unchanged, and both delta-0 regression rows hold exactly (six plane-totals, six zeros) on the isolated lane pair. Absolute W/X totals do not reproduce on its stated base. The 9600-unit prediction-sum ladder untested (subsumed by byte-exactness). |
435+| `81a21c7d` | av1422llinter2 | **CONFIRMED** — W 1/17 → 17/17, X 1/17 → 17/17, Y 4-of-17 → 17/17, `ll422_noibc` 2/16 → 16/16, all planes; **all five gate-counter deltas exact**; **all three fixed call sites measured as reached**; all 34 corpus rows exact. §1's description of `decode.rs:24618` as shape-generic is wrong (it is unreachable). |
436+
437+No merge's byte-exactness claim is refuted. Five of the six are confirmed with
438+every headline integer reproduced on the lane's own basis. The defects I found
439+are confined to: two retracted symptoms in the lpf report, one mislabelled
440+decode-order total and one wrong per-picture value in the altref report, three
441+non-reproducing whole-cell chroma figures in the llintra report, one false
442+"no change" regression row in the llpred report, and one unreachable gate
443+described as live in the llinter2 report. None of them changes a fix's direction
444+or a gate's verdict.
445+
446+## 8. What a future audit should not repeat
447+
448+* Measure the lane's **branch parent → branch tip**, not the merge's
449+ first-parent → merge. `ac00e9fb` carries lane-stackbox's changes.
450+* State the basis with the number. Decode order and display order differ by the
451+ hidden alt-refs' contribution; on `ll444_c` that is 80 samples out of 397.
452+* A counter that reads 0 **before** a routing fix is evidence the arm was not
453+ reached *then*, not that it is never reached. Read it after.
454+* Iterate frames when computing per-plane totals over a multi-frame stream. I
455+ wrote that bug myself mid-audit: one frame's plane geometry applied to a
456+ 16-frame concatenation reported `0/0/0` while a whole-file zip said 317.
457+* The oracle's `EC_CPRED` rung **segfaults** (exit 139, 0 bytes of stderr) on
458+ `W_intrabc.obu` with `EC_ZZCPRED=-1:-1:-1:-1`. Any future lane relying on that
459+ rung for 4:2:2 reachability will silently collect nothing.