forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on f7a8a05455e9bfee3453bf76e71c409c891881d0

2026-09-30

av1mixllconj report: the 10/12-bit bullet now says what was MEASURED instead of implying an impossibilityAhmet Kaan Gümüş · f7a8a05
av1mixllconj report: the 10/12-bit bullet now says what was MEASURED instead of implying an impossibility

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

The lane's 10-bit bullet claimed 'no >8-bit y4m source was obtainable'. That is refuted by this repo's own
practice -- two lanes this wave built 10/12-bit y4m by hand (recipe in lanes/av1444d10.report.md, 12-bit
variant in lanes/av1444palw.report.md) -- so the bullet now states the narrower, measured fact: THIS ffmpeg
(8.1.3) failed 'Conversion failed!' on yuv420p10le/12le, yuv444p10le and gray10le from both a lavfi source and
a y4m input, and the one hand-built 16-bit-LE y4m tried was rejected by the shared aomenc with 'Loss of
framing in Y4M input data' (0-byte output). Two attempts, not an impossibility; lane Esra2 owns the arm.

Why it mattered enough to take: the refutation banner corrects the corpus buckets but touches nothing in the
section that carried this sentence, so a reader would have kept 'unobtainable' next to a lane actively
building it. A documented trap that is only commented is not neutralised -- that applies to a report's prose
exactly as it applies to a comment in code.
annotate: the corpus-bucket divergence is DIAGNOSED -- our decode-order dump narrows to u8 while the oracle's is depth-correct, so every HBD cell was red by constructionAhmet Kaan Gümüş · 4d57b9f
annotate: the corpus-bucket divergence is DIAGNOSED -- our decode-order dump narrows to u8 while the oracle's is depth-correct, so every HBD cell was red by construction

The conjunct lane supplied the root cause of its own wrong buckets, and it is verifiable in one line: our
EC_AV1_DECODE_ORDER_DUMP narrows every plane (stream.rs:2189, and its own comment says it 'predates 10-bit
support and is an 8-bit-oracle comparison only') while the oracle's EC_AV1_FINAL_DUMP is bit-depth correct. On
an 8-bit stream that compare is fair; on 10/12-bit it mismatches on EVERY frame by construction. Nearly all 34
RED rows were HBD fixtures -- red because u16 samples were halved, not because a pixel differed -- which is why
the correct buckets are 96 EXACT / 0 RED / 9 / 1 at base and 100 / 0 / 9 / 1 at the tip, and why the lane's
zero-EXACT->RED substance stands untouched.

The annotation now names the cause instead of leaving two incompatible sweeps of the same corpus for the next
lane to choose between, and the class is recorded in oracle-raw-packing-depth-audit: an all-HBD red set is the
signature of a narrowed-dump compare, and a documented trap is not a neutralised trap.
conjunct + off-tile refutation: PARTIAL -- every decoder claim reproduced; three figures corrected, one of them patch-introduced in codeAhmet Kaan Gümüş · d626fa6
conjunct + off-tile refutation: PARTIAL -- every decoder claim reproduced; three figures corrected, one of them patch-introduced in code

The pass reproduced every decoder claim with its own instruments before refuting anything: the pin (6/6
decode-order dumps byte-exact, shown rawvideo 0 differing bytes), the whole-stream ladder (96997/96997 paired,
first divergence NONE), the conjunct-out red (f1..f5 = 33724/34251/44500/36688/37462, gate FAILED at frame 1
byte 33, ladder fork at read 30889), the per-segment derivation, the 640x480 premise reversal on base (the
report's exact bytes, 76/70/68/87/92 % of the frame wrong), and the off-tile arithmetic re-derived
independently (mb_to_right_edge -88 / -120 -> max_block_wide 6, max_block_high 2 -> 12 units per plane against
32 walked; the oracle's own EC_ECDUMP_IN prints 2373 lines; pixel-invisibility CONFIRMED by removing the clip
and showing frame 0 still byte-exact).

Fixed here, in code, because the first finding was patch-introduced:

SUB8_LOSSLESS_NO_VARTX was not the DECISION counter its doc claimed, and my merge message repeated the claim.
The pass measured 33 hits on a build with the conjunct REMOVED: the `else if lossless(fctx) && !skip` arm also
serves leaves whose `tx_select_inter` is OFF. The hit is now guarded on `tx_select_inter` -- the same term the
conjunct uses -- so a hit means the suppression is the conjunct's doing. The pin's delta reads 10, not 40; the
gate still asserts > 0 and stays green; both numbers are named in the counter doc and the gate doc. Same class
as the palette counter correction earlier today: a hit that fires for a population the fix does not touch is
not a non-vacuity arm.

Corrected in the report as an annotation rather than a rewrite:
- CORPUS BUCKETS: the pass measures base 106 = 96 EXACT / 0 RED / 9 FRAMECOUNT / 1 ORACLE_FAIL and tip 110 = 100
  / 0 / 9 / 1. The substance is intact and stronger than the report's framing: conjunct-out -> tip is exactly
  ONE status change, zero EXACT->RED, zero new refusals; base -> tip is 0 changes across the 106 shared
  fixtures plus 4 added; tip -> clip-out is 0 changes. The report's 107-fixture/64-34-9-0 pair matches neither
  tree.
- The cited rung EC_AV1_DECODE_ORDER_DUMP does not exist in the shared oracle build (only
  EC_AV1_FINAL_DUMP); the measurement stands, the name is wrong.
palette lane: refutation PARTIAL -- code, fixtures and gate survive; three report figures corrected in place, plus two small in-code defects the pass foundAhmet Kaan Gümüş · 44a4ba0
palette lane: refutation PARTIAL -- code, fixtures and gate survive; three report figures corrected in place, plus two small in-code defects the pass found

The refutation of `0bfee517` reproduced the reach on the pinned bytes with its own rung (`mi=22,8 px=128 py=352
bw=64 bh=16 cw=64 ch=16 uw=32 uh=16 nw=2 nh=1 puv=1` for the RECT-unit arm; the same block with
`cw=64 ch=32 uw=uh=32` for the SQUARE-unit arm), re-measured exactness at both depths with a comparator it
proved live at each depth (one-byte oracle flip -> +1), and reproduced the mutation exactly (byte 738176,
54278 bytes). What did NOT survive is three figures, now corrected in the report as an annotation rather than a
rewrite:

1. REACH CENSUS: "exactly three committed fixtures carry this walk" is wrong -- all 110 re-swept print the walk
   in 19 of them (17 pre-existing), and three PRE-EXISTING fixtures do carry an nw>=2 walk (r512,
   444_rect_strip_leaf_tx_type, 444_sb128rect_lr_witness). The load-bearing sub-claim survives and is now
   measured: only three fixtures corpus-wide carry a CHROMA PALETTE on this walk at all -- the two new cells and
   r512_rect2x1_1x2_444 (nw=1 nh=2).
2. PER-PLANE MUTATION COUNTS do not reconcile with the report's own totals: the u16 surface gives 26832+27446 =
   54278 (10-bit) and 6656+6656 = 13312 (12-bit), which equal the headline totals, while the printed per-plane
   rows sum to 51692 and 12800. Two surfaces under one claim; both marked unpinned until re-derived.
3. "NOT A CASCADE" is dropped: with BOTH sites reverted the 10-bit damage spans 372 rows and columns 128..639
   and the first wrong sample lies outside every palette-bearing walked block, so luma 0 rules out luma-side
   context only. The ARM-ISOLATED result replaces it and is stronger: rect-unit arm alone reds the 10-bit cell
   (first wrong r352 c160, inside the horizontal block) and leaves 12b clean; square-unit arm alone reds 12b AND
   10b. That isolation also corrects an in-code comment: windowing is load-bearing for EVERY tiled block, and
   `nw > 1` is merely the case the corpus could not reach -- the counter's doc now says so instead of inviting
   the "only the horizontal term matters" reading. The reviewer also read the counter floors directly: 8 and 4
   on the new cells, 4 on the pinned cell, and 0 on 420_intrabc_rect4_witness (proof the guard discriminates).

Two in-code defects fixed here, both found by that pass:
- `EC_PALWALK` printed the label `py` for TWO different quantities (the block origin and `palette_y.is_some()`),
  so any census script could silently read the wrong one: the second is now `py_pal`.
- the `CHROMA_PALETTE_WINDOW_HITS` doc block carried the claim the isolated-arm mutation refutes (see 3).
av1offtile report: the 640x480 re-measure protocol (§6c), word-for-word the same table as av1mixllconj §4.3Ahmet Kaan Gümüş · 532a30d
av1offtile report: the 640x480 re-measure protocol (§6c), word-for-word the same table as av1mixllconj §4.3

Report-only; taken as the file, not the branch (crates delta against the merged fix verified EMPTY both ways,
and the branch sits on the old base so a branch merge would drag other lanes' work in). Verified additive: zero
removed lines against main's copy.

Two reports paraphrasing the same discriminator differently is how the dangerous outcome gets argued away, so
the table is now identical in both and written as an ASSERT: the pixel run is the CONSEQUENCE, the operand pair
is the CAUSE, and the pair is readable BEFORE the fix lands -- a forced ctx=1 alone already makes the cell exact
(457907/457907 bit-identical, no band change), so a green pixel compare cannot tell a repair from a mask. The
cheapest discriminator needs no decode at all: a band-write site touched with decode_leaf_rect8 untouched means
the band was the cause, the reverse means it was a symptom.

Comparison conventions recorded with it so future numbers stay comparable: convention-free EC_SYMR fields only,
third field regex -?\d+ because the oracle's negative pre[2] is stream-dependent (211/457907 here, 52/96997 on
the 256x128 pin), and name which override sweep produced a ctx table -- per-site and global disagree on the
non-answer rows without either being wrong.
av1mixllconj report: the 640x480 re-measure asserts the OPERAND PAIR, not the pixel compareAhmet Kaan Gümüş · d5b102a
av1mixllconj report: the 640x480 re-measure asserts the OPERAND PAIR, not the pixel compare

Report-only; taken as the file, not the branch (the branch is based on 6bb66a4a, so a branch diff against main
carries other lanes' work -- main already has this lane's code). Verified additive: the diff against main's copy
has zero removed lines.

Why it matters, and why it is part of the standing obligation filed under Agent01-8's band write: a GREEN 640x480
pixel compare cannot say WHICH cause closed it, because the ctx=1 lock would produce the same green. The
re-measure therefore asserts the operand pair (above_txfm and ctx) on the same two rungs after the fix, with
three tabled outcomes: above_txfm 4 with ctx 1 arising on its own = the band write at mi=(36,108) was
publishing 16 where libaom has 4, and the ctx=1 lock is RETIRED as a symptom mask; above_txfm 16 with ctx 1
anyway = the band is STILL wrong and a green cell is the mask doing the work, not a repair -- exactly the case a
pixel compare hides; above_txfm 4 with ctx not 1 = something else remains and the cell should NOT go exact. An
ASSERTION, not a log line.

The report also records the ordering evidence rather than only the sequence: the off-tile walk moved the 176x144
first divergence 25792 -> 29411 and changed NOTHING on 640x480, while the var-tx conjunct is what made
mi=(80,110) reachable in a state where its context matters (base + the clip alone reads 860431 with no ctx value
moving it) -- so the chain is ORDERED, which is why the operand pair is readable at all.
av1mixllconj report: land the final 16 lines of the tip (report-only; crates verified identical)Ahmet Kaan Gümüş · 5d31057
av1mixllconj report: land the final 16 lines of the tip (report-only; crates verified identical)

The lane's tip moved to 1562c7e5 and the only delta against what main carries is 16 report lines -- no source
delta, verified with git diff --stat against crates/. Landing the report keeps main's copy canonical instead of
leaving a reader to chase a branch tip for the last paragraph of a handoff.
av1mixllconj report update: the band-gap handoff is now a two-lane joint fact with its owner named, and three corrections folded inAhmet Kaan Gümüş · f75ebff
av1mixllconj report update: the band-gap handoff is now a two-lane joint fact with its owner named, and three corrections folded in

Report-only (crates/ verified identical to the merged fix). The 640x480 band gap is reproduced on two trees
(ctx=1 -> ours 457907 vs oracle 457907, bit-identical; the natural value gives 521856 with the first divergence
at 179378), and the last band write above mi column 110 is identified: the SKIPPED 16-px inter block at
mi=(36,108) publishing 16 where libaom has 4.

Three corrections folded in rather than left as drift:
  - the site is the tx_size_cat0 arm of decode_leaf_rect8 (the FUNCTION survives line drift; the line number
    does not, so a function name is the durable handle);
  - the override only bites with the conjunct landed, so the dependency order is off-tile chroma walk ->
    var-tx conjunct -> band gap; that is why a global-override sweep and a per-site sweep produced different
    ctx rows without contradicting each other;
  - the EC_SYMR comparator's third field must ACCEPT A NEGATIVE pre[2]; the under-count is stream-dependent
    (52 of 96997 on the pin, 211 of 457907 on 640x480), not a fixed number.

Agent01-8 (lane/av1txctxband2) is named as the owner in the deferred section, so the chain no longer runs
through the two lanes that found it. No forced-ctx code is in any branch.
av1offtile report update: the joint reproduction of the tx_size_cat0 ctx finding, and a self-correction kept verbatimAhmet Kaan Gümüş · 107f8fd
av1offtile report update: the joint reproduction of the tx_size_cat0 ctx finding, and a self-correction kept verbatim

Report-only (crates/ delta against the merged fix verified EMPTY).

1. JOINT REPRODUCTION of the handed-over defect: on a scratch tree at the conjunct lane's tip plus this lane's
   patch, forcing ctx=1 at the 640x480 mi=(80,110) tx_size_cat0 site gives 457907 reads against the oracle's
   457907, bit-identical over all of them. The third defect's identification is now a two-lane measurement
   rather than an attributed claim -- and it is still NOT shipped, because a forced context is a symptom mask.

2. SELF-CORRECTION kept in the report with the wrong claim verbatim and the correction under it: this lane had
   claimed mix_640x480_5/6 "still decode with both applied", having measured only its own tree and extrapolated
   about the COMBINED fixes. Rebuilt on the combined binary: both REFUSE. Its regression table now says
   "decodes" means NOT REFUSED and records 640x480 as RED at base with its own measurements (f0 EXACT, f1
   352066, f2 414286, f3 313795, f4 399471 of 460800), reproducing the peer's numbers exactly.

3. Class sweep, measured rather than claimed: the two other coefficient-reading chroma walks (chroma_tiled,
   decode_block_rect64) instrumented with the same off-tile test and swept over the whole committed corpus,
   18 generated edge-overhang cells and the 12 mix cells -- 0 hits; probes removed, grep -c EC_OFFTILE is 0.
   Mutation proof: width half disabled -> 2381 units vs the oracle's 2373; clip removed -> the non-vacuity
   assert fails.
Merge lane/av1444palw: the palette walk's HORIZONTAL arm (nw>1) and a 12-bit cell are MEASURED, not "correct by construction"Ahmet Kaan Gümüş · 51825f3
Merge lane/av1444palw: the palette walk's HORIZONTAL arm (nw>1) and a 12-bit cell are MEASURED, not "correct by construction"

The residue the 4:4:4 palette fix left behind is closed. Its horizontal windowing (ox = cu_col * uw at the
block's own chroma_w stride) was reached by NOTHING: a corpus-wide tracer over all 108 committed fixtures found
walks in 3 files, every one nw=1 -- and the one 64-WIDE luma palette rect block in the corpus
(420_intrabc_rect4_witness.obu) collapses to 32 chroma columns at 4:2:0, so the horizontal term stays dead
there too. The load-bearing knob turns out to be --min-partition-size=8 (at 4 the 64-wide strip never takes a
chroma palette), on 4:4:4 screen-tuned testsrc2 at 640x480.

Two pinned cells now reach the arm, one per unit arm:
  444_palette_chroma_hstrip_640x480_10b.obu -- 3301 B, sha256 40cebc52..., walk bw=64 bh=16 cw=64 ch=16
    uw=32 uh=16 nw=2 nh=1  => the RECT-unit arm of the tiled walk
  444_palette_chroma_hstrip_640x480_12b.obu -- 2571 B, sha256 2fb5ba97..., walk bw=64 bh=32 cw=64 ch=32
    uw=32 uh=32 nw=2 nh=1  => the SQUARE-unit arm, at 12-bit
Both measure Y/U/V = 0/0/0 against the oracle (u16 LE dumps vs aomdec --rawvideo at the matching output bit
depth), with the comparator's liveness proved at BOTH depths first (a one-byte oracle tamper moves the count
0 -> 1). Mutation proof, both windows reverted to the whole-buffer hand-off: 10-bit reds at byte 738176 with
54278 differing bytes (per-plane 0/25553/26139, first bad sample frame 0 plane U r96 c448, mutant 810 vs
oracle 763) and the 12-bit arm reds at byte 1065280 with 13312 (0/6400/6400). Luma stays 0 in both, so the
failure is the cu_col=1 unit and not a cascade. Gate
a_444_palette_chroma_horizontal_unit_window_is_byte_exact_10bit_and_12bit with per-arm pins, a
nw*nh>1-guarded reachability floor, and a full-resolution-chroma assertion so a 4:2:0 extent cannot pass.

The counter floor of 4 was a floor from ONE stream; re-measured per stream it is 8 (10-bit cell) and 4 (12-bit
cell), asserted at those values, and the old number is annotated so it is not read as a corpus figure
(16 windowed units in total on the two new cells, 8 of them on the horizontal arm). The previously-unreachable
horizontal arm is therefore measured on two depths and two unit arms; the coverage debt for this walk closes.
Merge lane-av1offtile: the lossless rect strip's chroma walk is bounded by the CHROMA PLANEAhmet Kaan Gümüş · d51f53f
Merge lane-av1offtile: the lossless rect strip's chroma walk is bounded by the CHROMA PLANE

The 40 phantom reads at the bottom-right partial superblock are owned and fixed. libaom bounds every transform
walk PER PLANE and PER UNIT -- max_block_wide/high adds mb_to_right_edge >> (3 + subsampling_x)
(av1_common_int.h:1565) and av1_foreach_transformed_block_in_plane drops any unit past it (decodeframe.c:1124).
decode_rect_split's LUMA walk already carried that clip; its lossless CHROMA walk counted the block's own
chroma_w/4 x chroma_h/4. Same function, same rule, one plane covered.

Exact arithmetic, and it is why the bit position froze rather than advancing: on 176x144 the block at mi=(32,32)
is bw=64 bh=32 on an 88x72 plane, so the chroma plane block is 32x16 = 8x4 units; the walk emitted 32
units/plane where only 12 are coded, so 20 phantom x 2 planes = the measured 40. They ran past the tile's
coded byte range into an exhausted reader, where read_golomb's unary prefix returns 0 forever and each
aom_read_symbol only renormalises rng (decaying ~509 per read) with bit == post_bit == 36288 on all 40.

Fix: 2 lines at decode.rs ~12915, the chroma twin of the luma guard 380 lines above in the same function, using
the chroma plane's own true_width/true_height (off-tile units are counted and skipped, so the counter is the
non-vacuity arm). Measured effect: the 40 reads are gone, the paired ladder is bit-identical through read 29410
(was 25791), and frame 0's transform-unit count drops 2413 -> 2373, which IS the oracle's own EC_ECDUMP_IN
census for the same bytes. First divergence moves to 29411, a different site. Pixels cannot see this defect at
all (every phantom read is all_zero), which is why the gate asserts the UNIT COUNT rather than a pixel compare.

The refusal is NOT removed by this commit alone, and that is measured rather than deferred: composed with the
sibling conjunct clip (the commit merged immediately before this one) 176x144 and 352x288 both decode 6/6
byte-for-byte identical to aomdec --rawvideo. 640x480 refuses with both and is byte-for-byte unchanged by this
clip, so its residual is the third, independent defect named in the previous merge message.
Merge lane-av1mixllconj: the var-tx tree is gated on per-segment lossless as a CONJUNCT, not an else-ifAhmet Kaan Gümüş · e3cfa33
Merge lane-av1mixllconj: the var-tx tree is gated on per-segment lossless as a CONJUNCT, not an else-if

The mixed-lossless class (a supported 4:2:0 8-bit cell reachable from one aomenc line) is fixed. The charter's
suspicion -- that our per-segment lossless answer disagreed with libaom's xd->lossless[segment_id] -- is
REFUTED: the derivation is libaom's term for term (av1_get_qindex + the five deltas, evaluated after
segmentation resolves), and behaviourally the parse is bit-identical to the oracle for 179378 reads on the
640x480 cell, where any wrong flag at any var-tx gate would have changed the READ COUNT and forked the ladder.
The defect was the branch POSITION: libaom puts !xd->lossless[segment_id] IN the var-tx condition
(decodeframe.c:1237), we had it one branch late in an `else if`. Two sites: decode.rs:27213 (intrabc 4x8/8x4
rect leaf) and :48332 (sub-8 4x8/8x4 inter leaf).

Evidence: the pinned 256x128 witness is 6/6 decode-order byte-exact with the paired EC_SYMR ladder
bit-identical over the WHOLE stream (96997/96997 reads, zero divergence -- not merely up to the old fork); the
4:4:4 arm goes red-on-f1..f8 -> 9/9 exact; 352x288 is REFUSED -> 7/7 exact; 176x144 REFUSED -> decodes (its
residual fork at read 25792 is a different site, closed by the sibling clip merged next); the 107-fixture
corpus moves exactly ONE fixture RED -> EXACT with zero EXACT->RED, no new refusal and no frame-count change;
mutation proof reds the gate at the same 33724 bytes as the hand measurement; scoped suite 375 passed / 0
failed / 7 ignored.

ONE REGRESSION CONTROL IS NOT MET AND ITS PREMISE WAS FALSE, reported rather than papered over: 640x480 still
refuses after 4 of 6 decode-order frames. It is not "a working cell made to refuse" -- at base it decodes 6/6
dumps while EVERY inter frame is 70-92% wrong (f1..f5 differ by 352066/414286/313795/399471/422078 of 460800),
independently reproduced by the sibling lane on its own tree. So the fix replaces silent ~80%-wrong pixels with
a loud refusal, and the residual is a THIRD defect, handed over with its site named: mi=(80,110), an 8x4 intra
leaf with use_filter_intra in an inter frame, we read tx_size_cat0[2] where libaom reads [1] (a missing
TXFM_CONTEXT band write above mi column 110); forcing ctx=1 there makes the cell bit-identical over all 457907
reads, and that forcing is deliberately NOT shipped because a forced context is a symptom mask.
av1: gate the var-tx tree on per-segment lossless as a CONJUNCT, not an else-ifAhmet Kaan Gümüş · d827f72
av1: gate the var-tx tree on per-segment lossless as a CONJUNCT, not an else-if

A 4:2:0 8-bit cell built from a plain aomenc line diverged from the oracle on
every inter frame:

  ffmpeg -f lavfi -i testsrc2=size=256x128:rate=25 -frames:v 5 -pix_fmt yuv420p src5b.y4m
  aomenc --codec=av1 --obu -o c_mix5.obu --passes=1 --cpu-used=4 \
         --limit=5 --end-usage=q --cq-level=0 --aq-mode=1 src5b.y4m

18525 bytes, sha256 3e06b5641e6a0f5a3f4ac8f114d4ee48c88638429e9eaafe6b4483e24f1dbc3a.
f0 (key) exact; f1..f5 differ by 33724/34251/44500/36688/37462 bytes of 49152.

The first fork is entropy read 30889 of f1: the oracle goes from `ref_mv`
(decodemv.c:191) straight to the luma `txb_skip` (decodetxb.c:158) and reads no
tx_size symbol at all, while we read one.

libaom's reason it reads nothing: parse_decode_block (decodeframe.c:1237) puts
!xd->lossless[mbmi->segment_id] in the tree condition itself, and read_tx_size
(:1203) answers TX_4X4 on the same flag. Ours tested tx_select && !skip and left
lossless(fctx) -- already per-segment, lossless_per_seg[cur_segment_id] -- in the
`else if`, one branch too late.

Two sites, both fixed by adding the conjunct:
  decode.rs:27213  intrabc 4x8/8x4 rect leaf
  decode.rs:48332  sub-8 4x8/8x4 inter leaf

After, measured on this base (6bb66a4a):
  - the pin: 6/6 decode-order byte-exact and the paired EC_SYMR ladder
    bit-identical over the WHOLE stream, 96997/96997 reads, zero divergence;
  - the 4:4:4 arm (--profile=1, 8 frames): red on f1..f8 before, 9/9 exact after;
  - 352x288 of the same recipe: REFUSED before, 7/7 exact after;
  - 176x144: REFUSED before, decodes 7/7 after (its residual is a separate
    mi=(32,32) extra-geometry fork, first divergence read 25792 with AND without
    this change -- measured here, not cited);
  - 640x480: see below, the one control NOT met;
  - corpus, all 107 committed fixtures: exactly one status change,
    420_mixll_altref_256x128_5f RED -> EXACT. 64/34/9/0 (exact/red/
    framecount/refused) at base, 65/33/9/0 after. No fixture regresses.

The charter's live question -- make our per-segment lossless answer agree with
libaom's xd->lossless[segment_id] -- is answered NO CHANGE IS NEEDED: the
derivation is line-for-line libaom's (quant_common.c av1_get_qindex plus the
five deltas, evaluated after segmentation resolves), and on the 640x480 cell the
parse is bit-identical for 179378 reads, at every one of which a wrong flag would
have changed the NUMBER of reads. So no tree gate ever saw a wrong flag.

The 640x480 control is not met, and its premise is false: at base the cell
decodes 70-92% wrong on EVERY frame (f1..f5 differ by 313795..422078 of 460800
bytes), so it was never a correct decode. The fix moves that cell's first
divergence from read 138586 to 179378 and then exposes a SECOND, independent
defect: at mi=(80,110), a 4:2:0 8x4 intra leaf with use_filter_intra inside an
inter frame, we read tx_size_cat0[2] where libaom reads tx_size_cat0[1] (its own
EC_TXCTXB rung: abv=4 lft=8 above=0 left=1 ctx=1; ours: above_txfm=16 left_txfm=8
above=1 left=1). Forcing ctx=1 at that single site makes 640x480 bit-identical
to the oracle over all 457907 reads -- so the residual is a missing TXFM_CONTEXT
band write above mi column 110, class context-band-not-published, and not a
lossless-derivation problem. Loud refusal instead of silent near-garbage is the
direction the honesty invariant asks for; the missing band write is handed on.

Class sweep: all 74 lossless consults, all 10 `else if lossless` sites and all 9
read_var_tx_size gates re-derived against libaom's own condition. Exactly the 2
fixed sites were in the class (a per-segment flag consulted as a branch
alternative instead of a conjunct of the condition it gates); no third site.

Gate: a_420_mixed_lossless_alt_ref_sub8_vartx_witness_is_byte_exact_in_decode_order,
pinning the new fixture by fnv1a64, asserting 6 decode-order dumps with 1 hidden,
the SUB8_LOSSLESS_NO_VARTX route counter (incremented on the DECISION, so it is
non-zero only when the conjunct actually suppressed a tree; 40 on this pin), and
the shown-frame per-plane compare. With the fix surgically reverted the gate fails
at frame 1 byte 33 with 33724 differing bytes -- the hand-measured red.

Composition: cherry-picking 714fb55b (lane-av1offtile, the chroma-plane-bounded
lossless rect walk) on top of this commit was measured and then reverted -- the
branch carries no trace of it. With both clips the pin, 176x144, 352x288 and the
4:4:4 arm are ALL byte-exact, and the 640x480 residual is byte-for-byte unchanged
(64181 / 98673 / 63442), which is what makes the third defect of the report
independent of the chroma walk. lane-av1offtile reports 640x480 "still decodes
with both applied"; that does not reproduce on this commit + 714fb55b and was
corrected to them over IRC.

Scoped run: cargo test -p ec-av1 --lib -- 420 444 422 lossless stream
  --skip bitrate_target_lands_within_5_percent_over_48_frames
  -> 375 passed; 0 failed; 7 ignored; 0 measured; 422 filtered out (1770.01s).
That scope holds no 640x480-class cell, which is why the cell sweep is the
load-bearing evidence for the refusal above.

Not claimed: the 10/12-bit arm of the class sweep (this ffmpeg cannot emit a
>8-bit y4m), and the residual reds on the 6-frame 256x128 and 320x240 arms.

See lanes/av1mixllconj.report.md.
av1: bound the lossless rect strip's chroma walk by the CHROMA PLANEAhmet Kaan Gümüş · ca7bfb4
av1: bound the lossless rect strip's chroma walk by the CHROMA PLANE

The 40 extra `txb_skip` reads at the bottom-right partial superblock of a
176x144 mixed-lossless+altref stream were `decode_rect_split`'s LOSSLESS
plane-major 4x4 chroma walk, which counted the block's own
`chroma_w / 4` x `chroma_h / 4` units. libaom counts the PLANE's:
`max_block_wide/high(xd, plane_bsize, plane)` adds
`mb_to_right_edge >> (3 + pd->subsampling_x)` and
`av1_foreach_transformed_block_in_plane` drops any unit past it
(av1_common_int.h:1565, decodeframe.c:1124). The LUMA walk in the same
function already carried that clip; the chroma walk did not.

The bottom-right superblock of a 176x144 frame is a 48x16 sliver, but the
block coded at mi=(32,32) is bw=64 bh=32, so its chroma plane block is 32x16
at origin (64,64) on an 88x72 plane: 8x4 units walked where 6x2 are coded,
20 phantom units per plane, 40 in total. Every one carries `all_zero` and
consumes no data -- the bit position freezes at 36288 -- which is why frame
0's pixels are byte-exact either way and why the desync only surfaces
11 970 reads later as an unbounded Golomb tail.

Frame 0's transform-unit count goes 2413 -> 2373, and 2373 is the oracle's
own EC_ECDUMP_IN census for the same bytes. The paired EC_SYMR ladder is
bit-identical through read 29410 (was 25791).

Fixture: frame 0 of `mix_176x144_6.obu` (the 6-frame stream is 20 069 B,
sha256 02b15d0d...; this fixture is its first 4581 B), so the gate decodes
cleanly in isolation. The gate asserts the off-tile counter is nonzero, the
unit count equals the oracle's census, and the pixels match aomdec; it goes
red at 2381 with the width half of the clip disabled and red on
gate-blind-to-feature with the clip removed.

Regression control: mix_640x480_5/6, mix_320x240_6, mix_176x144_5 and c_mix5
are unchanged. Note 640x480 does not decode CORRECTLY at base -- every inter
frame already differs from the oracle by 352066 / 414286 / 313795 / 399471
of 460 800 bytes -- and this patch is inert there.

This cell's refusal is NOT gone by this commit alone: the first divergence
moves to 29411, the var-tx/lossless conjunct lane Agent05-5 owns. Measured in a
scratch tree at 658d37fa with this patch on top, both 176x144 and 352x288
decode and match the oracle byte for byte; 640x480 REFUSES with both, which
is Agent05-5's regression and not this walk's. See lanes/av1offtile.report.md.
note in the av1444d10 refutation that its counter floor of 4 is one stream, not a censusAhmet Kaan Gümüş · 6c956a2
note in the av1444d10 refutation that its counter floor of 4 is one stream, not a census

The floor stays correct as a floor; the addendum records the per-stream
re-measurement (4 / 8 / 4 units across the three committed palette-chroma
streams, 8 of them on the never-before-reached nw >= 2 arm) so the next
reader does not read 4 as a corpus number.
gate the 4:4:4 palette chroma walk's horizontal arm and a 12-bit cellAhmet Kaan Gümüş · 35a38d4
gate the 4:4:4 palette chroma walk's horizontal arm and a 12-bit cell

The 32-capped chroma walk in decode_block_rect64 windows the palette
prediction per unit on BOTH axes, but only the cu_row term was ever
exercised: a census of every committed fixture found windowed units only
on blocks with nw == 1, so `cu_col * uw` was correct by construction and
reached by nothing. No 12-bit 4:4:4 palette chroma stream had been built
at all.

Two new aomenc cells reach it. At ss (0,0) a 64-wide luma rect block
keeps cw = 64, so the cap tiles it into nw = 2; that shape needs the
horizontal partition arms and the lane-av1rect14 ibc640 flag set
(rect + 1:4 partitions, min-partition-size=8, sb-size=64, screen tune) at
cq-level 45. The 10-bit cell lands the rect-unit arm (uw 32, uh 16), the
12-bit cell the square-unit arm (uw 32, uh 32).

Both are byte-exact against the instrumented aomdec, 0/0/0 per plane over
the single decode-order frame, with a one-byte oracle tamper moving the
mismatch count 0 -> 1 at each depth so the zero is not a dead comparator.
Reverting the two palette_window calls to the whole-block buffer reds the
new gate at 54278 differing bytes (10-bit) and 13312 (12-bit), luma 0 in
both, first bad sample at the cu_col = 1 unit's own column.

The existing 352x242 gate stays green, and the coverage-debt floor of 4 is
re-measured per stream: 4 / 8 / 4 windowed units across the three committed
palette-chroma streams, 8 of them on the horizontal arm.

decode.rs gains one env-gated EC_PALWALK rung inside decode_block_rect64
(diagnostic only, same style as EC_PALSYN) so the nw/nh census is
reproducible on any future fixture.
widen my own staleness annotation: the measured moved set is 12 NAMED cells, not "those four and the same class"Ahmet Kaan Gümüş · fe71116
widen my own staleness annotation: the measured moved set is 12 NAMED cells, not "those four and the same class"

The re-measurement lane read the annotation I wrote and called it under-scoped, correctly: I had written
"those four cells -- and any fresh-sweep cell of the same class", while the fix moved exactly 12 named cells,
two of which (s422_320x246 0/38348/59491 -> 0/8339/5903 and s422_322x246 0/24964/25438 -> 0/3603/2324) SHRANK
BUT DID NOT CLOSE. A reader taking "the same class" as "fully closed" would leave those two rows alone and
quote 38348/59491 as current. The annotation now lists all 12, gives the current table (44 byte-exact / 7
diverging of 51, was 34/17) and points at the delta section.

An annotation that is narrower than the measurement is its own defect class: it reads as complete while
leaving a reader with a wrong current number. The fix is the same as everywhere else here -- name the cells,
not the class.
the 4:2:2 census re-derived at current main: neither table was wrong, they describe different trees -- 44/51 exact now, and a NEW luma-breaking 4:2:2 class is foundAhmet Kaan Gümüş · a4ebe6c
the 4:2:2 census re-derived at current main: neither table was wrong, they describe different trees -- 44/51 exact now, and a NEW luma-breaking 4:2:2 class is found

Report only (572 lines, lanes/av1422census2.report.md). The contradiction between the census (cc9f2668) and the
later attribution lane is settled by measurement on two trees rather than by argument: all 17 of the census's
diverging counts reproduce to the SAMPLE on the pre-fix tree (17/17), and the fix b8eed69f moved exactly 12
cells. So the census was a faithful record of its own sha.

DELTA: 10 cells CLOSED (Q_odd320x242, O_odd322x242, AB_inter_warp_odd, S_odd326x242_10b, R422_320x242,
s422_320x242, s422_326x240, s422_326x246, s422_320x242_10b, s422_352x250_10b), 2 SHRUNK BUT NOT CLOSED
(s422_320x246 0/38348/59491 -> 0/8339/5903; s422_322x246 0/24964/25438 -> 0/3603/2324), 7 still diverging.
CURRENT TABLE: 4:2:2 51 cells, 44 byte-exact (was 34/17); 4:2:0 control 22/22 exact on BOTH trees; 4:4:4
control 21/22 exact on both trees (the one diverging cell is the 352x242 palette cell fixed separately in
e4787782). The shipped tree refuses all 51 4:2:2 cells with one identical string and decodes all 44
non-4:2:2 cells, so the refusal still stands correctly.

LIVENESS, done properly this time: 14 cells x 3 planes = 42 arms, 42 PASS, each a +1 shift in the flipped
plane only -- including cells with NON-ZERO baselines (thousands of samples already wrong) and byte-exact
cells (the false-green reading), which is the reading that can actually be vacuous.

NEW, and it matters for the standing "4:2:2 stays refused" decision: a class-E axis sweep over --cpu-used
{0,2,4,6} on the same content and geometries finds `rc2_s422_320x242` at cpu-used 2 with 890107 wrong
samples INCLUDING 436945 LUMA, IDENTICAL on both trees. Every other cell in either census has Y exactly 0,
so this is a SECOND, luma-breaking 4:2:2 failure, untouched by the intrabc fix and not a chroma-extent
problem at all. cpu-used 4 and 6 give 8/8 exact on both trees.

It also read back MY OWN staleness annotation and correctly called it under-scoped: I wrote "those four cells
and any fresh-sweep cell of the same class", while the measured moved set is 12 NAMED cells -- a reader taking
"the same class" as "fully closed" would leave the two shrink-only rows un-annotated and quote 38348/59491 as
current. Widened in this commit.
annotate: the "frame-count ceiling" paragraph in av1losslessvartx is refuted, and the real defect next to it is namedAhmet Kaan Gümüş · 0642491
annotate: the "frame-count ceiling" paragraph in av1losslessvartx is refuted, and the real defect next to it is named

Its §4 said the exactness ceiling is "a separate, pre-existing defect: any stream of 5+ frames decodes more
frames than the oracle emits". That is refuted corpus-wide (lanes/av1framecount.report.md): 5 source frames
produce 6 CODED frames via altref + show_existing_frame (7 headers = 6 coded, 2 hidden, + 1 show_existing;
shown = 6 - 2 + 1 = 5), the oracle agrees on every count, all six decode-order frames are byte-exact -- also
on a PLAIN --cq-level=20 --lossless=0 5-frame stream, which is the specific counterexample the paragraph
offers -- 96/96 committed fixtures match the oracle's dump counts, and a 308-stream generated sweep over
frame counts 3..24 matches everywhere. The shape is already gated at stream.rs:9250.

The annotation also names the REAL defect the lane's sweep ran alongside and which the paragraph mis-blamed:
the mixed-lossless pixel divergence, red from frame 1, which is a separate open item with its own debt line.
Annotated in place rather than rewritten, per the record discipline for disproved figures in merged reports.
two lanes on the mixed-lossless class: the root cause is a var-tx conjunct, the candidate fix was measured and REVERTED as unproven, and both lanes' corrections to the record are landedAhmet Kaan Gümüş · 5c9a507
two lanes on the mixed-lossless class: the root cause is a var-tx conjunct, the candidate fix was measured and REVERTED as unproven, and both lanes' corrections to the record are landed

Both lanes are report-only; neither left a source delta behind. Landing their two reports plus the state of
the question, because the earlier debt line's reading was WRONG and two lanes independently corrected it.

lane-av1mixllfork (7e90b5b4, merged here; source delta verified empty against its base 32d944bf): the fork at
read 30889 is a VAR-TX ORDERING defect, not a wrong txb_skip_ctx CDF row. libaom puts
!xd->lossless[mbmi->segment_id] IN the var-tx condition (decodeframe.c:1237) and read_tx_size answers TX_4X4
on the same flag (:1208); ours tested tx_select && !skip and left lossless(fctx) in the `else if`, one branch
too late (decode.rs:48259 sub-8 inter leaf, :27140 intrabc rect). Two inherited claims corrected: the oracle
DOES have geometry at mi=(6,1) (its EC_ECDUMP_IN prints two TX_4X4 luma units plus one chroma unit per plane;
it is ours that lacks it), and a broken ICDF mirror at the fork (15299 vs 22401; 32768-15299=17469) means
DIFFERENT SYMBOLS read one step out of sync -- which a wrong CDF row cannot produce.

The candidate fix was measured: c_mix5 6/6 byte-exact with the paired EC_SYMR ladder bit-identical over the
WHOLE stream (96997 reads, 96997 paired, zero divergence), s_arf8 red->6/6, 4:4:4 arm red->9/9, 176x144 and
352x288 refusals removed, gate red without it at byte 33 with 33724 differing bytes. It was still REVERTED,
correctly, because it regressed a supported 4:2:0 8-bit cell: testsrc2 640x480 (5 and 6 frames, same recipe)
decodes at base and REFUSES with the fix, first divergence at read 184328 where the oracle reads
decodeframe.c:1186 (the txfm_partition split inside read_tx_size_vartx) and we read a different n=2 symbol
from the identical pre-state -- at that point our per-segment lossless(fctx) said true and suppressed the tree
libaom walked. Isolated to the sub-8 hunk.

lane-av1golomb320 (report landed here; its branch had ZERO lines of decode.rs -- a clean cherry-pick of the
candidate was needed to re-measure): the 320x240 refusal premise does NOT reproduce at this tip (that cell
decodes 6/6 and DIVERGES); the refusal reproduces at 176x144 and 352x288; it is DOWNSTREAM (first divergence
is 40 extra reads stamped mi=(32,32) = the 48x16 bottom-right sliver of 176x144, every one tag=all_zero
side=4 chroma txb_skip with the BIT POSITION FROZEN at 36288, i.e. a walk that ran off the end of the tile,
while the abort fires 11970 reads later); and it independently reproduced the 640x480 regression. It also
established that our read_golomb has the same length>20 cap as libaom (decodetxb.c:22-43) and that the
difference is overflow handling: aom_internal_error abandons the PICTURE via longjmp, our Err unwinds the
whole stream (1 dump instead of 7) -- so the cap is not the bug and stays.

Two follow-up lanes are running: Agent05 (make our per-segment lossless answer agree with libaom's
xd->lossless[segment_id] so the conjunct can land without the 640x480 regression) and Agent23 (the off-tile
walk at the bottom-right partial superblock).
refutation pass on the 4:4:4 palette window: PASS, and its two live risks closed rather than notedAhmet Kaan Gümüş · 7929331
refutation pass on the 4:4:4 palette window: PASS, and its two live risks closed rather than noted

lanes/refute-av1444d10.report.md (reviewer seat, transcribed verbatim) reproduced the lane's numbers with
its OWN instruments: a one-byte-wrong-oracle shim turns the byte-exact cell red by exactly +1 (ours 216 vs
217 at byte 328192, the census's own first bad sample), the fix taken OUT gives Y 0 / U 1166 / V 1413 with a
per-frame table matching term for term, the mutation proof reds the gate at stream.rs:10848 with "ours 209
vs 216, 104 bytes differ", the five same-depth controls measure 0/0/0, and the 178-test regression scope
reproduces green at e4787782. It also verified what the lane asserted: the diff is exactly two sites with no
offsets or guards touched, and the window is a genuine no-op at nw*nh == 1 (cu_col/cu_row are 0, so the copy
re-strides the same buffer), with the cw != chroma_w shape returning `unsupported` before the windowing.

Two findings acted on in this commit, neither of them a doc-only fix:

1. P3 (decode.rs:2721-2731): CHROMA_PALETTE_WINDOW_HITS claimed to count "the units that are NOT the
   block's top-left corner" but fired UNCONDITIONALLY next to both windowed pushes -- so it also fired for a
   single-unit block, whose window is a pure re-stride copy of the whole buffer. That made a hit prove only
   that some palette chroma block existed, while the gate reads it as its non-vacuity arm ("must be at least
   1"). The hit is now guarded on the `bigger` (= nw * nh > 1) that was already in scope, so a hit is PROOF
   the tiled arm ran; the doc says what the code does and records the correction. On the pinned fixture the
   value is unchanged at 4 (one block, nw = 1, nh = 2, two planes, two unit rows) and the gate stays green.

2. Risk (e): palette_window indexes buf[(oy+r)*stride+ox..][..w], so a caller with a mismatched stride could
   read in-bounds GARBAGE rather than panicking -- the one silent failure mode this walk must not have, and
   the reviewer correctly named it as resting on an `unsupported` return elsewhere. It is now closed by a
   release assert in palette_window (the shape the crate uses: 73 release asserts in decode.rs), instead of
   a comment. Verified against the existing callers: palette/intrabc scope 49 passed, 444/420/lossless scope
   72 passed, the pinned gate green at 4 windowed units; all with EC_AV1_REQUIRE_AOMDEC=1.

Still UNMEASURED and filed as its own debt, not silently absorbed: the nw > 1 (horizontal windowing) arm is
INREACHABLE in all 106 committed fixtures and all six 4:4:4 sweep cells (corpus-wide tracer: 16 windowed
units, every one nw = 1), so it is correct by construction and unexercised.
Merge lane-av1444d10: a 32-capped 4:4:4 chroma palette walk handed every unit the WHOLE block's palette bufferAhmet Kaan Gümüş · 57ac17e
Merge lane-av1444d10: a 32-capped 4:4:4 chroma palette walk handed every unit the WHOLE block's palette buffer

The cell the census flagged (s444_352x242_10b) diverged 0/1166/1413 and is now byte-exact on all 17
decode-order frames; the 106-fixture corpus goes 95 exact / 1 diverging -> 96 exact / 0 diverging, with no
other fixture moving and no sample count moving on any exact cell. Gated with a mutation proof and a
reachability counter; regression 178 passed / 0 failed / 2 pre-existing ignored.

ROOT CAUSE, and the census's own "geometry-sensitive" framing was the wrong axis: 352x242's distinction is
not frame width or height but the NUMBER OF CHROMA TRANSFORM UNITS in one block. A 32x64 luma strip's
chroma plane block is also 32x64 at ss(0,0), so decode_block_rect tiles it into nh=2 chroma units of 32x32,
and BOTH arms of that tiled walk handed every unit the whole block's palette prediction buffer. The read
side indexes prediction[..side*side], i.e. always the buffer's top-left corner, so unit (0,1) at pixel
(64,224) reconstructed the block's row-192 palette values (flat 209) where libaom writes row 224's (216).
The neighbouring 32x32 PAETH block at (96,224) had that pixel as its LEFT edge, so paeth() returned "left"
for 19 more columns of its own top row -- the halo was a consequence, not a second defect. libaom hands
av1_predict_intra_block a ref at the UNIT's own origin (reconintra.c:1707) and read_coeffs walks the plane
block with each unit's own blk_row/blk_col. Fix = window the buffer per unit via palette_window (already
used by the 4x4 lossless chroma units and the luma split-transform walk; this 32-capped 4:4:4 walk was the
one still un-windowed) at decode.rs:20106-20113 and :20164-20172.

CLASS SWEEP, done by the lane: all ~100 set_palette_pred sites audited -- every other site either hands a
whole-block buffer to exactly ONE push (correct by construction) or already windows; these two were the
only whole-buffer hand-offs inside a tiled unit loop. Corpus-wide sweep of all 106 committed fixtures on
both states, the five same-depth controls (320x242/320x250/352x250/416x242/416x250) 0/0/0 before and after.
Filter stages exonerated by measurement, not assumption: the oracle's pre-filter dump equals its final dump
on every sample of frame 0 (deblock/CDEF/LR/superres inert), and our pre-filter diff set is EXACTLY our
final diff set, so the defect is pre-filter prediction.

ATTACK SURFACE, stated rather than hidden: the counter's floor of 4 is a reachability floor from one
stream, not a census; the horizontal windowing (nw>1) and a 12-bit variant were NOT built, so nw>1 is
unmeasured; the 4:2:2 header guard and the known-broken 4:2:0 group-tail SKIP arm were not touched.
lane-av1444d10 (REPORT): the census cell is a chroma PALETTE PREDICTION window, fixed and gatedAhmet Kaan Gümüş · 76c5a85
lane-av1444d10 (REPORT): the census cell is a chroma PALETTE PREDICTION window, fixed and gated

Records the reproduction (0/1166/1413, unchanged at my tip), the stage
exoneration that decided prediction over residual (the oracle's own PREFILT
equals its FINAL over every low byte; our PREFILT diff set equals our FINAL
diff set), the named expression with libaom and ours side by side, the geometry
answer (the discriminator is chroma TRANSFORM UNIT COUNT, not frame width or
height), the corpus-wide before/after over all 106 committed fixtures, the
mutation red-then-green evidence, and what a reviewer should attack first.
lane-av1444d10: a byte-exact gate for the 352x242 10-bit 4:4:4 palette-chroma cellAhmet Kaan Gümüş · 35a444e
lane-av1444d10: a byte-exact gate for the 352x242 10-bit 4:4:4 palette-chroma cell

Pins the census cell s444_352x242_10b as a committed fixture and gates it
byte-exact against aomdec over all 17 decode-order frames. 4:4:4 is a format
this decoder claims to support, so an accepted-and-wrong cell cannot stay
probe-only.

The geometry, named: what 352x242 has and its five same-depth controls do not
is a block whose CHROMA is taller than the 32-pixel unit cap at ss (0,0), so
decode_block_rect's tiled chroma walk splits it (nh = 2). The sensitive axis is
chroma UNIT COUNT, not frame width or height -- which is why the census could
report "geometry-sensitive" without the mechanism.

Non-vacuity: pinned length + FNV-1a64; 16 shown frames at 352x242 with
full-resolution chroma; and CHROMA_PALETTE_WINDOW_HITS read as a delta with a
measured floor of 4, incremented only on the two fixed lines, so the gate cannot
pass without them running.

Mutation proof: with the two palette_window calls replaced by the whole-buffer
hand-off (counter untouched) the gate reds BY NAME -- "decode-order frame 0 of
17 (16 shown, 1 hidden) differs from the oracle at byte 328192 (ours 209 vs
216)" -- byte 328192 being decode frame 0 plane U row 224 col 64, the census's
own first bad sample. Restored: green.
lane-av1444d10: window the 32-capped chroma palette buffer per unit (the 352x242 4:4:4 chroma divergence)Ahmet Kaan Gümüş · 7f2ca30
lane-av1444d10: window the 32-capped chroma palette buffer per unit (the 352x242 4:4:4 chroma divergence)

The census cell s444_352x242_10b (10-bit 4:4:4, 352x242) diverged on U/V only,
0/1166/1413 over 17 of 17 decode frames, first bad sample at decode frame 0
plane U row 224 col 64. The filter chain is exonerated: the oracle's own
PREFILT dump equals its FINAL dump over every low byte, and our PREFILT
divergence set is identical to our FINAL one, so deblock/CDEF/LR/superres are
inert and this is a reconstruction defect.

A 32x64 rect block's chroma is 32x64 at 4:4:4, tiled into two 32x32 units.
Both units were handed the WHOLE block's palette prediction buffer, and
PlaneBuf::reconstruct reads its first side*side entries, so every unit
reconstructed the block's top-left corner. Unit (0,1) at pixel (64,224) wrote
the block's row-192 palette values (flat 209) where libaom writes row 224's
(216), and the neighbouring 32x32 PAETH block at (96,224), whose left edge is
that sample, then propagated 19 more wrong columns along its own top row.

Window both arms (the square-unit and the rect-unit one) with palette_window,
the way the luma split-transform and the 4x4 lossless chroma walks already do.
annotate: the ctattr report DID carry the 4:2:2 fix -- my merge message is what understated it, and the census verdicts predate itAhmet Kaan Gümüş · 323c242
annotate: the ctattr report DID carry the 4:2:2 fix -- my merge message is what understated it, and the census verdicts predate it

Two annotations, no content rewritten:

1. lanes/av1422ctattr.report.md: its own title says the defect is FIXED and all seven cells byte-exact, so
   the report was complete. What was incomplete was MY merge message for 1686dc8a: I wrote it from the
   lane's short output (attribution + rungs) and never read the report before writing the merge, so the
   commit reads as instruments-only when it actually carried the last 4:2:2 corpus fix (`b8eed69f`:
   `sub8_leaf_chroma422` now predicts the DV frame copy for a SKIPPED intrabc chroma leaf, libaom
   `decodeframe.c:1040-1043` -- `predict_inter_block_visit` runs regardless of `skip_txfm`). The note also
   names the independently reproduced mutation evidence in lanes/av1422ctintrabc.report.md.

2. lanes/av1422census.report.md: measured at cc9f2668, i.e. 23 minutes BEFORE that fix, so its DIVERGES
   verdicts for Q_odd320x242 / O_odd322x242 / AB_inter_warp_odd / S_odd326x242_10b (and same-class fresh
   cells) describe the earlier tree. Its comparator work, cell derivation, liveness proof and negative
   controls all stand; only the verdict column is affected, and lanes/av1422census2.report.md re-derives
   the table with the delta.

The lesson for the next merge: read the lane REPORT, not the lane's summary line, before writing a merge
message -- a summary can omit a source change and a merge message is the permanent record.
av1422ctintrabc (report only): the intrabc chroma copy geometry is SOUND; the defect was ARM ORDER, and that fix landed inside the attribution merge 1686dc8aAhmet Kaan Gümüş · 789274c
av1422ctintrabc (report only): the intrabc chroma copy geometry is SOUND; the defect was ARM ORDER, and that fix landed inside the attribution merge 1686dc8a

The four corpus cells (Q_odd320x242 0/9603/14456, O_odd322x242 0/985/722, AB_inter_warp_odd 0/3705/4366,
S_odd326x242_10b 0/301/751) plus the fresh reproducer R422_320x242 (0/6337/8398) are ALL BYTE-EXACT on
every plane of every decode frame on the current tree -- 0 after, and the two battery controls
(R_odd322x240, V_tile2x2_odd) exact before and after.

DISCLOSURE, because the record needs it: the fix is commit b8eed69f, which rode inside the merge
1686dc8a (lane-av1422ctattr) and was NOT mentioned in that lane's report or in my merge message for it.
It replaced `if skip {` in sub8_leaf_chroma422 with
`if let Some(dv) = intrabc_dv.filter(|_| skip) { <bilinear frame copy at the DV> } else if skip {`: a
SKIPPED intrabc 4:2:2 chroma leaf now predicts its DV frame copy instead of pushing a flat intra mode.
libaom's reason, quoted from this lane: `decode_token_recon_block` takes the INTER arm for an intrabc block
(`is_inter_block` counts it) and `predict_inter_block_visit` runs `dec_build_inter_predictor` REGARDLESS of
`skip_txfm` (`decodeframe.c:1040-1043`) -- only the residual read is dropped. Chroma-only because
`dec_build_inter_predictor` breaks non-chroma-reference planes (`:702`); luma was already ordered
correctly, which is why Y stayed 0 on every frame; and skip gates only the residual read, never the parse,
so the divergence was pure pixels with no desync. The seed's 182 was our DC built from an edge pair the
oracle never read; the oracle's 202 is a bilinear copy of a flat 202 region at DV (col 0, row -1024).

VERIFIED INDEPENDENTLY, not taken on trust: the arm order was reproduced by MUTATION (restoring the old
order re-creates the divergence), the flip control bites on BOTH states (a single flipped oracle U byte
moves the count by +1 before and after), and all four named suspects are refuted with reasons rather than
assertions -- (a) the DV's per-axis chroma scaling matches libaom's `clamp_mv_to_umv_border_sb` term for
term; (b) the source-origin rounding difference is STRUCTURALLY UNREACHABLE (even mi_col only ever pairs
with an 8px leaf and odd mi_col only with a 4px leaf; the divergent combination cannot occur, and 12 of 12
reached calls are (8,4) at even mi_col); the rest are in the report. Regression 181 passed / 0 failed /
2 ignored.

HANDED OVER, NOT PATCHED: one measured latent gap -- a 4x8 chroma-leaf extent with reach 0 of 12 -- is
named in the report with its evidence rather than guessed at, and the W/X/Y witnesses are stated honestly
as a NO-DISTURBANCE control (they are exact in the BEFORE state too, so they do not discriminate; the
discriminating evidence is the four cells plus the mutation).
Merge lane-av1422census (REPORT ONLY): the 4:2:2 census, re-measured with a proven-live comparator -- and a live 4:4:4 defect found on the wayAhmet Kaan Gümüş · ca69286
Merge lane-av1422census (REPORT ONLY): the 4:2:2 census, re-measured with a proven-live comparator -- and a live 4:4:4 defect found on the way

THE DECISION INPUT, and it reverses the direction the day was drifting: **the 4:2:2 header refusal is still
earning its keep.** 50 4:2:2 cells measured (9 committed, 23 probe-only, 18 fresh): **34 byte-exact, 16
DIVERGE**, and all 50 still refuse by name on the shipped tree. The fresh aomenc sweep is the part that
matters -- 4:2:2 8-bit 5 of 12 exact (7 diverge), 4:2:2 10-bit 1 of 6 exact (5 diverge) -- because the
earlier "42 fresh encodes, all clean" sweep used ffmpeg's libaom wrapper at `-cpu-used 6` and a MALFORMED
y4m; at `-cpu-used 0` with altref and global motion the same content and geometries diverge 7 times out of
12. That sweep did not disprove the defect, it searched a partition tree the defect does not live in.
Controls at the same recipe and geometries: 4:2:0 **18 of 18 exact** (12 x 8-bit, 6 x 10-bit), 4:4:4 17 of
18 -- so the sweep failures are 4:2:2-specific, not "odd geometry" and not "this encoder".
Divergence is content-and-geometry sensitive, not a function of either alone: 322x242, 326x242 and 384x242
are exact at 8-bit while 320x242 diverges; 320x240 is exact while 322x240 diverges.

AND THE CENSUS FOUND A LIVE DEFECT OUTSIDE THE 4:2:2 QUESTION: `s444_352x242_10b`, 10-bit **4:4:4**,
chroma only (U 1166 / V 1413, Y 0), 17 of 17 frames bad, first at decode frame 0. Re-measured with the
4:2:2 bypass REVERTED and identical (0 / 1166 / 1413), so it is pre-existing on cc9f2668 and not a bypass
artefact. It is a format the decoder already claims, so it must end in a committed byte-exact gate.
Reported here because a census that found it and stayed silent would be a worse census.

THE COMPARATOR, and its liveness is proven rather than asserted: aomdec's OWN y4m header supplies the
geometry (passed explicitly; a frame-length mismatch is a hard error and it fired twice, catching two bugs
in the author's own first parser), attribution is per plane per DECODE frame from each frame's own plane
lengths with a monotone cursor, and an empty frame set is a hard error. 48 liveness arms (16 cells x Y/U/V)
all PASS: every flip moves the count by exactly +1 in the flipped plane with every other plane and frame
unchanged -- including a byte-exact cell (the only reading that can be a false green), a 10-bit exact cell,
decode frame 42 of a 43-frame cell, 4:2:0 and 4:4:4 controls, and 3 fresh sweep cells. Cells were found by
reading aomdec's header, not by filename, and deduplicated by sha256.

THE UNCOMFORTABLE FACT THE REPORT STATES PLAINLY: the 9 committed 4:2:2 fixtures are referenced only by
byte-pin plus refusal-by-name gates -- **there is NO committed gate anywhere that measures 4:2:2 pixels**,
so all 34 exactness numbers for 4:2:2 are probe-only evidence.
lanes/av1422census (report only): the 4:2:2 census, re-measured with a proven-live comparatorAhmet Kaan Gümüş · 0b3dc07
lanes/av1422census (report only): the 4:2:2 census, re-measured with a proven-live comparator

94 cells measured against the instrumented aomdec, per plane per DECODE frame,
with geometry as an explicit argument taken from aomdec's own y4m header and a
hard error on any length disagreement. 48 per-plane oracle-flip arms (16 cells
x Y/U/V), every one moving the count by exactly +1 in the flipped plane with
every other plane and frame unchanged.

50 distinct 4:2:2 cells: 34 byte-exact, 16 diverging, 0 refusing under the
bypass; all 50 refuse by name on the shipped tree.  4:2:0 controls 22/22 exact.
One 4:4:4 10-bit control diverges (s444_352x242_10b), pre-existing and
bypass-independent.

The corrected sweep (aomenc, the trigger recipe, a properly framed y4m)
diverges on 12 of 18 fresh 4:2:2 cells where the previous sweep read clean; the
old sweep used ffmpeg's libaom wrapper at -cpu-used 6 over a y4m libaom rejects
per frame.

No source change; the 4:2:2 header bypass is reverted and the tree is clean
apart from this report.  No product decision is recommended.

Regression on the clean tree: 181 passed; 0 failed; 2 ignored; 619 filtered out.
av1llvartx (report only): the two lossless var-tx publishes ARE reached by ten committed fixtures -- and the reason no cell can measure them is unobservability, not unreachabilityAhmet Kaan Gümüş · 97ca7f3
av1llvartx (report only): the two lossless var-tx publishes ARE reached by ten committed fixtures -- and the reason no cell can measure them is unobservability, not unreachability

The item I filed said no committed fixture reaches those two arms. MEASURED: ten do -- rect arm on 8
(ll444_c_altref_leaf8_warp 598 hits, 420_lossless_arf_1to4_320x240_5f 29, ll444_minp8_inter 30,
ll444_defaultp_inter_strip 48, ll444_sb64_1to4_lossless 3 + intrabc 1, ll444_intrabc_rect_l2 1 + intrabc
1, lossless_sb128_rect_kf 3, 420_lossless_tallinter_8x16 1) out of a 105-fixture sweep, each decoded on its
own thread so the thread-locals read back the decoding thread. My premise was wrong and is corrected.

WHY REVERTING THEM STILL LEAVES 94/94 EXACT, which is the useful part: they are UNOBSERVABLE on a
fully-lossless frame, not unreached. The arms publish 4 where an unwritten grid cell holds TXFM_CTX_INIT =
64 (decode.rs:29294), and the var-tx context read compares `neighbour_cell < tx_w`
(decode.rs:29151-29152, libaom's txfm_partition_context) while every READING block has tx_w >= 4 -- so 4
and 64 agree -- and on a lossless frame nothing reads a var-tx symbol at all. libaom, quoted: the var-tx
gate is `!xd->lossless[mbd->segment_id]` (decodeframe.c:1226-1245, with xd->lossless computed per frame at
:5194-5199 as qindex == 0 and all four deltas 0), so a lossless block always takes the else branch where
read_tx_size returns TX_4X4 (:1197) and set_txfm_ctxs publishes it over the block's own extent -- which is
exactly what these two arms port.

THE ARMS ARE LOAD-BEARING, on MIXED cells: over 188 generated cells (`--end-usage=q --cq-level=0
--aq-mode=1`; variance AQ is the only SEG_LVL_ALT_Q writer with no clamp at base 0) 93 change output when
the publishes are removed AND 93 also change under a wrong-value (33) substitution, so the value is
genuinely read. But the cross-tabulation is total and disjoint: all 93 revert-sensitive cells are ALREADY
red for an unrelated pre-existing defect (12k-46k wrong bytes of 294,912) and all 15 byte-exact reaching
cells are revert-insensitive. Pinning one therefore gives a gate that is red before the fix it witnesses,
so the disposition is ACCEPTED-UNCOVERED for that stated reason.

AND THE PREREQUISITE IS A NEW DEFECT, filed as its own debt line: a 5-frame stream decodes a SIXTH frame,
including a plain `--cq-level=20 --lossless=0` 5-frame stream, while 4-frame and shorter streams are exact.
Our committed 16-frame fixtures decode 17 frames and MATCH the oracle's 17, so this must be checked
against the oracle's own count before it is called a decoder tail defect -- the three counting shapes this
wave has already lost results to are the first suspects.

Verification: `cargo test -p ec-av1 --lib -- lossless 444 420 var-tx --skip
bitrate_target_lands_within_5_percent_over_48_frames` = 71 passed, 0 failed. All instruments removed:
decode.rs sha256 b9a8fbdd8f8d51458387cdf138df02a138a1f160486dcb4f49f8dbdcdc03ae7f, identical to cc9f2668.
Merge lane-av1422ctattr: the 4:2:2 seed is INTRABC, not DC -- and oracle rung 19 (EC_PIB) closes the blind spot that stalled three lanesAhmet Kaan Gümüş · 1b385ba
Merge lane-av1422ctattr: the 4:2:2 seed is INTRABC, not DC -- and oracle rung 19 (EC_PIB) closes the blind spot that stalled three lanes

ATTRIBUTION. The seed's chroma U(116,160) is the chroma of BLOCK_8X4 leaves at mi(40,58), and those leaves
are INTRABC; av1_predict_intra_block is NEVER called for them, so "which DC variant" was a CATEGORY ERROR.
The path is av1/decoder/decodemv.c:936-939 read_intrabc_info -> `if (is_intrabc_block(mbmi)) return;` ->
decode_token_recon_block's inter arm -> predict_inter_block (decodeframe.c:918, assert at :929) ->
dec_build_inter_predictor (decodeframe.c:688) -> av1_build_inter_predictor, which COPIES from the current
frame at the DV. Printed evidence, not inference: EC_DP mi_row=40 mi_col=58 bsize=2 inter=1 chroma_ref=1
skip_txfm=1 bw=2 bh=1 is_intrabc=1; EC_ISTEP name=intrabc val=1 rng=39264; EC_DV dv_col=0 dv_row=-1024
rng=40116; and NO EC_PIB / EC_PREDOUT8 / EC_PRED line at mi_row 40|41 mi_col 58 while the neighbour group
at mi(40,56) does print. Our parse is BIT-IDENTICAL to the oracle at the seed, so the divergence is purely
RECONSTRUCTION -- which repoints the hunt from intra prediction to the intrabc COPY geometry.

THE INSTRUMENT, and it is the durable part. av1_predict_intra_block has an early `if (use_palette) { ...;
return; }` plus two more early returns, so EC_PREDOUT8/EC_PREDND print on only SOME of the paths that
write a block; a chroma region where no rung fires was un-attributable, and the ladder looked as though no
block were there -- this cost three lanes, and one of them turned that silence into the wrong conclusion
("libaom used dc_top") by reading it off the predicted VALUE. Rung 19 EC_PIB prints the CALL IDENTITY
before any early return (mi_row, mi_col, plane, row_off, col_off, txw, txh, mode, use_palette,
filter_intra, bsize, px, py, hbd), in the same field order as EC_PREDOUT8/EC_PRED so the two lines read as
one, with EC_PIBWIN to isolate a single block; `use_palette=1` with no twin line IS a palette write. Also
added: EC_DP / EC_ISTEP(name=intrabc) / EC_DV and their assertions in check-aom-oracle-rungs.sh, plus
env-gated our-side traces for the same fields so the next lane compares parse-for-parse rather than by
value.

ORACLE BINARY NOT REBUILT, deliberately: the generator script is the source of truth, but
~/.cache/aom-oracle/build/aomdec is a SHARED binary that live lanes are using right now, so the rebuild
waits for a quiet moment rather than swapping it under running consumers. `scripts/check-aom-oracle-rungs.sh`
is green on this commit (rungs 19-21 asserted, base v3.13.3).
lane-av1422ctattr: the 4:2:2 seed is INTRABC, not DC -- a category error corrected, and the rung that closes the blind spotAhmet Kaan Gümüş · 960e10e
lane-av1422ctattr: the 4:2:2 seed is INTRABC, not DC -- a category error corrected, and the rung that closes the blind spot

ATTRIBUTION (the deliverable): the seed's chroma U(116,160) belongs to BLOCK_8X4 leaves at mi(40,58), and
those leaves are INTRABC. av1_predict_intra_block is NEVER called for them, so no DC variant exists and
"which DC variant" was a category error. Path: av1/decoder/decodemv.c:936-939 read_intrabc_info, then
`if (is_intrabc_block(mbmi)) return;` -> decode_token_recon_block's inter arm -> predict_inter_block
(decodeframe.c:918, assert(is_intrabc_block) at :929) -> dec_build_inter_predictor (decodeframe.c:688) ->
av1_build_inter_predictor, which COPIES from the current frame at the DV.

Proof, printed rather than inferred: `EC_DP mi_row=40 mi_col=58 bsize=2 inter=1 chroma_ref=1 skip_txfm=1
bw=2 bh=1 planes=3 is_intrabc=1`, `EC_ISTEP mi_row=40 mi_col=58 name=intrabc val=1 rng=39264`,
`EC_DV mi_row=40 mi_col=58 dv_col=0 dv_row=-1024 rng=40116` -- and NO EC_PIB / EC_PREDOUT8 / EC_PRED line
at mi_row 40|41 mi_col 58 in frame 0, while the neighbouring group at mi(40,56) does print. Our own parse
is BIT-IDENTICAL to the oracle at the seed (same use_intrabc=1 rng=39264, same DV dv_row=-1024 rng=40116,
same rng on the skip symbols), so the divergence is purely RECONSTRUCTION.

RUNG 19, EC_PIB -- the blind spot this wave hit three times, now closed: av1_predict_intra_block has an
early `if (use_palette) { ...; return; }` plus two more early returns, so EC_PREDOUT8/EC_PREDND print only
on SOME of the paths that write a block; a region where no rung fires was un-attributable and the ladder
looked as if no block were there at all. EC_PIB prints the CALL IDENTITY before any early return
(mi_row, mi_col, plane, row_off, col_off, txw, txh, mode, use_palette, filter_intra, bsize, px, py, hbd),
in the same field order as EC_PREDOUT8/EC_PRED so the lines read as one, with `EC_PIBWIN` to isolate one
block. `use_palette=1` with no twin line IS a palette write.

Also added: EC_DP / EC_ISTEP(name=intrabc) / EC_DV rungs and their check-aom-oracle-rungs.sh assertions,
plus env-gated our-side traces in decode.rs for the same fields, so the next lane compares parse-for-parse
instead of by value.
Merge lane-breconcile: land the census's ranked residue (8 items landed, 2 refuted), and name the open 4:4:4 lossless key-frame defectAhmet Kaan Gümüş · 8da2631
Merge lane-breconcile: land the census's ranked residue (8 items landed, 2 refuted), and name the open 4:4:4 lossless key-frame defect

The branch census (lanes/branchcensus2.report.md) ranked what main lacked; this lands the usable part and
REFUTES two items rather than carrying them.

LANDED (each behaviour-free where that is the claim, with the same proof: cargo check 0/0 errors/warnings
plus the 248-gate pixel_exact run green):
- refusal_inventory: each of the 32 PROVEN rows now says WHICH KIND of proof it carries (7 NEGATIVE, 25
  ENUMERATION) plus a label and a third tuple element, both consumer loops updated, and a new non-vacuity
  test.  REFUTED: the census quoted the BRANCH's comment as main's -- main's row already
  names a STRONGER gate (every_chroma_unit_decode_block_rect_can_present_has_a_coefficient_table), which
  reads all eight decode_block_rect call sites' literal bw/bh, pins the chroma table exactly and asserts
  (4,8)/(8,4) is UNPRODUCIBLE. The variant would carry no rows. Non-vacuity: 3 mutations, 3 REDs -- flip
  the row's tag; make NegativeGate dead; weaken the GATE while it still passes. Mutating the test's own
  expectation list also stayed GREEN and is reported as such.
- transform.rs + decode.rs:  and the lossless /EC_DQCOEFF twin with plane= and
  lv=, RE-DERIVED rather than cherry-picked because main has since generalised the lossless path to
   (any shape), so the plane is threaded through both.  is NOT
  landed: it is dead on its own branch's tip.
- Two  tags (2 lines), the plane-tagged OUR_MODE per-TU reader trace, and the readcensus
  header correction (that last one despite its motivating gap being closed by RECON_PLANE/recon_plane():
  that stamps the plane at RECONSTRUCTION and this names it at the READER, and the class
   has already produced two wrong claims).
- Two REPORT corrections main lacked: av1tilerows round 9 (the 4:4:4 128-root leaf-size fork is GONE on
  main -- 0 divergence over 36 frames, entropy lockstep across 217,570 reads) and av1444rect round 6
  (the fork's caller is NAMED: decode_intrabc_rect's non-lossless rect arm, ONE gather taken at the LUMA
  footprint serving a 4x8 chroma unit). Both cherry-picked clean; the av1444rect blob is byte-identical
  on both sides.
- The 13-branch test-count census, RE-MEASURED from scratch rather than trusted: fresh git-archive
  extracts give 712 raw/712 unique at 298f75c4, 742/742 at 9623bcab, 802/802 on this tree -- the
  reconciliation (712 + 30 = 742, delta 0, no duplicates) stands, and the report now states that today's
  tree is 802 and which figures were not re-taken.

NOT LANDED, each with its reason in the report: Proof::TablePin (refuted), census_plane (dead),
av1tilerows report rounds 2-7 (they measured an OLD main; round 9 supersedes), the report-only residue of
av1loss444mm / av1refusal / av1444chr, and lane-av1lm444loss (author-declared DO-NOT-MERGE).

OPEN DEFECT NAMED BY THIS WORK, and now owned: lanes/av1loss444mm.report.md r10 -- a 4:4:4 LOSSLESS KEY
FRAME reconstruction-only divergence, 21 U + 28 V samples off by up to +/-63, LUMA EXACT and the entropy
bit-identical. The instruments for it (the plane-tagged lossless dequant twin, TxParams.plane) are in this
merge; the fix is not.
lanes/breconciliation: the census's ranked residue, landed or refutedAhmet Kaan Gümüş · bf814a0
lanes/breconciliation: the census's ranked residue, landed or refuted

One line per census rank with the evidence, behaviour-freeness per source
commit with counts, the final-tree regression, the deliberate non-landings
with reasons, and a branch-containment table for a later prune.

The headline: six of eight census branches were landed, two were refuted or
partly refuted. `Proof::TablePin` is REFUTED -- its one row's gate on main
measures the reach domain the tag's premise calls unestablished, so the census
quoted the BRANCH's comment as main's. `census_plane()` is dropped as dead on
its own branch's tip. Everything else landed, and every one of the eight
branches is now source-complete in this work.
lanes/av1testcount: the 13-branch wave reconciled exactly, re-measuredAhmet Kaan Gümüş · 1684e95
lanes/av1testcount: the 13-branch wave reconciled exactly, re-measured

Lands lane-av1testcount's census (f0ae03c8 + f61ebe79), which main has never
carried. The wave reconciled at 712 -> 742 with delta 0: nothing lost, nothing
renamed, nothing duplicated, and the two names two branches each declared were
a coordination miss between lane-av1dualfilter10 and lane-av1distwtd rather
than a merge loss.

Re-measured because main has moved well past 9623bcab and the census's tip
column is 13 commits of build-time away from a fresh reading. Both anchors came
back exactly -- 712 unique at 298f75c4, 742 unique at 9623bcab, 0 duplicate
registrations at either -- so the arithmetic still stands on immutable commits.
Today's tree is 802, and the report now says so, so no reader mistakes this for
a count of the present.

The 13 per-branch tip counts were NOT re-taken and the report says which
figures are re-verified and which are the lane's own.
ec-av1: the plane-tagged OUR_MODE per-TU mode trace; fix the readcensus headerAhmet Kaan Gümüş · 585f203
ec-av1: the plane-tagged OUR_MODE per-TU mode trace; fix the readcensus header

Re-derives lane-av1444chr's `5a1388f2` (13 lines, env-gated print only,
cherry-picks clean on current main) plus lane-av1chrtx's `6cc9ea6f` header
correction.

OUR_MODE names the plane at the point that OWNS it. `PlaneBuf`'s `OUR_PRED`
rung cannot: reconstruction does not know which plane it is filling, which is
why main had to stamp it separately with RECON_PLANE/recon_plane(). This rung
is the reader-side counterpart, where `plane_idx` is a parameter, and it exists
because a rung whose plane must be guessed from its values has already produced
two wrong claims (class `rung-mislabels-plane`: `read_coeffs_rect` labelling
its unit `plane=0`, then a sweep reading a phantom second luma unit out of
that label). Diagnostic only -- no gate asserts decode behaviour off this line.

The H3 defect the lane chased is still open and unowned; the lane's own
conclusion was that the reach is faithful and the offset arithmetic is
exonerated, so the remaining line's owner was unidentified. That is unchanged.

Header: main named `lane-av1readcensus` / `~/.cache/wt/av1readcensus` for a
census that was cut on `lane-av1chrtx` in `~/.cache/wt/av1chrtx`. The gate
name the header was blamed for is already correct on main
(`a_pixel_exact_444_stream_walks_the_same_coefficient_units_the_oracle_does`),
so this is the 4-line header only, nothing else.
av1422ctrigger (report only): the encoder setting is FOUND, the reproducer is one command, and the availability hypothesis is REFUTEDAhmet Kaan Gümüş · 604fa6c
av1422ctrigger (report only): the encoder setting is FOUND, the reproducer is one command, and the availability hypothesis is REFUTED

The last 4:2:2 defect now has a recipe. TRIGGER: aomenc (not ffmpeg's libaom wrapper) with --profile=2
--limit=16 --lag-in-frames=25 --auto-alt-ref=1 --enable-global-motion=1 --pass=1 --cq-level=24
--threads=4 --kf-min-dist=0 --kf-max-dist=999999 --width=320 --height=242 --cpu-used=0, over
testsrc2=size=320x242:rate=25 yuv422p, wrapped as y4m with a 'FRAME' line before EVERY frame. Artifact
R422_320x242.obu 20,733 B sha256 909e58db18fd4b7590501e2cecfbc090cde49eb26c9a42e15b1ef1fc265843d8,
diverging at decode frame 0 BYTE 103156 -- the same first-bad byte as the corpus cell Q_odd320x242.

WHY THE PREVIOUS LANE'S 42 FRESH ENCODES MISSED IT: they used ffmpeg + libaom-av1 -crf 30 -cpu-used 6
-lag-in-frames 0, and at -cpu-used 6 the partition search lands on different block structures. Its y4m
was ALSO malformed: libaom's y4m_input_fetch_frame (y4minput.c:1163-1171) requires 'FRAME' before every
frame, and a full header per frame yields 'Loss of framing in Y4M input data' and zero frames encoded.

THE HYPOTHESIS IS REFUTED, and this is the useful negative. Our line is named
(crates/ec-av1/src/decode.rs:21076 PlaneBuf::edges and :21115 edges_rect -- 'let left = (x > self.tile_x0
&& down > y).then(...)', missing libaom's col_off term, its per-plane ss_x/ss_y choice between
chroma_left_available and left_available, and the bw < mi_size_wide[BLOCK_8X8] narrowing clause), but it
CANNOT be the writer: for the seed's BLOCK_8X4 leaf bw = 2, so the narrowing clause is dead,
chroma_left_available = left_available = (mi_col 29 > 0) = 1, n_left_px = 4, and libaom MUST then take dc
(182) -- yet the oracle's pixels are 202. So something ELSE wrote those pixels.

TWO INSTRUMENT GAPS BLOCK THE ANSWER, and they are why the lane stopped instead of guessing:
(1) the oracle's EC_PREDOUT8 rung (reconintra.c:1798, the DC path) prints mi_row/mi_col/plane/row_off/
col_off/txw/txh/mode/sum/row0/col0 but NOT have_left/n_left -- only the DIRECTIONAL EC_PRED rung (:1863)
prints those, so the previous lane's 'libaom used dc_top' was an inference from the value 202 rather than
a printed flag; and (2) EC_TRACE's EC_PART_VAL produced 346 entries with NO root covering mi_row = 20,
mi_col 24..31 -- the seed's own luma -- so the oracle's block structure at the seed is unreadable. The
oracle's EC_PREDOUT8 ladder has no entry at mi_col 29 anywhere in the frame and no plane-1 entry between
mi_col 24 and 32 at mi_row 20, and the palette early return (reconintra.c:1717-1739) is structurally
excluded for a BLOCK_8X4 sub-8 leaf (av1_allow_palette needs both dims >= 8) with all 299 EC_PALSYN_AOM
entries at even mi_col and none at mi_row 20.

Also measured: intra::dc (crates/ec-av1/src/intra.rs:683-726) is arithmetically CORRECT -- it implements
dc / dc_top / dc_left / dc_128 plus libaom's dc_predictor_rect, and the seed's 182 is exactly its
(Some,Some) arm -- so no change is needed there. Wrong region: chroma cols 116-139, rows 160-201 (24 of
160 cols, 42 of 242 rows, ~0.5% per plane), U and V, with luma exact.
ec-av1: the lossless OUR_DQW twin, plane-tagged, with the raw levels beside dqAhmet Kaan Gümüş · bb7bd46
ec-av1: the lossless OUR_DQW twin, plane-tagged, with the raw levels beside dq

Re-derives lane-av1loss444mm r3/r6/r7 (6dfd827e, 7586358f, c8ed05f3) onto
current main. The open defect it instruments is the 4:4:4 lossless KEY FRAME
reconstruction-only divergence (21 U + 28 V samples off by up to +/-63, luma
exact, entropy bit-identical), named in lanes/av1loss444mm.report.md r10 as
item (a) with a three-file search space.

The oracle's `EC_DQCOEFF` rung printed thousands of lines on a lossless
stream while ours printed NOTHING, because `dequant_and_inverse_typed_wh` is
the LOSSY route -- a lossless 4x4 unit goes to `dequant_and_inverse_wht4x4`.
That silence reads as "no coefficients" rather than "wrong function". The
twin prints the same `pos:value` nonzero form under the same `EC_DQCOEFF`
env var, plus:

- `plane=`, carried on a new `TxParams.plane` set by the reader that OWNS the
  unit. The per-unit census plane could not supply it: the callers that route
  a lossless 4x4 unit into the WHT are not all the ones that stamp the census
  plane (measured: 1663 of 1663 chroma units paired by count, 1660 against an
  empty grid). Without `plane=` a 4x4 chroma grid is indistinguishable from a
  luma one and an order-paired ladder collapses -- equal counts, value ratios
  of exactly 1.0, and only 16 of 2053 units matched.
- `lv=`, the RAW level grid the dequant consumed. If `nz` is empty while `lv`
  is not, `dequant_wh_into` is what zeroed it, and the line now says so
  instead of leaving the next lane to infer it (this is what retracted r6's
  "1650 units dequantized to empty").

Behaviour-free: `plane` reaches nothing but the env-gated eprintln, and it is
threaded through `dequant_and_inverse_wht` (which main has since generalised
to any shape, lane-whtshape) rather than only the 4x4 entry, so the raster
path's tiles carry it too.

`census_plane()` from 7586358f is NOT landed: on the branch's own tip it is
defined and never called, dead weight next to the field that replaced it.
Merge lane-av1420tall: site 1's 4:2:0 half is NOT POSSIBLE -- the lpf claim is refuted on its ARITHMETIC, not merely on its unpinned fixtureAhmet Kaan Gümüş · eb9de96
Merge lane-av1420tall: site 1's 4:2:0 half is NOT POSSIBLE -- the lpf claim is refuted on its ARITHMETIC, not merely on its unpinned fixture

The seven-site 4:2:2 lossless inter chroma panic family (3698787d, lane-av1422lpf) claimed its first site
was not 4:2:2-specific. An earlier pass showed the cited cell was unpinned and did not reproduce; this
lane settles the question exhaustively over the CALLER CONTRACT and answers it the other way.

INSTRUMENT WITH TEETH FIRST: an env-gated call at the top of read_inter_chroma_lossless reading ONLY
caller arguments (valid at any code state), computing writes against libaom's edge clip
(writes_units = reg_w >= 4 && reg_h >= 4), max_addr = (org_y + reg_h - 1) * stride + org_x + reg_w - 1,
need = max_addr + 1, alloc = u_len if non-empty else the pre-fix stride * stride, and keyed by CALL SITE
via #[track_caller] + Location::caller() -- without the call-site key, blk = 64x64 stride = 64 is
ambiguous between the side <= 64 site and the 128-root mu-chunk site. The teeth are established, not
assumed: all four 4:2:2 cells fire on their FIRST call and the pre-fix panic follows immediately
(ll422_noibc site=decode.rs:43666 ss=10 blk=32x64 stride=32 need=2048 alloc=1024 -> 'range end index 1028
out of range for slice of length 1024'; W/X/Y blk=4x16 stride=4 need=64 alloc=16). Every firing key is
ss=10 with a 2:1 plane block, all at the ONE side <= 64 lossless arm.

THE ZERO, over every pinned 4:2:0 and 4:4:4 cell at 18643bb5: ll420_a 44 calls / 6 keys, ll420_b 44 / 6,
ll420_c 43 / 7, ll420_d 86 / 4, ll444_a 145 / 10, ll444_b 153 / 11, ll444_c 1000 / 17 -- ZERO overruns,
exit 0 on every one. And the new committed control, the cell built to have the shape the arithmetic
wants, fixtures/420_lossless_tallinter_8x16.obu (52,138 B): 4 calls, 2 distinct keys, ZERO overruns.

So the original claim fails on its ARITHMETIC: at 4:2:0 a 2:1-tall plane block reaching these sites is
not merely absent from the corpus, it is not constructible through this caller contract. The instrument
and the 4:2:2 bypass live only uncommitted in a throwaway pre-fix worktree, as they must.
lane-av1420tall: site 1's 4:2:0 half is NOT POSSIBLE, not merely uncoded -- and the cell that proves it is pinnedAhmet Kaan Gümüş · e2b8d36
lane-av1420tall: site 1's 4:2:0 half is NOT POSSIBLE, not merely uncoded -- and the cell that proves it is pinned

The lpf report claimed site 1 (read_inter_chroma_lossless's composed-grid
extent) is not 4:2:2-specific, from a 4:2:0 panic on an unpinned ll420_a.obu
that the independent refutation pass could not reproduce. Both are settled
here, and neither claim survives as stated.

An env-gated instrument (built in a throwaway worktree at the pre-fix sha
18643bb5, NOT committed) counts, per (call site, ss_x, ss_y, blk_w, blk_h,
stride), whether the walk's last write -- dst[max..max+4] at
max = (org_y + reg_h - 1) * stride + org_x + reg_w - 4 -- exceeds the pre-fix
`mu_units(_, stride * stride)` allocation. #[track_caller] names which of the
nine call sites presented each key, which is what turns a shape census into a
site census.

Its tooth, required before any zero is trusted: all four 4:2:2 cells fire on
their first call and the pre-fix panic follows immediately --
ll422_noibc ss=10 blk=32x64 stride=32 need=2048 alloc=1024, and W/X/Y_intrabc
ss=10 blk=4x16 stride=4 need=64 alloc=16.

Its zero: 1475 calls across ll420_a/b/c/d and ll444_a/b/c, 0 overruns.

The cell that answers the question, pinned here because it was in no corpus:

  crates/ec-av1/fixtures/420_lossless_tallinter_8x16.obu
  sha256 76513799683e9b1b1bcd9c2d16ee7cfbc075a3d5e44a49058ec2b9e05d7c9c4e
  52 138 B, 4:2:0 lossless, 24 frames of 64x64
  aomenc --lossless=1 --kf-max-dist=3 --sb-size=64 --min-partition-size=16
          --max-partition-size=64 --enable-rect-partitions=1 --cpu-used=1
          --passes=1 --end-usage=q --cq-level=0 --lag-in-frames=0

It codes a 2:1-TALL luma inter block (side=32, write 16x32, twelve of them)
and presents the walk a 2:1-tall 4:2:0 chroma plane block:

  TALLKEY site=decode.rs:43666 ss=11 blk=8x16 stride=16 org=0,0 reg=8x16
          keycalls=1 keyover=0 totcalls=4 totover=0 maxaddr=247 alloc=256

blk_h (16) EQUALS stride (16): the walk addresses the last element of the
square and not one past it. The ticket's blk_h > stride predicate is false by
exactly the margin it needs.

Why that is the format and not the corpus: at ss (1,1) the site is handed
chroma_stride = chroma_side = side/2 while blk_h = write_h/2 <= side/2, for
every (write_w, write_h) the caller contract permits; at 4:4:4,
chroma_stride = side >= write_h. Enumerated exhaustively over side in
{8,16,32,64,128} and both axes in 1..=side: 0 overruns at 4:2:0 and 4:4:4 at
every one of the nine call sites, including the 128-root mu-chunk site whose
non-zero org is the only place an OFFSET could overrun (it does not: 4:2:0
maxaddr 4095 against alloc 4096). 4:2:2 is the sole format where stride is
not the enclosing square, because of one boolean:

  let chroma_422 = ss_x(fctx) == 1 && ss_y(fctx) == 0;
  let (chroma_stride, chroma_buf_h) = if chroma_422 {
      (write_chroma_w, write_chroma_h)   // the NARROW axis
  } else {
      (chroma_side, chroma_side)         // the square: 4:2:0 and 4:4:4
  };

so blk_h > stride becomes reachable exactly when write_h > write_w, which is
why every firing key is ss=10 with a 2:1 plane block.

One trap recorded in the report because it nearly faked a positive: the first
instrument compared max_addr + 4 > alloc instead of max_addr + 1 > alloc and
"fired" 1969 times on ll420_a, all of them square 32x32 blocks. An off-by-N in
the instrument reads exactly like an over-broad fix.

Regression: cargo test -p ec-av1 --lib -- 420 444 lossless intra
  --skip bitrate_target_lands_within_5_percent_over_48_frames
  158 passed, 0 failed, 2 ignored, 641 filtered out (227.71s).

No decoder change is committed -- the fixture and the report are the whole
deliverable. The instrument and the EC_AV1_ALLOW_422_PROBE bypass live only
uncommitted in the throwaway pre-fix worktree.
ec-av1: tag the EC_SYMR reads in read_eob and read_coeffs' tx_typeAhmet Kaan Gümüş · 37631b3
ec-av1: tag the EC_SYMR reads in read_eob and read_coeffs' tx_type

`set_symr_cdf` (msac.rs:428) existed and had 24 call sites, but nothing tagged
the two reads the 4:4:4 partition-walk work pairs against the oracle's
per-read `site=`: `read_eob`'s EOB_PT read and `read_coeffs`' tx_type read.
Both printed `cdf=` empty, so a CDF width could not be attributed to a read
FUNCTION -- n=7 reads identically as "width 8 = TX_SET_INTRA_1" and as "the
64-CLASS EOB_PT width", and that ambiguity is exactly what a tag settles.

Two lines, behaviour-free: `SYMR_CDF` is a `Cell<&'static str>` thread-local
reset after each symbol (msac.rs:491) and is read only by the EC_SYMR
eprintln, and the placement matches the 24 existing `y_mode`/`uv_mode` tags.

Report section 16 of the branch is NOT landed with it: it depends on rounds
2-7, which main does not carry, and its headline (a transform-CLASS fork at
read 41976) is retracted by `lanes/av1tilerows.report.md` 17 on merged main.
refusal_inventory: say WHICH kind of proof each PROVEN row carriesAhmet Kaan Gümüş · 28056ec
refusal_inventory: say WHICH kind of proof each PROVEN row carries

The table was a 2-tuple, so a row whose gate drives a hand-built stream into
the guard read exactly like a row whose gate sweeps an alphabet and shows
nothing reaches it. That distinction is what makes a row's strength legible,
and it was inexpressible.

Adds `Proof { NegativeGate, Enumeration }` + `label()`, a third tuple element
on all 32 rows (7 NEGATIVE, 25 ENUMERATION), and
`every_proven_row_names_which_kind_of_proof_it_carries` as the non-vacuity:
every variant is used by a row, the two labels do not collapse, and the
(4,8) chroma-table row's ENUMERATION tag is pinned to three pieces of
evidence inside that gate's OWN BODY -- the exact call-site count, the
(4,8)/(8,4) residual loop, and the unreachability assertion -- so the tag is
backed by the gate and not by its name.

The `Proof::TablePin` variant lane-av1refusalclaim r3 proposed is NOT carried:
its only row is that same (4,8) row, whose gate r3 wrote against was
`every_rect_strip_shape_the_split_path_codes_has_a_luma_and_chroma_table`
(decode_rect_split's tables). Main's row names
`every_chroma_unit_decode_block_rect_can_present_has_a_coefficient_table`,
which reads all eight decode_block_rect call sites' own literal bw/bh, pins
the chroma table exactly, and asserts the (4,8)/(8,4) residual is
UNPRODUCIBLE. The reach domain r3 called unestablished is therefore measured,
so ENUMERATION is the honest tag and a variant with no row would be dead
weight. The enum's doc comment records when to re-add it.

2026-09-28

docs(av1444rect): round 6 -- the fork's caller is NAMED: decode_intrabc_rect's non-lossless rect arm, one gather taken at the luma footprint serving a 4x8 chroma unitAhmet Kaan Gümüş · 9e73b94
docs(av1444rect): round 6 -- the fork's caller is NAMED: decode_intrabc_rect's non-lossless rect arm, one gather taken at the luma footprint serving a 4x8 chroma unit

Main asked for the caller of the read_coeffs_rect(4,8,skip_ctx=0) shape at
bit 6893. Named with #[track_caller] on read_coeffs_rect and
read_inter_plane_rect, so every call site carries its own file:line and no
per-site edit was needed. The fork is decode.rs:13184 (plane 1) and 13202
(plane 2), inside decode_intrabc_rect at 12955: one
around_mi_rect((mi_r, mi_c), bw, bh) gathered at the LUMA footprint and
reused for a 4x8 chroma unit under a 4x16 luma plane block. At ss (1,1) the
two coincide after subsampling, which is why the 4:2:0 twin is byte-exact;
at ss (0,0) they do not. This is the sub-8 unit walk, the prior Agent142-2's
census established.

Also recorded, explicitly NOT claimed: at that bit the oracle reports mi
(90,108) while our unit sits at px (208,184) / mi (46,52), with every prior
read paired exactly. Either the oracle's xd->mi does not name the same block
our x,y does, or there is a position divergence not yet localised. Left for
the next lane rather than guessed at.

No decoder change this round; the probes are removed and the tree is clean
(grep EC_RCALL and EC_UCNT read 0 at HEAD, git diff empty against the
previous commit apart from this report).

(cherry picked from commit 0beaf6c53e97a9348ddafb31e08a6cdf6cbdeccc)
lanes/av1tilerows: round 9 — the 4:4:4 128-root leaf-size fork is gone on mainAhmet Kaan Gümüş · 129714d
lanes/av1tilerows: round 9 — the 4:4:4 128-root leaf-size fork is gone on main

Re-measured on a clean detached worktree at merged main e719050d (my fix
4e151813 is an ancestor there, reach call ss-aware, so the base is sound).

THE FORK NO LONGER EXISTS. Same recipe and stream as rounds 3-8
(v2_c40.obu, 4:4:4 lossy cq-40, --sb-size=128, 256x256, 36 shown frames):

  my base (rounds 3-8)      1415 ... 62614 ... diverges throughout
  merged main e719050d      0 on all 36 frames

And the authoritative measure:

  oracle reads 217570   merged-main reads 217570
  ENTROPY LOCKSTEP over 217570 reads

Identical read COUNTS and no value/range/symbol/post_rng divergence over
the entire stream. The read-41976 fork, the 32-vs-64 transform-class
disagreement, and every downstream desync are absent on main.

ATTRIBUTION: ONE NEGATIVE RESULT, NO GUESS. The obvious candidate in my
named area is av1h5's mu_chunk_order ("read a 128 root's tokens CHUNK-major,
not block-raster"), absent from my base. Ablated: 4155c7c7 + my fix +
8a91ee14 alone STILL DIVERGES (1415, 1582, 478, 62614, 60028, ...), so that
commit is not sufficient on its own. I could not build the all-three-av1h5
arm — cherry-picking 34b56884/f6fbad26 onto my base conflicts — so I report
the negative and stop rather than attributing the fix to a lane on a guess.

The parked inter-64x64 EC_PART_VAL alignment fix stays parked: main now
answers the question outright, so it is no longer needed.

(cherry picked from commit 571b4090b1d68400a34c65b56598bc47276bb7c4)

2026-09-30

census2: land the branch census (no unlanded decode-behaviour fix exists) and the four mislabelled partition rungs it measuredAhmet Kaan Gümüş · ba086c6
census2: land the branch census (no unlanded decode-behaviour fix exists) and the four mislabelled partition rungs it measured

The census classified all 16 unlanded branches. HEADLINE: no unlanded decode-behaviour fix exists --
every change to decode.rs that alters reconstruction landed on main by another route. 4bfe8d8e,
1a6e4f56, 5519aaf8 and 21759e06 are present verbatim (all four distinctive literals matched), three of
them later generalized per-axis, and two more arrive as CARRIED commits whose own messages say 'never
merged to main' while main carries their content (97b4ee04 for 3d0001bc, c0727d64 for 4bfe8d8e). The
unlanded residue is 1 test-bookkeeping enum, ~30 lines of env-gated diagnostic labelling, one diagnostic
instrument set, and five report files -- two of which name OPEN defects main's copy does not have
(lane-av1444rect's 'Round 6 -- the caller is NAMED', lane-av1leafsize's 'Round 9 -- the fork is GONE'
retraction), and one of which is author-declared DO-NOT-MERGE.

INSTRUMENT LANDED WITH IT (the census's own measurement arm, behaviour-free and env-gated): four
diagnostic rungs printed the RAW superblock / 16-grid index into fields labelled mi_row= / mi_col= --
EC_PART bsize=9 off by a whole BLOCK_MI factor (8), and EC_PART bsize=6, EC_PART_VAL bsize=6 and
TRACE partition_w16 all printing the raw 16-grid. The target form is main's OWN convention already used
at the same sites (the part32_pre rung eight lines above prints r32 * BLOCK_MI; decode.rs:35574 computes
(sr * SUB_MI, sc * SUB_MI) for the same sr/sc twenty lines below). Re-derived by hand because the
branch's original e55ad654 conflicts on context drift -- 19 insertions, 6 deletions, including its
10-line explanatory comment. It unblocks the 4:4:4 inter partition-walk divergence whose 7-entry class
is EOB_PT 32 at read 41976, a location that cannot be read off a rung whose coordinates are in the wrong
label space.

Verified on the merged tree: cargo check -p ec-av1 --all-targets 0 errors 0 warnings; refusal-surface
tests 20 passed 0 failed. The census's own measurement recorded pixel_exact 248 passed 0 failed
(847.60s) on main@52c62c15 + this re-derivation.
refutation pass 2: the 12-bit screen-content LIFT is genuinely supported (307 live cells exact); land the audit, correct the encoder size and the fork3 citations, and record fork3's coverage gapAhmet Kaan Gümüş · 43f8c58
refutation pass 2: the 12-bit screen-content LIFT is genuinely supported (307 live cells exact); land the audit, correct the encoder size and the fork3 citations, and record fork3's coverage gap

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

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

COVERAGE GAP recorded in the fork3 report where it belongs (not_done, not evidence): the TX_4X4
publishes added to the two LOSSLESS arms (decode.rs:18187, :30147) are reached by NO committed fixture --
reverting only those two and re-sweeping all 104 fixtures leaves 94/94 exact with zero red. Correct per
libaom, provably harmless, and unmeasured.
Merge lane-av1422llodd (REPORT ONLY): the 242-tall 4:2:2 frame-0 divergence is 100% pre-filter, chroma-only -- and 'odd height' is REFUTEDAhmet Kaan Gümüş · da48b63
Merge lane-av1422llodd (REPORT ONLY): the 242-tall 4:2:2 frame-0 divergence is 100% pre-filter, chroma-only -- and 'odd height' is REFUTED

Zero source change; the branch adds lanes/av1422llodd.report.md and nothing else, and the primary
checkout was clean when it merged.

PREMISE REFUTED BY MEASUREMENT: 42 fresh 4:2:2 encodes across 8 widths (318..328) x 9 heights (236..256),
plus 4:2:0 and 4:4:4 at each height, are ALL 17/17 byte-exact -- INCLUDING 320x242, 321x242, 323x242 and
326x242 -- and the committed 322x242 cell V_tile2x2_odd is exact in the corpus. The wrong samples sit at
luma rows 160..207, not in the 242-height partial superblock row. So the height is a coincidence of the
four failing cells, and the four are aomenc-built with base_q=25 and sequence headers that differ from
the fresh encodes: the real factor is an ENCODER SETTING, still unidentified.

WHAT IS LOCALISED (and it is narrow): our intra-chroma DC folds the LEFT edge in where libaom uses the
ABOVE edge alone. Q_odd320x242 frame 0 U(160,116): ours 182 = (sum_above 808 + sum_left 644 + 4) / 8,
libaom 202 = dc_top = (808 + 2) / 4 -- and the left column (chroma col 115, rows 160..163 =
165,164,163,152) is BYTE-IDENTICAL on both sides, so the delta is the AVAILABILITY DECISION, not the
samples. The owning block is the CHROMA of a 2x2-mi (8x8 luma) block split into two 8x4 luma units with
chroma as two stacked 4x4 units (the 4:2:2 sub-8x8 chroma walk); our own parse names it
('TRACE partition_w8 mi=(40,58)' + 'TRACE sub8 skip mi=(40,58)/(41,58)'). Where the rule lives in libaom:
set_mi_row_col's chroma_left_available / chroma_up_available (av1/common/av1_common_int.h:1367-1379,
whose 'ss_y && bh < mi_size_high[BLOCK_8X8]' clause is DEAD at 4:2:2) consumed by reconintra.c:1744-1766
and :1329-1331 -> aom_dsp/intrapred.c:201-225 (dc_top vs dc). NOT yet confirmed as the line in OUR tree.

STAGES EXONERATED, each by measurement: every post-recon filter is inert (our PREFILT-vs-oracle delta
EQUALS our FINAL-vs-oracle delta exactly on all four cells -- O 48, AB 64, Q 801, S 49 -- and PREFILT ==
POSTDEBLOCK == POSTCDEF on our side); entropy parsing is sound (luma byte-exact on all four); the palette
colour-index maps are identical per side (167 maps, all 16544 color_idx values equal) and the
palette-prediction handoff has 466 PALSET with 0 stale; and the classes fixed earlier today are
different paths (W/X/Y all measure 17/17 exact on this tip).

NOT GATEABLE, stated plainly: 4:2:2 is refused at the sequence header
(crates/ec-av1/src/stream.rs:1803), so no committed fixture or test can reach this code and every
measurement required that guard patched out -- no source-scan substitute is offered. And no REPRODUCER
RECIPE exists yet: 42 fresh encodes did not reproduce it, so a committed fixture would pin a symptom
without a recipe.

Regression, baseline only (no source change): 181 passed, 0 failed, 2 ignored. Worth recording: a FIRST
run of the identical command reported 175 passed / 6 failed, and all six were external-aomdec tests
staging streams in std::env::temp_dir() hitting 'Os { code: 122, kind: QuotaExceeded }' from a full /tmp
tmpfs -- not a decode regression. Clearing /tmp/ec-av1-* returned the suite to 181/0.
lane-av1422llodd report: the 242-tall 4:2:2 frame-0 divergence is 100% pre-filter, chroma-only, and "odd height" is REFUTEDAhmet Kaan Gümüş · c74cc0b
lane-av1422llodd report: the 242-tall 4:2:2 frame-0 divergence is 100% pre-filter, chroma-only, and "odd height" is REFUTED

No source change. The census cluster (AB_inter_warp_odd, O_odd322x242,
Q_odd320x242, S_odd326x242_10b) fails at decode frame 0 on chroma only, with
luma byte-exact; our PREFILT equals our POSTDEBLOCK equals our POSTCDEF and the
PREFILT-vs-oracle delta equals the FINAL-vs-oracle delta exactly, so deblock,
CDEF and LR carry none of it.

The brief's premise is refuted by measurement: 42 fresh 4:2:2 encodes across
8 widths (318..328) x 9 heights (236..256) x 3 chroma formats are all
byte-exact, including 320x242 / 321x242 / 323x242 / 326x242, and the committed
322x242 cell V_tile2x2_odd is exact in the corpus too. Height is not the factor;
the failing cells are aomenc-built with base_q=25 and the setting that
reproduces them is still unknown.

Seed localised: the chroma of a 2x2-mi luma block split into two 8x4 units,
where ours folds the left edge into a DC (182 = above+left) and libaom uses
dc_top (202 = above only). The 167-block palette colour-index ladder is
identical on both sides (16544 values), which rules the palette path out.

Gate-ability: 4:2:2 is refused at the sequence header, so nothing here is
gate-able from a committed test, and no source-scan substitute is offered.
refutation pass: land the independent audit of the six exactness merges, and annotate the four reports whose figures it correctedAhmet Kaan Gümüş · 00ec0ee
refutation pass: land the independent audit of the six exactness merges, and annotate the four reports whose figures it corrected

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

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

The six fixes themselves are untouched: the merge that closes the panic family panics at
decode.rs:37565:24 on its base exactly as reported and decodes 17/17 with exit 0 after; the altref gate's
comparator runs aomdec as a subprocess and reads its file off disk; and llinter2's three fixed arms were
re-measured with counters at 131/356/202 (W), 148/376/178 (X), 3/166/565 (Y).
Merge lane-av1444chromadc (REPORT ONLY): debt line 21 is ALREADY FIXED on main (by e05a6ceb, merged 2c0fd2b9), and the ticket's premise was wrongAhmet Kaan Gümüş · 5d5fc1e
Merge lane-av1444chromadc (REPORT ONLY): debt line 21 is ALREADY FIXED on main (by e05a6ceb, merged 2c0fd2b9), and the ticket's premise was wrong

r512.obu is BYTE-EXACT on main: 79,969 wrong samples (3.4%) -> 0, all three planes of all three frames,
and the seed sample (352,448) reads 202 -- the oracle's value -- not the sibling's 241. Fixture identity
checked, not assumed: crates/ec-av1/fixtures/r512.obu sha256 f587f0f980f149abce905e3ef66f2f1634f050c8
5430626eafb9c30a1e25bc21 equals the debt line's witness bytes.

PREMISE CORRECTED, and this is the useful part: the defect is NOT a DC predictor reading a sibling's
edges (av1_build_dc_predictor_sb). A skipped intra-BC block never reaches the DC predictors --
av1_predict_intra_block returns early through the use_palette branch (av1/common/reconintra.c:1717-1738)
and have_top/have_left sits on the far side of that return, so there IS no edge family here and the
ticket's four-way edge sweep was measuring nothing. It is a MAP OFFSET: libaom indexes the whole plane
block's palette map with the unit's own x = col_off << 2 / y = row_off << 2 (reconintra.c:1711-1712,
1727/1734), with col_off/row_off arriving per TRANSFORM UNIT from av1_predict_intra_block_facade
(:1966-1969, called at decoder/decodeframe.c:232); the pre-fix code called set_palette_pred with the
whole chroma_side x chroma_height buffer for every unit at offset 0. The closing commit windows the
override per unit (decode.rs:22274-22284, `at = (cu_row * chroma_tx_h + row) * chroma_side + cu_col *
chroma_tx`), and the CODED arm was verified by reading to have been per-unit already (22546-22559).

CLASS SWEEP, mutation M1 (restores the pre-fix whole-buffer shape) over four unit positions x
{skipped, coded}: the RULE is measured, not assumed -- a unit is wrong iff the override buffer VARIES
across the plane block, and then exactly at (1,0) and (1,1); (0,0) and (0,1) are never wrong because
they read offset 0, their own window. That is why the dirty map starts at x=352=320+32 and never at
x=320. Two cells where the buffer is CONSTANT (54, 166) are exact under M1 -- the defect is present in
the code and invisible in the pixels, which is exactly why a position sweep beats a single seed.