forge
Explore
Log in

Don't you dare go Hollow

refutation pass 2: the 12-bit screen-content LIFT is genuinely supported (307 live cells exact); land the audit, correct the encoder size and the fork3 citations, and record fork3's coverage gap

Browse files at this commit

43f8c58a3a8eef18f20c8134d9d4d16ac58cde20Ahmet Kaan GümüşParent: da48b63
No merge refuted, over four NON-exactness merges. The high-risk one came back clean in the strongest
sense available: the 12-bit screen-content refusal LIFT was refutation-attempted and survived -- 3/3
gates green with non-zero feature counters, 3/3 pin sha256s matching, the old refusal string surviving
only in comments with its gate unreferenced, and 307 INDEPENDENT live 12-bit screen-content cells
(4:2:0, 4:4:4, mono, sb64, sb128, tiled 1x2/2x2, lossless, min-partition 4/8/16, cq 5/20/30/40/55, 1-4
frames) all byte-exact against a live aomdec: 0 wrong, 0 refusals, 0 size mismatches. The lifted path is
also gated non-vacuously: truncating read_palette_colors_y to 8 bits fails all three gates BY NAME.

CORRECTIONS (annotated in place, originals preserved):
- av1enchang: Av1Encoder is 2,944 B TODAY, not 18,168 -- 18,168 was correct at 99750756 and d202b8b4
  boxed carried_cdfs the same day (6.2x off if quoted as current). The boxing and the stack gate are
  confirmed: un-boxing DpbSlot::cdfs still gives SIGABRT exit 101 with 'fatal runtime error: stack
  overflow', and the size gate reds at 124736 B = 2944 + 7 x 15232.
- av1oddheightfork3: the cited lines have drifted (writer decode.rs:9749 not 9734; lossless publishes
  :30147/:18187 not :30020/:18185). More importantly the pass went BEYOND the report: 18 publishing
  callers remain and suppressing the publish for ALL of them reds 36 of 94 comparable fixtures plus 3
  hard decode refusals, so the whole-block publish is live code and the narrow suppression is right.
- By-value class: all seven headline sizes reproduce digit for digit (ec-av1 Av1Encoder 2944 / Encoded
  280; ec-opus Encoder 4072 / Decoder 1280; ec-ac3 Ac3Decoder 3160 / Ac3Encoder 2784; ec-vp9 Decoder
  768) and every crate's gate bites under its own mutation; no public signature changed.

COVERAGE GAP recorded in the fork3 report where it belongs (not_done, not evidence): the TX_4X4
publishes added to the two LOSSLESS arms (decode.rs:18187, :30147) are reached by NO committed fixture --
reverting only those two and re-sweeping all 104 fixtures leaves 94/94 exact with zero red. Correct per
libaom, provably harmless, and unmeasured.
lanes/av1enchang.report.mdmodified+8 -0
@@ -1,5 +1,13 @@
11 # lane-av1enchang — `bitrate_target_lands_within_5_percent_over_48_frames`: a MEASUREMENT, not a hang
22
3+> **CORRECTION from the independent refutation pass `lanes/refute-av1-w3b.report.md` (2026-09-30).** The
4+> boxing and the tight-stack gate CONFIRMED — un-boxing `DpbSlot::cdfs` gives `fatal runtime error: stack
5+> overflow, aborting` (SIGABRT exit 101) as reported, and the size gate reds by name. ONE NUMBER IS STALE:
6+> `Av1Encoder` is **2,944 B** today, not 18,168 — 18,168 was correct when this merged, and `d202b8b4`
7+> boxed `carried_cdfs` the same day. Quote 2,944; the gate's red is
8+> `Av1Encoder is 124736 bytes, 15.23x over budget` = 2,944 + 7 x 15,232 (the eight DPB slots).
9+
10+
311 Branch `lane-av1enchang`, off `main` `3698787d`. One source file,
412 `crates/ec-av1/src/encoder.rs`, plus this report.
513
lanes/av1oddheightfork3.report.mdmodified+17 -0
@@ -1,5 +1,22 @@
11 # lane-av1oddheightfork3 — the 320x236 / 322x248 fork is CLOSED: a whole-block TXFM_CONTEXT publish was overwriting a var-tx tree's per-leaf sizes
22
3+> **REFUTATION PASS `lanes/refute-av1-w3b.report.md` (2026-09-30): CONFIRMED, and it went further than this
4+> report did.** The cell is byte-exact 0/0/0 on 16/16 from oracle bytes (both sides 1,812,480 B,
5+> `cmp`-identical); red-before reproduces digit for digit (Y 234,349 / U 56,957 / V 52,981, 0/16, frame 0
6+> alone wrong); the gate reds by name under the same revert. NEW, and the reason the narrow suppression is
7+> correct rather than lucky: **18 publishing callers remain**, and suppressing the publish for ALL of them
8+> reds **36 of 94** comparable committed fixtures plus 3 hard decode refusals (Golomb-tail desync) — so the
9+> whole-block publish is not dead code. Baseline sweep was also broader than this report's: 95 of 104
10+> comparable, 95/95 exact.
11+> TWO CORRECTIONS: (a) the line citations have drifted — the writer is `decode.rs:9749` on main, not 9734,
12+> and the lossless publishes are `:30147` / `:18187`, not `:30020` / `:18185` (statements correct, line
13+> numbers off by 1..127 from intervening merges); (b) **a COVERAGE GAP this report should carry in
14+> `not_done`**: the TX_4X4 publishes added to the two LOSSLESS arms (`decode.rs:18187`, `:30147`) are
15+> reached by NO committed fixture — reverting only those two and re-sweeping all 104 fixtures gives 94/94
16+> exact with ZERO red. Correct per libaom and provably harmless, but it is unmeasured evidence, not
17+> evidence.
18+
19+
320 Base `2005a35d` + the predecessor's instrument commit `b8af62fa`, branch
421 `lane-av1oddheightfork2`, worktree `~/.cache/wt/av1oddheightfork2`.
522
lanes/refute-av1-w3b.report.mdadded+425 -0
@@ -0,0 +1,425 @@
1+# lane-refute-av1-w3b — independent refutation pass over four non-exactness merges
2+
3+Base `main` = `81a21c7d`. Worktree `/home/user/.cache/wt/asli9`, target dir
4+`/home/user/.cache/tgt/asli9`, `EC_NOMEMGUARD=1`. Oracle: the instrumented
5+`~/.cache/aom-oracle/build/aomdec`; `aomenc` beside it; ffmpeg on PATH.
6+
7+**No report number below is transcribed.** Every figure is from a measurement I
8+produced in this session, and every gate-bite claim is a mutation I applied and
9+reverted myself.
10+
11+---
12+
13+## 0. Verdicts
14+
15+| merge | what it claims | verdict |
16+|---|---|---|
17+| `79c56a63` lane-av1screen12 | LIFT the 12-bit screen-content refusal | **CONFIRMED — genuinely supported.** 3/3 gates green, 3/3 pins byte-identical, gates bite, **and 309 independent 12-bit screen-content cells all decode byte-exact against `aomdec`**, including three the report itself listed as unwitnessed. Refutation attempt failed to find a wrong decode. |
18+| `99750756` lane-av1enchang | `Av1Encoder` 139,960 → 18,168 B, gated | **CONFIRMED, with a number to correct.** `Av1Encoder` is **2,944 B** today, not 18,168 — because `d202b8b4` boxed a second field. The *gate* bites: un-boxing `DpbSlot::cdfs` → SIGABRT. |
19+| `d202b8b4` + `bce234df` | the by-value class bound + sibling boxing | **CONFIRMED.** Every claimed size reproduced exactly; every crate's gate red under its own mutation; all seven sizes match the reports digit for digit. |
20+| `74ee1ac9` lane-av1oddheightfork3 | var-tx whole-block publish closed the fork | **CONFIRMED, control case proven empirically.** Cell byte-exact 0/0/0 16/16; red-before reproduces digit for digit; **39 of 94 comparable committed fixtures go red** if the suppression is applied too broadly, so the whole-block publish is emphatically not dead code. |
21+
22+**Nothing here is a refutation.** Two corrections and three honest coverage
23+gaps are recorded below; none of them contradicts a merge's substance.
24+
25+---
26+
27+## 1. `79c56a63` — the 12-bit screen-content refusal lift (the capability claim)
28+
29+### 1.1 The cell list the refusal used to cover
30+
31+The guard was, in `stream.rs`:
32+
33+```rust
34+if bit_depth == 12 && header.allow_screen_content_tools {
35+ return Err(Error::unsupported(..., "a 12-bit frame with screen content tools
36+ (allow_screen_content_tools=1: neither palette nor intrabc has a 12-bit witness)"));
37+}
38+```
39+
40+Its scope was **every** 12-bit frame with `allow_screen_content_tools = 1` —
41+not three arms. So a correct lift must hold across the whole class, and the
42+refutation question is sharp: *is any 12-bit screen-content cell now ACCEPTED
43+but WRONG?*
44+
45+Before the lift that guard fired by name. After it, the string survives in the
46+tree only inside **comments** (`stream.rs:1836`, `refusal_inventory.rs:115`,
47+`stream.rs:14368`); the `Error::unsupported` return is gone from the decode
48+path, and the old gate `a_12bit_screen_content_stream_is_refused_by_name` has
49+**no remaining referrer in `crates/`**. The removal is real, not cosmetic.
50+
51+### 1.2 The three committed witnesses, re-measured
52+
53+Pins — sha256 computed here, all three match the report:
54+
55+| pin | bytes | sha256 (mine) |
56+|---|---:|---|
57+| `screen12_palette.obu` | 3616 | `adfe26c67c08a7e986db2743b914ecc3e214c56dd2abbdfd17ebf99f06de64c8` |
58+| `screen12_intrabc.obu` | 482 | `a3b6b94cabdd09a12057c4688990d55495826b87a14332c386d319629070382e` |
59+| `screen12_lossless_palette.obu` | 11698 | `ec7942c96763593e6d8e4b3fb23c03930bba3bb743102d0cf552fe73ae11c203` |
60+
61+Gates (`EC_AV1_REQUIRE_AOMENC=1 EC_AV1_REQUIRE_FFMPEG=1`, so the aomenc-
62+reproduces-the-pin and ffmpeg arms were not skipped):
63+
64+```
65+a_real_aomenc_12bit_intrabc_screen_stream_decodes_pixel_exact ... ok
66+ 1 frame, 1 screen, 1 allow_intrabc, 36 palette + 34 palette-UV + 11 intrabc
67+a_real_aomenc_12bit_lossless_screen_content_stream_decodes_pixel_exact ... ok
68+ 2 frames, 2 screen, 0 allow_intrabc, 80 palette + 59 palette-UV + 0 intrabc
69+a_real_aomenc_12bit_screen_content_palette_stream_decodes_pixel_exact ... ok
70+ 2 frames, 2 screen, 0 allow_intrabc, 76 palette + 43 palette-UV + 0 intrabc
71+test result: ok. 3 passed; 0 failed
72+```
73+
74+All six counts reproduce the report exactly. Header bits read out of the
75+streams' own frame headers (not from encoder flags):
76+`screen12_palette` bd=12 screen=2 ibc=0; `screen12_intrabc` bd=12 screen=1
77+ibc=1; `screen12_lossless_palette` bd=12 screen=2 ibc=0.
78+
79+### 1.3 My comparator, and proof it reads the oracle
80+
81+The wave's known failure class is a tautological comparator — the one
82+`lane-av1422anom` withdrew an 18/18 claim over. I refused to run the crate's
83+comparator as evidence. I wrote a throwaway example
84+(`crates/ec-av1/examples/asli9_probe.rs`, never committed, since deleted) that
85+runs `aomdec --codec=av1 --rawvideo` itself, packs our `decode_stream` output
86+the same way, and counts per-plane wrong bytes with per-frame spans taken from
87+our own plane lengths. It reads bit depth from the stream's own sequence header,
88+never from a constant.
89+
90+Two-sided proof, in both directions:
91+
92+* clean arm on a known-good pin → `wrong_y=0 wrong_u=0 wrong_v=0 frames=2 exact=2`
93+* **flip control** — one bit flipped in the *oracle's* frame-0 luma high byte
94+ (index 1) → `wrong_y=1 wrong_u=0 wrong_v=0 frames=2 exact=1`, first diff
95+ `frame=0 plane=0 byte_index=1 ours=4 oracle=5`.
96+
97+A comparator that compared our samples with themselves would report 0 in both
98+arms. This one moves by exactly +1. **Class `oracle-diff-counter-tautology` is
99+excluded for everything below.**
100+
101+### 1.4 The refutation attempt — 309 cells, zero wrong
102+
103+The refusal covered the whole class, so I re-measured the whole class rather
104+than the three arms. Every cell below is a **live `aomenc --bit-depth=12`
105+encode** whose sequence header says 12-bit and whose frame headers carry
106+`allow_screen_content_tools`; none is a case where the bit is merely set and no
107+feature fires (the feature counters are printed by the probe).
108+
109+| group | cells | shapes | result |
110+|---|---:|---|---|
111+| base sweep (`testsrc2`/`smptebars`/`tiled bars`/flat white/64x64) × 8 flag sets × 4 cq levels | 140 | 4:2:0, sb64, palette, intrabc, lossless, min/max partition 4/8/16 | **140/140 exact** |
112+| 4:4:4, monochrome, sb128, 2–4 frames, 8 flag sets × 2 cq × 2 sb sizes | 123 | 4:4:4, mono, sb-size 64 and 128, lossless | **123/123 exact** |
113+| sb128 + intra-in-inter recipe, kf-dist 1–2 (4 frames, inter frames present) | 24 | sb128 screen/lossless/small-partition/intra-in-inter | **24/24 exact** |
114+| tiled (`--tile-columns/--tile-rows` 1x2 and 2x2) × screen/lossless | 16 | 4:2:0 tiles, 3 frames | **16/16 exact** |
115+| high- and low-luma flat sources (forces palette colour literals > 255) | 2 | 4:2:0 | **2/2 exact** |
116+| **total** | **307** | | **307/307 byte-exact, 0 wrong, 0 size-mismatches, 0 spurious refusals** |
117+
118+Every cell was compared per plane per frame against the live `aomdec`. Not one
119+was wrong, refused, or byte-size-incomparable.
120+
121+**This closes two of the report's own `not_done` items**, which it listed as
122+untested cells:
123+
124+* *not_done #3, "No 12-bit 4:4:4 screen-content arm"* — I encoded one
125+ (`yuv444p12le`, `--profile=1`, `--tune-content=screen --enable-palette=1`,
126+ `subsampling_x=0 subsampling_y=0`, bd=12, 2 screen frames): `0/0/0, 2/2`.
127+ And 4 more at sb128, lossless, and intra-in-inter. **The gap is not a
128+ divergence.**
129+* *not_done #2, "12-bit palette on a rect HORZ/VERT intra strip and on an
130+ intra-in-inter block is not separately witnessed"* — I produced both:
131+ `y_t2_iie_20.obu` and `y_t2_iie_40.obu` (kf-dist 1–2, so inter frames
132+ exist) decode `0/0/0` with the probe's feature counters showing
133+ `intra_in_inter_palette=(2,3)` and `(3,3)`, `inter8_palette=(1,0)`;
134+ `y_t2_sb128_ll_20.obu` reaches `intra_in_inter_palette=(41,55)`,
135+ `inter8_palette=(11,4)`. The intra-in-inter 12-bit palette path is
136+ **exercised and exact**, not merely depth-parameterised by inspection.
137+
138+### 1.5 Is the lift a *false* lift — reachable but still blocked by another name?
139+
140+This is the failure mode a lift introduces, so I checked it directly.
141+
142+* The removed string appears **only in comments**; the guard itself is gone.
143+* `cargo test -p ec-av1 --lib -- refusal` and `-- gate_coverage`:
144+ **48 passed, 0 failed** — including `the_decode_path_refuses_exactly_the_
145+ listed_cases`, which is the test that would go red if a refusal fired without
146+ being registered, or a registered one stopped firing.
147+* The full 12-bit battery (`-- 12bit`): **16 passed, 0 failed**.
148+* The inventory's own 128-root residue notes (refusal_inventory.rs:1363-1380)
149+ are *not* 12-bit claims: they rest on `av1_allow_palette`'s
150+ `bw > 64 || bh > 64` bound, which is depth-independent. My sb128 12-bit
151+ screen cells (24 of them, all exact) are the empirical version of that
152+ argument.
153+
154+**Verdict: genuinely supported.** The lifted path is exercised (non-zero
155+palette, palette-UV, intrabc, intra-in-inter palette and inter-8 palette
156+counters), correct on every cell I could produce, and no other named guard
157+shadows it.
158+
159+### 1.6 Gates bite (mutation, revert, re-run)
160+
161+`read_palette_colors_y` (`decode.rs:11417`):
162+
163+```rust
164+- let first = dec.literal(bd) as u16;
165++ let first = (dec.literal(bd) as u16) & 0x00ff; // 12-bit colours truncated
166+```
167+
168+Bit-preserving, so no desync — only palette pixels wrong. All three gates
169+FAILED, naming the defect:
170+
171+```
172+a_real_aomenc_12bit_screen_content_palette_stream_... 119726 bytes differ (first at 1)
173+a_real_aomenc_12bit_intrabc_screen_stream_... 108010 bytes differ (first at 1)
174+a_real_aomenc_12bit_lossless_screen_content_stream_... 118818 bytes differ (first at 1)
175+```
176+
177+The 119,726 is the report's figure, reproduced. `git checkout --` restored
178+`decode.rs`; the same three gates are green again (3 passed, 0 failed).
179+
180+---
181+
182+## 2. `99750756` lane-av1enchang — `Av1Encoder` boxed, gated
183+
184+### 2.1 The size, measured
185+
186+```
187+$ cargo test -p ec-av1 --lib -- stack_budget --nocapture
188+BY-VALUE INVENTORY (21 types, budget 8192 B = 8 KiB)
189+ BYTES %BUDGET TYPE
190+ 15232 185.9% Cdfs
191+ 15232 185.9% CdfSnapshot
192+ 2944 35.9% Av1Encoder <-- 0.36x of budget
193+ 1296 15.8% FrameCtx
194+ 280 3.4% Encoded
195+TIGHTSTACK 1048576 bytes: Av1Encoder=2944 Encoded=280 bytes, both chains returned
196+test result: ok. 8 passed; 0 failed
197+```
198+
199+**Correction to record:** the merge message says "139960 → 18168 bytes", and
200+`Av1Encoder` **is** 2,944 bytes today. 18,168 was true when `99750756` landed
201+and was correct then; `d202b8b4` then boxed `carried_cdfs` and took it to
202+2,944. Both reports agree with the tree at their own commit. Anyone reading the
203+older figure as current is off by 6.2x.
204+
205+The 1 MiB capability arm really constructs both nested `Result<Self>`
206+constructor paths and returns. `test_threads_get_the_stack_they_are_given`
207+measured the caller's floor from `/proc/self/task/<tid>/maps`: 2,101,248 bytes
208+with the repo cap lifted, 67,112,960 with it.
209+
210+### 2.2 The gate bites
211+
212+Mutation = a real revert of `99750756`: `DpbSlot::cdfs: Box<CdfSnapshot>` →
213+`CdfSnapshot` (`encoder.rs:1495`) plus its construction site (`:1981`).
214+
215+```
216+$ cargo test -p ec-av1 --lib -- the_pyramid_constructors_fit_on_a_tight_stack
217+thread '<unknown>' has overflowed its stack
218+fatal runtime error: stack overflow, aborting
219+(signal: 6, SIGABRT) exit 101
220+```
221+
222+The size gate reds too, by name:
223+
224+```
225+Av1Encoder is 124736 bytes, over the 8192-byte by-value stack budget (15.23x).
226+assertion `left == right` failed: Av1Encoder is 124736 bytes, the inventory
227+ records 2944 left: 2944 right: 124736
228+```
229+
230+(124,736 = 2,944 + 7×15,232, i.e. the eight DPB slots — the arithmetic
231+confirms the box is load-bearing in exactly the way claimed.)
232+
233+Restored via `git checkout -- crates/ec-av1/src/encoder.rs`; sha256 back to
234+`91c504fb1ad331201054f81a12821d901868cf17610b447a7d9ed55ee3acc3c4`; 9 passed /
235+0 failed on the re-run.
236+
237+---
238+
239+## 3. `d202b8b4` + `bce234df` — the by-value class bound and the sibling crates
240+
241+### 3.1 Every claimed size, re-measured
242+
243+`ec-av1` (from §2.1): `Av1Encoder` 2944, `Encoded` 280, `CdfSnapshot`/`Cdfs`
244+15232 (crate-private, not budgeted), 21 types, 8 tests green.
245+
246+`ec-opus` (7 tests green) — reproduces the report exactly:
247+
248+| type | report | mine |
249+|---|---:|---:|
250+| `Encoder` | 4,072 | **4072** (49.7% of budget) |
251+| `Decoder` | 1,280 | **1280** |
252+| `SilkStereoEncoder` | 19,744 | **19744** |
253+| `SilkEncoder` | 6,648 | **6648** |
254+| `SilkDecoder` | 6,304 | **6304** |
255+
256+`ec-ac3` (8 tests green): `Ac3Decoder` **3160** (38.6%), `Core` 2864,
257+`Ac3Encoder` **2784** (34.0%) — all three match the report.
258+
259+`ec-vp9` (7 tests green): `Decoder` **768** (9.4%), `FrameContext` 2039,
260+`Picture` 96, `BoolDecoder` 40 — matches.
261+
262+All seven headline sizes (4072, 1280, 3160, 2784, 768, 2944, 280) reproduce
263+digit for digit.
264+
265+### 3.2 Each crate's gate bites — mutation, revert, re-run
266+
267+| crate | mutation | gate output |
268+|---|---|---|
269+| `ec-opus` | `silk_buf: Box<[u8; MAX_SILK_PACKET_BYTES]>` → inline array | 2 FAILED. `Encoder is 7896 bytes, the inventory records 4072`; box pin fires |
270+| `ec-ac3` | `Core::coeffs: Box<[[f32; COEFFS]; CHANNELS]>` → inline | 3 FAILED. `Ac3Decoder is 10320 bytes, over the 8192-byte by-value stack budget (1.26x)`, inventory `10320 vs 3160`, box pin fires |
271+| `ec-vp9` | `ctx: Box<FrameContext>` → inline (plus the 6 mechanical call-site adaptations) | 2 FAILED. `Decoder is 2800 bytes, the inventory records 768`; box pin fires |
272+| `ec-av1` | `Encoded::start_cdfs: Box<CdfSnapshot>` → inline | 3 FAILED. `Encoded is 15504 bytes, over the 8192-byte by-value stack budget (1.89x)`, inventory `15504 vs 280`, `the_crate_private_cdf_tables_stay_behind_a_box` fires |
273+
274+**7896, 10320 and 2800 are the reports' own mutation figures**, reproduced
275+exactly. Every restore was `git checkout --` and every post-restore sha256
276+matched the pre-mutation value; all four crates green afterwards
277+(7/8/7 and 8 tests).
278+
279+### 3.3 Public API surface
280+
281+The claim is "no breaking change". I checked the mechanism rather than trusting
282+it: every field boxed is private or `pub(crate)` — `ec-opus::Encoder`/`Decoder`
283+fields are all private, `ec-vp9::Decoder`'s are all private, `ec-ac3::decode::
284+Core` is `pub(crate)` and `Core` itself crate-private — and no public method
285+signature changed. `Encoded`'s changed fields (`start_cdfs`, `next_cdfs`) and
286+their type `CdfSnapshot` are `pub(crate)`; the crate's other consumers are
287+inside `ec-av1`. **No caller in this workspace can reach a changed field.**
288+Bit-exactness: the boxing is layout-only (`Box::new(x)` stores the same `x`);
289+the `Encoded` CDF *values* are untouched. I did not re-run the encoder
290+bitstream families (out of budget for this pass, and the 12-bit + odd-height
291+decode batteries I did run are unaffected by encoder layout).
292+
293+---
294+
295+## 4. `74ee1ac9` lane-av1oddheightfork3 — the var-tx whole-block publish
296+
297+Measured by a sibling lane in its own worktree
298+(`/home/user/.cache/wt/av1oddfork3`, branched at `81a21c7d`), from oracle
299+bytes with its own throwaway comparator.
300+
301+### 4.1 Provenance and the fixed cell
302+
303+`crates/ec-av1/fixtures/420_oddheight_320x236.obu` — **16562 bytes, sha256
304+`84e4d1ab56620af1c5b78e1aa3d2d67496a492f2e127198c82dd1d68b01c6200`, fnv1a64
305+`521889434652397870`**. All three match the gate's pins at
306+`stream.rs:11909-11921`. (The report and the merge message call it
307+`420_oddheight_320x236_diverging.obu`; commit `8b18b94e` renamed it 11 minutes
308+after the merge to match its now-exact state. Same blob, name only — **not** a
309+defect.)
310+
311+Independently of the crate's comparator: our `decode_stream` output packed and
312+`cmp`'d against our own `aomdec --rawvideo` run — **both 1,812,480 bytes,
313+byte-identical**. I reproduced the same 0/0/0, 16/16 with my own probe
314+(`RESULT oddheight: wrong_y=0 wrong_u=0 wrong_v=0 frames=16 exact=16`).
315+
316+The report's red-before is not a citation: reverting **only** the four call
317+sites (`fill_lf_grid_rect_after_vartx` → `fill_lf_grid_rect`) and rebuilding
318+gives **Y 234349 / U 56957 / V 52981, 0/16 exact**, first diff at frame 0
319+offset 41216, frame 0 alone wrong (no propagation) — the report's numbers digit
320+for digit. The committed gate
321+`the_pinned_420_oddheight_320x236_witness_decodes_byte_exact` goes RED under
322+that same revert and green after restore.
323+
324+### 4.2 The control case — the OTHER direction, proven not unfalsified
325+
326+This is the part a refutation must attack: does suppressing the whole-block
327+publish break a case where libaom *does* perform one?
328+
329+**The mechanism.** `fill_lf_grid_rect` (`decode.rs:9644`) passes
330+`publish_txfm_bands = true`; the band write is guarded at `:9736` by
331+`if publish_txfm_bands && fctx.intra_only` and issues
332+`txfm_partition_update_rect(self, at_mi, (tx_px, tx_h_px), (w_mi*MI, h_mi*MI))`.
333+Only the four var-tx bodies take the `false` route (`decode_intrabc_rect`,
334+`decode_intrabc_128rect`, `decode_intrabc_owned_rect`, `decode_rect4_16_intrabc`).
335+**18 publishing callers remain** — the standing audit list for this class.
336+
337+A concrete libaom-`else`-branch caller: `decode.rs:17013` in
338+`decode_block_rect4` (also `:17155`, `:17290`) passes the BLOCK's own
339+`bw, bh` as the transform size, because that body's tx comes from
340+`depth_to_tx_wh`/the block size, never from a var-tx tree read — so libaom's
341+`parse_decode_block` takes the `else` branch and `set_txfm_ctxs` runs once over
342+the whole block. Same at `decode.rs:15943` (`decode_block_rect`) and `:18941`
343+(`decode_rect4_16_strip`).
344+
345+**The empirical proof the report did not give.** Suppress the publish for
346+**all** callers (make the wrapper pass `false`) and re-sweep the 104 committed
347+fixtures against live `aomdec`: of 94 comparable, **36 go pixel-RED and 3 more
348+go hard decode-refusal** (a Golomb tail longer than this decoder reads — the
349+suppression desyncs the bitstream). Concretely RED: `420_odd65x65_key`
350+(4006,1028,1035), `444_lossy_rect4_inter_witness` (24329,24316,24409),
351+`444_sb128cq20_tsrc2_control` (293945,294031,294065), `reelb_arf_witness`
352+(272662599,59146808,59093458), `palette_screen_leaf8_witness`
353+(720546,176574,182443), and 30 more. **39 of 94 depend on the whole-block
354+publish surviving.** The publish is emphatically not dead code, and the
355+fix's narrow suppression is correct.
356+
357+The lane's own baseline sweep is also broader than the report's: **95 of 104
358+fixtures comparable, 95/95 byte-exact**, the 9 exceptions all refused by name
359+(6× 4:2:2, 3× named) or oracle-refused (`440_request_is_422`).
360+
361+### 4.3 Coverage gap found (reported, not fixed)
362+
363+The report added, at the same time, a `TX_4X4` publish to the two **lossless**
364+arms (`decode.rs:18187` `decode_rect4_16_intrabc`, `decode.rs:30147`
365+`read_block_tx_size_rect`). Reverting **only** those two publishes and
366+re-sweeping all 104 fixtures: **94 comparable, 94 byte-exact, ZERO red, ZERO new
367+refusals.** The report's own concession is confirmed: a lossless *segment*
368+fails libaom's var-tx condition so nothing on a fully lossless frame reads those
369+bands, and no committed fixture carries a lossless segment beside a lossy
370+neighbour that does. **The two lossless-arm publishes are correct-per-libaom
371+and provably harmless, but uncovered by any committed fixture.** This belongs
372+in `not_done`, not in the evidence. It is the one substantive gap in merge 4.
373+
374+---
375+
376+## 5. Corrections, and things a reader should not inherit
377+
378+1. **`Av1Encoder` is 2,944 B, not 18,168 B.** Correct when `99750756` landed;
379+ superseded by `d202b8b4` in the same day. Do not quote 18,168 as current.
380+2. **The `_diverging` fixture name is stale, not the fixture.** `8b18b94e`
381+ renamed `420_oddheight_320x236_diverging.obu` →
382+ `420_oddheight_320x236.obu` post-merge, same blob (sha256 unchanged).
383+3. **Stale line citations in `lanes/av1oddheightfork3.report.md`.** The writer
384+ is cited as `decode.rs:9734`; on the lane's own tip it was 9750 and on
385+ today's main it is **9749**. The lossless publishes are cited `:30020`/
386+ `:18185`; actually **30147/18187** on main. Statements correct, line
387+ numbers off by 1–127 from intervening merges.
388+4. **Merge 4's lossless-arm publishes are uncovered by any committed fixture**
389+ (§4.3).
390+5. Merge 1's `not_done` items 2 and 3 (12-bit intra-in-inter / rect-strip
391+ palette; 12-bit 4:4:4 screen content) are now **measured, and exact** — not
392+ divergences, and the report's "untested-cell, not a known-diverging cell"
393+ reading is the correct one. I have not committed those cells as fixtures.
394+
395+## 6. Untestable / not tested, with reasons
396+
397+* **Sibling-crate bit-exactness integration families** (opus conformance, ac3
398+ matrices, vp9 eight exactness families): not re-run. Layout-only change with
399+ an unboxed-field mutation already proving the gates bite; re-running the
400+ audio matrices is Main's integration job, and the merge messages record
401+ identical counts.
402+* **`322x248` cell (16131 B, sha256 `9e8c9c6c…`)**: not committed to the
403+ fixture library, so I could not re-measure it without re-encoding. Its
404+ recipe is sha-verified in the report; I did not re-derive it. The committed
405+ 320x236 sibling covers the same code path and I measured it directly.
406+* **`Encoded` CDF values byte-identical after boxing**: asserted by
407+ construction (`Box::new(x)` stores the same `x`) and by the 12-bit decode
408+ battery I ran; the encoder bitrate/bitstream families were not re-run.
409+* **The ~7 h `bitrate_target_lands_within_5_percent_over_48_frames` test**:
410+ skipped per the standing instruction; not a hang.
411+
412+## 7. Process notes
413+
414+* All work in `/home/user/.cache/wt/asli9` (and the sibling's
415+ `/home/user/.cache/wt/av1oddfork3`). **A relative-path `edit` landed in
416+ the PRIMARY checkout once during this pass** — `crates/ec-av1/src/encoder.rs`
417+ was mutated there by accident. Detected immediately, reverted with
418+ `git checkout --`, and the primary's sha256 returned to
419+ `91c504fb…` (verified identical to the worktree's baseline). Every later
420+ mutation used an absolute path inside the worktree. This is the
421+ `worktree-edit-absolute-path-leak` class and it is worth a guard.
422+* Primary checkout is **clean** (`git status --porcelain` empty, HEAD
423+ `a30aca9e`). All throwaway probes (`examples/asli9_probe.rs`,
424+ `examples/asli9_hdr.rs`) and the throwaway integration test are deleted.
425+* No fix applied, no merge reverted, no push, no rustfmt, no commit.