forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on b9fb4993feeadbdcf2853662b5ccae71b13d5fed

2026-10-01

lane-av1unwritten r3: the predicate is a transcription of av1_ss_size_lookup, not a guessAhmet Kaan Gümüş · b9fb499
lane-av1unwritten r3: the predicate is a transcription of av1_ss_size_lookup, not a guess

Main's r3 refutation is right on both counts. The r2 four-cell match refused
(16,4) at ss (1,0), where the table says BLOCK_8X4 -- a legal 4:2:2 shape that
libaom's own encoder emits, since partition_search.c:3383-3389 gates
partition_rect_allowed[HORZ] with exactly this table. And it covered two of the
eight shapes libaom refuses at 4:2:2; r2's claim that the 32/64-level roots need
no check was true of the PARENT rows and false of the children
(get_partition_subsize(BLOCK_32X32, PARTITION_VERT) = BLOCK_16X32, INVALID at
(1,0)).

chroma_plane_block_codable is now two const lists holding every BLOCK_INVALID
cell of common_data.c:17-41 and nothing else -- at (1,0): 4x8, 8x16, 16x32,
32x64, 64x128, 4x16, 8x32, 16x64; at (0,1): 8x4, 16x8, 32x16, 64x32, 128x64,
16x4, 32x8, 64x16; none at (0,0) or (1,1) -- so a reader diffs it against the C
source line by line.

New gate chroma_plane_block_codable_matches_the_libaom_table transcribes all 22
rows x 4 subsampling pairs literally and asserts agreement cell for cell. It
reds on exactly the mistake r2 made: transcribing it caught two rows (32x8 and
64x16 at (0,1)) I had copied wrong out of the briefing, and it pins 16x4@4:2:2
as legal, which is the direction the corpus cannot see.

Site coverage is now stated as installed (partition_w8, partition_w16) plus six
named gaps (VERT_4/HORZ_4 1:4 -> 4x16; w32/w64/128 VERT -> 16x32/32x64/64x128;
VERT_A/VERT_B -> 8x32/16x64), each with the next step, rather than claiming
coverage. decode_rect4_16_intrabc stays out of scope and is named as such.

Regression on the corrected predicate: 127 fixtures, both trees, per-fixture
aggregate hashes -- differing: ['440_request_is_422'], 126 emitting dumps, one
REFUSED. Gates green: the table test, the refusal gate with its 4:2:2 positive
control, and the realigned the_440_cell_is_not_a_codable_chroma_shape.
lane-av1unwritten r2: refuse the subsize libaom calls corrupt, not a TX_4X8 unitAhmet Kaan Gümüş · ff41e00
lane-av1unwritten r2: refuse the subsize libaom calls corrupt, not a TX_4X8 unit

Refutation (Agent03-5, verified by Main) killed this lane's first fix: the
TX_4X8 chroma arm it landed was a port of behaviour libaom does not have.
get_plane_block_size is a single indexed return, av1_ss_size_lookup[bsize]
[ss_x][ss_y] (blockd.h:1186-1193) -- no per-axis MIN -- and BLOCK_4X8 at
ss (1,0) is BLOCK_INVALID, so libaom never reaches max_txsize_rect_lookup for
that shape. That arm, its chroma-extent derivation and its coverage gate are
all reverted.

What is actually wrong is a MISSING REFUSAL. aomdec on the pinned witness:

  Failed to decode frame 1: Corrupt frame detected
  Additional information: Block size 8x16 invalid with this subsampling mode

decode_partition checks exactly that before descending into a subsize
(decodeframe.c:1449-1458): get_plane_block_size(subsize, ss_x, ss_y) ==
BLOCK_INVALID is AOM_CODEC_CORRUPT_FRAME. So a 4:2:2 header over a 4:2:0
tile names subsizes that have no chroma plane block, and the nondeterministic
output was what decoding them anyway looks like downstream.

Fix: chroma_plane_block_codable() (the four BLOCK_INVALID cells of
av1_ss_size_lookup, nothing else) + refuse_invalid_plane_block(), a RETURNED
error carrying libaom's own wording -- never an assert!, since a partition
symbol is stream data. Installed where a partition symbol becomes a strip
subsize with a chroma plane block: partition_w8 -> 8x4 / 4x8, partition_w16
-> 16x8 / 8x16. The PARTITION_HORZ_4 / VERT_4 1:4 sites (4x16 / 16x4) are a
named gap, not silently left out.

Gates: a_422_header_over_a_420_tile_refuses_the_subsize_libaom_calls_corrupt
(refusal + libaom's wording + a genuine 4:2:2 positive control so it cannot
pass by refusing everything); the_440_cell_is_not_a_codable_chroma_shape's
lane-av1422lift "it decodes" arm realigned to the same contract, its 4:4:0-
request-lands-on-4:2:2 claim untouched. Corpus: all 127 fixtures decoded on
both trees and every EC_AV1_FINAL_DUMP frame hashed -- the only difference is
the witness, which now refuses; the other 126 are byte-identical.

Kept: the EC_AV1_PLANE_SENTINEL-gated census instrument (census_unwritten,
set_plane_sentinel, take_unwritten_samples, take_census_scanned) that found
the class. Its comment no longer claims a flag it does not have.
lane-av1unwritten: a 4:2:2 chroma block the walk never coveredAhmet Kaan Gümüş · 24bb8e9
lane-av1unwritten: a 4:2:2 chroma block the walk never covered

sub8_leaf_chroma422 wrote ONE square TX_4X4 where libaom writes ONE TX_4X8
(av1_get_max_uv_txsize(BLOCK_4X8, 1, 0) == max_txsize_rect_lookup[BLOCK_4X8],
through get_plane_block_size's per-axis MIN), so every 4:2:2 8x8 block coded
PARTITION_HORZ left the bottom four chroma rows of its plane block unwritten.
The uninitialised plane memory reached the output: the pinned
440_request_is_422.obu hashed five different ways over five runs while every
census count read identical.

The fix routes that one shape to leaf8_chroma422_unit -- the port that already
exists for a BLOCK_8X8 4:2:2 leaf, same TxbSet/scan/inverse-transform/push --
with the unit's reach, entropy context and CfL AC span following the taller
unit. The two intrabc shapes hand their frame copy over through that function's
existing pred_override. The square arms stay for leaf=(4,4) (the
decode_leaf_split4 route already tiles 4x8 correctly) and for lossless, where
av1_get_tx_size returns TX_4X4 on every plane and libaom walks two stacked
4x4 units.

Evidence: sentinel census of all 127 committed fixtures is empty on every
frame before AND after except the witness, which goes 112 -> 0 per chroma
plane; every fixture's EC_AV1_FINAL_DUMP hashes byte-identically pre/post
except the witness; the defective leaf=(4,8) shape fires 0 times in 3528 real
sub8_leaf_chroma422 invocations across the 4:2:2 corpus (7 on the witness), so
no committed valid stream regresses. New instrument EC_AV1_SENTINEL_CENSUS
plus decode::set_plane_sentinel / take_unwritten_samples / take_census_scanned,
and the gate a_422_header_over_a_420_tile_leaves_no_sample_unwritten (reds at
224 unwritten samples with the fix disabled).
Merge lane-av1422lift: the 4:2:2 sequence-header refusal is lifted -- 4:2:2 decodesAhmet Kaan Gümüş · 05c4451
Merge lane-av1422lift: the 4:2:2 sequence-header refusal is lifted -- 4:2:2 decodes

The user's decision was fix the diverging cells, then lift. The cells are fixed (the last one closes in `a115abae`),
and this is the lift: the guard at `stream.rs:1803-1808` is gone, its residual -- the uncodable 4:4:0 `(0,1)` shape,
which the parser cannot produce because `subsampling_y` is read only when `subsampling_x == 1` -- closes with an
**assertion** rather than a comment or a refusal string, per this repo's rule. The `REFUSALS` row and its `PROVEN`
tuple retire **in the same commit**, because `the_decode_path_refuses_exactly_the_listed_cases` asserts both
directions empty and a partial retirement fails it.

Verified before merge, by Main and independently:
- **Format-independence (the real risk)**: 45 committed 4:2:0/4:4:4 fixtures (8/10/12-bit, lossless, superres,
  grain, odd geometries) decode **byte-identical** between `4f206ec3` and this branch.
- **The engine of the change**: the parser provably produces only `{(1,1),(0,0),(1,0)}`, so the new assertion is
  sound and reachable only with a parsed header; **all three inventory deletions are independently load-bearing**
  (3/3 mutations red).
- **The gates bite**: all six inverted `the_pinned_422_*_decode_pixel_exact` tests plus three new pixel gates red
  on a shape-preserving one-LSB decoder mutation, and the shared 4:2:2 body asserts both the plane SHAPE
  (half-width x full-height -- a stray 4:2:0 allocation fails it) and a **non-zero census delta**, so it cannot be
  green while exercising nothing.
- **Fixtures**: the two pins the old tests used were a 4:2:2 header bolted onto a 4:2:0 tile from this crate's own
  encoder -- one of them is ffprobe-INVALID -- so they carried no oracle and could not be inverted into exactness
  claims. They are replaced by real libaom 4:2:2 streams, pinned by sha256 + fnv1a64.
- **Honesty layer**: six prose sites in the first cut claimed readers no gate has; a review pass measured the truth
  (`SB128RECT_REPLAY_SPAN_MISMATCH_HITS` reads 9 on a pin this very branch asserts byte-exact, NXN is unwitnessed at
  0 on all 21 committed 4:2:2 cells) and the comments were corrected in a prose-only commit. Notably, the promised
  "assert it stays zero on 4:2:2" would have RED a gate on a provably correct cell.
Merge lane-av1422tailskip: the last 4:2:2 cell closes -- and the RESERVED arm was not the writerAhmet Kaan Gümüş · 376e8c7
Merge lane-av1422tailskip: the last 4:2:2 cell closes -- and the RESERVED arm was not the writer

`s422_384x240` is byte-exact vs ffmpeg on all 16 shown frames and vs aomdec on all 17 decode-order frames, and
the fix is six lines: the writer was `decode_inter_block`'s `side == 64` 4:2:2 chroma walk arming the block-sized
2048-entry chroma PALETTE prediction ONCE before the unit loop. `take_palette_pred` is a `.take()`, so the second
TX_32X32 unit got nothing and silently reconstructed from the block edge -- flat 90/240 where the oracle carries
its palette. Per-unit `palette_window` plus a counter fixes it. Same class as `f3afa5b7` (the `decode_block_rect64`
palette window): a one-shot take feeding a multi-unit walk.

**The attribution correction is the more valuable half.** The reserved group-tail inter chroma SKIP arm was NOT the
writer: `aomdec`'s `EC_DP` on the pinned cell shows decode frame 1's block at mi(32,0) is
`bsize=12 inter=0 skip_txfm=0 chroma_ref=1` -- an INTRA 64x64 in the oracle exactly as in our decoder, and the
inter-SKIP form only appears from picture 2 on; `EC_PIB` then shows `use_palette=1`, which is why the oracle's
prediction rungs printed nothing there. Three earlier lanes (including this one) had attributed the cell to the
reserved arm and two of them refused to touch it for that reason. The arm keeps its reserved status; the cell just
never belonged to it.

Two instrument facts worth keeping. First: **the shared `~/.cache/aom-oracle/build/aomdec` is STALE relative to its
own source** -- its `EC_DP` rung never fires -- so the lane rebuilt privately and confirmed the rebuilt oracle
agrees with ffmpeg 0/0/0 on every shown frame. Any conclusion drawn from that shared binary's newer rungs is
suspect until it is rebuilt. Second: the gate is written for BOTH worlds -- today it asserts the pin, the refusal
by name, and that the counter did not move (so the pin cannot fake a green), and the moment the header lift lands
the same test asserts 17 decode-order frames byte-exact plus `palette_422_unit_window_hits() > 0`, with no edit
needed; the lane verified that path on a local patch-run-restore build and reverted the patch.

Found and NOT fixed, reported instead: `corpus/440_request_is_422.obu` decodes **NONDETERMINISTICALLY** -- six runs,
six md5s, 255<->0 swaps, i.e. unwritten plane samples reaching the output on that hand-built 4:2:2 witness. It has
no oracle (ffprobe and ffmpeg both refuse it) and its only gate asserts the header plus the refusal, never pixels.
That is a separate defect with its own class and is being handled outside this merge; `EC_AV1_PLANE_SENTINEL` is
the instrument for it.
lane-av1422tailskip: s422_384x240 is byte-exact -- the writer was the 4:2:2 intra-in-inter PALETTE chroma per-unit window, not the reserved inter SKIP armAhmet Kaan Gümüş · fa0bdda
lane-av1422tailskip: s422_384x240 is byte-exact -- the writer was the 4:2:2 intra-in-inter PALETTE chroma per-unit window, not the reserved inter SKIP arm

`s422_384x240` (384x240, 4:2:2, 8-bit, 17 decode frames / 16 shown) diverged
from ffmpeg 8.1.3 by 0/1780/1871 wrong Y/U/V samples, first at decode frame 1
(the hidden altref), U/V rows 170..189 cols 23..31. It is now **0/0/0 on every
one of the 16 displayed frames**, and **byte-exact per plane on all 17
decode-order frames against aomdec's pre-filter dump**.

The chartered site -- `decode.rs:43948`, `decode_inter_block`'s single-reference
inter chroma SKIP write -- is NOT the writer of the first divergent frame.
`aomdec`'s `EC_DP` rung, on the pinned cell, says decode frame 1's block at
mi(32,0) is `bsize=12` (64x64) `inter=0 skip_txfm=0 chroma_ref=1`: an INTRA
block in the oracle exactly as in our decoder, with the inter SKIP form
appearing only from picture 2 on. And `EC_PIB` prints `use_palette=1` for it --
which is also why the oracle's prediction rungs print nothing there
(`av1_predict_intra_block` returns at its palette branch).

The cause, in our own code: at 4:2:2 that block's chroma plane block is 32x64
but `av1_get_max_uv_txsize` adjusts `max_tx_size_rect_lookup[BLOCK_32X64]` down
to TX_32X32, so it codes TWO STACKED SQUARE units per plane.
`decode_inter_block`'s `side == 64` walk armed the ONE block-sized 2048-entry
chroma palette prediction before the loop; `take_palette_pred` is a `.take()`, so
the first unit consumed all of it and the second found none pending and
reconstructed from the block edge (DC) -- a flat 90/240 box where the oracle
carries its palette. `EC_DEBUG_PAL=1` shows exactly that pair, and the cell's
whole decode arms `len=2048` twice (U and V).

Each unit now takes its own `palette_window` of the block-sized buffer, the
helper the split-transform chroma paths already used, and a new
`palette_422_unit_window_hits()` counts the units that did (16 on this cell;
0 on any 4:2:0 or 4:4:4 frame, and 0 without a palette, so a witness gate
reading 0 proves the arm never ran). The pre-loop arm stays for the
`chroma_w == chroma_h` branch, whose single unit IS the whole plane block, and
for the `skip` arm, which pushes one 32x64 chroma unit.

Gate: `the_pinned_422_palette_intra_in_inter_cell_window_is_byte_exact` with the
cell pinned as `422_palette_intra_in_inter_384x240_17f.obu` (19344 B, sha256
bf1c658e9bfdc13e..., fnv1a64 0x923ccabfcb933e90). While `decode_stream` still
refuses 4:2:2 at the sequence header -- the standing family rule, untouched here
-- it asserts the pin and the refusal BY NAME plus "the counter did not move", so
the pin alone can never fake a green; on a local patch-run-restore build the same
test reports "17 decode-order frame(s) byte-exact against aomdec (1 hidden), 16
chroma palette unit window(s)". Red-before measured: with the two
`palette_window(...)` calls replaced by the pre-fix `ub.clone()`/`vb.clone()` and
nothing else changed, the same run fails at decode-order frame 1, byte 124631
(ours 90 vs 89), 412 bytes differ.

Sweeps, base = this commit's parent, fixed = this commit, same machine:
* 169 cells (115 committed fixtures + 54 census cells), base vs fixed BYTE
  IDENTITY over every dumped decode-order and display-order frame: only the
  target differs. `440_request_is_422.obu` also differed and does not: it decodes
  nondeterministically (six runs, six md5s, three from ONE binary), it is
  pre-existing, it reads `intra_in_inter_palette: y=0 uv=0` so this arm does not
  run on it, and it has no oracle. Named in the report, not fixed.
* the census cells through `scripts/cmpff.py` (decode order, derived
  decode->display map): 48 byte-exact, 5 still diverging (another lane's,
  identical totals under both binaries), 1 instrument failure under both --
  `s422_384x240` DIVERGES [0, 1780, 1871] -> BYTE-EXACT [0, 0, 0].
* `s422_384x242` / `s422_384x246` / `s422_320x240` byte-exact before and after.
* comparator liveness: one oracle sample's low byte flipped per plane at display
  frame 4 of an all-zero baseline moves that plane of that frame by exactly +1
  and nothing else.

Scoped tests: `cargo test -p ec-av1 --lib palette` 24 passed, `census` 12 passed
/ 3 ignored, `422` 8 passed, plus this lane's gate in both branches and
`the_440_cell_is_not_a_codable_chroma_shape`.

Every 4:2:2 measurement here was taken with the `EC_AV1_ALLOW_422_PROBE` bypass
applied locally and reverted; the committed tree refuses 4:2:2 at
`stream.rs:1803` exactly as its parent did. No push. Full report, the libaom
lines matched, and every number above: `lanes/av1422tailskip.report.md`.
lane-av1422lift: the honesty layer -- six prose sites that named readers which do not existAhmet Kaan Gümüş · 2eb0e50
lane-av1422lift: the honesty layer -- six prose sites that named readers which do not exist

Refutation pass over `b7a36001` (lane-av1422liftverify, `5ee10c61`) confirmed
the lift's behaviour, its assertion, its three coupled inventory deletions,
its two new pins and all nine pixel gates, and refuted ONE thing: six prose
sites where the lift replaced true "no committed test can read this counter"
statements with false "the corpus gate reads this counter" statements.

No decoder logic, no assertion, no fixture, no gate body changes here. Every
line of the diff is a comment (`git diff -U0 ... | grep -v '^[+-]//'` is
empty), and the 4:2:2 gate set is 10 passed / 0 failed, unchanged.

Measured on this tip with a throwaway in-`mod tests` probe (added, run,
removed; `git status --porcelain` empty and the tree byte-identical to HEAD
before this commit) over all 21 committed 4:2:2 cells:

1. `decode.rs` `SB128RECT_REPLAY_SPAN_MISMATCH_HITS`. It claimed the corpus
   gate asserts it stays zero at 4:2:2. No gate reads it, and it does NOT
   stay zero: `422_intrabc_sb128_strip.obu` and
   `422_intrabc_sb128_strip_notxsearch.obu` each read
   `replay = 72, mismatch = 9`, the other 19 read 0. The first is a pin
   `the_pinned_422_intrabc_sb128_strip_witnesses_decode_pixel_exact` asserts
   BYTE-EXACT against ffmpeg, so a non-zero mismatch is the arm counting its
   own designed case, not a defect. The deleted sentence ("zero on every
   stream this decoder admits, because 4:2:2 is refused by name") was TRUE
   and admitting 4:2:2 genuinely made it fire. The doc now carries the two
   numbers and says plainly that adding the promised zero assert would red a
   provably correct cell.

2. `decode.rs` `RECT_TILED_CHROMA_NXN_HITS`. Claimed the corpus gate reads
   it; nothing does, and it reads 0 on all 21 committed 4:2:2 cells and on
   the 4:2:0 / 4:4:4 cells probed. Now says UNWITNESSED with the number,
   and names the only two readers (both 4:4:4, where `nxn` is interpolated
   into a failure message and never asserted).

3. `decode.rs` `INTRABC_RECT4_OWN_CHROMA422_HITS`. Claimed the corpus gate
   reads its delta per row; the accessor has zero callers in the crate. It
   does fire -- the six corpus cells step it 1..6 -- so the doc carries that
   and states the true half: no committed test reads it.

4. `stream.rs` `sb128rect_chroma_replay_counters` (pub API doc): same false
   attribution, now carries `(72, 9)` and names the two 4:2:0/4:4:4 gates
   that are the actual readers.

5. `stream.rs`, inside BOTH tripwire gates' own comments (the 4:4:4 one and
   the 4:2:0 twin): these were the worst two, because those are the gates
   that DO read the counter, and the text invited a future lane to add the
   missing 4:2:2 zero assert to one of them and land a red on a correct cell.
   Both now carry an explicit "DO NOT copy this zero assert onto a 4:2:2
   stream", the `mismatch = 9` measurement, and the statement of what
   actually holds the per-axis span (the 4:2:2 exactness gates).

6. `refusal_inventory.rs`: the retirement note named
   `a_real_422_stream_decodes_pixel_exact`, which does not exist -- the gate
   is `a_real_422_key_frame_and_inter_sequence_decode_pixel_exact`; and a
   sibling-witness comment still pointed at
   `a_non_420_subsampled_sequence_header_is_refused_by_name`, the test this
   lift deleted. Both re-pointed at gates that exist.

No gate was added. Adding the promised 4:2:2 mismatch assert would red a
byte-exact cell, which is a worse outcome than an honest comment.
lane-av1422lift: lift the 4:2:2 sequence-header refusal; 4:2:2 decodesAhmet Kaan Gümüş · fdcfd81
lane-av1422lift: lift the 4:2:2 sequence-header refusal; 4:2:2 decodes

The guard at `stream.rs` `if seq.subsampling_x != seq.subsampling_y` is
gone, the `refusal_inventory.rs` string and its `Proof::NegativeGate`
pairing are deleted in the SAME commit (the inventory gate asserts both
directions are empty, so a half-removal is red), and the residual
uncodable shape -- 4:4:0 `(0,1)`, which `ec-av1-syntax` cannot produce
because `color_config` reads `subsampling_y` only when `subsampling_x`
is 1 -- closes with an ASSERTION rather than a comment.

Seven gates whose only behavioural assertion was `err.contains(REFUSAL)`
are renamed and inverted into byte-exact decodes against ffmpeg 8.1.3:

* `a_non_420_subsampled_sequence_header_is_refused_by_name` ->
  `a_real_422_key_frame_and_inter_sequence_decode_pixel_exact`, on two
  NEW real 4:2:2 pins that replace its fake fixture (a profile-2 header
  bolted onto a 4:2:0 tile from this crate's own encoder, which could
  never be inverted into an exactness claim).
* `the_440_cell_is_not_a_codable_chroma_shape` arm 3 keeps its
  enumeration and its `(1,0)` read-back, and replaces the refusal with
  the one thing true of those bytes: the SEQUENCE HEADER, not the tile,
  fixes the decode's chroma geometry.
* the five `the_pinned_422_*` witnesses keep their size + fnv1a64 pins
  and now assert byte-exact planes, per frame, per plane.

New gates, each with a non-vacuity arm from the 4:2:2 coefficient-unit
census (`census_nonsub_units` / `census_nonsub_coded`, armed for `(1,0)`
by lane-av1422census422): 12-bit 4:2:2 and superres 4:2:2, which the
corpus had no cell for at all; 4:2:2 film grain, compared through the
POST-grain in-memory decode because `EC_AV1_FINAL_DUMP` is written
pre-grain; and the six closed corpus cells, byte-exact against ffmpeg.

`422_allskip_2f.obu` is the one cell whose identity is that it codes
nothing, so its chroma arm is asserted as a NEGATIVE measurement (units
walked, coefficients not coded) rather than inherited from the shared
body -- that is the phantom-residual read the cell exists to witness.

Prose corrected at every site named by `lanes/av1422liftrisk.report.md`:
`stream.rs` (guard block, `SeqFlags`, the 440 gate doc, the five "NO
committed test can decode a 4:2:2 stream" doc blocks, both
`sb128rect_chroma_replay_counters` tripwire gates, `cfl_ac_q3`), plus
`decode.rs` (`Chroma16` caller set, `SB128RECT_REPLAY_SPAN_MISMATCH_HITS`,
`RECT_TILED_CHROMA_NXN_HITS`, `INTRABC_RECT4_OWN_CHROMA422_HITS`),
`refusal_inventory.rs` (both strip-enumeration docs) and
`examples/gen_coverage_cells.rs` (module doc, cell-2 comment, printout).

NOT CLOSED: `s422_384x240` still diverges chroma-only (U=1780 V=1871 on
a 17-decode/16-display cell) -- the reserved group-tail chroma SKIP arm,
owned by another lane. The corpus therefore stands at 56/57 measured
here, not 51/51. THIS BRANCH MUST NOT LAND UNTIL THAT CELL CLOSES AND
THE CORPUS RE-MEASURES 51/51.

2026-09-30

Merge lane-av1422verify: refute-first pass over the grain port and the census extension -- both correct, every figure reproducesAhmet Kaan Gümüş · 59f61c7
Merge lane-av1422verify: refute-first pass over the grain port and the census extension -- both correct, every figure reproduces

Both patches survive refutation with their numbers intact, and the pass added coverage and one sequencing fact
nobody had stated. Grain: the four cells are byte-exact vs ffmpeg through the POST-GRAIN sink path, and the
negative control reproduces **digit-for-digit (0/23370/22631) on the ACTUAL pre-fix tree `697b1308`** rather than
on a reconstruction of it. The corrected premise is confirmed the same way: **4:4:4 grain is RED pre-fix**
(45612/43755 samples of each chroma plane) and green after, so the pre-fix geometry really did mis-decode a
SUPPORTED format. All three libaom traps were re-derived against `grain_synthesis.c` with lines quoted -- including
that a row at stride `2 >> ss_x` equals the C's flat element offset for every ss_x. Coverage the lane lacked was
added by the verifier: a 12-bit 4:2:2 grain cell and an eleven-cell ragged-geometry sweep (66x66, 100x50, 130x34,
34x130, 322x242, ...), all byte-exact.

Census: two binaries from ONE tree differing in the arming expression alone give `[0,0,0] -> [2338,1328,1328]` on
a 4994-unit walk, digit-for-digit on all four cells; all five 4:2:0/4:4:4 controls are byte-identical; the strip
domain re-enumerates to **12 distinct (strip, format) pairs, so nothing is double-counted**, and `hit == handled`
so no arm fell out of reach. Both mutations re-run and bite.

**The sequencing fact worth keeping**: `EC_AV1_FINAL_DUMP` is PRE-GRAIN -- byte-identical with and without
`EC_AV1_NO_GRAIN=1` -- so a comparator built on the dump path cannot see grain at all (76.7% / 55.5% / 52.6% of
samples differ from ffmpeg on one such cell while the dump comparison stays 0/0/0). Recorded in skill
`ffmpeg-rawvideo-comparator-control`. The census lane's self-flagged gap was also understated rather than
overstated: `chroma422_chunk` and `chroma422_pair_wide` read 0 on all EIGHTEEN 4:2:2 cells measured, not the four
it sampled.

No decode defect found in either patch. Two figures in the committed documentation are corrected in the report;
the primary checkout was left untouched and clean, and both bypassed scratch trees were restored and removed.
lane-av1422verify: refute-first pass over 19b16ffd (grain) and 2677c97a (census)Ahmet Kaan Gümüş · 1d95580
lane-av1422verify: refute-first pass over 19b16ffd (grain) and 2677c97a (census)

Both fixes are RIGHT. Every load-bearing figure reproduces, most of them digit-for-digit,
on instruments of my own rather than the lanes' own.

Grain (19b16ffd). Measured against ffmpeg 8.1.3 through the post-grain sink path
(EC_AV1_FINAL_DUMP is pre-grain, so the dump comparator cannot be used here):
g422_t5 / g422_t11 / g444_t5 / g422_10_t5 all byte-exact per plane, plus a 12-bit
4:2:2 cell and an 11-cell ragged-geometry sweep (66x66, 100x50, 130x34, 34x130,
322x242, ...) that are also byte-exact. The negative control was reproduced on the
ACTUAL pre-fix tree 697b1308 rather than on a reconstruction of it: 0/23370/22631,
exactly the lane's figure, luma exact, no panic. And 4:4:4 grain is RED at
19b16ffd~1 (45612/43755 of each chroma plane) and GREEN after -- the pre-fix geometry
really was silently wrong there too. All three libaom traps verified against the C with
lines quoted, including re-deriving that row csub_y at stride 2>>ss_x equals the C's
flat element offset for every ss_x. Controls: 8 and 95, both reproducing exactly.

Census (2677c97a). Built before/after binaries from one tree differing in the arming
expression alone: [0,0,0] -> [2338,1328,1328] on a 4994-unit walk, digit-for-digit on
all four cells. All five 4:2:0/4:4:4 controls IDENTICAL across the widening. The strip
domain was re-enumerated independently: 12 iterations, 12 distinct (strip, format) pairs,
so nothing is double-counted, and hit == handled so no arm fell out of reach. Both
mutations re-run and bite.

The self-flagged gaps hold and are understated, not overstated: chroma422_chunk and
chroma422_pair_wide read 0 on all EIGHTEEN 4:2:2 cells, not just four, and the dump
path really is pre-grain (byte-identical with and without EC_AV1_NO_GRAIN=1, 76.7%/55.5%/
52.6% from ffmpeg). That finding is a sequencing trap for the lift and the census lane
caught it before someone else did.

No decode defect in either patch. Two documentation findings, reported as corrections:
the census report's strip-derivation table has one wrong cell (32x64 at 4:4:4 is
(32,32), not (16,32); the code is right), and the 19b16ffd merge message claims a
committed 4:2:2/4:4:4 byte-exactness gate that is not in the tree -- the lane report is
honest about deferring it, the commit message is not.

Primary checkout untouched and clean; both bypassed scratch trees restored and removed.
Merge lane-av1422census422: a 4:2:2 unit census exists, and the strip enumeration stops pretending 4:2:2 is unreachableAhmet Kaan Gümüş · e267222
Merge lane-av1422census422: a 4:2:2 unit census exists, and the strip enumeration stops pretending 4:2:2 is unreachable

Both non-vacuity prerequisites the lift-risk study named, with the numbers to prove them. The unit census was
armed only at ss (0,0), so every unit counter read 0 on 4:2:2 BY DESIGN and a byte-exact 4:2:2 gate could be green
while exercising nothing; it is now armed for (1,0) as well, and the counters move: `s422_320x240` 0/0/0 ->
2338/1328/1328 units (4994 total, 1020/843/949 coded), `s422_320x242_10b` 2046/1149/1149, `s422_326x240`
2798/1433/1433, `s422_416x250_10b` 2927/1426/1426 -- all four byte-exact vs ffmpeg. The controls are the point
that makes it safe rather than merely larger: the 4:2:0 fixture's 405 units and the two 4:4:4 fixtures'
11292 / 1373 units are **unchanged before and after**, so the existing gates that assert exact 4:2:0/4:4:4 counts
keep their teeth (`cargo test --lib census` 12 passed, 3 ignored; `a_pixel_exact_444_stream_walks_the_same_
coefficient_units` ok).

The strip enumeration `refusal_inventory.rs:2129` walked `[(0,0), (1,1)]` and asserted `checked == 8` with a
message about "the four 64-axis strips x two supported formats" -- post-lift it would have stopped covering 4:2:2
WITHOUT failing. It now walks `[(0,0), (1,0), (1,1)]` and asserts `checked == 12`, matching its sibling in the
same file that already walked (1,0). **Every one of the 12 units has a coefficient table; nothing was missing** --
so the extension is coverage, not a repair, and that is worth stating explicitly because the interesting outcome
would have been the opposite.

What the census still cannot see is enumerated rather than glossed: the 128-root `chroma422_chunk` walk and
`chroma422_pair_wide` read 0 on all four cells (nothing here reaches them), IntraBC and DC-only blocks carry zero
units by design (no `txb_skip`), and palette blocks with no coded residual are invisible. One measured cell,
`g422_t5` (film grain), is walk-shape only: it is not comparator-clean through the dump path and makes NO
exactness claim. A committed 4:2:2 end-to-end gate still waits for the lift; the measured expectations it should
pin, and the command set to re-derive them, are in the report.
lane-av1422census422: the 4:2:2 non-vacuity prerequisites -- the strip walk and the unit censusAhmet Kaan Gümüş · 1bb0283
lane-av1422census422: the 4:2:2 non-vacuity prerequisites -- the strip walk and the unit census

Closes the two prerequisites lanes/av1422liftrisk.report.md R7 and R8 named for
lifting the 4:2:2 sequence-header refusal. The refusal itself is NOT lifted here,
nor is film_grain.rs, decode_rect4_16_intrabc, or the reserved group-tail chroma
SKIP arm touched.

R7 -- refusal_inventory.rs, every_chroma_unit_a_64_axis_strip_can_present_has_a_
coefficient_table walked [(0,0), (1,1)] and justified the missing format with "every
mixed format is refused at the sequence header", a proof that depends on the guard:
lift the guard and the walk keeps passing while covering nothing about 4:2:2, with
no failure and no output change. It now walks [(0,0), (1,0), (1,1)] and asserts
checked == 12. The 32-per-axis chroma-unit cap is why 4:2:2 needs no new table arm
-- a 4:2:0 32x64 strip is a 16x32 chroma unit and its 4:2:2 counterpart a 16x64 one,
but the cap resolves both to (16, 32) -- so every 4:2:2 unit is already in the table
and the hit == handled non-vacuity assert is unchanged. No unit with no coefficient
table was found; the _ arm stays dead for 4:2:2. The sibling enumeration at :1739
already walked (1,0) and said why (color_config reads subsampling_y only when
subsampling_x == 1, so (0,1) is uncodable, and the walk must not depend on the
header guard); that sibling was right and this half was wrong, and its reasoning is
now mirrored here. Non-vacuity proved by mutation: dropping (1,0) back out fails
with left: 8, right: 12.

R8 -- set_census_444 armed the per-plane coefficient-unit census only at ss (0,0),
so at 4:2:2 every census_444_units()/census_444_coded() read zero BY CONSTRUCTION
and a byte-exact 4:2:2 gate could assert them, be green, and have proven nothing.
The arming is now the disjoint complement, every format with an unsubsampled luma
axis (ss_x == 0 || ss_y == 0), so 4:2:0 still reads exactly zero and the 4:4:4
exact counts cannot move. Renamed CENSUS_444/census_444_units/census_444_coded/
set_census_444 to CENSUS_NONSUB/census_nonsub_units/census_nonsub_coded/
set_census_nonsub -- a census called 444 that fires on 4:2:2 is the same lying-name
defect this lane removes -- and made the two accessors pub so decode_probe can print
them, alongside the already-pub unconditional census_unit_n() so one line says both
how many units were counted per plane and whether the census was armed at all.

Measured through the patch-run-restore probe bypass (never committed; both scratch
trees restored and verified, base worktree removed): on s422_320x240 the census read
[0, 0, 0] before and [2338, 1328, 1328] / coded [1020, 843, 949] after, while the
same decode walked 4994 units either way -- the old zero was the census not looking,
not an empty walk. Four more 4:2:2 cells measured the same way, 10-bit included.
Controls unchanged: the 4:2:0 fixture [0,0,0]/405 units both sides, and the two
4:4:4 fixtures at their oracle-pinned [3764, 3764, 3764]/[975, 1793, 1859] and
[629, 372, 372]/[130, 253, 278], so
a_pixel_exact_444_stream_walks_the_same_coefficient_units_the_oracle_does still
passes including its 4:2:0 zero control. Comparator liveness: 324 PASS, 0 FAIL of
324 flip arms across 9 cells. Whole sweep: 18/18 4:2:0 and 18/18 4:4:4 cells
byte-exact against ffmpeg 8.1.3, 17/18 4:2:2 byte-exact with live per-plane counts
(s422_384x240 still diverges, chroma-only, owned elsewhere).

Arms the census reaches on the measured cells: square/rect/sub-8 chroma 4:2:2 units,
the 4:2:2 CfL AC arm, dir-1:4 chroma pairs, 64-axis inter strips, rect4_16 intrabc
-- all route through the two readers it instruments. Arms it does NOT see and must not
be claimed as witnessed: chroma422_chunk and chroma422_pair_wide (0 on all four
cells), IntraBC/DC-only blocks and skipped blocks (no txb_skip, so zero units by
design), and anything the header still refuses.

Report: lanes/av1422census422.report.md
Merge lane-av1422grain: film-grain synthesis is PER-AXIS -- and the 4:2:0-shaped geometry was silently wrong for 4:4:4 tooAhmet Kaan Gümüş · 21c62a9
Merge lane-av1422grain: film-grain synthesis is PER-AXIS -- and the 4:2:0-shaped geometry was silently wrong for 4:4:4 too

The risk study's top finding was that `film_grain.rs` is the one module still 4:2:0-shaped, and the lift could not
proceed over it. It is now per-axis, proven by measurement rather than by construction, and the measurement turned
up more than the lift needed.

**Evidence.** A real 4:2:2 film-grain stream decodes byte-exact with `grain_hits()` rising per cell (3 -> 4), the
gate re-parses the OBUs and asserts a frame header carries `film_grain.apply_grain` (so it cannot be the
params-without-apply false green of `stream.rs:16626-16629`), and the comparator is shown to bite (one flipped
oracle sample per plane gives exactly (1,1,1) on every cell). The decisive control is negative: forcing the
subsampling back to (1,1) and changing NOTHING else makes the 4:2:2 cell FAIL with 0/23370/22631 -- luma exact,
~30% of each chroma plane wrong, **no panic and no counter**. That single line is the defect, and it also proves
the pass comes from this port rather than from a vacuous comparison.

**The fix corrects the assigned premise, and the correction matters.** This libaom snapshot has NO
`generate_grain_uv_422` / `av1_apply_grain_422`; it threads `chroma_subsamp_x/y` through one unified
`add_film_grain_run` (`grain_synthesis.c:987`), set per pixel format in `av1_add_film_grain` (`:1386-1420`, which
lists I422/I42216). The port matches the C's expressions, cited per site in the report. Three traps came out of
it: the chroma BLOCK is `16 << (1 - ss)`, NOT `chroma_subblock_size << (1 - ss)` (the two agree at 4:2:0 and
differ 2x wherever `chroma_subsamp == 0` -- and the wrong value is an OUT-OF-BOUNDS READ, not a wrong pixel); the
block walk is in LUMA units at every subsampling, so only the chroma ORIGIN and extent are per-axis; and
`copy_area(cb_col_buf + (chroma_subblock_size_y << (1 - ss_x)), ...)` is a FLAT ELEMENT offset, not a row index.

**Two of the study's nine sites were wrong in the other direction and the fix says so**: `n = luma.len()/2` and
`c_stride = width/2` are right at 4:2:2 and WRONG at 4:4:4 -- the operand needs a pair flag, not a division.
Consequence worth stating plainly: **the pre-fix geometry was silently wrong for 4:4:4 film grain as well**, a
supported format with no test of any kind. Two arms that were dead code at 4:2:0 are now live
(`ver/hor_boundary_overlap`'s `==2` arm, and `add_noise_to_block`'s luma operand as a horizontal pair at
`ss_x == 1`).

**Coverage closed**: 4:2:2 and 4:4:4 film grain had NO test before this lane -- not an exactness gate, not a
reference comparison. `ragged_overlap_tail_matches_spec_reference` was a 4:2:0-only transcription and is now
driven over all three formats from one per-axis reference, with the assertion the old geometry could not make:
the LAST chroma row must come back grained, which at 4:2:2 is exactly the raw bottom half the `nrows = height/2`
walk left behind. Controls: `cargo test -p ec-av1 --lib film_grain` 8 passed; blast sweep on 422/444/chroma 95
passed; `cargo check --tests` clean.
lane-av1422grain: the report -- measured, ported, byte-exact, negative-controlledAhmet Kaan Gümüş · a8377a2
lane-av1422grain: the report -- measured, ported, byte-exact, negative-controlled

Records the measurement that opened the lane (aomenc emits 4:2:2 grain, and
4:4:4 too), the libaom source lines each per-axis site was transcribed from,
the three traps the port walks into, and the proof obligations.

The headline is section 5. Forcing Ss::read back to the pre-lane geometry and
changing nothing else makes g422_t5.obu fail against ffmpeg with

    left: (0, 23370, 22631)   right: (0, 0, 0)

-- luma exact, ~30% of each chroma plane wrong. No panic, no counter, no
refusal. That is the defect this lane closed, in one line.

Also reports, rather than buries, that my first edit used a relative path
while the shell CWD was the primary checkout and leaked into it. All 61 added
lines were verified mine and reverted; the post-probe `git status` is what
caught it. See section 8.
lane-av1422grain: film grain synthesis is per-axis, not 4:2:0-shapedAhmet Kaan Gümüş · 55a7187
lane-av1422grain: film grain synthesis is per-axis, not 4:2:0-shaped

MEASUREMENT first: aomenc really does emit 4:2:2 film grain, so this is a
live arm, not a latent one. `aomenc --profile=2 --film-grain-test=5` over a
`yuv422p` source produces a frame header carrying `subsampling_x = 1,
subsampling_y = 0` with a full point set (read back with `ffprobe
-export_side_data +film_grain`: seed, ar_coeff_lag 3, scaling_shift 11). The
same is true at 4:4:4 under profile 1. Before this change the module grained
the TOP HALF of a 4:2:2 chroma plane with a 4:2:0 row map and a 2x2 avgLuma
quad -- no panic, no counter, no refusal, just a different picture.

Every chroma-side constant and extent is now the C's expression, per-axis
(`grain_synthesis.c`): the subblock and grain-block template
(`:1018-1035`), the `avgLuma` tap, which is the
`(chroma_subsamp_y + 1) x (chroma_subsamp_x + 1)` luma sample set -- a 2x2
quad at 4:2:0, a horizontal PAIR at 4:2:2, the sample itself at 4:4:4
(`:554-565`); the block placement offsets (`:1091-1094`); the chroma origin
and the `half_h << (1 - ss_y)` by `half_w << (1 - ss_x)` block (`:680-681`,
`:1129-1132`); the chroma stride (`:1461`); the line and column buffers
(`:392-414`); and all four chroma `copy_area`/`hor_boundary_overlap` extents.

Two traps the port walks into, both recorded at the site:

* The block size is `16 << (1 - ss)`, NOT `chroma_subblock_size << (1 - ss)`.
  They agree at 4:2:0 and diverge wherever `chroma_subsamp == 0`, because the
  half extents `add_noise_to_block` is handed are LUMA ones (`:1254-1255`).
* `copy_area(cb_col_buf + (chroma_subblock_size_y << (1 - ss_x)), ...)` is a
  FLAT element offset in the C, not a row index. Passing it as a row index
  multiplies it by the stride a second time and reads past the buffer.

The `chroma_noise_row_scalar` reference grew a `pair` argument because
`add_noise_to_block`'s luma operand differs by axis too: a horizontal pair at
`ss_x == 1` (4:2:0 and 4:2:2 alike -- only the row step changes) and the bare
luma sample at `ss_x == 0` (`:683-691`).

CONTROLS UNCHANGED. The existing 4:2:0 coverage is untouched and still
byte-exact against ffmpeg: `a_real_aomenc_stream_with_film_grain_decodes_pixel_exact`
(8-bit), `a_real_aomenc_10bit_film_grain_stream_decodes_pixel_exact`,
`a_real_aomenc_12bit_film_grain_stream_decodes_pixel_exact`,
`real_aomenc_film_grain_streams_decode_pixel_exact`, plus both SIMD-vs-scalar
pins. `untouched_planes_and_ragged_tail_come_back_clean` and
`simd_matches_scalar_*` are unaffected.

`ragged_overlap_tail_matches_spec_reference` was a 4:2:0-only transcription and
is now driven over all three formats, so 4:2:2 and 4:4:4 have coverage for
the first time. It also gained the assertion the old geometry could not make:
the LAST chroma row must come back grained -- at 4:2:2 the plane is `height`
rows tall and the old `nrows = height / 2` walk left the bottom half raw.
Merge lane-av1422hbd422: the two uncovered 4:2:2 cells are CLEAN -- 12-bit and superres both byte-exactAhmet Kaan Gümüş · 35bdf35
Merge lane-av1422hbd422: the two uncovered 4:2:2 cells are CLEAN -- 12-bit and superres both byte-exact

The risk study flagged 12-bit 4:2:2 (codable at profile 2, where both subsampling bits are coded) and
superres + 4:2:2 as never measured anywhere in the tree. Both are now measured, and both are clean: **seven
cells, all byte-exact per plane per frame vs ffmpeg 8.1.3**, no defect to attribute. Report-only; no decoder
source was touched and the refusal was not edited.

Covered: `s422_320x242_12b`, `s422_321x242_12b` (ODD WIDTH), `s422_323x243_12b` (odd width AND odd height),
`s422_320x242_12b_lossless`, and three superres cells (`s422sr_320x180_d12`, `s422sr_256x128_d12`,
`s422sr_256x128_d12_12b`) -- with **`use_superres` verified from the FRAME HEADERS**, not from the command line
(`213x180 up=320 superres=true/12`), which is the check that makes a superres claim mean anything. Two controls
(`ctl_s420_320x242_8b`, `ctl_s422_320x242_8b`) exact, and the comparator's liveness control run BEFORE any
verdict: **324 arms, 324 PASS**, one flipped sample per plane per arm in both directions with the mapping pinned
and every decode->display solution exercised.

Encoder trap worth keeping, because it is a silent-ish failure mode that reads like a codec bug:
**`aomenc` at 12-bit 4:2:2 FAILS when `--profile=2` is spelled on the command line** ("Failed to set chroma
subsampling x: Unspecified internal error", exit 1). The cells were produced without it -- aomenc upgrades the
profile itself. Same shape as the 12-bit 4:2:0 auto-upgrade already recorded, and it belongs beside it so the
next lane does not conclude that 12-bit 4:2:2 is unencodable.
lane-av1422hbd422: 12-bit and superres 4:2:2 both byte-exact against ffmpegAhmet Kaan Gümüş · 9ed9589
lane-av1422hbd422: 12-bit and superres 4:2:2 both byte-exact against ffmpeg

Closes the two coverage gaps the av1422liftrisk study opened (R3, R9): no
12-bit 4:2:2 cell and no superres 4:2:2 cell existed anywhere in the tree.

Seven new cells, all measured with the patch-run-restore probe in a scratch
worktree (now removed, primary checkout verified clean):

  12-bit 4:2:2   320x242, 321x242 (odd width), 323x243 (odd width+height),
                 320x242 lossless
  superres 4:2:2 320x180 d12, 256x128 d12 (8-bit), 256x128 d12 (12-bit)

Every cell: Y=U=V=0 on every decode-order frame against ffmpeg 8.1.3
yuv422p12le / yuv422p, geometry from the SEQUENCE HEADER, decode->display
mapping re-derived from luma identity (one solution per cell).
Liveness control run first: 324/324 flip arms PASS (one flipped sample per
plane per arm, both directions).

Two encoder findings recorded because they are silent traps:

* aomenc at 12-bit 4:2:2 FAILS with "Failed to set chroma subsampling x" when
  --profile=2 is spelled on the command line (apps/aomenc.c:2269-2282). The
  format is codable and the profile does auto-upgrade -- use --profile=0.
* --superres-mode=1 --superres-denominator=8 at 320-wide input encodes
  cleanly with use_superres=false on every frame. Always read the flag back
  out of the frame headers before believing a superres cell.

Superres engagement is verified per cell in the frame headers
(171x128 up=256 superres=true/12), and predict_scaled is 3070-4066 per
stream including sub-8x8 inter blocks and 8x8 leaves under a scaled
reference, so the upscale path is genuinely exercised.

Nothing diverged, so nothing was fixed: no decoder source is touched and the
4:2:2 sequence-header guard stands. R8's missing 4:2:2 unit census, R2's
film grain, and R4's seven known-diverging 8-bit cells are untouched and
named as not-closed in the report.
lane-av1422liftrisk: the lift's blast radius -- film grain is the one 4:2:0-only module, and seven tests whose only assertion is the refusalAhmet Kaan Gümüş · f3a29d1
lane-av1422liftrisk: the lift's blast radius -- film grain is the one 4:2:0-only module, and seven tests whose only assertion is the refusal

Read-only study landed by Main (the lane is a shell-less scout): every ss_x/ss_y site classified as correct for
4:2:2 / correct today but WRONG for 4:2:2 / unreachable-and-needing-an-assertion; the tables indexed by the
subsampling pair (the recent 4:2:2 work covers most, film_grain.rs covers none); the tests that go red versus
those that go quietly vacuous; user-visible strings that become lies; and an ordered risk list.

Headlines: film_grain.rs is 4:2:0-shaped throughout (c_stride/2, nrows=height/2, a 2x2 avgLuma quad, chroma row y
addressed at luma row 2y), so at 4:2:2 it grains the top half of the chroma plane with the wrong row map and
leaves the bottom half raw -- no panic, no counter, no refusal, just a different picture. 12-bit 4:2:2 is codable
at profile 2 and has ZERO coverage anywhere in the tree. The seven refusal-named tests assert only
err.contains(REFUSAL) -- they would pass on a tree where 4:2:2 decode is entirely broken -- and two of them
(the 4:2:2-header-over-a-4:2:0-tile constructions, including the committed 440_request_is_422.obu pin) cannot be
inverted into exactness gates because their fixture is not a 4:2:2 stream at all. refusal_inventory.rs's strip
enumeration walks only (0,0)/(1,1), so post-lift it stops covering 4:2:2 without failing, while its sibling in
the same file already walks (1,0). And no 4:2:2 unit census exists -- set_census_444 arms the unit counters at ss
(0,0) only -- so the non-vacuity counter a 4:2:2 gate needs cannot be written yet.

Main's landing note records the one thing the study could not check: the bypass it found in the working tree was
real, was restored before this report was written, and never reached history.
scripts: commit the cmpff module the committed 4:2:2 drivers importAhmet Kaan Gümüş · 2d57774
scripts: commit the cmpff module the committed 4:2:2 drivers import

`scripts/run422-ffmpeg.py` and `scripts/shape422-diff.py` both `import cmpff`, a module that was never
committed -- the drivers were dead on arrival on a fresh checkout. `scripts/cmpff.py` is a symlink to
`cmp422-ffmpeg.py`, which defines every symbol they use (`plane_spans`, `probe_geometry`, `run`, the
decode->display mapping and the per-plane comparator), so both scripts run as written.

Verified by importing the module and driving `scripts/run422-ffmpeg.py` through a cells JSON: three 4:2:2 cells
BYTE-EXACT and a 4:2:0 control exact on a clean tree.
Merge lane-av1422ffmpegbase addendum: 94 of 95 cells byte-exact at 3d56fb60 -- and no cell moved the wrong wayAhmet Kaan Gümüş · 6253285
Merge lane-av1422ffmpegbase addendum: 94 of 95 cells byte-exact at 3d56fb60 -- and no cell moved the wrong way

The base the lift will be judged on, re-measured on the post-fix tree with the same instrument. **4:2:2 44/51 ->
50/51; whole set 88/95 -> 94/95; 4:2:0 22/22 and 4:4:4 22/22 byte-exact before AND after, with ZERO cells moved.**
The six closures are the family plus the luma-wrong cell (`s422_320x246`, `s422_322x240`, `s422_322x246`,
`s422_352x242_10b`, `s422_416x242_10b` all to 0/0/0, and `s422_416x250_10b` 99011/61486/60106 -> 0/0/0).

The single remaining red is byte-for-byte UNCHANGED across the fix -- same first bad sample (display frame 6, U
row 174 col 32, ours 133 vs ffmpeg 132), same bbox, same 10-of-16 frames carrying a wrong sample, and the
per-frame vector an IDENTICAL list -- which is the positive evidence that `298be661` did nothing outside its own
arm. That cell is the reserved group-tail chroma SKIP arm and its owner lane is working it now.

Instrument discipline worth more than the table: **the decoding binary is now an ASSERTED ARGUMENT**, not a
pinned path (`FF_DUMP_YUV`), every result row records which probe produced it, the 4:2:2 rows come from a
patch-run-restore build and the 4:2:0/4:4:4 controls from a SEPARATE CLEAN build of the same tree (detached
worktree, `git status --porcelain` empty) -- because a single pinned path would let a bypassed binary serve the
controls, and the controls are the only evidence that the 4:2:2 change moved nothing else. A **probe-split
control** runs on every invocation and fails the run if the split is wrong (`W_intrabc`: clean build REFUSES,
bypass build BYTE-EXACT). All 95 cells re-hashed with 0 drift, the nine committed pins re-pathed to the
worktree before hashing so the hashed bytes are the shipped bytes, geometry from ffprobe (never a y4m header --
ffmpeg's y4m muxer cannot carry 10-bit), display-order shown frames on both sides, depth-correct dumps.

Liveness: 23 arms, 23 PASS, re-run against this tree's dumps before any verdict, one flipped oracle sample per
arm moving exactly +1 in the named plane. With a caveat the lane raised against itself and which matters: six of
the seven non-zero baselines are now exact, so the non-zero-baseline class rests on ONE arm -- the red cell
(0/1780/1871 -> 0/1780/1872 on a V flip at frame 14, oracle byte 2718720 eb->ea, Y staying 0). A comparator that
had silently stopped reading the oracle would also report 0/0/0 on the exact cells, so that arm must be re-run
when the residual closes or the liveness proof loses its non-zero case.
lane-av1422ffmpegbase: re-measure on 3d56fb60 -- 94/95 exact, 50/51 4:2:2, ONE cell leftAhmet Kaan Gümüş · e2894cb
lane-av1422ffmpegbase: re-measure on 3d56fb60 -- 94/95 exact, 50/51 4:2:2, ONE cell left

The tree moved (298be661, lane-av1422luma: decode_rect4_16_intrabc gives ss (1,0)
its own chroma) and it changes the base the 4:2:2 lift will be judged on, so this
lane's own census is re-run rather than a lane's number adopted.

  4:2:2   44/51 exact -> 50/51 exact      (six cells close, one unmoved)
  4:2:0   22/22 exact -> 22/22 exact      (0 moved)
  4:4:4   22/22 exact -> 22/22 exact      (0 moved)
  set     88/95 -> 94/95 exact

No cell moved the wrong way. The 4:2:0/4:4:4 controls are bit-identical across the
change and every one of them was produced by a CLEAN build of 3d56fb60.

Closed, measured here: s422_320x246 0/7810/5531, s422_322x240 0/22003/21625,
s422_322x246 0/3437/2222, s422_352x242_10b 0/4653/3777, s422_416x242_10b
0/5740/4348, s422_416x250_10b 99011/61486/60106 -- the last being the only luma-wrong
cell, now 0/0/0. Still diverging: s422_384x240, 0/1780/1871, BYTE-FOR-BYTE the same
as on affe70dc -- same first bad sample (display frame 6, U r174 c32, ours 133 vs
ffmpeg 132), same bbox, same 10-of-16 frames, and the two per-frame vectors are
identical lists. 298be661 changed nothing in it, which is the expected shape for
the reserved group-tail chroma SKIP arm.

Instrument discipline: sha256 of all 95 cells re-verified (0 drift, committed pins
re-pathed to the 3d56fb60 tree before hashing); geometry from ffprobe with hard
errors; display order on both sides; depth-correct dumps; liveness re-run BEFORE the
verdicts were read -- 23 arms, 23 PASS, 0 FAIL, and the arm that now carries the
non-zero-baseline case is the one remaining red cell, which moves by exactly +1 V
on a 0/1780/1871 baseline.

New in the driver: the decoding binary is an ASSERTED ARGUMENT. FF_DUMP_YUV names
it, every result row records it as `probe`, the 4:2:2 rows came from a
patch-run-restore build and the control rows from a separate CLEAN build of the
same tree, and --probe-records proves the split on every run
({"probe_split_control":"PASS","cell":"W_intrabc","clean_build":"REFUSES",
"bypass_build":"BYTE-EXACT"}). A single pinned path would have let a bypassed
binary serve the controls, and the controls are the only evidence that the 4:2:2
change moved nothing else.

Bypass hygiene: scratch worktree probe422_v2 at 3d56fb60, guard at stream.rs:1803
patched to `if false && ...` (2-line diff verified before building), restored,
git status --porcelain empty, worktree removed, and the bypassed target directory
DELETED so no bypassed binary survives on disk for a later run to pick up. The
driver's documented path is the clean build. No decoder file edited on either
tree; the 4:2:2 refusal still stands.

Section 4's lift checklist is unchanged as a plan; section 2's tables are a record
of affe70dc and are not rewritten, this addendum is the current base.
Merge lane-av1422seed r2: the flip control is PROVEN to bite (324/324) and the merged fix re-measured independentlyAhmet Kaan Gümüş · 10be7f5
Merge lane-av1422seed r2: the flip control is PROVEN to bite (324/324) and the merged fix re-measured independently

The comparator this family's numbers rest on is now proven live, and the root cause of the missing proof is
itself the interesting part: the census's own `flipctl.py` never ran because it was BROKEN -- it re-derived the
decode->display mapping by luma identity inside every compare() call, so flipping a sample destroyed the mapping
key and the call aborted. It was never "unrun". The committed control `scripts/flipctl-422.py` maps ONCE, pins
that mapping across every arm, exercises EVERY decode->display solution (so an ambiguous mapping cannot hide a
failure), and flips in BOTH directions -- the oracle arm and the ours arm, which is the direction every sweep
number is read in. Result on the merged tree: **324 arms, 324 PASS, 0 FAIL** across five s422 targets, the
luma-wrong cell, two 4:2:0 and two 4:4:4 cells, both depths, two shown frames and three samples per plane per
cell, all baselines 0/0/0 so every arm is a +1-off-zero test.

It also re-measured the merged fix rather than inheriting it: the five family cells 0/0/0 (from 0/22003/21625,
0/7810/5531, 0/3437/2222, 0/4653/3777, 0/5740/4348), 4:2:0 and 4:4:4 controls 5/5 exact (so the new `own422`
predicate leaves the 4:2:0 pair arm and the 4:4:4 `own444` arm untouched), luma 0 on every shown frame of every
cell, and `s422_384x240` unchanged at 0/1780/1871 -- correctly NOT attributed to this arm.

Trap worth keeping, recorded in the report and in skill `oracle-comparator-liveness-control`: its first
re-measurement ran against a STALE `main` ref (`0c77bad5`, cached before the merge) and reproduced the pre-fix
numbers exactly -- nothing in the output distinguished "the fix does not work" from "the branch pointer is old".
Re-resolving main first turned the same command into 0/0/0. Same class as a stale binary, on the ref instead.

Honest residue, stated rather than implied: the POST-fix sentinel census was NOT re-run (the scan is still the
temporary uncommitted edit; §3's census is the PRE-fix one and stands as written); coverage on the merged tree is
ARGUED rather than censused (an unwritten sample would hold 0xDEAD = 57005, unreachable at either depth, so
per-plane exactness cannot coexist with one -- labelled an inference); and no gate was added, because a 4:2:2
byte-exact gate is unreachable while the sequence header still refuses the format.
lane-av1422seed r2: the comparator is proven to BITE -- 324/324 flip arms, and the merged fix re-measured hereAhmet Kaan Gümüş · 358ec13
lane-av1422seed r2: the comparator is proven to BITE -- 324/324 flip arms, and the merged fix re-measured here

No decoder change. lane/av1422luma 459e425d (main 298be661) closed the arm this
lane localised; this round checks the claim instead of restating it, and closes
the one hole this report had named against itself twice (§1.1 and §7: "the flip
control was not run").

scripts/flipctl-422.py flips ONE sample and requires the wrong-sample count to
move by EXACTLY +1 in that plane and 0 in every other plane, in both directions:
the oracle arm (one ffmpeg sample, which on a 0/0/0 cell is the only thing that
can move) and the ours arm (one of our samples, which is the direction every
number in this report is read in). It maps decode->display ONCE and pins the
mapping across the flip, because the census's own flipctl.py re-derives that
mapping from LUMA identity inside every compare() call and a flipped sample
destroys the very key it maps on -- the control aborted instead of measuring,
which is why it had never run rather than merely never been run. Every
decode->display SOLUTION is exercised, so an ambiguous mapping cannot hide a
failure behind the one that got picked.

324 arms, 324 PASS, 0 FAIL: five s422 target cells, s422_416x250_10b, two 4:2:0
and two 4:4:4 cells, two shown display frames each, three sample indices per
plane, both depths, all baselines 0/0/0 -- so every arm is a +1-off-zero test.
The 2-solution mapping class (s420_352x242_10b, hidden frame 16, 72 arms) is
included, which is where a comparator that quietly picks one assignment shows.

Independently re-measured on main 298be661 with the local-only 4:2:2 probe
bypass, reverted after (git diff main -- crates/ empty; the sequence-header
refusal at stream.rs:1803 is intact): all five target cells 0/0/0, 4:2:0 and
4:4:4 controls 5/5 byte-exact, s422_* sweep 17/18 with s422_384x240 unchanged
at 0/1780/1871 -- the frame-1 altref residual lane/av1422late owns.

Report §9 records one trap worth keeping: the first re-measurement of this
round ran against a STALE main ref (0c77bad5, cached before the merge) and
reproduced the pre-fix numbers exactly. Nothing about that result distinguished
"the fix does not work" from "the branch pointer is old"; re-resolving main is
what turned the same command into 0/0/0. Same class as stale-binary false
readings, on the ref instead of the binary.

§9.3 states what is still NOT measured: the POST-fix sentinel census was not
re-run (the scan remains the temporary uncommitted edit §8 step 3 describes).
Coverage on the merged tree is argued, not censused -- an unwritten sample still
holds PLANE_SENTINEL 0xDEAD = 57005, above the 10-bit maximum and unreachable
by ffmpeg at either depth, so per-plane byte-exactness on every shown frame
cannot coexist with one -- and that inference is labelled as such rather than
presented as a census.
Merge lane-av1422seed r2: the localisation report is amended to point at the landed fixAhmet Kaan Gümüş · 2b46317
Merge lane-av1422seed r2: the localisation report is amended to point at the landed fix

Report-only. The seed lane's localisation (the intrabc 1:4 strip's pair geometry, the constant list, the
sentinel census) is annotated with the RESOLVED outcome: the fix landed as `459e425d` in lane-av1422luma, and
all six cells of the family are byte-exact. The amendment records what the localisation missed and why -- the
mi-map PUBLICATION half (the origin alone regressed luma 0 -> 5958) and the fact that `has_chroma` was NOT the
missing piece (the caller's predicate already holds for every HORZ strip in the cell: 56 in frame 0, and the U/V
units at mi (51,84) are read, so the oracle reads chroma for an even-row strip too).
lane-av1422seed: amend the report with the RESOLVED outcome -- the landed fix is 459e425d, and all three halves had to moveAhmet Kaan Gümüş · 8f27385
lane-av1422seed: amend the report with the RESOLVED outcome -- the landed fix is 459e425d, and all three halves had to move

This lane's commit 33cb2d0b recorded the defect localised and the fix not landed.
It has since been landed by lane-av1422luma (459e425d) on top of this lane's
write-side hunk, so the report is amended rather than left to claim a stale
"not landed" verdict. No decoder change is added here.

New §3.3: all six cells of the family byte-exact vs ffmpeg 8.1.3, 16 shown frames
-- s422_320x246 0/7810/5531 -> 0/0/0, s422_322x240 0/22003/21625 -> 0/0/0,
s422_322x246 0/3437/2222 -> 0/0/0, s422_352x242_10b 0/4653/3777 -> 0/0/0,
s422_416x242_10b 0/5740/4348 -> 0/0/0, s422_416x250_10b 99011/61486/60106 ->
0/0/0. 25 of 26 swept cells byte-exact; s422_384x240 unchanged at 0/1780/1871 on
its own residual (luma-exact on both sides of the change, first bad frame 1) and
must not be attributed to this arm. 4:2:0 and 4:4:4 controls unchanged.

The landed shape is recorded in full because the lesson is the SHAPE, not the
one line: one predicate own422 = ss_x==1 && ss_y==0 && horz drives FIVE edits --
the chroma plane block (bw>>ss_x, bh>>ss_y), pair_mi -> lmi, the chroma origin
(px>>ss_x, py>>ss_y), BOTH chroma context gathers (around_mi_422_chroma at
ss (1,0), around_mi_rect kept at 4:4:4 where a chroma column IS a luma mi
column), and -- the half this lane never named -- the mi-map publication
record_uv_mode_mi plus the two left/above skip loops at (lmi, bw, bh).

has_chroma is NOT the missing piece; this lane's §4 candidate 1 is disproved
(the caller's predicate already holds for every HORZ strip, 56 in frame 0).
Why every half was needed: the gather's LEFT flag was read one mi row high
(ours ctx 2, oracle ctx 8), all_zero decoded 1 instead of 0, the frame desynced
-- one constant read from three places. That is why the write-side-only attempt
regressed luma 0 -> 5958.
Merge lane-av1422luma: 4:2:2 IntraBC 1:4 strips code their OWN chroma -- six sweep cells byte-exact, and the luma-wrong cell was a chroma-origin ENTROPY desyncAhmet Kaan Gümüş · 2a729cd
Merge lane-av1422luma: 4:2:2 IntraBC 1:4 strips code their OWN chroma -- six sweep cells byte-exact, and the luma-wrong cell was a chroma-origin ENTROPY desync

The frame-0 chroma family (five cells) and the luma-wrong cell `s422_416x250_10b` all close with one fix at one
arm: `decode_rect4_16_intrabc`. The 4:2:0 1:4 PAIR rule (`is_chroma_reference`) was applied at every ss except the
4:4:4 arm, but at ss (1,0) it is true for EVERY block, so a 4:2:2 strip codes its own chroma at its own origin.
Five edits land the own-chroma treatment: `cw,ch` from `(bw>>ss_x, bh>>ss_y)`; `pair_mi = lmi`; `cpx,cpy` from
`(px>>ss_x, py>>ss_y)` (the pair's (144,62) was the wrong row -- 66 rows high); BOTH chroma coefficient-context
gathers over the strip's own extent, routed through `around_mi_422_chroma` at ss (1,0) only (4:4:4 deliberately
keeps `around_mi_rect`, since at ss_x 0 a chroma column IS a luma mi column); and the mi-map publication the next
block reads (`record_uv_mode_mi` plus the two left/above skip loops) over the strip's own extent.

**The luma-wrong cell was the same constant, one read later, and this is the part worth remembering**: with the
origin moved but the gather left on the 4:2:0 pair, the U/V `txb_skip` read of the intra-BC 16x4 strip at mi
(51,84) took its LEFT flag one mi row high (ours ctx 2, oracle ctx 8), `all_zero` decoded 1 instead of 0, the
frame desynced, and luma went 0 -> 5958 wrong -- exactly the regression the earlier write-side-only attempt
produced. So the defect chain is: wrong chroma origin -> wrong coefficient-context gather -> wrong skip read ->
entropy desync -> wrong luma for the rest of the frame. The first divergence for that cell is a chroma
`txb_skip` read at mi (51,84); the intra ladder pairs the first 450 frame-0 blocks exactly on (mi_row, mi_col,
rng) and forks at index 450 (ours 8x16 vs oracle 16x16); the partition ladder shows 367 identical-rng reads with
a constant +15-bit tell; the per-TU ladder is +15 through TU 1918 with the same BIT but a different CDF state at
TU 1919; and the oracle's own dump for that unit shows ctx 8 above [23,23] left [0] against our ctx 2
`around=(true,true,5)`. Filters are inert: prefilter/deblock/CDEF/final all carry the same 6538 luma count.

Measured after: all six cells **0/0/0** per plane per frame vs ffmpeg 8.1.3 (`s422_320x246` 0/7810/5531 ->
0/0/0, `s422_322x240` 0/22003/21625 -> 0/0/0, `s422_322x246` 0/3437/2222 -> 0/0/0, `s422_352x242_10b`
0/4653/3777 -> 0/0/0, `s422_416x242_10b` 0/5740/4348 -> 0/0/0, `s422_416x250_10b` 99011/61486/60106 ->
0/0/0), three of them also 17/17 byte-exact in DECODE order against the instrumented aomdec with the hidden
altref included. Controls unchanged: 4:2:0 10-bit and 4:4:4 10-bit sample cells 0/0/0 before and after, the
pre-existing gate `a_444_intrabc_rect4_reads_its_own_chroma_plane_block` passes with UNCHANGED numbers (23
own-chroma strips at 4:4:4, 0 at 4:2:0), the 26 intrabc-named tests pass, and liveness is proven post-fix by
per-plane single-sample flips (Y, U and V each move by exactly +1 and leave the other two planes at 0).

`s422_384x240` is explicitly NOT this arm: it stays 0/1780/1871, luma-exact, first bad frame 1, and belongs to
the reserved group-tail chroma SKIP arm's new owner.
lane-av1422seed: amend the report with the RESOLVED outcome -- the landed fix is 459e425d, and all three halves had to moveAhmet Kaan Gümüş · 8a032f3
lane-av1422seed: amend the report with the RESOLVED outcome -- the landed fix is 459e425d, and all three halves had to move

This lane's commit 33cb2d0b recorded the defect localised and the fix not landed.
It has since been landed by lane-av1422luma (459e425d) on top of this lane's
write-side hunk, so the report is amended rather than left to claim a stale
"not landed" verdict. No decoder change is added here.

New §3.3: all six cells of the family byte-exact vs ffmpeg 8.1.3, 16 shown frames
-- s422_320x246 0/7810/5531 -> 0/0/0, s422_322x240 0/22003/21625 -> 0/0/0,
s422_322x246 0/3437/2222 -> 0/0/0, s422_352x242_10b 0/4653/3777 -> 0/0/0,
s422_416x242_10b 0/5740/4348 -> 0/0/0, s422_416x250_10b 99011/61486/60106 ->
0/0/0. 25 of 26 swept cells byte-exact; s422_384x240 unchanged at 0/1780/1871 on
its own residual (luma-exact on both sides of the change, first bad frame 1) and
must not be attributed to this arm. 4:2:0 and 4:4:4 controls unchanged.

The landed shape is recorded in full because the lesson is the SHAPE, not the
one line: one predicate own422 = ss_x==1 && ss_y==0 && horz drives FIVE edits --
the chroma plane block (bw>>ss_x, bh>>ss_y), pair_mi -> lmi, the chroma origin
(px>>ss_x, py>>ss_y), BOTH chroma context gathers (around_mi_422_chroma at
ss (1,0), around_mi_rect kept at 4:4:4 where a chroma column IS a luma mi
column), and -- the half this lane never named -- the mi-map publication
record_uv_mode_mi plus the two left/above skip loops at (lmi, bw, bh).

has_chroma is NOT the missing piece; this lane's §4 candidate 1 is disproved
(the caller's predicate already holds for every HORZ strip, 56 in frame 0).
Why every half was needed: the gather's LEFT flag was read one mi row high
(ours ctx 2, oracle ctx 8), all_zero decoded 1 instead of 0, the frame desynced
-- one constant read from three places. That is why the write-side-only attempt
regressed luma 0 -> 5958.
lane-av1422luma: 4:2:2 IntraBC 1:4 strips code their OWN chroma -- six sweep cells byte-exact, luma desync goneAhmet Kaan Gümüş · 3ce52f6
lane-av1422luma: 4:2:2 IntraBC 1:4 strips code their OWN chroma -- six sweep cells byte-exact, luma desync gone

An intra-BC 16x4 (HORZ 1:4) strip's chroma plane block is its own at
4:2:2, not 4:2:0's pair: 4:2:2 subsamples x only, so the strip's chroma
is 8x4 (full height) at the strip's own origin, and libaom's own
is_chroma_reference (av1_common_int.h:1454) ends in "|| !subsampling_y",
which answers true for every block at ss_y 0. decode_rect4_16_intrabc
gated that whole pair geometry on ss (0,0) and left 4:2:2 on the 4:2:0
constants, so the chroma unit was read one mi row high. On
s422_416x250_10b (416x250 10-bit, sha256 d6aa7f45) that is the U/V
txb_skip read at mi (51,84): ctx 2 where the oracle reads 8, all_zero
decoded 1 instead of 0, and the frame desyncs from there -- which is why
this is the one 4:2:2 cell whose LUMA is wrong too.

Four sites move together, all gated on the new own422 = ss (1,0) && horz:
  - cw,ch      = (bw >> ss_x, bh >> ss_y)      (was (pw/2, ph/2))
  - pair_mi    = lmi                           (was (lmi.0-1, lmi.1))
  - cpx,cpy    = (px >> ss_x, py >> ss_y)      (was (pair_mi.1*MI/2, ...))
  - the chroma coefficient-context gather and the uv-mode / left / above
    publication read over the strip's OWN extent, and at ss (1,0) through
    around_mi_422_chroma (one chroma 4-px column spans two luma mi
    columns, so the per-mi gather double-counts each column's whole-unit
    dc sign and ORs in cells the unit does not cover)

The first three are lane/av1422seed's hunk, unlanded at the time of
writing and reproduced here so the arm is measurable whole; the gather and
the publication are this lane's. VERT_4 stays on the pair:
ss_size_lookup[BLOCK_4X16][1][0] is BLOCK_INVALID at 4:2:2, so only HORZ
reaches it. 4:4:4 keeps the per-mi gather (at ss_x 0 a chroma column IS a
luma mi column, so sampling would halve its own above span) and 4:2:0 is
untouched by construction.

Measured (ffmpeg 8.1.3 oracle, 16 shown frames, per-plane wrong samples;
pre = main 1bc6f543 with a patch-run-restore 4:2:2 probe bypass, post =
this tree, same bypass, same comparator):

  s422_320x246      0/7810/5531   -> 0/0/0        BYTE-EXACT
  s422_322x240      0/22003/21625 -> 0/0/0        BYTE-EXACT
  s422_322x246      0/3437/2222   -> 0/0/0        BYTE-EXACT
  s422_352x242_10b  0/4653/3777   -> 0/0/0        BYTE-EXACT
  s422_416x242_10b  0/5740/4348   -> 0/0/0        BYTE-EXACT
  s422_416x250_10b  99011/61486/60106 -> 0/0/0     BYTE-EXACT (this lane's cell)

25 of the 26 swept cells are byte-exact after the change; s422_384x240 is
unchanged at 0/1780/1871 and is a different residual. 4:2:0 10-bit
(s420_416x250_10b, s420_416x242_10b, s420_352x242_10b, s420_320x242_10b,
s420_320x250_10b) and 4:4:4 10-bit (s444_416x250_10b, s444_352x242_10b,
s444_320x250_10b) are byte-exact before and after. In DECODE order (17
frames, hidden alt-refs included) s422_416x250_10b is 17/17 byte-exact
against the instrumented aomdec, and so are s422_416x242_10b and
s422_320x246.

Gate: a_444_intrbac_rect4_reads_its_own_chroma_plane_block passes with
the 4:4:4 numbers unchanged (23 own-chroma strips, first wrong sample
index 20532, entropy fork read 12465 at mi (90,108)) and the 4:2:0 twin
byte-exact; the 26 intrabc-named tests pass. 4:2:2 is refused at the
sequence header, so no committed test can assert the new route: a
INTRABC_RECT4_OWN_CHROMA422_HITS counter records reach (56 HORZ 1:4
strips in frame 0 of the reproducer alone) and lanes/av1422luma.report.md
carries the measurement. The 4:2:2 refusal is untouched in this tree.
Merge lane-av1422late: s422_384x240 stops at the RESERVED arm -- refusal to fix, owner namedAhmet Kaan Gümüş · 09027b4
Merge lane-av1422late: s422_384x240 stops at the RESERVED arm -- refusal to fix, owner named

Refusal-to-fix with the owner identified, and the reserved-class rule honoured: the failure mode is the
project-reserved 4:2:0 group-tail chroma SKIP arm, so the lane stopped rather than editing it from neighbouring
chroma work. The cell's chroma is written by exactly one site --
`decode.rs:43948`, `decode_inter_block`'s single-reference arm, `push_mc_rect(1, cpx, cpy, chroma_stride,
write_chroma_w, write_chroma_h, su, ZERO_RESIDUAL)` -- over a luma 64x64 at (0,128) whose per-axis 4:2:2 chroma
plane block is (0,128,32,64). `EC_MCPUSH` names it as the only writer of every chroma sample in the bad box, and
`EC_AV1_PIXPROBE` at U(25,175) shows `mc_add block=(0,128)+32 prev=90 val=90`. The signature is the reserved
one: our committed chroma over the whole 32x64 plane block is byte-identical to the reference plane (0 of 2048,
both planes) while the oracle's block is a vertical profile 87,98,120,131,...,120,98,87 and ours is a flat 90 --
a DC where the oracle predicts, which is what that arm is known to do.

Everything else is ruled out with measurements rather than argument: **not entropy** (the pre-filter stage dump
already carries the whole divergence -- 0/180/180 at decode frame 1 -- and luma is byte-exact in all 17 frames);
**not deblock/CDEF/LR** (pre-filter carries 180 of the final 202, the filters only spread it); **not OBMC**
(`EC_KILL_OBMC=1` makes the cell strictly WORSE, frame 13 going 0/290/303 -> 225/573/577, so OBMC is
load-bearing here); **not compound/warp/scaled-ref** (no parse-time trace for this block; its chroma MC has
xfrac=yfrac=0, Regular). Also worth keeping: `EC_AV1_DEBUG_SKIP_*` disable the filter on OUR side only, so they
red every plane and cannot attribute a stage -- the pre/post/post-CDEF dumps were used instead.

Two measurement facts the campaign inherits. First, the **decode->display map is measured, not assumed**:
0->0, 1->HIDDEN, 2->7, 3->3, 4->1, 5->2, 6->5, 7->4, 8->6, 9->11, 10->9, 11->8, 12->10, 13->13, 14->12, 15->14,
16->15 -- read off a 17x16 total-diff matrix and cross-checked by aomdec's own decode-order dump being 0/0/0 on
every shown frame, with index-to-index alignment producing a false whole-sheet red (frame 1 read as 18096 wrong
purely from misalignment). Second, the liveness control is a one-sample flip on a currently-MATCHING sample in
decode 8 / display 6 plane U: U 1780 -> 1781, V unchanged 1871, Y unchanged 0, every other frame unchanged.
Family sweep on the aomdec decode-order comparator: `s422_384x242` and `s422_384x246` and `s422_320x240` exact,
the frame-0 cells still diverging, this one first at decode frame 1.
lane-av1422late: s422_384x240 localised to the frame-1 altref inter chroma SKIP write, refusal-to-fixAhmet Kaan Gümüş · c48f343
lane-av1422late: s422_384x240 localised to the frame-1 altref inter chroma SKIP write, refusal-to-fix

The one 4:2:2 cell that fails from decode frame 1 rather than frame 0. ffmpeg is
the pixel oracle; the cell's 17 decode frames against ffmpeg's 16 display frames
need the decode->display map measured from the full diff matrix (decode frame 1 is
the hidden altref). Flip control: one flipped oracle sample moves U by exactly +1
(1780 -> 1781) with V and every other frame unchanged.

First divergence: decode frame 1, chroma only, U/V rows 169..190 cols 23..35;
pre-filter rows 170..189 cols 23..31, 180 samples per plane. Pre-filter already
carries it (0/180/180), so this is reconstruction, not an entropy desync and not
deblock/CDEF/LR. EC_MCPUSH names the single writer: decode.rs:43948, the inter
block's chroma SKIP push_mc_rect for the 64x64 luma block at (0,128), whose chroma
plane block is the per-axis 4:2:2 (0,128,32,64). Our chroma there is byte-identical
to the reference (0 differing over 32x64) and frame 0's U is uniformly 90 across
the whole neighbourhood, so the oracle's block is not a copy and our side wrote a
flat DC -- the standing-reserved group-tail chroma SKIP signature. Refusal-to-fix,
owner named; OBMC ruled out by measurement (killing it makes the cell worse).

Family sweep reproduces the census's counts exactly and shows 384x242/384x246
byte-exact, so the defect is reachable only at 384x240. No source diff: the 4:2:2
sequence-header refusal and the probe bypass revert are both in place.
Merge lane-av1422seed: the 4:2:2 seed is LOCALISED (the intrabc 1:4 strip writes its chroma at a 4:2:0 pair origin) -- report only, no decoder changeAhmet Kaan Gümüş · 4ef5ae8
Merge lane-av1422seed: the 4:2:2 seed is LOCALISED (the intrabc 1:4 strip writes its chroma at a 4:2:0 pair origin) -- report only, no decoder change

Localised and proved, not closed: the write-side fix is correct in shape but regresses luma (5958 wrong luma
samples in frame 0), so nothing is landed and the refusal stands. Arm:
`decode.rs:18162 decode_rect4_16_intrabc`, the intrabc 16x4/4x16 1:4 strip, which applies the 4:2:0 1:4 PAIR
rule (`is_chroma_reference`) at every ss except its 4:4:4 `own444` arm -- 4:2:2 is the SECOND ss where that rule
does not hold and was never given an arm. At ss (1,0) `is_chroma_reference` is true for EVERY block
(`|| (subsampling_x == 1 && subsampling_y == 0) || ..`), so there is no pair: every strip codes its own chroma at
its own origin with its own context extent. Three constants named with their required values: `pair_mi`
`(lmi.0-1, lmi.1)` = (31,72) must be `lmi` = (32,72); `cpx,cpy` `(pair_mi.1*MI/2, pair_mi.0*MI/2)` = (144,62)
must be `(px>>ss_x, py>>ss_y)` = (144,128) -- that is the wrong write; and the two `around_mi_rect(pair_mi, ..)`
sites (:18574, :18635) must become the strip's own `(lmi, bw, bh)` through `around_mi_422_chroma`. `cw,ch` at
:18244 are accidentally already right. Not claimed: VERT_4 4x16 strips, since `ss_size_lookup[BLOCK_4X16][1][0]`
is BLOCK_INVALID at ss (1,0).

The instrument is the interesting part and it is a method, not a one-off: **`EC_AV1_PLANE_SENTINEL=1` fills the
uninitialised plane with 0xDEAD**, and a scan at the pre-deblock point is then an EXACT census of UNWRITTEN
samples -- a diff mask cannot tell "wrong" from "never written". On `s422_320x246` frame 0 it reports luma clean
and **U and V each 4 runs at rows 128..131, cols 144..151**, i.e. a block that was never written, while the only
chroma writes in the frame are `reconstruct_mc_rect plane=1/2 x=144 y=62 w=8 h=4` -- **66 rows too high**. So the
census's first divergence U(62,144) and this unwritten region are the same defect seen from both ends.

All five cells are the same defect, not a depth property: every one first diverges in decode frame 0 plane U at
row 62, with counts differing only because the 10-bit cells are wider (`0/7810/5531`, `0/22003/21625`,
`0/3437/2222`, `0/4653/3777`, `0/5740/4348`). The attempted write-side fix moved the write but left the GATHER
at the pair origin, which is why luma went 0 -> 5958: the next round must move both, and re-run the sentinel
census (it now reports the correct target written and the wrong one empty).
Merge lane-av1422ffmpegbase: the 4:2:2 lift's measurement base (ffmpeg oracle) and its checklistAhmet Kaan Gümüş · 63a97a8
Merge lane-av1422ffmpegbase: the 4:2:2 lift's measurement base (ffmpeg oracle) and its checklist

The base the lift will be judged on, measured with the oracle the user settled this turn. 95 cells from
census422b, every sha256 verified against cells_full.json (0 drift), geometry from ffprobe with a hard error on
any disagreement and on a frame count of zero: **88 exact, 7 diverging, 0 comparator errors** -- 4:2:2 **44/51
exact / 7 diverging**, 4:2:0 **22/22**, 4:4:4 **22/22**. The seven and their ffmpeg numbers are tabulated with
the first bad sample per cell; six are chroma-only and one, `s422_416x250_10b`, is luma-wrong
(99011/61486/60106, first bad Y (r128,c384)).

**The two oracles agree, and the apparent disagreement is ancestry, not method**: against the aomdec census the
verdicts match on 94 of 95 cells, including the same seven 4:2:2 cells; the single exception is
`s444_352x242_10b`, which the aomdec comparator also calls BYTE-EXACT when re-run on main. Every count
difference on the seven is EXACTLY the hidden alt-ref frame -- 17 decode frames, 16 shown -- and subtracting
that frame's own per-plane counts reproduces the ffmpeg display-order totals to the sample on 7 cells x 3
planes. Corollary worth keeping: display order is a PERMUTATION of the shown decode frames (s422_320x246's
display is f0,f4,f5,f3,f7,f6,f8,f2,... with f1 hidden), so an index-by-index decode/display pairing is wrong
even when the frames are the same set.

Instrument trap found the expensive way: **ffmpeg 8.1.3's y4m MUXER cannot carry a 10-bit cell** (`Conversion
failed!`, -22) while the rawvideo path decodes the same stream fine, so the first full run recorded 18/18 10-bit
cells as ORACLE-REFUSED -- a false red manufactured by the muxer's format list. Geometry now comes from ffprobe.

The checklist pins the lift: the guard at `stream.rs:1803-1808` (`subsampling_x != subsampling_y`), whose
residual after the lift is (0,1) 4:4:0 -- which the parser cannot produce at all
(`ec-av1-syntax/src/sequence.rs:481` reads `subsampling_y` only when `subsampling_x == 1`), so per this repo's
rule it closes with an ASSERTION rather than a comment; `refusal_inventory.rs:150` and `:529-533` must go in the
SAME commit as the guard, since `the_decode_path_refuses_exactly_the_listed_cases` (:854) asserts listed-found
AND found-listed are both empty; and the refusal-asserting tests to invert are enumerated by file:line.
Merge lane-av1422444b r2: the census annotations are folded in, additivelyAhmet Kaan Gümüş · 404616f
Merge lane-av1422444b r2: the census annotations are folded in, additively

Four sites in `lanes/av1422census2.report.md` gain a bracketed correction naming the tree (`ed7c99bc` is 36
commits behind main), the fix (`f3afa5b7`, an ancestor of main) and the numbers (0/0/0 vs ffmpeg on the 16 shown
frames and vs aomdec on all 17 decode-order frames): §3.2's still-diverging row for `s444_352x242_10b`, §3.4's
"21 of 22 with the single exception", §7.1's class-D row (class D is EMPTY) and §7.2's "a lift would not fix
class D" (the constraint is gone; the two 4:2:2 bullets beside it are explicitly untouched).

The diff is the discipline: **+56 lines, 0 deletions** on the census report, and all four originals verified
byte-identical between main and the lane's tip before and after (grep count 1 -> 1). The lane also caught its
own first attempt at §7.1 landing BETWEEN rows D and E and cutting the failure-class table in half, moved it
below the table, and flagged the spot for review -- which is why the merge was checked positionally as well as
additively.

Its own report picks up the three comparator bugs with a tell for each: a missing per-plane base on the OURS
buffer (reported 1362686/1362769 wrong chroma samples on an EXACT cell; tell = implausible magnitude and a
(0,0) first divergence on a non-luma plane), geometry parsed from the cell's FILE NAME (`s444_320x240` read as
320x320; tell = a frame count disagreeing with `-count_frames`), and a hardcoded bps (8-bit frame sizes
doubled; tell = the not-a-multiple error firing only on 8-bit cells). The general lesson is recorded with them:
all three report a NUMBER rather than refusing to, which is exactly why the controls precede the verdict and why
a comparator should hard-error on a geometry it cannot account for.
lane-av1422seed: the frame-0 4:2:2 seed is decode_rect4_16_intrabc's 4:2:0 pair geometry at ss (1,0) -- LOCALISED, fix not landedAhmet Kaan Gümüş · 74d4dbb
lane-av1422seed: the frame-0 4:2:2 seed is decode_rect4_16_intrabc's 4:2:0 pair geometry at ss (1,0) -- LOCALISED, fix not landed

ATTRIBUTION. A wrong-sample diff cannot say whether a block was written at all.
The crate's own EC_AV1_PLANE_SENTINEL fill (0xDEAD into the uninitialised plane)
can: on s422_320x246 decode frame 0 it reports luma 0 unwritten runs and, for U
and V alike, exactly four -- rows 128..131, cols 144..151. The only three MC
writes in that frame are plane=0 x=288 y=128 w=16 h=4 (the strip's luma, exact)
and plane=1/plane=2 x=144 y=62 w=8 h=4 (its chroma, 66 rows too high). The
strip's own 8x4 chroma at (144,128) is never written. Owner:
decode.rs:18162 decode_rect4_16_intrabc, whose 4:2:0 1:4 PAIR rule
(is_chroma_reference, av1_common_int.h:1454) is applied at every ss except the
4:4:4 own444 arm. 4:2:2 is the SECOND ss where the rule does not hold --
is_chroma_reference ends in `|| (subsampling_x == 1 && subsampling_y == 0)` --
and it was never given an arm. Three constants carry it: cw/ch (accidentally
already right at 8x4), pair_mi (lmi, not lmi.0-1), and cpx/cpy
((px>>ss_x, py>>ss_y) = (144,128), not (pair_mi.1*MI/2, pair_mi.0*MI/2) = (144,62)).
The two chroma coefficient gathers at 18574/18635 must move with them.

MEASURED, and NOT LANDED. The write-side half regresses luma: 0 -> 5958 wrong
luma samples in frame 0 of s422_320x246, and all five slice cells then fail
luma identity. Control: git stash push the one file, rebuild, re-run -> main's
numbers reproduce to the sample (0/7810/5531, 0/22003/21625, ...), and two runs
of one binary are sha-identical, so it is the change, not a flake. Moving the
gather as well does not restore luma, so the remaining half is not the gather's
extent alone -- most likely has_chroma itself (at ss (1,0) EVERY strip codes
chroma, so an even-row HORZ strip passed has_chroma=false must become true).
Write the 4:2:2 arm whole: origin, extent, has_chroma, entropy set and context
gather together. lane-av1422luma (Agent07-4) independently localised a LUMA
desync in this same function; ownership split by message, this lane's write-side
hunk is not landed and no decoder change is in this commit.

INSTRUMENT (committed). scripts/cmp422-ffmpeg.py + run422-ffmpeg.py: ffmpeg
8.1.3 is the pixel oracle, geometry from the SEQUENCE HEADER via ffprobe, per-
frame plane attribution, bps-wide wrong samples, a zero-frame count is a hard
error, and the decode->display mapping is DERIVED: ffmpeg emits 16 shown frames
against our 17 decode-order dumps and a real altref REORDERS display against
decode (measured: decode f2..f8 -> display 7,3,1,2,5,4,6), so frame identity is
carried by the luma plane under an enumerated assignment that must agree on the
counts. Five controls (4:2:0 x3 incl. 10-bit, 4:4:4 x2) read BYTE-EXACT 0/0/0
before and after. All five slice cells reproduced: chroma only, luma exact,
first divergence decode frame 0 U row 62, region 16 chroma columns from the
right edge in all five -- one defect at five geometries, not a depth property.

NOT MEASURED, stated: the sample-flip control was NOT run (the controls above
are byte-exact cells, not flip arms); no permanent gate was added, because with
the fix unlanded it could only assert a failure. s422_384x240 (first bad frame
1) is a different seed. The 4:2:2 sequence-header refusal is untouched:
stream.rs:1803 reads `if seq.subsampling_x != seq.subsampling_y`.
lane-av1422444b: the census annotations are folded in (additive, nothing rewritten), and my own comparator's three bugs are written down with their fixesAhmet Kaan Gümüş · 4fe36ff
lane-av1422444b: the census annotations are folded in (additive, nothing rewritten), and my own comparator's three bugs are written down with their fixes

Report-only. No source change; nothing pushed; committed on lane/av1422444b in this lane's
own worktree with absolute paths, rebased onto 36c6f731 first so the census edit applies to
the merged copy.

CENSUS ANNOTATIONS (4 sites, additive). Every original sentence and table row is left
standing, so the record still shows what was believed on which tree; each correction is a
bracketed [CORRECTED 2026-09-30 by lane-av1422444b: ...] note naming the tree (ed7c99bc was
36 commits behind main), the fix (f3afa5b7, an ancestor of main) and the numbers (0/0/0 vs
ffmpeg on 16 shown frames, 0/0/0 vs instrumented aomdec on all 17 decode-order frames):
  1. section 3.2's still-diverging table, after the s444_352x242_10b row -- superseded;
  2. section 3.4's "4:4:4 controls: 21 of 22, single exception" -- true only of the census's
     own two trees; at main 22/22, and the control it carried now holds twice over;
  3. section 7.1's class D row -- class D is EMPTY; placed AFTER the table so the table is
     not split (my first attempt cut it in half and was corrected);
  4. section 7.2's "A lift would not fix class D" -- the constraint is GONE, so no 4:4:4
     exception bounds a lift. The two 4:2:2 bullets there are explicitly untouched.

COMPARATOR BUGS, now section 3.2 of my own report, each with its fix and its tell:
  1. missing plane offset on the OURS buffer (oracle indexed per frame, ours read at
     per-plane-zero) -- reported 1362686/1362769 wrong chroma samples on an EXACT cell;
     fix is one `base` per plane added to BOTH sides' indices. Tell: implausible magnitude
     and a first divergence at (0,0) of a non-luma plane.
  2. geometry parsed from the cell's FILE NAME -- s444_320x240 read as 320x320, and the
     4:2:0 cells reported as "ours=16 ref=8", which reads like a decoder dropping frames;
     fix is ffprobe width/height/pix_fmt on the cell itself, chroma extents as
     ceil(w/2**ss_x) x ceil(h/2**ss_y). Tell: a frame count that disagrees with
     -count_frames.
  3. bps hardcoded to 2 -- every 8-bit cell's frame size doubled, so the oracle length
     stopped being a multiple of it, an error that reads like a truncated oracle; fix is
     bps derived from the cell's own pix_fmt. Tell: the not-a-multiple hard error firing
     only on the 8-bit cells.
The general lesson recorded with them: all three report a NUMBER rather than refusing to,
which is why the liveness controls are ordered before the verdicts and why a comparator
should hard-error on a geometry it cannot account for.
lane-av1422ffmpegbase: the 4:2:2 measurement BASE, re-taken against the ffmpeg oracle, plus the lift checklistAhmet Kaan Gümüş · dbcc953
lane-av1422ffmpegbase: the 4:2:2 measurement BASE, re-taken against the ffmpeg oracle, plus the lift checklist

Measurement only -- no decoder file is touched and the 4:2:2 sequence-header
refusal still stands at stream.rs:1803 on affe70dc.

Census of all 95 census422b cells against ffmpeg 8.1.3, per plane per frame,
display order / shown frames on both sides (dump_yuv vs ffmpeg -f rawvideo),
geometry taken from the oracle's own ffprobe statement:

  4:2:2  44 byte-exact / 7 diverging of 51
  4:2:0  22/22 byte-exact
  4:4:4  22/22 byte-exact
  whole set  88 exact, 7 diverging, 0 refuses, 0 comparator errors

That is the aomdec census's own 44/7 (lanes/av1422census2.report.md 3.2), same
seven cells. The two oracles agree on the EXACT per-plane counts on all seven:
removing the hidden alt-ref frame's own counts from the aomdec decode-order
total reproduces the ffmpeg display-order total to the sample, 7 cells x 3
planes. A divergence count published without its frame basis is ambiguous by
one frame's worth of samples.

One disagreement in the whole set: s444_352x242_10b (4:4:4), where the aomdec
row says DIVERGES 0/1166/1413 and ffmpeg says 0/0/0. Not an oracle
disagreement -- on affe70dc against aomdec itself the cell is BYTE-EXACT 17/17,
because lane-av1444d10 (f3afa5b7/eb73ef89, both ancestors of main) fixed it and
the census's post tree ed7c99bc is 36 commits behind.

Measured instrument trap worth the paragraph: ffmpeg's y4m MUXER cannot carry
any 10-bit cell in 8.1.3 ("Conversion failed!", -22) while the rawvideo path
decodes the same stream fine, so the first full run recorded 18 of 18 ten-bit
cells as ORACLE-REFUSED -- a false red made by the muxer's format list. The
comparator now takes geometry from ffprobe.

Comparator liveness re-proven before any verdict is read: 23 arms, 23 PASS, 0
FAIL. One flipped oracle sample per arm, exactly +1 wrong sample in that plane,
every other plane and frame unmoved; seven of the arms have a non-zero baseline
(they move a plane already wrong by thousands by exactly one more). The exact
cells are in the table deliberately -- they are the false-green case.

The lift checklist names the guard site, the two refusal_inventory rows to
retire, the seven tests that assert the refusal and must be inverted, the pin
convention (crates/ec-av1/fixtures + read_pin's size/fnv1a64, missing pin = FAIL,
have_ffmpeg probed-then-asserted), and what a 51/51 gate has to carry -- 42 of
the 51 cells are not committed yet, so gating is a capture task first.

Reproduce: lanes/av1422ffmpegbase.report.md 5.
Merge lane-av1422444b: the 4:4:4 census cell was already exact -- class D is empty and the 4:2:2 lift no longer has a 4:4:4 constraintAhmet Kaan Gümüş · 18aa211
Merge lane-av1422444b: the 4:4:4 census cell was already exact -- class D is empty and the 4:2:2 lift no longer has a 4:4:4 constraint

`s444_352x242_10b` needs no fix: it is byte-exact at main, and the reason is ancestry, not luck. `f3afa5b7`
(the chroma-palette unit window) is an ancestor of main and postdates the census tree `ed7c99bc`, so the census
table was describing a tree 36 commits behind. Cause named and confirmed as 4:4:4-SPECIFIC:
`decode_block_rect64`'s chroma palette walk caps units at 32, so at ss=00 a 64-axis luma strip's chroma is
TILED, and both tiled arms handed each unit the WHOLE block's palette buffer -- `PlaneBuf::reconstruct` reads
the first `side*side` entries, so unit (0,1) rebuilt the block's row-0 palette where libaom writes row 32's.
That is a different arm at a different depth from the 4:2:2 family's `b8eed69f` (sub8_leaf_chroma422's
skipped-INTRABC DV copy), and 4:2:0 is structurally immune (nw*nh == 1 on every 4:2:0 block). The sensitive
axis is the CHROMA UNIT COUNT, not the frame size -- which is why the sibling geometries at the same depth were
already fine.

Measured two ways at main: 0/0/0 vs ffmpeg 8.1.3 (`yuv444p10le`, 16 shown frames) AND 0/0/0 vs the
instrumented aomdec on all 17 decode-order frames including the hidden altref, so the hidden frame is not a
blind spot; ffmpeg's and aomdec's rawvideo agree byte-for-byte over all 8177664 B. The cell is already pinned by
a pre-existing gate (`stream.rs:51024`), which was re-proven to bite on THIS tree by reverting the windowing in
both tiled arms: red at decode frame 0 byte 328192 (ours 209 vs 216, 104 bytes differ), ffmpeg comparator
0/1112/1362, first divergence U row 224 col 64. No new gate: a second pin on the same bytes would be a
duplicate. Family sweep with no skips: 18/18 fresh 4:4:4, 18/18 fresh 4:2:0, 36/36 committed 4:4:4 fixtures,
69/69 committed 4:2:0 fixtures.

Report-only: no source change, tree byte-identical to main. Three corrections are owed to
`lanes/av1422census2.report.md` (its §3.2 row, its §3.4 "21 of 22 with the single exception", and its §7 "a lift
would not fix class D" -- class D is empty), and they land separately as annotations rather than as a rewrite of
another lane's report. The lane also found and fixed three bugs in its OWN comparator (a missing plane offset
that reported 1.36M wrong chroma samples on an exact cell, geometry parsed from the file name instead of the
header, and a hardcoded bps) -- worth recording, because each of those would have produced a confident, wrong
table.
lane-av1422444b: s444_352x242_10b is ALREADY byte-exact at main -- the census row is superseded by f3afa5b7, and here is the measurementAhmet Kaan Gümüş · 990a9b4
lane-av1422444b: s444_352x242_10b is ALREADY byte-exact at main -- the census row is superseded by f3afa5b7, and here is the measurement

REPORT ONLY, no source change. The tree is byte-identical to main (affe70dc); git diff is
clean after the mutation of section 4 was reverted. The 4:2:2 sequence-header refusal is
untouched and EC_AV1_ALLOW_422_PROBE was never needed -- 4:4:4 is a supported format, so
this cell decodes on the shipped tree with no bypass.

OUTCOME: the cell is byte-exact against ffmpeg 8.1.3 on all 16 shown frames (0/0/0, no
first divergence, empty wrong-sample bbox) AND against instrumented aomdec on all 17
decode-order frames including the hidden altref (0/0/0). The census's 0/1166/1413 was a
true reading of ed7c99bc, a tree that predates f3afa5b7, which this lane confirms is an
ancestor of main. The committed fixture is byte-identical to the census cell
(sha256 84df2f37...), so the two measurements are of the same bitstream.

CAUSE, and it is 4:4:4-SPECIFIC, not shared with the 4:2:2 family: decode_block_rect64
(decode.rs:20051) caps chroma units at 32, so at ss=00 a 64-axis luma strip's chroma is
TILED, and both tiled arms handed each unit the WHOLE block's palette prediction buffer
while PlaneBuf::reconstruct reads its first side*side entries. Unit (0,1) reconstructed
the block's row-0 palette where libaom writes row 32's. f3afa5b7 routes both arms through
palette_window (decode.rs:3009). The 4:2:2 family's b8eed69f is a different arm at a
different depth (sub8_leaf_chroma422's skipped-INTRABC DV copy), and 4:2:0 is structurally
immune here because nw*nh == 1 on every 4:2:0 block. The sensitive axis is CHROMA UNIT
COUNT, not frame width or height -- which is why the sibling geometries at the same
depth were already exact.

GATE: pre-existing and pinning this exact cell, so no duplicate was added --
a_444_lossy_palette_chroma_unit_window_is_byte_exact_at_352x242_10bit (stream.rs:51024).
Green at main (17 decode frames, 1 hidden, 4 windowed units). RED PROVEN BY MUTATION on
this tree: with palette_window reverted in both tiled arms the gate fails at decode frame
0 byte 328192 (ours 209 vs 216), and the ffmpeg comparator measures 0/1112/1362 with the
first divergence at frame 0 plane U row 224 col 64 -- a 32x32 unit plus the 19 columns a
neighbouring PAETH block propagates, with luma 0 in every frame, so it is a per-frame
chroma RECONSTRUCTION error and not an entropy-read desync. Restored to green.

COMPARATOR LIVENESS, proven before any exact verdict was read: one-sample flip on the
byte-exact cell moves each plane by exactly +1 and leaves the other two at 0, all three
arms; ffmpeg and aomdec rawvideo are byte-identical over all 8177664 B; and the mutated
tree reds on the same comparator. Two of my own instrument bugs were caught by these
controls rather than by reading a verdict and are recorded in the report: an ours-buffer
plane offset that reported 1.36M wrong samples on an exact cell, and a file-name-parsed
geometry that miscounted the 4:2:0 cells.

FAMILY SWEEP at main, no skips: 18/18 fresh 4:4:4 sweep cells, 18/18 fresh 4:2:0 sweep
cells, 36/36 committed 4:4:4 fixtures, 69/69 committed 4:2:0 fixtures, all 0/0/0. The
sibling gate for the horizontal arm of the same walk
(a_444_palette_chroma_horizontal_unit_window_is_byte_exact_10bit_and_12bit) is also ok.
Section 6 lists the three census edits this supersedes, left to that report's owner.
lane-cpu2formatprobe: the --cpu-used 2 luma divergence is FORMAT-SPECIFIC -- 16/16 supported cells byte-exact, the 4:2:2 cells refuse by nameAhmet Kaan Gümüş · 63036d2
lane-cpu2formatprobe: the --cpu-used 2 luma divergence is FORMAT-SPECIFIC -- 16/16 supported cells byte-exact, the 4:2:2 cells refuse by name

The 4:2:2 census's finding that `rc2_s422_320x242` diverges on 890107 samples INCLUDING 436945 LUMA raised the
question that mattered more than the 4:2:2 lift decision: does the same encoder setting break a SUPPORTED cell?
Answer, measured: no. Sixteen cells (4:2:0 and 4:4:4 x 320x242 and 256x128 x 8-bit and 10-bit x --cpu-used 2 and
--cpu-used 6) all decode byte-exact against aomdec -- 0 differing samples on EVERY plane of every decode frame,
17 frames each -- while four 4:2:2 cells from the same recipe refuse by name. So the cpu-used 2 divergence is
specific to the refused format and is not a live defect in any supported cell.

Comparator discipline, because this is exactly the class of claim two refutations already caught this wave:
the census's own cmp422.py is IMPORTED rather than reimplemented; both sides dump decode-order frames through
the depth-correct EC_AV1_FINAL_DUMP (never the u8-narrowing dump); geometry comes from the y4m header, never a
file size, and a frame whose length disagrees with the geometry is a hard error; plane attribution is per frame
from that frame's own plane lengths; and a wrong sample is one bps-wide unit so 10-bit samples cannot hide
behind a byte compare. Two controls ran BEFORE any verdict: 54 per-cell per-plane oracle-sample flips, all 54
biting (and 8 cross-stream same-geometry pairs, all 8 diverging, which rules out comparing our stream with
itself). Report-only: no decoder source edited, no fix proposed.

The report also records an instrument trap worth keeping: importing the census's comparator while leaving its
WORK root stale silently pointed the driver at a previous run's dumps, which is how a first pass of the
cross-stream control "passed" on random pairs; the re-run fixed it by pairing at equal geometry.
av1txctxband2: correct the band-overwrite counter's doc to what the predicate actually measuresAhmet Kaan Gümüş · 0b7aabe
av1txctxband2: correct the band-overwrite counter's doc to what the predicate actually measures

A refutation pass (lane av1txctxband2, reviewer) reproduced every load-bearing claim of the band fix --
the libaom either/or, the RECT twin, the named missing write at mi=(78,110), per-plane per-frame exatness
on both 640x480 cells under a proven-live comparator, the 457907-read ladder with a comparator shown to
bite, and the mutation (removing only the set_txfm_ctxs call reds the gate and returns the cell to the
reported Golomb refusal) -- and falsified ONE documentation claim, which is corrected here.

The counter's predicate is `!intra_only && any covered above-band cell != pub_above`, which counts a
FIRST WRITE into a tile column still at TXFM_CTX_INIT as well as a genuine replacement of an earlier
block's size. Measured on committed fixtures: 420_lossless_tallinter_8x16.obu fires 48 with every covered
column still at init (the old doc predicted 0 on exactly such a stream), 420_lossless_arf_1to4_320x240_5f.obu
fires 320 with 53 first touches, and 183 of the pin's 944 are first touches. The count remains a decision
that a reader can act on, so the gate keeps its teeth and no behaviour changes; only the doc's narrower
causal reading ("overwrote a size some earlier block left") was wrong and is now replaced with the measured
one plus the refutation's numbers.
lane-av1mixllres report: the residue arms and the >8-bit arm are MEASURED, and the class is not bit-depth-dependentAhmet Kaan Gümüş · ec0357f
lane-av1mixllres report: the residue arms and the >8-bit arm are MEASURED, and the class is not bit-depth-dependent

The one missing publish is already in main (f2dd27b0) and the residue fixtures
and gate with it (f8a66917 / 167548c6); this lane lands no code. What it adds is
the measurement nobody had, on 167548c6 with no local change:

- 6-frame 256x128 and both 320x240 arms: 7/7, 7/7, 6/6 decode-order byte-exact.
  Base 46a7e67b counts (mine, per plane per frame): red f1..f6 by
  6051/4115/2962/26566/41876/14749, f1..f5 by 15031/16259/21932/65405/90077, and
  f6 by 19398.
- The 10-bit 4:2:0 arm, built by hand for the first time (scripts/raw_to_y4m.py,
  header line plus FRAME\n before every frame). At base it REFUSED after 4 dumps
  with f1/f2/f4 red by 12766/5382/24764; on main 7/7 byte-exact. The 12-bit arm
  likewise: 7 dumps with 5 red at base, 7/7 exact on main.
- So the class is NOT bit-depth-dependent: one missing TXFM_CONTEXT publish
  desyncs 8-, 10- and 12-bit cells of the same recipe, and one line closes all
  three. Band bookkeeping carries no depth term.
- Comparator non-vacuity at 10-bit: a 1-LSB oracle flip on one sample of frame 4
  reports exactly 1 differing byte at sample 1000, so the clean zero is measured,
  not vacuous. Both sides are the depth-correct EC_AV1_FINAL_DUMP; the
  u8-narrowing rung is not used.
- Cause localised independently from base: first divergent read 64674 at
  mi=(40,52), a txfm_partition ctx read with above=16 where libaom reads 4 --
  the band replay puts the last write to mi column 52 at a skipped 16-px inter
  block at mi=(16,52), and the per-site ctx lock (reverted) makes the whole cell
  exact. On main the operand pair av1mixllconj specified reads ctx=1 on its own.

Scoped: cargo test -p ec-av1 --lib -- a_420_mixed_lossless = 3 passed / 0 failed;
-- lossless mixll txctx vartx = 38 passed / 0 failed.
Merge lane-av1txctxband2 r2: the mixed-lossless RESIDUE arms are the SAME missing publish, not three more defectsAhmet Kaan Gümüş · af4d9c7
Merge lane-av1txctxband2 r2: the mixed-lossless RESIDUE arms are the SAME missing publish, not three more defects

The three arms lane-av1mixllconj handed over as unnamed separate-owner defects close with the one line already
merged: 420_mixll_256x128_6f.obu was red on f1..f6 (6051/4115/2962/26566/41876/14749) -> 7/7 byte-exact;
420_mixll_320x240_5f.obu was red on f1..f5 (15031/16259/21932/65405/90077) -> 6/6; 420_mixll_320x240_6f.obu
was red on f6 only (19398) -> 7/7. Three fixtures and a second gate
(a_420_mixed_lossless_residue_arms_are_byte_exact_in_decode_order) land with them, so the residue is pinned
rather than inferred.

Attribution note the lane kept rather than smoothing: m5_320x240's f2/f3 read 16259/21932 at 0bfee517 against
the 16006/21930 recorded in lane-av1mixllconj's table, because that table predates lane-av1offtile's
chroma-plane clip; f1/f4/f5 and both other cells match exactly. The recipes reproduce the earlier report's byte
counts and sha prefixes, so this is the same class re-measured on a later tree, not a different stream.

Also worth recording: the class sweep this lane ran over the publishing family found FIVE hand-rolled
`for i in 0..w_mi { band[..] = x }` sites with no trace rung at all (decode.rs:13762, 14201, 14245, 29472,
47592), which is why the inherited EC_TXUPD replay could report "nothing writes this column" -- true of the
trace, false of the decoder. The rule is now in skill oracle-rung-silence-is-not-absence
("the absence of a rung is not the absence of a write").
lane-av1txctxband2 r2: the mixed-lossless RESIDUE arms are the SAME missing publish, not three more defectsAhmet Kaan Gümüş · a87fc0c
lane-av1txctxband2 r2: the mixed-lossless RESIDUE arms are the SAME missing publish, not three more defects

lane-av1mixllconj §7 named three residuals on this recipe and declined to claim
them ("separate defects this change shrinks but does not remove"). Measured, they
are this lane's defect at smaller frame sizes: a lossy block reading a band a
lossless block above it should have published into and did not.

Measured on f2dd27b0~1 (= 0bfee517) against aomdec EC_AV1_FINAL_DUMP, decode
order, per differing frame:

  420_mixll_256x128_6f.obu  7 dumps  red f1..f6: 6051/4115/2962/26566/41876/14749
  420_mixll_320x240_5f.obu  6 dumps  red f1..f5: 15031/16259/21932/65405/90077
  420_mixll_320x240_6f.obu  7 dumps  red f6 only: 19398

With the one publish: 7/7, 6/6 and 7/7 byte-exact, 0 differing bytes on every
plane of every decode-order frame. Recipes reproduce mixllconj §1's byte counts
and sha prefixes (37fbe7cb, 40d613fd); m5_320x240's f2/f3 read 16259/21932 here
against the 16006/21930 that report records, because its table predates
lane-av1offtile's chroma-plane clip — f1/f4/f5 and both other cells match exactly.

- three fixtures, pinned by fnv1a64, and a second gate
  a_420_mixed_lossless_residue_arms_are_byte_exact_in_decode_order asserting all
  three (decode-order dumps, hidden frames, and the route-counter delta > 0)
- mutation proof widened: removing the one set_txfm_ctxs call turns the residue
  gate red on a PIXEL diff (6051 bytes on 420_mixll_256x128_6f frame 1 — the same
  number the pre-fix tree produced) while the 640x480 gate turns red on the
  REFUSAL, so neither gate is carried by the other
- lane-av1mixllconj's own 256x128 pin gate stays green under that mutation, which
  is the control that the fix is not what already made the pin exact

Reported independently by lane-av1mixllres, whose one-line fix is this lane's
already-landed line; measured here on this tip rather than taken on report.
av1offtile report: the band publish closed the cell, and the lane corrects two of its OWN §6b claims now that the fix landedAhmet Kaan Gümüş · 599c722
av1offtile report: the band publish closed the cell, and the lane corrects two of its OWN §6b claims now that the fix landed

Report-only; crates delta verified EMPTY against the lane's previous tip and the file was taken, not the branch.

The re-measure ran the operand pair FIRST, as agreed: above_txfm 16 -> 4 (oracle abv=4), left_txfm 8 unchanged,
above true -> false, ctx 2 -> 1 reached ON ITS OWN -- outcome 1 of the three-outcome protocol -- and then the
pixels: mix_640x480_5 decoded 5/5 (was REFUSED on the combined tip), byte-exact vs aomdec, paired EC_SYMR
457907/457907 full lockstep on the convention-free fields. So the BAND was the cause, the ctx=1 lock is retired
as a symptom mask, and the chain off-tile walk -> var-tx conjunct -> band publish is confirmed end to end.

Two claims of its OWN that §6b had to correct once the fix landed, kept rather than quietly swapped:
  - 'nothing writes that column in between' was NOT PROVABLE from an EC_TXUPD-filtered replay, because several
    publishers are hand-rolled band loops with no rung at all -- the negative was UNDER-DETERMINED, not measured;
  - 'a band write in rows 37..79' named the wrong location: the missing publish was the abutting 8x8 intra
    LOSSLESS block at mi=(78,110), rows 78-79.
Both are the same class as the corpus-bucket defect: a measurement bounded by its own instrumentation, read as a
statement about the decoder.
av1mixllconj report: control NOW MET -- the band publish closed 640x480 and the operand pair retired the ctx lockAhmet Kaan Gümüş · cbefb85
av1mixllconj report: control NOW MET -- the band publish closed 640x480 and the operand pair retired the ctx lock

Report-only; crates delta verified EMPTY against the parent, file taken not branch.

The lane ran the §4.3 protocol itself on a scratch tree at main + the band fix, and it landed on outcome 1:
above_txfm 16 -> 4 and above true -> false ON ITS OWN, the operand pair now equal to libaom's term for term
(ours EC_TXCTX mi=80,110 abv=4 lft=8 above=false left=true | oracle EC_TXCTXB abv=4 lft=8 above=0 left=1
ctx=1). So the band write was the cause, the ctx=1 lock is RETIRED as a symptom mask, and the chain off-tile
chroma walk -> var-tx conjunct -> band gap is confirmed end to end, with section 4.3 now causally right and not
merely directionally right. Pixels on the same binary: m5_640x480 6/6 (was 4/6 then REFUSED), m_640x480 7/7
(was 5/7 then REFUSED), 176x144 7/7, 352x288 7/7, the 256x128 pin 6/6, the 4:4:4 arm 9/9, and the ladder on
the cell that refused is 457907/457907 bit-identical -- exactly the count the forced-ctx mask produced, which is
why the operand pair had to be the assertion rather than the pixel run.

KEPT IN THE REPORT RATHER THAN SMOOTHED, because it changes how the next lane replays a band: the lane's
"nothing writes mi column 110 between read 157577 and the read" was TRUE OF ITS TRACE AND FALSE OF THE DECODER.
Several publish sites are hand-rolled `for i in 0..w_mi { band[..] = x }` loops with no trace rung, so an
untraced publish is invisible to a rung-level replay; the writer was named by walking the mi-map column at the
reader's own site and tagging `read_block_tx_size`'s arm. ABSENCE OF A RUNG IS NOT ABSENCE OF A WRITE, and a
band diagnosis built on a rung replay is bounded by the sites that log.