forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on a0f5e6233fed9b2a14581ec7ba1a0164bb09cee1

2026-10-01

Merge lane/av1dumploud: a short dump is now loud, at every dump siteAhmet Kaan Gümüş · 841ad80
Merge lane/av1dumploud: a short dump is now loud, at every dump site

Every dump site used to write with `let _ = f.write_all(...)`. A full filesystem, an
RLIMIT_FSIZE, or any ENOSPC therefore left a TRUNCATED dump and nothing said so -- and that
artefact is what produced two false defect rows earlier today (`reelb_arf_witness`'s sentinel
hash reproduces bit-for-bit as frames 0..4 plus a 13320192-byte frame 5) and an empty dump
that read as instability.

Eleven sites now declare their expected byte count and abort with the file, the bytes on
disk, the bytes owed and the OS error. Two sites say plainly that they cannot know a total
(the append-mode table dump has no end-of-run close; the ECDUMP handle is never dropped)
rather than guessing.

The proof is a real decode under a real RLIMIT_FSIZE, and it corrected the mechanism: the
kernel stores up to the cap and only then returns EFBIG, with write_all confirming none of
it, so an acknowledged-bytes count printed "wrote 0" over a 30720-byte file. The failure
line therefore reports the file's measured on-disk length and carries the acknowledged
count separately.

A sweep re-run with the loud writer in place is byte-identical to the earlier report
(a26438168c3c53a0 / 8d7a43bc5fcf840a, sizes [18524160], now asserted per frame). The
unexplained campaign value 0ee1edf403 stays open with the new evidence named.
ec-av1: every dump site fails loudly on a short writeAhmet Kaan Gümüş · 286530d
ec-av1: every dump site fails loudly on a short write

All 11 dump write sites in the crate wrote through `let _ = f.write_all(..)`.
A full filesystem, a quota or an RLIMIT_FSIZE therefore left a SHORT file on
disk and nothing said so -- the artefact behind two full days of chasing a
"decoder nondeterminism" that reproduced bit-for-bit as a truncated frame
(lanes/unwritten-dep.report.md: frames 0..4 complete plus 13320192 bytes of
frame 5), and behind an empty dump read as instability.

New `dumpio::LoudDump`: the caller declares the byte count from the geometry it
already has (per-axis extents, u16-vs-u8 sample width), `finish()` checks it
against the file's own length on disk, and any shortfall -- or a failure to
create the file at all -- aborts with

  ec-av1 dump FAILED [EC_AV1_FINAL_DUMP] <path>: wrote <on-disk> of <owed>
  bytes: <reason>

Two sites cannot know a total length (EC_AV1_DUMP_TABLES and the ECDUMP symbol
stream are append-mode, whole-run files); they say "of an unknown number of
bytes" rather than declaring a number they would have to invent.

The written count is the file's MEASURED length, not what write_all confirmed:
under RLIMIT_FSIZE the kernel stores up to the cap and only then returns EFBIG,
so a naive acknowledged count reported "wrote 0" over a 30 720-byte file.

Gates: a real decode under a real RLIMIT_FSIZE now FAILS with the line above
(child process, SIGXFSZ ignored, asserted against the fragment's real length),
plus /dev/full, uncreatable-path, under-declared-length and append-unknown arms.
The success path is byte-identical: the hg fixture sweep reproduces
a26438168c / 8d7a43bc5f, 3/3 each, 18524160 B per frame.

0ee1edf403 is still NOT reproduced (plain 3/3, sentinel 3/3, concurrent reuse,
7 RLIMIT caps, 204 prefix shapes: all plain value or no match). It stays open --
a SIGKILLed process emits no line at all, so that shape is not ruled out. What
is now closed is the silent-truncation class: every truncating cap aborts loudly
instead of leaving an artefact.
Merge lane/av1docrot: four comments that asserted mechanisms that are not thereAhmet Kaan Gümüş · 04f62da
Merge lane/av1docrot: four comments that asserted mechanisms that are not there

An independent sweep of measurement-stating comments found these; each fix states the true
claim and cites the evidence for it.

- census_unwritten's doc claimed "each frame's pre-deblock point" while the call sits at 2
  of the 4 apply_deblock entries (key path, non-pipelined inter path), and its "exact"
  claim was unbounded. Coverage is now named, the exactness is kept and narrowed to the
  per-axis extent it actually scans, and the uncovered paths are listed -- zero now means
  "no hole on the paths that reach this call".
- stage_dump_idx() is deleted rather than repointed: no callers, and the live per-var
  counter has its own doc.
- stream.rs no longer tells the reader to diff against EC_AV1_POSTFILT_DUMP, a rung the
  oracle script never defined; it names EC_AV1_POSTDEBLOCK_DUMP and its depth caveat.
- chroma_plane_block_codable's "what led here" keeps its historical measurement and now
  names the tree it was taken on, records that a later measurement did not reproduce it,
  and states the current behaviour (the witness is refused on main).
ec-av1: four comments claiming more than their own evidenceAhmet Kaan Gümüş · 61c5b15
ec-av1: four comments claiming more than their own evidence

Comment-only, plus one #[allow(dead_code)] function with no callers.

census_unwritten: the doc said "at each frame's pre-deblock point". It runs
at two of the four apply_deblock entries -- the key path and the
non-pipelined inter path. The encoder's filter search (replay_filters, over a
captured copy) and the pipelined inter branch (deblock already ran band by band
inside par) are not covered, and the doc now says so. The exactness claim is
kept and narrowed to the extent the scan actually reads, per axis.

stage_dump_idx(): deleted, no callers in the crate. Its doc duplicated the live
mechanism; the mc64 index paragraph now names dump_stage_idx, the per-var
counter the dumps really name their files from, and records that PREFILT_PICTURE_IDX
is bumped AFTER the dump sites, so load()-1 would have named the previous frame.

EC_AV1_DECODE_ORDER_DUMP: the doc pointed at EC_AV1_POSTFILT_DUMP, a rung that
does not exist in instrument-aom-oracle.sh. Now names EC_AV1_POSTDEBLOCK_DUMP
(rung 6) with its 1-byte depth caveat.

chroma_plane_block_codable "what led here": the hash measurement is kept and
annotated -- taken on 8d6998d7, not reproduced (five plain runs, one hash
a761118c8dd5c8d0, unwritten-dep.report.md s10/s13), and main now REFUSES the
witness, so those hashes are pre-refusal history. Facts (1) and (2) remain what
make the refusal correct.

Report: lanes/av1docrot.report.md
ec-av1: the census child test skips in a normal suite run instead of reddening itAhmet Kaan Gümüş · 0cd363d
ec-av1: the census child test skips in a normal suite run instead of reddening it

lane/unwritten-dep's child helper opens with an unconditional assert that
EC_AV1_PLANE_SENTINEL is set, and the test is in the crate's default test list, so every
full suite would fail on it. The parent already catches the case the assert wanted (it
panics when the child prints no census line), and the child's own non-census path below
the assert returns deliberately -- so the entry condition now returns when neither
UWDEP_CENSUS_SYNTHETIC nor UWDEP_CENSUS_FIXTURE is set, printing that it skipped rather
than passing silently. Swept the class: the five other tests that assert an env var at
entry are the EC_AV1_REQUIRE_* skip idiom, which is correct.
Merge lane/av1subsizesweep: close the residue, and the walk that dispatched around the guardAhmet Kaan Gümüş · 310e784
Merge lane/av1subsizesweep: close the residue, and the walk that dispatched around the guard

The residue named by the merged missing-refusal lane is closed at its resolution rather
than by a third guard: decode_rect4_16_intrabc's strip route derives a plane block of
(pw/2, ph/2) and own422 requires horz, so a VERT strip there would be BLOCK_INVALID at
ss(1,0); its single route is reached only through 16x16-level 1:4 arms, above the level
guard, and HORZ_4's (16,4) cell is legal, so the guard refuses exactly the invalid shape
and not the legal mirror.

What the sweep found instead is a real walk on main: the key-frame 16-level FRAME-EDGE arm
dispatched decode_leaf_rect straight from a gathered edge bit. A short column hands it
BLOCK_8X16, which libaom refuses ("Block size 8x16 invalid with this subsampling mode",
decodeframe.c:1456) -- our decoder walked it. Witness: 422_header_edge16_walk.obu (128 B,
sha256 e8ab2bb2...), decoded by main as 1 frame where aomdec reports a corrupt frame. The
fix names the LEVEL rather than a shape, so it reduces through partition_subsize_dims like
every sibling, and the legal 16x8 mirror keeps decoding.

Ships a walk-site census instead of a symbol-site census -- 19 walks, each with the luma
footprints its dispatch can hand it and the mechanism protecting it, with resolution rows
carrying the guard they depend on and unreachable rows gated by asserting the offending
set is empty. Two rows that a per-site deletion does not red are named as such rather than
papered over; the merged scan's resolution-count cross-check catches them.
lane-av1subsizesweep r2: a real witness, a derived read-spelling scan, a scoped censusAhmet Kaan Gümüş · bee9cbf
lane-av1subsizesweep r2: a real witness, a derived read-spelling scan, a scoped census

Main's r2 review was right on all counts. Fixed, plus the three items still
open from r1.

WITNESS. There is one, and the earlier "no witness exists" claim was wrong.
422_header_edge16_walk.obu (128 bytes) is a 4:2:2 sequence header over a 4:2:0
key frame's tile at 88x64. Width 88 is 8 mod 16, so the last 16x16 column block
is column-short and the frame-edge arm fires; height 64 is 16-aligned, so the
both-cut arm is not taken. aomdec says:

    Block size 8x16 invalid with this subsampling mode

and so do we. What makes this pin different from every other refusal gate here
is that the 8x16 is the ONLY offending subsize in the stream: over a
260-candidate sweep (4 card textures x 5 quantizers x 13 declared widths) it is
the one candidate whose decode with the guard DELETED SUCCEEDS -- the decoder
returned a full 88x64 picture where libaom refuses the frame. So the guard is
load-bearing, not a redundant second refusal, and the new gate reds when it is
deleted.

The witness had to be built from this crate's own encoder with a DECLARED width
(encode_key_frame_at_size, the gen_coverage_cells cell-2 construction): aomenc
rounds the coded size to even and never declares 88. That also corrects the
report: my earlier `partition_rect_allowed` explanation for the aomenc non-hit
was WRONG -- that gate governs the encoder's partition search, whereas this
arm's partition comes from a single gathered bit after a frame-edge geometry
test. Why aomenc never produces the shape is not known. Severity is a
false-accept, not a pixel divergence: libaom refuses the whole frame, so there
is no correct output to diverge from.

MATCHER GAP WIDENED, AND DERIVED. A partition-symbol READ is now defined as a
`dec.<name>(..)` call whose OWN ARGUMENT LIST names a `partition_w<N>[` CDF.
That needs no hand-list: `dec.symbol(..partition_w..)` qualifies, the frame-edge
gather's `dec.symbol_fixed(&gather(..partition_w..))` qualifies, and
`dec.debug_state()` does not. The old test's read test was the literal
`dec.symbol(`, which is not a substring of `dec.symbol_fixed(` -- that spelling
gap is what hid the hole. The `var == "b"` skip is gone too: edge reads are
sites now and must carry a guard for their own level before the first
chroma-walking dispatch after them. Stated limitation: the definition is
syntactic, so a read reaching a partition CDF through a helper that does not
name it would not be enumerated; there is no such call in this file.

CENSUS ROWS NOW CLAIM A REAL GUARD. r2 was right that AtResolution asserted only
that some shape was BLOCK_INVALID and never mentioned a guard, so rows 5-12 and
19's guard column were prose. A resolution row now CARRIES the guard it depends
on -- (function scope, level) -- and the check looks for
refuse_invalid_subsize((L,L)) inside that function and before the walk's first
call there. Per-guard deletion now reds the census on its own for ten of the
twelve guards. Two are claimed by LEVEL, not by site -- the key-frame 8x8 second
resolution and the inter decoder's own 128-root -- and are caught instead by the
merged scan's resolution-count cross-check; the report says so rather than
papering over it. Three inter rows were added, because the inter 32- and
64-level guards were previously claimed by nothing at all.

ORDERING CHECK NO LONGER VACUOUS. The per-route loop resolved each pair's guard
with find() over the whole decode body, which returns the FIRST 16x16 guard --
the key-frame one -- so the inter pair was satisfied by a guard three quarters
of the file away and deleting the inter guard left it green. Each pair now
scopes its guard search to its own enclosing function. Verified: deleting the
inter 16-level guard at 54809 reds naming decode_intra_rect_in_inter.

ALSO: the stale inter-edge citation (54720/54733 -> the reads, 54777/54790), a
one-line note that two edits leaked into the primary through relative paths and
were reverted before any commit, and the headline that the find came from
censusing WALK sites rather than SYMBOL sites -- that reframing is the only
reason the hole was visible.

cargo check --tests clean. 28 named 422/sub8/subsize/chroma_422 tests pass
(includes the new witness gate). 270 pixel_exact/byte_exact pass, which is the
over-refusal control at scale.
scripts: pin the 4:2:2 census probe to the merged-unwritten-dep buildAhmet Kaan Gümüş · 9448d3c
scripts: pin the 4:2:2 census probe to the merged-unwritten-dep build

Provenance-checked: the binary embeds no lane worktree path.
Merge lane/unwritten-dep: two of the three unwritten-content rows were dump artefactsAhmet Kaan Gümüş · 1affa3d
Merge lane/unwritten-dep: two of the three unwritten-content rows were dump artefacts

The class it was chartered to chase had one real member and two harness failures.

Real: `440_request_is_422`'s output depends on plane memory the tile walk never wrote
(224 unwritten chroma samples, U 112 + V 112, whole 4x4 groups) -- and the pre-deblock
census already saw them, so it was never blind. The earlier "the deblock pass creates the
dependence" reading came from `dump_stage16`, which cropped chroma as `(fw/2, fh/2)`: a
4:2:0 assumption that on a 64x64 4:2:2 frame hid 2048 of 8192 samples, exactly the rows
where the difference lives. Fixed to per-axis `round_ss(fw, ss_x)` / `round_ss(fh, ss_y)`
at all six call sites, with `round_ss(dim, 1) == div_ceil(2)`, so every 4:2:0 dump is
byte-for-byte unchanged and no published number moves.

Artefacts: `reelb_arf_witness`'s sentinel hash reproduces bit-for-bit as a TRUNCATED DUMP
(frames 0..4 plus 13320192 bytes of frame 5) because every dump site discards its write
errors; `reelb_rect64_intra16x4_witness` is not a defect at all, its hash stays unexplained
and is filed as an open instrument-hygiene question. Both leaves the filed debt.

Ships a census taken where the output is taken, paired with a scanned counter so "scanned
and found nothing" is distinguishable from "never scanned", a synthetic non-vacuity
control that no later lane can refuse, and mutations that red on a deleted call site and
on a forced sentinel sample.

Files rather than fixes the UB its own comments were hiding: `fresh_plane`'s `set_len` on
uninitialised memory was justified by a premise 250 lines away in the same file had
already withdrawn. The comments now say what the measurement says; the `unsafe` is
labelled NOT FULLY JUSTIFIED with three closure options, none taken here.
lane-av1422liftverify: land the refutation pass report for the 4:2:2 liftAhmet Kaan Gümüş · e189999
lane-av1422liftverify: land the refutation pass report for the 4:2:2 lift

The lane branch carried one commit (a 407-line report) that never reached main; landing it preserves the refutation record rather than leaving it in a worktree slated for removal.
lane-unwritten-dep r6: the SAFETY comment credited the gate with a census it does not performAhmet Kaan Gümüş · caad117
lane-unwritten-dep r6: the SAFETY comment credited the gate with a census it does not perform

Report/comment accuracy only. Zero non-comment lines changed -- verified with
git diff -U0 filtered for lines that are not /// or //.

1 -- THE GATE DOES ONE CENSUS, NOT TWO. decode.rs and report section 12 said the
sentinel gate "counts at two points, pre-deblock and the output point". It does
not: the gate reads only take_final_unwritten_samples /
take_final_census_scanned, which is ONE census at the output point. The
pre-deblock census (census_unwritten, take_unwritten_samples /
take_census_scanned) is a different instrument, and section 13 of this lane's own
report establishes it has NO committed reader anywhere in the crate on main. So
the two-point claim told a reviewer auditing the unsafe that the premise is backed
by two scans when only one exists -- and the missing one is exactly the scan
that would catch a hole before the filters. Both sites now say the gate counts at
the OUTPUT POINT ONLY and that the pre-deblock census backs nothing here, with the
earlier two-point wording named as the error it was.

2 -- THE FILING NOW RESTS ON THIS LANE'S OWN MEASUREMENT. Section 12 filed the
unsafe on "two distinct plain hashes across five runs", which is second-hand from
lanes/av1unwritten.report.md:118-124, and section 10 of this same report says I
did NOT reproduce it (five plain runs on 8d6998d7, one hash, a761118c8dd5c8d0).
The basis is now the measurement this lane actually took: an exact u16
whole-plane census finding 224 unwritten chroma samples (U 112, V 112, whole 4x4
groups, rows 36..63) in a frame that is SHOWN and whose samples the caller
receives. Uninitialised memory reaching the caller IS the UB and needs no hash
claim. The hash observation is retained but labelled second-hand-and-not-
reproduced, with the note that ambient content is machine-dependent so a stable
value on one host and a varying one on another would be the same defect. The
reachability paragraph was rebased the same way, and the decode.rs SAFETY comment
no longer states the two-hash fact flatly.

3 -- ROW RANGE. decode.rs named the invisible region as "chroma rows 30..63". The
old crop wrote fh.div_ceil(2) = 32 of 64 rows, so the region is rows 32..63, which
is what section 4 of the report already said. The 2048-sample count was right;
only the range was wrong. Corrected, with the arithmetic now shown inline.

Not touched, per instruction: the same two-hash sentence inside
chroma_plane_block_codable's "What led here" is lane/av1unwritten's own prose and
accurately reports a measurement they made -- not mine to reword. The other
stale-prose sites found by the class sweep, the decode path, film_grain.rs, the
reserved 4:2:0 group-tail chroma SKIP arm, decode_rect4_16_intrabc, and the dump
writers' error swallowing.

No merge, no push.
lane-unwritten-dep r5b: the filed choice in section 12 is three-way, not two-wayAhmet Kaan Gümüş · 691273f
lane-unwritten-dep r5b: the filed choice in section 12 is three-way, not two-way

Report only; no code change, no merge, no push.

Adds the middle closure Main identified, which section 12 was missing: a zeroed
allocation can come from the ALLOCATOR rather than a loop. alloc_zeroed /
anonymous mmap hands back zero pages on first touch, which for plane-sized
buffers costs a page fault rather than a per-sample store. It is recorded with
the caveat that makes it honest -- an option that needs its own measurement, not
a claim that it is free. The 4K cost is unmeasured in this lane, and "a page
fault per page" is a mechanism, not a benchmark; whoever takes it must measure it
before calling it cheaper than explicit zero-fill. The section now says "Three
closures, none taken here" and the decision stays with a chartered lane.

Also adds the connection the text implied but did not state: the withdrawn
premise was doing DOUBLE duty. It justified the unsafe in fresh_plane AND it was
the reason the census's original story -- a pre-deblock scan blind to a hole the
loop filter later reads -- looked plausible. The same measurement that withdrew
the safety argument is what made the blind-census reading wrong: there was never
a blind pre-deblock scan, only a dump_stage16 that could not see half the chroma
plane. So section 12 and the corrected stage bisect in section 4 are one fact
read twice, and a reader who fixes one without the other will re-derive the
error. That is the part worth leaving on the page for whoever picks this up.

Verified before commit: no source file changed in this round, no stale "two
closures" wording remains anywhere in the report, and the two source comments
still carry "NOT FULLY JUSTIFIED" / "SAFETY, PARTIAL" with the unsafe unchanged.
Gate remains green on the merged tree (1 passed, 816 filtered, 70.92s, measured
in r5 and unaffected by this report-only change).
lane-unwritten-dep r5: the unsafe in fresh_plane is justified by a retracted measurement -- filed, not hiddenAhmet Kaan Gümüş · 6e36a7d
lane-unwritten-dep r5: the unsafe in fresh_plane is justified by a retracted measurement -- filed, not hidden

Three items. The first is the highest-risk thing this lane found and it is NOT
closed here; it is filed with its reachability evidence and the comments now say
so, so a reviewer can no longer approve the unsafe on a withdrawn proof.

1 -- fresh_plane's SAFETY ARGUMENT WAS A RETRACTED MEASUREMENT. The doc claimed
the SB-padded surface "is written sample-for-sample by the tile walk's
reconstruction before anything reads it" and cited the sentinel gate ("proven by
the sentinel gate above"). The same file retracts it: on 440_request_is_422 five
runs with uninitialised planes give TWO different output hashes, five sentinel
runs give one, and the pre-deblock census finds 112 unwritten samples per chroma
plane, 224 total. Output varying with the buffer's initial content means an
uninitialised sample was READ.

(a) Both comments -- the block doc and the inline SAFETY note -- now carry the
true, weaker claim. The gate proves no unwritten sample SURVIVES into the frame
the caller receives; it does NOT prove every sample is written before it is read,
because it counts at two points (pre-deblock, output) and therefore measures
survival, not reads. A sample read as a prediction or filter neighbour and
overwritten a moment later is invisible to both counts; no such read has been
observed and no instrument here measures for one. On main = e45cc748 the one path
where a read was demonstrated is unreachable (lane/av1unwritten refuses the
subsize before descending).

(b) Not silently reworded, and the unsafe is UNCHANGED -- the block says
"THE `unsafe` BELOW IS NOT FULLY JUSTIFIED" and the inline note says "SAFETY,
PARTIAL -- the premise is NOT established". Filed as report section 12 with the
two closures: (i) zero the allocation, the sound default, at the ~3% of
frame-thread cycles at 4K that lane-picalloc removed; or (ii) a per-sample
reads-before-write instrument, the only route that keeps the optimisation.
Neither taken here: both are decisions for a lane chartered for them. Report
section 12 also carries the reachability evidence -- a demonstrated read on
440_request_is_422 at 8d6998d7, now refused, and one refused witness cannot
establish the universal claim for the other 126 fixtures.

2 -- dump_stage16's DOC CONTRADICTED THE CODE. It still said it "matches aomdec's
own ec_dump16 rung byte for byte (crop dims, u16 LE)", true only of the 4:2:0
crop that was removed. Rewritten to the per-axis extent and to the oracle's
actual crop (rung 1 writes y_crop_width x y_crop_height and
uv_crop_width x uv_crop_height, each already per-axis), with the byte shape
tabulated for all four subsampling modes. Notes that round_ss at ss=1 is
div_ceil(2), so every 4:2:0 dump is byte-for-byte unchanged.

3 -- DOES THE GATE SUPPLY THE READER take_unwritten_samples LACKED? NO, and the
report says so. Checked: take_unwritten_samples and take_census_scanned still
have NO committed reader on main = e45cc748 -- the only references anywhere in
crates/ec-av1/src are in their own doc comments. This gate reads only its own
pair, take_final_unwritten_samples / take_final_census_scanned. So the r4
pairing is a TEMPLATE for how a census gate should be written (count AND
scanned, so "scanned and found nothing" is distinguishable from "never
scanned"); it is NOT a committed gate over the pre-deblock census, and no such
claim is made. Report section 13 names the gap rather than assuming it closed.

Green on the merged tree: 1 passed; 0 failed; 816 filtered out; 70.92s.

Not touched, per instruction: the other stale-prose sites in these files
(census_unwritten's "each frame's pre-deblock point" doc, the dead
stage_dump_idx(), the POSTFILT_DUMP rung reference), and out of scope: the
decode path, film_grain.rs, the reserved 4:2:0 group-tail chroma SKIP arm,
decode_rect4_16_intrabc, the dump writers' error swallowing.
lane-av1subsizesweep: census every chroma-plane walk a BLOCK_INVALID subsize reachesAhmet Kaan Gümüş · 67c524e
lane-av1subsizesweep: census every chroma-plane walk a BLOCK_INVALID subsize reaches

Closes the residue lane/av1unwritten named, and finds a wider one it could
not see.

The named residue, decode_rect4_16_intrabc, is CLOSED at the resolution rather
than guarded a third time. Its own else arm (decode.rs:18336-18337) halves both
axes unconditionally -- `(pw / 2, ph / 2)` -- and `own422` requires `horz`, so a
VERT strip at ss (1,0) would derive a BLOCK_4X8 plane block, itself BLOCK_INVALID
there. It is dead because the walk has exactly one caller chain into two
16x16-level 1:4 arms, and `partition_subsize_dims((16,16), PARTITION_VERT_4) ==
(4,16)` is in PLANE_BLOCK_INVALID_422, so `refuse_invalid_subsize((16,16), part16)`
refuses exactly the shape that would be invalid. HORZ_4 gives (16,4) whose (1,0)
cell is BLOCK_8X4 and is legal, so the surviving strip is the one `own422` is
written for. All of that is now derived in the test, not asserted in a comment.

The wider one: the key-frame 16-level FRAME-EDGE arm (decode.rs:37034) is the
only partition read in the file that dispatches on its own symbol instead of
resolving it into a `partN` the level's guard covers. The 128/64/32-level edge
arms and the inter 16-level edge arm all resolve into a guarded partN; this one
feeds `decode_leaf_rect` straight from `edge_split`. With a short column the
strip is BLOCK_8X16, whose (1,0) plane block is BLOCK_INVALID -- a subsize libaom
refuses at decodeframe.c:1456. The merged lane's structural scan cannot see it:
its window keys on `dec.symbol(`, and this arm reads `dec.symbol_fixed(&gather(..))`.

The guard names the LEVEL, not a shape: the gathered bit resolves to
PARTITION_HORZ when the columns are full and PARTITION_VERT when they are not, and
refuse_invalid_subsize reduces that through the same partition_subsize_dims every
other site uses. So the 16x8 strip -- legal at 4:2:2, BLOCK_8X8 -- keeps decoding.
Measured on real aomenc 4:2:0 streams of exactly this shape, the new site is
REACHED with part=2 (VERT, the 8x16 strip) and reports codable=true while the frame
decodes; it reds on the cell list, not a hand-picked shape list.

No aomenc witness proves it FIRING, and none can: aomenc gates
partition_rect_allowed on the same av1_ss_size_lookup table, so a conformant
encoder never emits the symbol. 45 real 4:2:2 encodes were built and none reached
the arm. That is the same residue-not-live-pixels status the merged lane's own
guards carry; no witness is claimed. Red-before-green is mutation-based instead,
both directions: deleting the guard reds, and moving it below the dispatch -- r5's
defect in a new place -- reds.

The new gate is a CENSUS over walk sites rather than symbol sites: 19 walks, each
with the luma footprints its dispatch can hand it and the mechanism that protects
it (dispatch-time guard / resolution guard / unreachable-with-reason). It derives
the residue's subsize split from partition_subsize_dims, pins the caller counts,
and checks guard < 1:4-arm-test < dispatch on each of the residue's two routes.
4:4:0 (0,1) is excluded from the offending set because no color_config can select
it -- counting it would be the merged lane's own r2 mistake.

It caught two errors in my own census before shipping: it flagged 16x4 as needing
a guard because 4x4:0 marks it invalid, and it flagged the square walks as
resolution-guarded when no shape they walk is ever invalid. Both fixed.

cargo check --tests clean. 27 named 422/sub8/subsize/chroma_422 tests pass,
including the pinned 4:2:2 corpus, bigblock, lossless-inter and intrabc-sb128
pixel-exactness gates.

Report: lanes/av1subsizesweep.report.md -- the 19-row census table, and the
wider hardcoded-chroma-halving sweep named for the owning lanes (the oracle
helpers that slice chroma at width*height/4 are the dangerous ones: a future
4:2:2 gate using them compares half the oracle's bytes and passes green).
lane-unwritten-dep r4: the r2 story was still in the source; the gate now pins the call siteAhmet Kaan Gümüş · c14e1db
lane-unwritten-dep r4: the r2 story was still in the source; the gate now pins the call site

Six points from the r3 refutation. Two P1s in the code, four corrections.

1 (P1) -- THE r2 STORY WAS STILL IN THE SOURCE. decode.rs and stream.rs both
still carried the refuted claim ("the pre-deblock plane is BYTE-IDENTICAL (0
sentinel samples)", "the deblock pass is where the dependence is CREATED", "a
pre-deblock scan cannot see a hole the loop filter then READS"). The
stream.rs comment sat directly above the call and contradicted the corrected
numbers (224 pre-deblock samples; pre-deblock DIFFERS 2158 B). Both rewritten to
what was measured: the hole is present PRE-DEBLOCK, the census sees it, and the
earlier reading was a mis-cropped dump (dump_stage16's 4:2:0 chroma crop). The
same paragraph is corrected in the gate's doc comment, and the census's own doc
now states that its second count is NOT a patch for a blind pre-deblock scan --
it is the measurement taken where the output is taken, covering the whole route
from the tile walk to the caller.

2 (P1) -- THE GATE COULD NOT FAIL WHEN ITS CALL SITE WAS DELETED. The synthetic
control called census_unwritten_final DIRECTLY, so deleting stream.rs's call left
every assertion passing; the r3 mutation row claiming otherwise was false. The
gate now reads take_final_census_scanned() alongside
take_final_unwritten_samples() -- the pairing the merged pre-deblock census
already documents. Fixture arms require scanned > 0, the synthetic arm requires
scanned == 40 (16+16+8), so "scanned and found nothing" is distinguishable from
"never scanned". Re-proven by actually deleting the call line: RED, "the census
scanned 0 samples on reelb_arf_witness -- the call at the output point is not
running ... (class: census-never-ran)". Neuter mutation re-proven against the
targeted function: RED, "the synthetic control scanned 0 samples, expected 40".
(A first attempt at that mutation hit the pre-deblock census's identical guard --
which is itself a reason the targeted form is the one recorded.)

3 -- MERGE PROOF REPLACED. The 813->816 filtered-test delta is a count of names
and a merge that dropped hunks would print the same number, so it is dropped. The
proof is behavioural: on the merged tree 440_request_is_422 returns REFUSED (0
frames), only reachable with lane/av1unwritten's content; on the branch point
8d6998d7 the same fixture decodes to "OK: 1 frames decoded".

4 -- PUBLISHED-CONCLUSIONS IMPACT STATED. round_ss(dim, 1) is bit-identical to
dim.div_ceil(2), so every 4:2:0 dump is byte-for-byte unchanged; only 4:2:2 and
4:4:0 frames change. Of the 21 lane files referencing *_DUMP16, exactly one --
lanes/av1422luma.report.md -- uses non-4:2:0 fixtures, and its stage table is a
Y-only conclusion (every row "frame 0 Y wrong vs ffmpeg", luma counts, a luma
first-differing coordinate) which SURVIVES. What the change invalidates is only
that report's "depth-correct *_DUMP16" LABEL, now wrong for the chroma half of
those files. No published number moves. Coordinates reworded exactly: the span
runs cols 0-15 but is NOT filled (every row has 0-3 and 12-15), 28 whole 4x4
groups = 12 rows x 8 + 4 rows x 4.

5 -- GRAIN OVERREACH REMOVED. "grain ... cannot introduce a hole" was unmeasured:
the census never sees the planes apply_grain allocates. Deleted from the report
and from the gate's doc comment; the scope statement now claims only the pre-grain
planes and says explicitly that whether apply_grain can introduce a hole is not
measured here.

6 -- TRIGGER MADE CONSISTENT. census_unwritten_final gated on the raw env var
while fresh_plane and the merged census_unwritten gate on plane_sentinel_on()
(env OR the thread-local set_plane_sentinel), so any in-process test using the
thread-local would have found this census inert. It now uses plane_sentinel_on().

Green on the merged tree: 1 passed, 816 filtered, 71.69s. Dump writers' error
swallowing is untouched -- it is its own lane.
lane-unwritten-dep r3: the census was never blind -- dump_stage16's 4:2:0 chroma crop wasAhmet Kaan Gümüş · 9e84e98
lane-unwritten-dep r3: the census was never blind -- dump_stage16's 4:2:0 chroma crop was

Corrects r2, which named the census as the blind instrument and attributed the
4:2:2 witness's divergence to deblock. r2's own numbers refuted both: its
EC_AV1_DEBUG_SKIP_DEBLOCK run did not remove the difference, and 32 surviving
sentinel samples cannot explain 1986 differing bytes.

dump_stage16 cropped chroma as (fw/2, fh/2) -- a 4:2:0 assumption. On a 64x64
4:2:2 frame (ss_x=1, ss_y=0) it wrote 32x32 where the frame carries 32x64, so
2048 chroma samples appeared in NO stage dump, and they are exactly the region
where the difference lives. Class: diagnostic-dump-assumes-one-subsampling.
Fixed to (round_ss(fw, ss_x), round_ss(fh, ss_y)); all six call sites pass the
frame's per-axis subsampling. The oracle's rung 1 already used
uv_crop_width/uv_crop_height, which are per-axis.

With per-axis extents the corrected bisect reverses r2: the pre-deblock dump now
DIFFERS by 2158 bytes instead of being identical, and an exact u16 whole-plane
census finds 224 unwritten samples (U 112, V 112, rows 36..63, whole 4x4 groups)
-- exactly lane/av1unwritten's own number. The hole is present BEFORE any filter
runs. The census reports it; the stage dump could not see it.

Gate: the non-vacuity control is now SYNTHETIC -- the census is handed planes
carrying exactly 7 sentinel samples and must report 7. r2's control used
440_request_is_422, which main now refuses, so r2's gate would have gone red on
merge for an unrelated reason. Merge proof: main = e45cc748 merged locally
(c62eeda9), gate green there (816 filtered vs 813 on the branch point, so both
lanes' content is present). Mutation -- neutering census_unwritten_final reds
the synthetic control.

Scope stated rather than implied: the census is taken before apply_grain, so the
claim is over the pre-grain planes (the bytes the reference bank stores and every
later frame predicts from); "the caller's final grained picture has no hole" is
NOT claimed.

Swept the family r2 did not: run-to-run content nondeterminism with
uninitialised planes, N separate processes. Negative for both hg fixtures, 4/4
identical with the correct frame size. 440 is not sweepable on the merge tree
(main refuses it); on the branch point I measured 3/3 identical and make no claim
about reproducing av1unwritten's three-distinct-hashes observation.

Evidence bar corrected: 97ef82c0ce is CONSISTENT WITH a truncated dump (frames
0-4 plus 13320192 bytes of frame 5, reproduced bit-for-bit) -- that pins bytes and
shape, not mechanism; the decode's innocence rests on the invariance evidence.
0ee1edf403 stays an open instrument-hygiene question, not a decode question.
lane-unwritten-dep: the reelb_* divergence is a truncated dump; the census blind spot is deblockAhmet Kaan Gümüş · 9fe4968
lane-unwritten-dep: the reelb_* divergence is a truncated dump; the census blind spot is deblock

Neither reelb_rect64_intra16x4_witness.obu nor reelb_arf_witness.obu output depends
on unwritten plane content on 8d6998d7. Both campaign PLAIN values reproduce
EXACTLY (a26438168c, 8d7a43bc5f, `cat dir/frame.f*` shape); neither SENTINEL
value does. Output is byte-identical across the crate's own PLANE_SENTINEL,
five glibc MALLOC_PERTURB_ values, EC_AV1_THREADS 1/2/4/8, and in-process
allocator-free-list poisoning, for all 34 / all 40 decode-order frames including
every hidden alt-ref.

97ef82c0ce is reproduced bit-for-bit by a dump that stopped after 5 complete
frames and 13320192 bytes of frame 5 (71.8% of one frame), the rest never
written: EC_AV1_FINAL_DUMP ignores its write error, so a full filesystem leaves
a prefix of the true byte stream and nothing says so.

The census's blind spot, named with a stage bisect on 440_request_is_422: the
pre-deblock plane is BYTE-IDENTICAL plain vs sentinel (0 sentinel samples) while
the final output differs by 1986 bytes, and the difference enters AT deblock
(PREFILT_DUMP16 identical, POSTDEBLOCK_DUMP16 differs by 26 bytes). Deblock reads
a neighbour to decide an edge, so an unwritten sample changes its neighbour's
filtered value even when the unwritten sample itself is overwritten afterwards.
A scan taken before the filter cannot see that by construction.

Fix: census_unwritten_final + take_final_unwritten_samples, called beside the
EC_AV1_FINAL_DUMP site, i.e. where the output is taken. Gate
the_frame_the_caller_receives_carries_no_unwritten_plane_sample asserts
non-vacuity FIRST (32 on the 4:2:2 witness, the one fixture where a hole really
reaches the output) and then 0 on four real film fixtures with hidden alt-refs.
Three mutations red it: neutering the census, removing the call, and forcing one
sentinel sample into one film frame's output.

No display-order frame is affected on either fixture: no unwritten sample reaches
the output at all, displayed or hidden. 440_request_is_422's cause is the invalid
subsize lane/av1unwritten refuses; that lane is untouched.
Merge lane/av1unwritten: refuse the subsize libaom calls corruptAhmet Kaan Gümüş · 8d3f38a
Merge lane/av1unwritten: refuse the subsize libaom calls corrupt

440_request_is_422.obu is a 4:2:2 sequence header over a 4:2:0 tile, so its
partition symbols name subsizes (8x16 among them) with no chroma plane block at
ss (1,0). libaom refuses that at decodeframe.c:1445-1458 with
"Block size %dx%d invalid with this subsampling mode", and aomdec refuses the
file outright; libaom's own encoder never emits such a shape either
(partition_search.c:3383-3389 gates partition_rect_allowed with the same table).
This decoder walked those subsizes anyway, and its output for the witness
depends on unwritten plane content.

The fix mirrors libaom's check instead of inventing a geometry: the two
BLOCK_INVALID cell lists of av1_ss_size_lookup are transcribed verbatim, a
partition symbol is resolved to its subsize and refused there when that subsize
has no chroma plane block at the frame's subsampling, and the refusal is a
returned error naming the shape (a partition symbol is stream data, so hostile
bytes reach it). Eleven guard sites cover the ten partition-symbol resolutions;
the eleventh is the redundant one behind the shared read_sb128_root.

Two instruments make the coverage checkable rather than asserted:
EC_AV1_SUBSIZE_GUARD_TRACE records what each guard site sees over the corpus
(exactly one codable=false observation corpus-wide, the key-frame 16-level
VERT_B), and EC_AV1_SUBSIZE_ARM_TRACE does the same for unguarded dispatch arms.
A structural test derives its site list from the bindings in this file, requires
a guard for each resolution's own level, and asserts that no guard sits inside a
PARTITION_HORZ_A..=PARTITION_VERT_B arm, which can only carry values 4..=7.

Verified over four refutation passes. The decode path: no guard fires on a legal
shape (all 20 genuine 4:2:2 fixtures decode, and partition_subsize_dims matches
subsize_lookup cell for cell); 127-fixture sweep, the witness is the only row
that changes and nothing newly refuses; the witness refuses while 422_key_64x64
still decodes. The checker itself failed three times and each failure is in the
report: a four-cell hand-picked predicate that refused a legal 16x4 at 4:2:2,
three guards placed inside arms that could not see the offending value, and an
AB-arm tracker that self-cleared on the arm's own brace line.

Residue, stated: decode_rect4_16_intrabc is out of scope and unaudited, and the
guard-vs-resolution cross-check is level presence plus a 220-line window, not a
dispatch bound.
lane-av1unwritten r10: the AB-arm tracker, once more, plus the number correctionsAhmet Kaan Gümüş · 1feddfc
lane-av1unwritten r10: the AB-arm tracker, once more, plus the number corrections

No decode-path change -- the fourth pass found no defect in it. Test and report
only.

1. The AB-arm tracker was open for exactly one line. Armed at the condition
(indent 44, body 48), the wrapped `.contains(&part16)` at indent 48 set
entered = true, and then the arm's own `{` -- which carries the OPENER's indent,
not the body's -- hit ind < body and cleared it. Every statement in the arm body
was invisible, so the mutation that moves a guard INSIDE an arm stayed GREEN at
r8 and r9. r10 skips a line whose trimmed text is exactly `{`. That mutation now
reds with the r5 diagnostic:
  "decode.rs:36539 puts a refuse_invalid_subsize inside a
   PARTITION_HORZ_A..=PARTITION_VERT_B arm ... -- r5's defect"

2. The doc comment was stale r7 text. Re-derived per line: 18 occurrences in
decode.rs = 11 guard call sites in the decode body (35588, 36278, 36406, 36472,
36882, 37132, 53985, 54222, 54606, 54752, 55164) + 5 in this test's own strings
and comparisons + 2 in doc comments. The definition's signature does not match
"(( " at all.

3. The scan finds 10 resolutions, not 11. The eleventh guard is the inter-frame 128
one at 53985, whose resolution lives in the shared read_sb128_root and so has no
resolution of its own -- the redundancy the >= exists to allow. The report says
11 guards against 10 resolutions and names why.

4. The bound-variable lookup now scans BACKWARDS and takes the nearest `let`
whose binding is the one followed by the symbol read; it used to take the first
`let` upward and could name an unrelated binding (ec_dbg_pre).

5. The non-claim is now explicit rather than inferable: cross-check 1 is level
PRESENCE only, cross-check 2 is >=, so a SECOND unguarded site at an
already-covered level is caught only by the per-site 220-line window -- a window,
not a dispatch bound.
lane-av1unwritten r9: a real residue site, and a checker weaker than its commentAhmet Kaan Gümüş · 4ac9e12
lane-av1unwritten r9: a real residue site, and a checker weaker than its comment

The third pass confirmed r7's decode path and failed the checker plus one real
residue.

Residue: decode.rs:37115 is a key-frame partition_w8 resolution dispatching
decode_leaf_rect8 on a raw part8 with no refuse_invalid_subsize above it --
BLOCK_4X8 at 4:2:2, the shape r5 and r6 each flagged. Guarded; the fixed scan
immediately found a SECOND one at 36876 that no earlier round had seen. Both are
residue, not live pixels: neither is corpus-reachable at ss(1,0) today.

Checker:
1. the scan's window started AT the partition_w line, so a binding whose `let` is
   on the line above was dropped -- exactly why 37115 was invisible. r9 searches
   the preceding line too;
2. the level cross-check was per-level PRESENCE, so a second unguarded site at an
   already covered level passed -- how 37115 survived with level 8 covered by the
   inter-8 site. r9 states presence as presence and adds the guard-vs-resolution
   count;
3. sites.len() >= 9 was a floor the tree satisfied with 10. Replaced with a count
   derived from the scan: 11 guard sites, 11 resolutions;
4. the AB-arm tracker self-cleared on the `{` line (same indent as the `if`), so
   moving the kf-32 guard back inside an arm stayed GREEN. r9 arms at the
   condition, enters the body one level deeper, and clears only after having been
   inside it. That mutation now reds.

Occurrence count re-derived per line: refuse_invalid_subsize(( appears 18 times in
decode.rs -- 11 guard call sites in the decode body, 4 in the test's own string
literals and comparisons, 2 in doc comments, and the definition's signer does not
match (( at all. Counted by call shape so a multi-line assert string mentioning the
function is not counted. Main's 13 and the refutation's 15 were both pre-r9.

Not claimed: the guard/resolution check is >=, not ==. A hard equality between
two numbers the scan computes is a claim about the scanner. What reds is a
resolution with no guard (naming the variable) and a guard inside an AB arm.

No sweep change: the witness refuses, 422_key_64x64 still decodes. 30 tests green.
lane-av1unwritten r8: the structural test claimed more than it provedAhmet Kaan Gümüş · 40b1e4b
lane-av1unwritten r8: the structural test claimed more than it proved

Maine's r7 read found three honesty gaps, all in what the test SAID rather than
in what the decode does.

1. "BEFORE the first dispatch on the variable" was in the comment only -- r7
   checked that a guard for the level appears somewhere in the next 220 lines.
   r8 implements the bound: where the window contains a `match part...` dispatch,
   the guard must precede it.
2. The binding pattern was formatting-sensitive and failed silently: a resolution
   whose dec.symbol( is wrapped onto the next line vanished from the list with
   nothing red. r8 reads the level and the symbol read from a two-line window so a
   wrapped site resolves rather than disappearing, and the remaining cross-check is
   over LEVELS, which a reformat cannot lose: every partition_w<N>[ in the file
   must appear among the resolutions found.
3. var was parsed as the text BEFORE "let ", so it was always empty and the
   diagnostic printed `(decode.rs:1234) resolves...` with no name, exactly where
   the name matters. r8 takes the token after `let `.

Coverage is now stated so a reader can tell it from a floor: today 10
partition-symbol resolutions and 13 refuse_invalid_subsize(( occurrences, of which
9 are guards at 9 resolutions. The doc comment lists precisely what is asserted
and what is NOT -- the test does not prove a guard is at the exact dispatch point,
the window is a window, which is why the AB-arm invariant is separate and why
EC_AV1_SUBSIZE_GUARD_TRACE records what each site really sees.

Two mutations, both red: deleting the inter-16 guard, and moving the inter-64
guard inside a PARTITION_HORZ_A..=PARTITION_VERT_B arm (r5's defect).

No decode-path change. 30 tests green.
lane-av1unwritten r7: the last two holes, and the structural check that stops the thirdAhmet Kaan Gümüş · b8a9003
lane-av1unwritten r7: the last two holes, and the structural check that stops the third

Two gaps survived r6, both measured by the refutation with its own build.

Gap 1 -- inter 64 edge arm. r6's guard sat inside the (true, true) arm of
`let part64 = match (has_cols, has_rows)`; the edge arms return without passing
it, and (false, true) resolves to PARTITION_VERT, which at a 64x64 root selects
BLOCK_32X64 -- INVALID at (1,0). Measured 50 corpus-wide reaches and 0 in any
4:2:2 cell, so the corpus cannot see it. Hoisted one
refuse_invalid_subsize((64, 64), part64, fctx)? to just after the match closes.

Gap 2 -- the inter-frame 16x16 level had NO guard at all: r6 deleted r5's
misplaced one without replacing it, and all three dispatch arms there (NONE/HORZ/
VERT, the four AB arms, the 1:4 arms) select BLOCK_8X16 and BLOCK_4X16, two more
of the eight (1,0)-INVALID shapes. Guard added where that symbol is resolved.

Structural change, because r5 and r6 failed the same way -- a guard existed
somewhere and nothing said it sat between a symbol's RESOLUTION and every dispatch
of it. New gate
every_partition_symbol_resolution_is_guarded_before_it_dispatches derives the
site list from the code itself (every `let <var> = dec.symbol(...partition_w<N>
[...]` binding) rather than from memory, requires a refuse_invalid_subsize((N, N))
for each one's own level, and separately asserts the r5 defect cannot return: no
guard may sit inside a PARTITION_HORZ_A..=PARTITION_VERT_B arm, tracked by
indentation. Mutation shown: deleting the inter-16 guard reds it with
"part16 (decode.rs:54671) resolves a 16x16 partition symbol with NO
refuse_invalid_subsize((16, 16)) anywhere after it".

That is also why EC_AV1_SUBSIZE_ARM_TRACE's hand-listed three arms was not enough:
its site list was a list. The scan above cannot have that hole -- a new level
appears as a new binding and the test fails until it is guarded.

Residue corrected: at least three sites, not one. The inter-64 edge arm and the
inter-16 shapes are fixed; decode_rect4_16_intrabc remains out of scope and NOT
AUDITED (another lane's charter). The report no longer says intrabc was the only
exception, and states the limit of the scan: it covers partition_w* resolutions,
and a dispatch selecting a subsize without reading such a symbol would not be
caught by it.

r7: 30 tests green. Corpus scan 2750 lines, exactly one guard firing
(16x16 part=7, PARTITION_VERT_B -> BLOCK_8X16). The witness refuses; a genuine
4:2:2 pin still decodes (422_key_64x64 -> OK: 1 frames decoded, 64x64).
lane-av1unwritten r6: the guards were not where the offending values are decidedAhmet Kaan Gümüş · 6eedd60
lane-av1unwritten r6: the guards were not where the offending values are decided

r5 claimed complete coverage and did not have it. The refutation (Agent03-5) showed
three of the eight refuse_invalid_subsize calls sat inside
PARTITION_HORZ_A..=PARTITION_VERT_B arms, so they could only observe partition
values 4..=7, while the arms that see the offending values had no guard above
them: kf 16-level decode_rect4_16 with part16=9 (VERT_4 -> BLOCK_4X16, 538 hits),
inter 64-level rect/1:4 with part64=2 (-> BLOCK_32X64, 887) and =9 (-> BLOCK_16X64,
280), inter w8 with part8=2 (-> BLOCK_4X8, 3476).

Fix: every guard now sits where the symbol is RESOLVED, before any dispatch arm
-- one per level per path. Corpus scan of the values each site now sees:
kf 64/32/16 and inter 64/32 all reach values 0..=9; kf 128 reaches 0..=3;
inter 8 reaches 0..=3. The only guard that fires over the corpus is kf 16-level
on PARTITION_VERT_B (BLOCK_8X16, INVALID at 4:2:2), 68 times. Every other corpus
stream is 4:2:0/4:4:4 where those values are legal, so "passed" is the correct
reading -- the sweep is what proves the legal siblings still decode.

Two committed, env-gated, off-by-default coverage scans, printed by decode_probe,
because prose about coverage is not evidence of coverage:
  EC_AV1_SUBSIZE_GUARD_TRACE  per guard call site, per partition value, reached
                              and fired -- a site that never sees an offending
                              value becomes visible instead of assumed covered
                              (exactly the defect r5 shipped);
  EC_AV1_SUBSIZE_ARM_TRACE    per unguarded dispatch arm, which values reach it
                              and whether their subsize is codable here.
2346 lines over the 127-fixture corpus.

Residue, stated: decode_rect4_16_intrabc is the declared exception and was NOT
audited (another lane's charter). The arm scan finds no dispatch reached with a
non-codable subsize that lacks a guard above it.

Two report defects corrected against my own measurement: the section-5 mutation
text named two chroma_plane_block_codable call sites that no longer exist, and
section 2.1's "differs by 1984 bytes" does not reproduce -- both dumps are 8192
bytes and the 0xAD counts are 33 and 65, which is the correct form. (A per-byte
diff is unstable because one sentinel sample propagates through the loop filters
into its neighbours.)

r6 regression: 127 fixtures, the witness only refuses, nothing newly refusing;
29 tests green.
cmpff: prune infeasible subtrees in the assignment search (three cells went from >30 min to byte-exact in a second), count pairs at C speed, and pin PROBE to a provenance-verified buildAhmet Kaan Gümüş · f91abd5
cmpff: prune infeasible subtrees in the assignment search (three cells went from >30 min to byte-exact in a second), count pairs at C speed, and pin PROBE to a provenance-verified build

The 43-decode/40-display cells (AD_inter_nogm, AB_inter_warp_odd, AA_inter_compound) never finished in 300 s with
15 minutes of user CPU. The assignment DFS had no feasibility check, so an instance whose candidate lists cannot
cover the display side explored the whole tree before returning empty; with 'remaining decode frames must cover the
remaining display partners' plus a node cap that reports instead of hanging, all three measure BYTE-EXACT in 1.4 s
total. Pair counts for 8-bit planes now come from a big-int XOR counted with bytes.count (verified equal to the
per-sample loop on a synthetic case, and a stored cell's JSON is byte-identical after the change). PROBE is pinned to
a probe built in a fresh worktree whose filename carries its tree hash and whose embedded strings show no other
worktree -- the previous path had been silently built from a lane worktree at least once.
lane-av1unwritten: the census result is not a corpus-wide cleanliness claimAhmet Kaan Gümüş · d561585
lane-av1unwritten: the census result is not a corpus-wide cleanliness claim

Main, after r5, measured on 8d6998d7 with a provenance-verified probe: a
sentinel-vs-plain output diff finds two further fixtures whose output depends on
unwritten plane content -- reelb_rect64_intra16x4_witness.obu (34 frames) and
reelb_arf_witness.obu (40 frames) -- both of which this lane's census reports clean.
So the report's 126/126 census sweep must not be read as "no fixture depends on
unwritten memory".

The census is a PRE-DEBLOCK scan of the three planes; it cannot see a dependence
produced at a later stage or in a region it does not cover. One of the two
instruments has a blind spot and Agent01-9 owns finding which (lane/unwritten-dep).
Every number in this report stays attributed to this lane's own tree.

Also added a traps section for what this lane paid for: EC_AV1_FINAL_DUMP writes
nothing when the prefix directory does not exist (silence, not an error); at 8-bit
the dump is u8 so PLANE_SENTINEL 0xDEAD survives only as the single byte 0xAD; and
a binary's provenance comes from its embedded source paths, not from what cargo
last reported.

No code change. 29 tests green as committed.
lane-av1unwritten r5: restore the determinism evidence, correctly attributedAhmet Kaan Gümüş · d0f3f8a
lane-av1unwritten r5: restore the determinism evidence, correctly attributed

Main's counter-measurement was itself the stale-binary class: the probe it used
embeds THIS worktree's source paths, so it was an r1 build, not main. With a
path-verified fresh worktree at 8d6998d7 and its own target dir, main IS
nondeterministic on this witness and its output DOES depend on unwritten plane
content. Both readings reproduced; the premise stands.

Report and the chroma_plane_block_codable doc comment now record, as measured:

  * on 8d6998d7, five runs with uninitialised planes give TWO distinct output
    hashes; five runs with EC_AV1_PLANE_SENTINEL=1 give ONE; the sentinel output
    differs from the plain one (1984 bytes);
  * the byte width that hides it -- EC_AV1_FINAL_DUMP writes u8 at 8-bit, so
    PLANE_SENTINEL 0xDEAD narrows to the single byte 0xAD (65 vs a 33 baseline),
    and a two-byte 0xDEAD count cannot find it;
  * the recipe detail that cost a round -- the dump writes NOTHING if the prefix
    directory does not exist, so create it first;
  * the provenance lesson, since it nearly inverted the section: a binary's
    provenance comes from its own embedded source paths, not from what cargo
    last reported.

Kept distinct, as Main asks: the observation explains why anyone looked; the
libaom refusal (aomdec) and the encoder guard (partition_search.c:3383-3389)
are why the fix is right; the 224-sample census stays labelled as a lane-tree
measurement with a lane-only instrument.

Gate unchanged: refusal + libaom's wording + genuine-4:2:2 positive control.

29 tests green. Two apparent failures were this box's /tmp quota again (errno
122), not the change; both pass after freeing scratch.
lane-av1unwritten r5: stop asserting the nondeterminism as measured factAhmet Kaan Gümüş · 4561b9e
lane-av1unwritten r5: stop asserting the nondeterminism as measured fact

Main re-measured the witness on main 8d6998d7 with a provenance-checked probe
and did not reproduce varying output hashes, so the report and the
chroma_plane_block_codable doc comment must no longer state it as measured fact.

Both now say what is actually established, and neither of the two justifications
is this lane's pixel measurement:

  1. libaom REFUSES the shape -- aomdec on the pin prints "Failed to decode
     frame 1: Corrupt frame detected" / "Block size 8x16 invalid with this
     subsampling mode" (decodeframe.c:1449-1458);
  2. libaom's own encoder never emits it -- partition_search.c:3383-3389 gates
     partition_rect_allowed on the same table, so no conformant 4:2:2 stream can
     contain the shape and the refusal cannot reject legal content.

The 224-sample pre-deblock census is cited as what it is: a measurement on THIS
lane's tree with the lane-only census instrument, not a property of main's
output. The five-hash sentence, the determinism claim in the outcome line, and
the "Determinism, now a consequence" paragraph are deleted; the gate keeps
asserting the refusal plus a genuine-4:2:2 positive control, which is what
libaom actually does. Census instrument kept.

Reported to Main separately: I could not reproduce determinism either, on a
worktree I built from 8d6998d7 myself (clean git status, five fresh processes,
five hashes; sentinel-vs-plain 1984 differing bytes). The likely cause of the
disagreement is byte width -- EC_AV1_FINAL_DUMP writes u8 at 8-bit, so
PLANE_SENTINEL 0xDEAD narrows to the single byte 0xAD (65 in a sentinel dump vs
33 baseline in a plain one) and a 2-byte 0xDEAD count cannot see it. Flagged for
a re-run at 0xAD or on a 10-bit fixture.

Tests: 29 green across the table test, the refusal gate with its positive
control, the realigned 440 gate, the 4:2:2 set and the sub8 set. Four earlier
"failures" were this box's /tmp quota (errno 122 writing the witness), not the
change; all four pass after freeing scratch.
lane-av1unwritten r5: every subsize-selecting site guarded, not just VERTAhmet Kaan Gümüş · 22c0111
lane-av1unwritten r5: every subsize-selecting site guarded, not just VERT

r4 named six sites instead of sweeping them; r5 closes them.

Each guard is now UNCONDITIONAL on the resolved partition symbol rather than
matches!(sym, PARTITION_VERT). partition_subsize_dims is libaom's
get_partition_subsize (common_data.h:71-90) reduced to dimensions and is exact,
so one call per dispatch covers VERT, VERT_A/VERT_B, HORZ_4 and VERT_4 at once
while the HORZ siblings pass through unchanged.

Installed at:
  key    128 root   match part128   64x128 / 16x64
  key    64 level   match part      32x64 / 16x64      (binds its symbol to
                                                      `part`, not `part64`)
  key    32 level   match part32    16x32 / 8x32
  key    16x16      match part16    4x16
  inter  128 root   match part128   64x128
  inter  64 level   match part64    32x64 / 16x64
  inter  32 level   match part32    16x32 / 8x32
  inter  16x16      match part16    4x16
plus the r3 partition_w8 sites (4x8).

An intermediate attempt put refuse_invalid_subsize(..., PARTITION_VERT_4, ...)
inside a `PARTITION_HORZ_4 | PARTITION_VERT_4 =>` arm, which fired for HORZ_4 as
well and refused nine real 4:2:2 gates -- caught by the scoped test set before
commit. The unconditional form ships.

Still open: none of r5's four items. decode_rect4_16_intrabc remains the
declared exception (another lane's charter).

Regression on r5: 127 fixtures, both trees, per-fixture aggregate hashes --
differing: ['440_request_is_422'], 126 emitting, refused:
['440_request_is_422']. 29 tests green: the libaom table test, the refusal gate
with its 4:2:2 positive control, the realigned 440 gate, the 4:2:2 set and the
sub8 set.
lane-av1unwritten r4: install the refusal at four more subsize sitesAhmet Kaan Gümüş · e898fd7
lane-av1unwritten r4: install the refusal at four more subsize sites

Main: a found defect is swept whole, not partly. r3 named the six remaining
sites; r4 installs four of them through one helper so the check can never be
applied to a parent's own shape -- the r2 mistake in a new place.

partition_subsize_dims(bw, bh, part) is libaom's get_partition_subsize reduced
to dimensions (spec 6.10.3): SPLIT -> (w/2, h/2), HORZ/HORZ_A/HORZ_B ->
(w, h/2), VERT/VERT_A/VERT_B -> (w/2, h), HORZ_4 -> (w, h/4), VERT_4 ->
(w/4, h). refuse_invalid_subsize applies chroma_plane_block_codable to THAT and
returns libaom's named refusal.

Installed at:
  128 root   PARTITION_VERT      -> 64x128  (1,0) INVALID
  64 level   PARTITION_VERT      -> 32x64   (1,0) INVALID
  32 level   PARTITION_VERT      -> 16x32   (1,0) INVALID
  16x16      PARTITION_VERT_4    -> 4x16    (1,0) INVALID

Each guard is written so the sibling of the same dispatch still decodes, and
the report's site table records the sibling per site: HORZ at the 128 root ->
128x64 (64x64 valid), at 64 -> 64x32 (32x32 valid), at 32 -> 32x16 (16x16
valid), HORZ_4 at 16x16 -> 16x4 whose (1,0) cell is 8x4 -- VALID, the exact
shape r2 refused and the one libaom's own encoder emits.

Still open and named, not claimed: VERT_A/VERT_B four-way splits at 16/32/64
(8x32, 16x64), VERT_4 on 8x16/16x8 in decode_rect_split (8x32), the inter-frame
duplicate of the 64-level match, and decode_rect4_16_intrabc (another lane's
charter).

Regression on r4: 127 fixtures, both trees, per-fixture aggregate hashes --
differing: ['440_request_is_422'], 126 emitting, refused: ['440_request_is_422'].
29 tests green across the table test, the refusal gate with its 4:2:2 positive
control, the realigned 440 gate, the 4:2:2 gates and the sub8 set.
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.