forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/av1unwritten.report.mdClear filter

2026-10-01

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.
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).