forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 605faee2f85ce9ce0ed111369a62deaa6438129a

2026-09-29

Merge lane-av1skipfix @ 960be978 — skip-on-decode-error gates converted to attempt loops + EC_REQUIRE_FIXTURESAhmet Kaan Gümüş · 605faee
Merge lane-av1skipfix @ 960be978 — skip-on-decode-error gates converted to attempt loops + EC_REQUIRE_FIXTURES

- crates/ec-av1/src/refusal_inventory.rs: GATES_THAT_SKIP_ON_A_DECODE_ERROR
  emptied — the four arms it named now loop.
- crates/ec-av1/src/stream.rs: a_real_aomenc_lossless_444_key_frame
  (a_real_aomenc_lossless_444_key_frame_decodes_sample_exact) stops reporting
  green on a missing pin; the 444 pin arm honours the repo-wide
  EC_REQUIRE_FIXTURES.
- crates/ec-flac/tests/xiph_vectors.rs, crates/ec-h264/tests/conformance.rs,
  crates/ec-opus/tests/conformance.rs: a missing corpus FAILS under
  EC_REQUIRE_FIXTURES.
- scripts/link-fixtures.sh: give a worktree the gitignored root fixtures/.
- lanes/av1skipfix.report.md (incl. the per-crate assert-site rows),
  lanes/COMMON-20260901.md.

The four-crate fixture asserts (ec-h264 / ec-flac / ec-opus / ec-av1) are
covered by this lane's own report — see lanes/av1skipfix.report.md, per-crate
assert-site rows; no separate coverage task is opened for them.

Tip note: the branch head b696d485 is three commits past this tip
(commit the 444 lossless key-frame pin, rewire its gate onto
CARGO_MANIFEST_DIR, extend the report) and is NOT merged here; the dispatched
tip is 960be978.
Merge lane-av1chrtx @ ea97eb0c — per-unit leaf tx_type in rect inter chroma + the per-unit coefficient censusAhmet Kaan Gümüş · 4c92898
Merge lane-av1chrtx @ ea97eb0c — per-unit leaf tx_type in rect inter chroma + the per-unit coefficient census

Lands the reviewed census stack on top of the chrtx work:

- decode.rs: read_inter_rect_chroma resolves each rect inter chroma unit's
  tx_type from its OWN luma leaf instead of a single shared value; read_coeffs_rect
  gains a plane parameter so the EC_COEFF_STEP trace tags the real plane.
- stream.rs: the per-unit coefficient census rung EC_CENSUS_UNIT and its gate
  a_pixel_exact_444_stream_walks_the_same_coefficient_units_the_oracle_does.
- fixtures/444_rect_strip_leaf_tx_type.obu (26839 B).
- lanes/av1chrtx.report.md, lanes/av1readcensus.report.md.

Tip note: the branch head 6cc9ea6f is one commit past this tip
("lanes/av1readcensus: name the actual branch/worktree and fix the gate
name") and is NOT merged here; the dispatched, reviewed tip is ea97eb0c.
ec-av1: settle the 4:4:4 coefficient-read count asymmetry by measurementAhmet Kaan Gümüş · cf7d7f8
ec-av1: settle the 4:4:4 coefficient-read count asymmetry by measurement

The av1444rect round-4 report left 636 square chroma reads against the
oracle's 1086 (and 2052 vs 1309 luma) as "most likely a counting-shape
difference", established neither way. This measures it.

A new per-unit census rung (EC_CENSUS_UNIT) counts one unit per
read_coeffs/read_coeffs_rect call -- the object the round-4 count measured
-- carrying plane, w/h, tx_type, eob, all_zero and the msac state before
and after the unit. Paired against the oracle's existing EC_COEFF /
EC_COEFF_VAL bracket per av1_read_coeffs_txb call BY post_rng, never by
plane label or walk position.

On every pixel-exact 4:4:4 arm the counts are identical, unit for unit:
ll444_minp8_inter 11292/11292 (3764 per plane both sides, 975/1793/1859
coded), 444_lossy_rect4_inter_witness 1373/1373, 444_quad_leaf_tx_type
192/192. Bucket (i) is the whole census; there is no asymmetry to explain.

The round-4 numbers came from 444_intrabc_rect4_witness, which DIVERGES
(390380 of 921600 samples wrong) -- there the surplus is the divergence
itself, so the count could never have separated the two hypotheses.
Verdict: counting shape, and not even that on a pixel-exact arm.

Gate: a_pixel_exact_444_stream_walks_the_same_coefficient_units_the_oracle_does
pins the walk's object shape on two exact arms -- the all-TX_4X4 lossless
stream and a mixed-shape rect4 stream, which is what makes a var-tx fold
visible. Mutation-proven: dropping 8x8 units turns it red by name. The
census is armed per frame from the sequence subsampling, so the 4:2:0
control asserts exactly (0, 0, 0).
gitignore: let per-crate fixture pins be added without -fAhmet Kaan Gümüş · 1dab95e
gitignore: let per-crate fixture pins be added without -f

A bare `fixtures` rule ignores the name at EVERY depth, so the 48 committed
`crates/ec-av1/fixtures/*.obu` pins are tracked only because someone used
`git add -f` -- and a new pin then fails a plain `git add` with a hint that
reads like noise (measured 2026-09-29 while landing a regenerated pin).

Negate the crate-level pins; the root `fixtures/` directory stays untracked
(1.7 GB of media, mirrored to the runner hosts instead).
ec-opus: a missing RFC 6716 vector FAILS under EC_REQUIRE_FIXTURESAhmet Kaan Gümüş · 168b491
ec-opus: a missing RFC 6716 vector FAILS under EC_REQUIRE_FIXTURES

`rfc6716_test_vectors` continued past every absent vector with a bare
eprintln, so on a worktree -- no gitignored root `fixtures/` -- the whole
RFC 6716 Section 6 conformance claim was decided by zero vectors, green.

The per-vector arm now names the exact missing path, `scripts/link-fixtures.sh`
and `scripts/fetch-vectors.sh`, and fails under EC_REQUIRE_FIXTURES=1. The
`if path.exists()` arms at the two robustness/perf sites are optional-input
blocks inside tests that do not assert on them, so they stay as they are.

Red: EC_REQUIRE_FIXTURES=1 with `fixtures/` unlinked fails
rfc6716_test_vectors ("RFC 6716 test vector testvector01 missing at
.../opus_testvectors/testvector01.bit -- this gate would prove nothing").
Green: 1 passed with `fixtures/` linked (179.2s).
ec-flac: a missing xiph corpus FAILS under EC_REQUIRE_FIXTURESAhmet Kaan Gümüş · 62abc01
ec-flac: a missing xiph corpus FAILS under EC_REQUIRE_FIXTURES

`corpus()` returned `None` on an absent `fixtures/vectors/flac-xiph` tree
and all four gates skipped green, decoding nothing. The assert lives in
`corpus()` itself -- the one place that knows the path -- so all four gates
are covered by one hunk, and each of them still pixel-compares when the
corpus is there.

Red: EC_REQUIRE_FIXTURES=1 with `fixtures/` unlinked fails
subset_vectors_decode_bit_exact_against_ffmpeg ("the FLAC xiph subset
corpus is missing at .../subset -- these gates would prove nothing").
Green: 4 passed / 0 failed with `fixtures/` linked (32.0s).
ec-h264: a missing conformance vector FAILS under EC_REQUIRE_FIXTURESAhmet Kaan Gümüş · a737185
ec-h264: a missing conformance vector FAILS under EC_REQUIRE_FIXTURES

Five gates took `if !base.is_dir() { eprintln!("SKIP ..."); return; }`
over the JVT vector directory, and a sixth skipped a missing
`fixtures/video/h264-open-gop.mp4`. On a worktree -- which has no
gitignored root `fixtures/` -- all six reported green having decoded
nothing, so a conformance run there measures nothing while looking
clean. That is the same "gate skips on its own failure" class the ec-av1
inventory pins, one crate over.

A shared `require_fixtures(path, what, generator)` now drives every arm:
default-off it skips and says what it skipped and which command fixes it;
`EC_REQUIRE_FIXTURES=1` turns it into a hard failure naming the exact
missing path, `scripts/link-fixtures.sh` (the root cause) and the
generator for that particular fixture. Tests only; no decoder change.

Red: EC_REQUIRE_FIXTURES=1 with `fixtures/` unlinked fails
jvt_cavlc_first_idr_bit_exact ("the JVT conformance vectors missing at
.../fixtures/vectors/h264-jvt -- this gate would prove nothing") and
h264_seek_matches_linear_open_gop ("the open-GOP fixture missing at
.../fixtures/video/h264-open-gop.mp4"). Green: all six pass with
`fixtures/` linked (1.58s / 5.59s / 0.73s / 20.85s / 9.94s / 0.75s).
stream: the 444 pin arm also honours the repo-wide EC_REQUIRE_FIXTURESAhmet Kaan Gümüş · d4100f4
stream: the 444 pin arm also honours the repo-wide EC_REQUIRE_FIXTURES

The require-env for a missing fixture is now one name across the repo, so
a batch unit sets EC_REQUIRE_FIXTURES=1 once and an absent fixture fails in
ec-av1, ec-h264, ec-flac and ec-opus alike. EC_AV1_REQUIRE_AOMENC still
works here, since it already means 'this box must have the oracle'.
scripts: link-fixtures.sh — give a worktree the gitignored root fixtures/Ahmet Kaan Gümüş · 7e79eb2
scripts: link-fixtures.sh — give a worktree the gitignored root fixtures/

The root `fixtures/` directory is listed in `.gitignore` (line 2) and is
not committed, so `git worktree add` hands every lane worktree a tree
WITHOUT it. Every fixture-backed gate then reports green having checked
nothing: the ec-h264 JVT conformance gates, the ec-flac xiph corpus, the
ec-opus RFC 6716 vectors and the ec-av1 pins all take a missing-fixture
skip. That is how a_real_aomenc_lossless_444_key_frame finished in 0.05s
with nothing decoded, and it is why a worktree run of the conformance
gates measures nothing at all.

link-fixtures.sh resolves the primary checkout through
`git rev-parse --git-common-dir` (which works from any linked worktree),
symlinks its `fixtures/` into the current tree -- a symlink, never a copy --
no-ops with a clear message when the directory is already there, and
REFUSES loudly (exit 2) when the primary checkout has no `fixtures/` at
all, naming the generator scripts instead of leaving a silent hole.
`--check` reports what it would do and exits non-zero, for a batch
preflight.

Documented in lanes/COMMON-20260901.md beside the batch env line, with
EC_REQUIRE_FIXTURES=1 as the shared env that turns an absent fixture into
a failure in every crate.
memguard-runner: unique scope name + probe under a distinct nameAhmet Kaan Gümüş · 38d0251
memguard-runner: unique scope name + probe under a distinct name

Three lanes hit 'Unit run-pNNN.scope was already loaded or has a fragment
file' in one batch, and the workaround (invoking the test binary directly)
lost the memory cap. Two causes, both measured: systemd-run derives
run-p<pid>.scope when no --unit is given (pid reuse collides), and a
transient scope stays LOADED after it exits, so probing and exec'ing under
the same --unit collides with the probe's own scope.

Fix: unique --unit per invocation, and the availability probe runs under
${unit}-probe so it cannot collide with the exec. The collision is detected
by PROBING, never by the wrapped command's exit status -- systemd-run --scope
returns the command's own status, so a retry on non-zero would run every
failing test twice. Stale fragments are cleared before the second probe; if
the cap still cannot be acquired the runner falls back to the uncapped exec
with a loud message.
ec-av1: resolve each rect inter chroma unit's tx_type from its own luma leafAhmet Kaan Gümüş · 7a36733
ec-av1: resolve each rect inter chroma unit's tx_type from its own luma leaf

read_inter_rect_chroma -- the sibling of the two 4:4:4 four-unit arms --
still handed every chroma unit the BLOCK-level luma_tx_type (the
top-left leaf's type) after lane-av1444chr pointed those two arms at
covering_leaf_tx_type. av1_get_tx_type (blockd.h:1287-1297) instead
reads xd->tx_type_map at the chroma unit's own position scaled back to
luma, and read_coeffs' all_zero arm stamps DCT_DCT into that leaf's map
cell (decodetxb.c:199-203), so a unit over a luma leaf that coded
NOTHING inherits DctDct, not the block's type.

Measured on a new pinned witness (fixtures/444_rect_strip_leaf_tx_type.obu,
26839 bytes, sha256 06174a66e92aaeb751a8e86db59711fcb1f18d74bde2d77e1ef1be7983eb7c80,
testsrc2 256x256 yuv444p x3, aomenc --profile=1 --cq-level=30 --cpu-used=0
--sb-size=64 --min-partition-size=32 --max-partition-size=64
--enable-tx-size-search=1 --passes=1 --end-usage=q --threads=1 --row-mt=0
--lag-in-frames=0 --kf-max-dist=100 --limit=3 --obu): the 32x64 inter
strip at mi(32,48) has a 4:4:4 chroma plane of (32,64) = TWO TX_32X32
units over a five-leaf luma tree (Idtx 32x32 on top, then VDct/DctDct/
HDct/VDct 16x16). The lower unit inherits VDct where the block-level
value is Idtx, once per chroma plane.

Red-before: reverting only the resolve to the block-level type turns the
new gate red -- "decode-order frame 1 of 3 (3 shown, 0 hidden) differs
from the oracle at byte 105949 (ours 166 vs 167), 1998 bytes differ".
Restored: green. The DIFF counter (not the route counter) is the
non-vacuity bar: a route counter fires on any rect chroma read, and a
committed control (444_sb128rect_lr_witness.obu, 2 units resolved, 0
differing) is exactly the shape a no-op fix would look green on.

Witness hunt (200+ encodes over 4:4:4 sources, partition / tx-size-search
and cpu-used sweeps): multi (nx*ny > 1) is false BY CONSTRUCTION at
4:2:0 -- a side <= 64 block's chroma plane is at most 32x32, one unit --
so the arm needs 4:4:4 AND a rect block that keeps a 64-px axis, and
only cpu-used=0 with --min-partition-size=32 made aomenc pick the
32x64 strip. Two new gate counters CHROMA_RECT_LEAF_TX_HITS /
CHROMA_RECT_LEAF_TX_DIFF_HITS, separate from CHROMA_QUAD_LEAF_TX_HITS
because that pair gates a 4:2:0 control asserting exactly 0 and this
route IS reachable at 4:2:0.

Plus a unit test on covering_leaf_tx_type itself (mixed-leaf lookup,
interior cells, out-of-extent -> None, empty leaf list -> None),
mutation-proven red by turning the containment '<' into '<='.
stream: a_real_aomenc_lossless_444_key_frame stops reporting green on a missing pinAhmet Kaan Gümüş · 60459a5
stream: a_real_aomenc_lossless_444_key_frame stops reporting green on a missing pin

The gate's pinned fixture `fixtures/ll444-lossless-key.obu` does not exist:
not in git, not in the root `fixtures/` directory on this box, and no
script under scripts/ produces it -- the only recorded provenance is the
prose recipe in the gate's own skip message. Its `Err` arm was a bare
SKIP, so it finished in 0.05s (its siblings take seconds: it had decoded
nothing) and the suite reported green.

The root `fixtures/` directory is listed in `.gitignore:2`, so the pin
cannot be committed and cannot be regenerated by a fresh clone; every
`~/.cache/wt/*` worktree lacks it for the same reason. The arm is
therefore kept as a skip (deleting the gate or failing every box
outright is worse), but `EC_AV1_REQUIRE_AOMENC=1` now turns it into a
hard failure that names the missing path, the exact regeneration recipe
and the `EC_AV1_PIN_DIR` override, so a batch run cannot report green off
it. The skip line itself now says the gate decoded nothing and proves
nothing.

Tests only; no gate body below the arm is touched.
ec-av1: thread the real plane index into read_coeffs_rect's EC_COEFF_STEP tracesAhmet Kaan Gümüş · 0789576
ec-av1: thread the real plane index into read_coeffs_rect's EC_COEFF_STEP traces

read_coeffs_rect printed a hardcoded plane=0 on its two tagged trace lines
(tag=all_zero, tag=tx_type), so every chroma rect coefficient read was
logged as a luma one. Two independent lane reports mis-read a chroma
unit's txb_skip / tx_type symbol on those lines and followed the luma
arm; the log could not tell them apart.

Adds a plane parameter and passes the caller's own plane index at all
twenty call sites (read_inter_plane_rect / read_rect_chroma_unit /
leaf8_chroma422_unit / sub8_leaf_chroma444 carry plane or plane_idx;
the luma readers pass 0). read_chroma_coeffs_rect takes the same
parameter and passes it through, so the U/V call sites in
decode_block_rect, decode_leaf_rect, decode_block_rect4,
decode_rect4_16_strip and decode_block_rect64 stop collapsing U and V
into one tag.

Measurement (EC_TRACE_COEFF=1 on the 4:4:4 rect gate
a_444_lossy_rect4_inter_stream_decodes_pixel_exact): the all_zero lines
now split 312 plane=0 / 310 plane=1 / 310 plane=2 where every chroma
line previously read plane=0. No gate output changes; the traces are
env-gated and off by default.
refusal_inventory: empty GATES_THAT_SKIP_ON_A_DECODE_ERRORAhmet Kaan Gümüş · 542c8fe
refusal_inventory: empty GATES_THAT_SKIP_ON_A_DECODE_ERROR

The last four entries are deleted: all four gates in stream.rs now use
the attempt-loop pattern, so the pinned set is empty and the list stays
an exact pin (a converted gate is removed, the set may not grow). The
guard test's stale-entry arm is what enforces that, and it is red-before
proven: re-adding one SKIP arm to a converted gate fails the guard.
stream: convert the four skip-on-decode-error gates to attempt loopsAhmet Kaan Gümüş · 3104b2b
stream: convert the four skip-on-decode-error gates to attempt loops

Each of `a_real_aomenc_filter_intra_stream_decodes_pixel_exact`,
`a_real_aomenc_intra_stream_with_deblocking_decodes_pixel_exact`,
`a_real_aomenc_inter_sequence_with_deblocking_decodes_pixel_exact` and
`a_real_libaom_gradients_stream_with_cdef_decodes_pixel_exact` turned a
decode `Err` into a printed SKIP, so the suite stayed green while the
gate proved nothing -- the same vacuum as an unfired feature, reached
from the other side. Each now sweeps several recipes, counts a named
refusal per attempt instead of swallowing it, ALWAYS pixel-compares an
attempt that decoded, and hard-asserts the feature counter
(`filter_intra_hits` / `deblock_hits` / `cdef_idx_hits`) on a
pixel-compared attempt; exhausting every attempt is a failure.

MEASURED on a21f3680 (this box, 2026-09-29):
- filter intra, seed 42 cq 40 and seed 43 cq 40 read `use_filter_intra`
  3x each pixel-exact; seed 44 cq 45 and seed 45 cq 30 decode WITHOUT it
- intra deblock, cq 55/45/35/63 decode pixel-exact with 48/64/64/64 edges
- inter deblock, cq 55/45/35/63 decode 4 frames pixel-exact with
  208/224/160/208 edges
- CDEF: the old 64x64 single-frame recipe reads ZERO `cdef_idx` (one
  superblock, so libaom can never write cdef_bits > 0) at every crf and
  cpu-used, though `apply_cdef` does filter with a nonzero strength pair.
  The gate's premise ("proves apply_cdef itself") was therefore unfalsifiable
  on it. Multi-SB multi-frame recipes read 2-8 `cdef_idx` and are
  pixel-exact, so the recipe list is now 128x64/128x128 at 24 frames
  across (cpu-used, crf).

Red-before mutation, per gate: `--enable-filter-intra=0` in the filter
intra recipe, `--loopfilter-control=0` in each deblock recipe, and the
original 64x64/1-frame CDEF recipe each drive their own gate red with
"gate-blind-to-feature"; re-adding one `SKIP <name>: {e}` arm drives
`gates_that_swallow_a_decode_error_are_declared` red. No decoder change.

2026-09-28

refusal_inventory: normalise whitespace in the 128-root cfl anchor + mutation-prove itAhmet Kaan Gümüş · a460dca
refusal_inventory: normalise whitespace in the 128-root cfl anchor + mutation-prove it

The anchor was a 3-line literal carrying 12-space indentation while the
anchored call site (decode.rs read_intra_mode_rect at the 128 root) sits at
8 spaces, so the guard counted 0 matches and went RED. ATTRIBUTION (measured
by an independent review pass): the guard was ALREADY red at the wave's own
common base 4155c7c7 -- the dedent happened in an ancestor of that base, so
the wave inherited a pre-existing red rather than causing it. The invariant
it guards was intact: the call site still passes cfl=false.

Fix: whitespace-normalised match (squash_ws on both sides), keeping the
semantic anchor (both comment lines + the false, argument) and count() == 1.
Mutation-proved: cfl=true turns it RED, revert turns it green.

Class swept: no other source-scan anchor in the crate embeds indentation
(21 include_str! guards checked); the rule is recorded in
skill://reformat-breaks-source-scan-anchors.
ec-av1: drop the three consts the intra-BC rect4 gate stopped usingAhmet Kaan Gümüş · 72eb746
ec-av1: drop the three consts the intra-BC rect4 gate stopped using

lane-av1444rect r3 (25824613) dropped the intra-BC prefix-floor assert, which
was the last reader of W/H/PS in a_444_intrabc_rect4_reads_its_own_chroma_plane_block.
Left three dead_code warnings on a 0-warning tree. The gate's own assertions
(the route hit at 4:4:4, zero at 4:2:0, the byte-exact 4:2:0 twin) are untouched.
Merge branch 'lane-av1formatsweep'Ahmet Kaan Gümüş · fae5c1f
Merge branch 'lane-av1formatsweep'

# Conflicts:
#	crates/ec-av1/src/stream.rs
Merge branch 'lane-av1cmpaudit'Ahmet Kaan Gümüş · cfabb97Browse files
Merge branch 'lane-av1444chr'Ahmet Kaan Gümüş · 236bad3Browse files
Merge branch 'lane-av1h5'Ahmet Kaan Gümüş · f0bc1acBrowse files
Merge branch 'lane-av1444rect'Ahmet Kaan Gümüş · 0d240a7Browse files
Merge branch 'lane-av1tilerows'Ahmet Kaan Gümüş · 048a859Browse files
Merge branch 'lane-av1leftref'Ahmet Kaan Gümüş · 810f6bcBrowse files
audit: assert equal lengths before every ours-vs-oracle walk (68 sites)Ahmet Kaan Gümüş · b7b2e07
audit: assert equal lengths before every ours-vs-oracle walk (68 sites)

The prefix-truncation false PASS: an ours-vs-oracle compare that walks
`got.iter().zip(want)` without first asserting equal lengths reports EXACT
for any defect outside the compared prefix, because zip stops at the shorter
operand. A frame-count assert says nothing about a plane's byte length.

Audited 124 sites across ec-av1/ec-h264/ec-h265/ec-vp9/ec-alac/ec-flac/
ec-aac/ec-ac3 and tools/oracle: 68 UNSAFE, 38 SAFE, 18 N/A. 68 fixed by
inserting the length assert AFTER the existing diff assert, on the same
buffers, so a real divergence still fails for the same reason with the same
message and only the previously-silent short-plane case becomes loud. The
canonical shape already in the tree is decode_all_frames_vs_oracle.

encode.rs::first_difference returned None ("exact") for any length
mismatch; it now returns Some, copying first_plane_mismatch. encode.rs's
nine `encoded.frames` vs ffmpeg loops and two GOP zips gained the count
assert they never had. ec-h264's round_trip rejected only an over-long
frame, so a short one zipped to zero and four call sites printed
"bit-exact".

Truthfulness: a comment above stream.rs:29006 claimed the gate compared
every decode-order frame when it compares the shown ones; the pinned-
scratch loop truncated a three-way .min() silently; a message called a
shown-frame count "decode-order"; two frame-count asserts were tautological
and are now a comment; examples/dump_yuv.rs wears a decode-index filename
on a display index.

Red/green per crate in lanes/av1cmpaudit.report.md. Not pushed.
ec-av1: 4:4:4 inter chroma units inherit their own quadrant's luma tx_typeAhmet Kaan Gümüş · dc2a1dd
ec-av1: 4:4:4 inter chroma units inherit their own quadrant's luma tx_type

The 64x64 four-unit chroma arm (ss 0/0, chroma_side > chroma_tx) handed all
four TX_32X32 units the block-level luma_tx_type -- the TOP-LEFT luma leaf's
coded type. libaom's av1_get_tx_type (blockd.h:1287-1297) instead reads the map
cell at the chroma unit's own position scaled back to luma, and a luma leaf
that coded nothing is stamped DCT_DCT there (decodetxb.c:199-203), so every
unit sitting over a skipped luma quadrant was reconstructed with the wrong
transform.

leaf_tx_types was only collected under , so at 64 it was empty and
there was nothing to resolve from; it is now collected at every size, both
copies of the arm resolve per quadrant through the shared
covering_leaf_tx_type (extracted from the three inline copies that already
existed -- one convention, not four), and two counters record the route and
the cases where the resolved type DIFFERS from the block-level one.

Witness pinned as fixtures/444_quad_leaf_tx_type.obu (27933 B, sha256
a06c9f7a0862252f6ab7ebdcec340d0602e730e38089365f14747db37f8e78d5): decode-order
frames 1/2/3 went from 777/640/554 wrong V samples to byte-exact, and the
per-unit type census against aomdec's EC_DQCOEFF goes from 4 disagreements to
0 of 136. Reverting only the per-quadrant resolve turns the new gate red on
frame 1 with 777 bytes differing.

The new gate asserts the DIFFERS count (8 on the witness), not the route count
(96) -- a route counter fired on the one block of an earlier no-op port that
changed zero pixels. A 4:2:0 control asserts both counters stay at 0.
docs(av1444rect): §8 RETRACTED and rewritten -- Agent00-2's first ablation never ran its 4e151813 arm, and the corrected 2x2 puts BOTH of their cells in this lane's classAhmet Kaan Gümüş · a654932
docs(av1444rect): §8 RETRACTED and rewritten -- Agent00-2's first ablation never ran its 4e151813 arm, and the corrected 2x2 puts BOTH of their cells in this lane's class

I published their four-arm ablation and relayed its conclusion to Main as
"independent; my fix does not reach those cells". That arm never ran:
git checkout -- <files> restores from the INDEX, the index still held both
cherry-picks, and cargo did not even relink on byte-identical sources. The
conclusion was a phantom. Struck.

Corrected 2x2 (git reset --hard 4155c7c7, verified rebuild with mtime printed
per arm, 4/4 decode-order frames vs aomdec): base DIVERGENT on both cells;
base+rung+4e151813 byte-identical to base on both; base+rung+f92776ba EXACT 4/4
on both; base+rung+both EXACT 4/4 on both. So both cells are this class,
f92776ba alone fixes them, 4e151813 contributes nothing (its two tu_reach
sites sit inside decode_rect4_16_strip's lossless_pair arm; both cells are
4:4:4 lossy on the else-if-skip path), and f92776ba has no prerequisite on
4155c7c7 so merge order is free. Red-before on both cells with the counter in
place: the (16,8) mutation gives sr444 76404 samples first wrong Y(192,0) --
the sweep's exact number -- and odd444_130x122 9203 samples first wrong
Y(100,32) on frame 3.

Scope therefore ENLARGES: two more witnesses of the class at geometries the
128x96 gate does not cover (130x122 partial-frame right edge; 256x128 with
CDEF+LR live on the last two frames).

Second method note added: git checkout -- <files> is not a tree reset. It
restores from the index, so a staged cherry-pick survives it and the arm
measures the tree you thought you removed. A per-arm ablation needs
git reset --hard <base> and a rebuild whose mtime is printed.
docs+ec-av1: lane-av1444rect r5 -- the counters document that they prove reach, not that the fix bites; the retraction derives its length from plane extentsAhmet Kaan Gümüş · 4b6247d
docs+ec-av1: lane-av1444rect r5 -- the counters document that they prove reach, not that the fix bites; the retraction derives its length from plane extents

Main's two notes, both taken.

1. Both route counters now say in their own doc comments that a non-zero
   count proves REACH and nothing more, and point at
   skill://ec-av1-pipeline-gate-counters: a counter needs a DIFFERS-style
   assertion to carry a claim. The intra-BC one is also recorded as
   deliberately armed OUTSIDE the own444 expression, so the mutation still
   increments it and the red lands on the pixel/entropy arm -- what carries
   the claim is the measured fork move (read 11750 -> 12465, luma first wrong
   164416 -> 205264, 455240 -> 390380) and the mutation, not the count.

2. The retraction's re-measurement wrote assert len(ours) == 2 * len(ref).
   That factor is a coincidence of 4:4:4 against 4:2:0 at the same geometry --
   it is the bits-per-sample ratio (our dump_yuv emits u16, the oracle's 8-bit
   dump is u8) and has nothing to do with chroma, so it is wrong at 4:2:2, at
   any high bit depth, or on any fixture where the two sides disagree on bit
   depth. The report now says to derive the expected byte length from the
   plane extents and the two bit depths and assert the oracle dump against
   that, never against a copied constant.

Also recorded in the method notes: the 636-vs-1086 chroma and 2052-vs-1309
luma unit-count asymmetry from the round-4 census is explicitly NOT claimed
as a defect, since luma is pixel-exact to 205264 and the surplus is most
likely a counting-shape difference (our var-tx leaves vs libaom's unit walk).
av1h5: shared mu_chunk_order helper, control pin, gate helpersAhmet Kaan Gümüş · 0bb7c3c
av1h5: shared mu_chunk_order helper, control pin, gate helpers

Folds the four copies of the chunk-major sort into one mu_chunk_order()
helper that also reports whether it permuted the list, so
mu_chunk_order_hits counts real reorderings rather than executions.
Pins the --max-partition-size=64 control stream and factors the pinned-
fixture read and the aomdec rawvideo comparison into read_pin() and
assert_rawvideo_matches().
av1h5: gate asserts exact structure, not a floor on wrong outputAhmet Kaan Gümüş · 032da64
av1h5: gate asserts exact structure, not a floor on wrong output

Main rejected the first-diff >= 90272 clause: it asserts our output is
still wrong and fails the moment the residual defect is fixed. Replaced
with four assertions that all stay true when the stream becomes exact:

  mu_chunk_order_hits()  == 5    -- counts blocks where the sort
                                    PERMUTED the list; a no-op reads 0
  mu_chunk_walks()       == 20   -- 4 mu chunks x 5 inter frames,
                                    libaom's own per-chunk count
  mu_chunk_walk_units()  == 7680 -- 1536 chroma TX_4X4 units per inter
                                    frame, the oracle's exact count
  control arm vs aomdec  byte-exact

The four arm sites now share one mu_chunk_order() helper instead of four
copies of the sort, and the two new counters are bumped in the 128-root
chroma walk. Report: residual demoted to OPEN, type/extent excluded by
Agent04-2's census on the pinned bytes, handed to Agent24-2.
docs(av1444rect): round 4 -- the intraBC 4:4:4 chroma root is not a token-order defect; the unit census rules it out and bounds what is leftAhmet Kaan Gümüş · cc3c8e3
docs(av1444rect): round 4 -- the intraBC 4:4:4 chroma root is not a token-order defect; the unit census rules it out and bounds what is left

Main asked for the unit count before any value-level chase, after Agent10-2's H5
turned out to be a 16x token-order blowup. Counted on the 1016 B witness
(one frame, ours via per-reader traces, oracle via EC_COEFF_STEP tag=all_zero
which is not skipped on eob=0 and so counts the same thing): 2688 unit reads
against the oracle's 2395; luma 1213 square + 839 rect against 1309; chroma
636 against 1086. Same range, no blowup -- the defect is NOT ordering. Second
lane to reach that conclusion about a 4:4:4 chroma fork.

Both originally-named candidates remain eliminated by measurement, so the
root is still unbounded and is handed back rather than patched blind.
lanes/av1tilerows: class sweep — 32 Reach::of_tu sites inventoriedAhmet Kaan Gümüş · 6a71455
lanes/av1tilerows: class sweep — 32 Reach::of_tu sites inventoried

Enumerates every production call site of tu_reach, tu_reach_rect and
Reach::of_tu (32; excluding the two wrapper bodies and three in mod tests).
27 are ss-aware, 4 are 4:2:2-only behind a guard that names ss_x==1 &&
ss_y==0 (refused by name at stream.rs:1749, unreachable at 4:4:4), and
ONE is a remaining hardcoded 4:2:0-shaped chroma footprint:
decode.rs:41930, `let luma_span = cu_tx * 2;` in the intra-in-inter
128-superblock mu-chunk chroma arm.

Three correct conventions exist and no fourth: the canonical ss shift
(17401, 17488, 35359), hoisted per-axis luma-span locals (11610, 20401,
20660, 21021, 21618, 42370, 42497), and four 4:4:4-gated identity
literals (22235, 22288, 42249, 44605) whose guard is load-bearing and
which are flagged as the sites that would break first if a 4:2:0/4:2:2
sibling arm were added beside them.

41930 is proven 4:4:4-reachable by a temporary env-gated counter (32 hits
at ss=(0,0) side=128 on a 4:4:4 lossy --sb-size=128 stream), and no
committed 4:4:4 fixture fires it (0 hits on 444_sb128rect_lr_witness,
444_leaf8_oob and all three ll444 pins) — the arm has no 4:4:4 coverage.

It is deliberately NOT patched here, for reasons recorded in the report:
  - every recipe that fires it is masked by the pre-existing H1 entropy
    fork (byte-identical between base 4155c7c7 and this tip), and A/B-ing
    `cu_tx << ss_x` against `cu_tx * 2` gives byte-identical output;
  - every pixel-exact 4:4:4 recipe refuses to fire it (0 fires across
    six variants with --enable-rect-partitions=0 / --enable-1to4-partitions=0);
  - luma_span is not the whole defect: per blockd.h:1372,
    av1_get_max_uv_txsize(BLOCK_128X128, 0, 0) is TX_64X64, not the
    TX_32X32 the comment assumes, so cu_tx and the per-chunk chroma origin
    are 4:2:0-shaped too. Patching only luma_span would be a half fix in
    an arm with no gate able to catch the difference.

Shipping an unvalidated change into a zero-coverage path is the failure
mode this repo keeps fighting, so the site is documented and handed to the
H1 lane with the repair shape (cu_tx = 32 << ss_x, luma_span = cu_tx <<
ss_x) and the 4:2:0 identity argument (32 << 1 == 32 * 2 == 64) that makes
the eventual repair a provable no-op for the only covered format.

The temporary counter is removed: grep -c EC_TMP_SB128CHROMA is 0 at HEAD
and git status is clean against the lane commit.
av1h5: read a 128 root's tokens CHUNK-major, not block-rasterAhmet Kaan Gümüş · f93609f
av1h5: read a 128 root's tokens CHUNK-major, not block-raster

libaom's decode_token_recon_block (decodeframe.c:972) walks 64x64 mu
chunks with the PLANE loop INSIDE the chunk loop. The var-tx leaf list
is a BLOCK-wide raster, so a chunk's members are not contiguous: leaf
0..15 is chunk (0,0) row 0, but chunk (0,0) rows 1..15 are leaves
32..47, 64..79, ... The chunk test on the given order therefore closed
the chunk every SIXTEEN leaves and coded each chunk's chroma sixteen
times -- 64 chroma walks per 128 root where libaom codes 4, and 24576
chroma units per inter frame against the oracle's 1536.

Reorder the leaf walk chunk-major at side > 64 (a no-op below 64, where
a block IS one chunk) at all four sites carrying this test: the 128x128
inter arm, the 128x64/64x128 inter arm, and the two intra arms.

Measured on the pinned 128x96 yuv444p10le lossless 10-bit stream
(sha256 bbffb979..., 63429 B), against aomdec:
  chroma walks per frame   64 -> 4
  chroma units per frame   24576 -> 1536 (oracle: 1536, exact)
  first ctx divergence      unit 1539 -> unit 2573
  first differing pixel     byte 74769 -> byte 90272

Control arm (--max-partition-size=64, no 128 root) stays byte-exact.
New gate a_lossless_444_128_root_lossless_stream_reads_chunks_chunk_major
pins the route (mu_chunk_order_hits) and the first-difference position;
mutating the chunk key back to the block raster turns it red.
ec-av1: lane-av1444rect r3 -- drop the intra-BC prefix-floor assert; it encoded a defect as expected behaviourAhmet Kaan Gümüş · 1d86151
ec-av1: lane-av1444rect r3 -- drop the intra-BC prefix-floor assert; it encoded a defect as expected behaviour

Main's push-back, accepted. The gate asserted our luma plane is byte-exact
to sample 205264, i.e. that our output is wrong by exactly N past that point.
That is a defect encoded as expected behaviour, the shape this suite refuses
everywhere else, and it would outlive the memory of why. Removed.

What the gate asserts now are only true statements: intrabc_rect4_own_chroma444_hits()
is non-zero on the 4:4:4 witness (18) and zero on the 4:2:0 twin, and the
4:2:0 twin is byte-exact through decode_all_frames_vs_oracle (which asserts
frame length before comparing). The open chroma divergence is named in a
comment and in the test's output line -- 390380/921600 wrong, U and V both
first wrong at index 20532, entropy fork read 12465 at mi (90,108) -- and
never asserted.

Also removed the temporary per-unit coefficient traces used to localize it.
ec-av1: lane-av1444rect r2 -- the same class, second instance, in the intra-BC 1:4 strip; plus an H3 retractionAhmet Kaan Gümüş · 2bcb6de
ec-av1: lane-av1444rect r2 -- the same class, second instance, in the intra-BC 1:4 strip; plus an H3 retraction

RETRACTION. My previous report said the 4:4:4 lossless + tile-columns stream
(77847 B, sha256 87b0d1a5...) was "byte-exact 6/6". It is not, and the claim
is withdrawn. My throwaway compare script carried the H1 fixture's 128x96
geometry, so it zipped our first 36864 samples against the oracle's 98304-byte
dump -- zip truncates to the shorter operand, making it a PREFIX compare, and
the divergence at x >= 108 fell outside the window. Re-measured with the right
geometry: 63-162 wrong chroma samples in every frame, first at U(110,26),
luma exact. H3 is OPEN and belongs to Agent142-2; no H3 gate is pinned here.
The crate's own decode_all_frames_vs_oracle asserts frame length before
comparing, which is why the committed gates were never exposed to this.

THE CLASS, SECOND INSTANCE. decode_rect4_16_intrabc applied the 4:2:0 pair
geometry at every ss: (pw, ph) = (16,8)/(8,16), pair_mi = lmi - 1, cpx =
pair_mi * MI / 2. At ss (0,0) is_chroma_reference makes an intra-BC 1:4
strip its own chroma reference, so libaom codes a 16x4 chroma block at the
strip's own origin, not an 8x4 a quarter of the way off.

It is LIVE, not latent: a testsrc2 640x480 --tune-content=screen
--enable-intrabc=1 --enable-palette=1 --cq-level=60 stream (1016 B, sha256
7fe888ed..., 17 intrabc 16x4 strips at ss (0,0)) diverges 455240/921600 with
the entropy fork at read 11750. --enable-intrabc=0 is byte-exact and the
4:2:0 twin is byte-exact.

One own444 = ss_x == 0 && ss_y == 0 gate on (pw, ph), (cw, ch), pair_mi and
(cpx, cpy); 4:2:0 and 4:2:2 keep every constant verbatim. Measured per
plane: the luma first-wrong sample moves 164416 -> 205264 and the entropy
fork 11750 -> 12465, but both chroma planes still first diverge at 20532 and
390380 of 921600 samples are still wrong.

This is a PARTIAL improvement and is committed as one: no exactness is
claimed, and the gate is a progress gate, not an exactness gate. It pins both
fixtures, requires intrabc_rect4_own_chroma444_hits() > 0 (18 on the 4:4:4
witness, 0 on the 4:2:0 twin, armed outside the mutated expression so the
mutation fails on the pixel arm), compares the 4:2:0 twin byte-for-byte
through the length-asserting helper, and asserts the 4:4:4 LUMA plane is
byte-exact to sample 205264 -- a floor that only grows, so the next lane's
fix cannot turn it red. The untouched chroma divergence is named, never
asserted exact. Mutation: own444 = false turns it red at 164416.

Handed on: the remaining 4:4:4 intra-BC divergence is in CHROMA, first at
U/V index 20532 (x=52, y=32), entropy fork read 12465 at mi (90,108), not
yet localized to a line.

Identity on this tip: the crate's 444 family (10), intrabc (20), rect_strip
(10), 1to4 (11) and the 16-level rect-leaf gate, plus all three new
chroma-format-sweep gates run in ~/.cache/wt/av1fmt against this decode.rs.
docs(av1formatsweep): round 4 -- close the not-measured list; the 4:4:4 lossless class is neither tile- nor depth-specificAhmet Kaan Gümüş · ce89686
docs(av1formatsweep): round 4 -- close the not-measured list; the 4:4:4 lossless class is neither tile- nor depth-specific
ec-av1: lane-av1444rect -- a 1:4 inter strip's chroma context was gathered at the 4:2:0 pair extent at ss (0,0), forking the coder (H1)Ahmet Kaan Gümüş · 9470822
ec-av1: lane-av1444rect -- a 1:4 inter strip's chroma context was gathered at the 4:2:0 pair extent at ss (0,0), forking the coder (H1)

At 4:4:4 `is_chroma_reference` (av1_common_int.h:1454) reduces both parity
clauses to `!subsampling_y` / `!subsampling_x`, so EVERY block is its own
chroma reference and no 1:4 pair exists. `decode_inter_block`'s `around_c`
never gated on ss, so a HORZ_4 16x4 strip read its chroma coefficient
context over the 4:2:0 pair extent (16x8 luma = left[mi_r] and
left[mi_r+1]) instead of its own 4-px one. The U unit's `get_txb_ctx` then
saw a left neighbour libaom does not have and forked the arithmetic coder.

The 4:4:4 lossy + RECT cell -- the largest correctness gap the chroma-format
sweep left (lanes/av1formatsweep.report.md H1) -- had NO exactness gate at
all: the whole committed 4:4:4 base is lossless 8-bit.

Witness: testsrc2 128x96 rate=25 yuv444p, aomenc --profile=1 --passes=1
--end-usage=q --cq-level=20 --cpu-used=2 --threads=1 --row-mt=0
--lag-in-frames=0 --kf-max-dist=100 --limit=2, 6441 B, sha256 77f727e7...
Red before: frame 1, 8884/36864 samples wrong, first at Y(91,32); the first
wrong symbol was read 26263, both sides at mi (8,16) -- ours a luma-shaped
txb_skip row (re-indexed chroma ctx 1), the oracle decodetxb.c:158 on the U
plane with txb_skip_ctx 7. Green after: 2/2 frames byte-exact vs aomdec.

Gate `a_444_lossy_rect4_inter_stream_decodes_pixel_exact` pins the fixture
(len + FNV), asserts the ss (0,0) full-resolution chroma shape, the
byte-exact compare through the oracle aomdec, and non-vacuity on the
corrected route via `rect4_inter_own_chroma444_hits` (9 gathers here, 0 on
the 4:2:0 control, which also carries 16 HORZ_4 / 28 VERT_4 strips and is
itself compared byte-for-byte so a widening past ss_x 0 goes red).
Mutation proof: restoring the old arm with the counter left in place turns
the gate red at byte 4187 (ours 35 vs 38), 8884 bytes differing.

Identity: the crate's whole 444 family (9), rect_strip family (10), the
16-level rect-leaf gate, and all three new chroma-format-sweep gates
(444 lossless 10-bit, 444 12-bit, odd coded dimensions) run green against
this decode.rs. H2 (4:4:4 lossy tx-size-search chroma +/-1, 608/36864 from
frame 2) is unchanged and still divergent -- it is reconstruction
arithmetic, not entropy, and belongs to its own lane. H3's tile-column
recipe (77847 B, 6 frames) is byte-exact here.
ec-av1: ss-aware chroma reach in the lossless 16x4/4x16 pair walkAhmet Kaan Gümüş · eb65242
ec-av1: ss-aware chroma reach in the lossless 16x4/4x16 pair walk

The sweep's H4 ("4:4:4 lossless + --tile-rows=1, frame 3 onward the plane
goes flat") is not a tile defect. Two measured corrections:

  - `--tile-rows=1` at 256x128 is a no-op: aomenc's default superblock is
    128px, so 256x128 is 2x1 superblocks with no second superblock row to
    split, and the "tiled" stream is byte-identical to the untiled one.
    Tile rows at 4:4:4 lossless are exact at 1, 2 and 4 rows, both axes,
    on four geometries.
  - the "flat plane from frame 3" signature is a decode-order vs
    display-order mismatch in the measurement itself: aomdec dumps 7
    frames in decode order, ffmpeg emits 6 in display order, and
    aomdec-vs-ffmpeg alone reproduces the identical damage with no edith
    decoder in the loop.

The defect behind it is real and tile-INDEPENDENT (it reproduces on the
zero-tile stream). The lossless 16x4/4x16 chroma-pair walk passed
`tu_reach` a hardcoded 4:2:0 luma footprint (`ox * 2, oy * 2, 8`); at
4:4:4 a 4x4 chroma unit is 4x4 luma, so the footprint is doubled and
`Reach::of_tu`'s `col_off + tx_w < bw` test answers against a block twice
its real width -- every unit past the midpoint wrongly reports
`above_right = false` and a directional chroma strip predicts from a
neighbour libaom never reads. Patched to the ss-aware form already used
by the block-walk sibling at decode.rs:35342; the 4:2:0 answer is
unchanged because `<< 1` is `* 2`.

Measured site: testsrc2 256x128 yuv444p, `--profile=1 --lossless=1
--cpu-used=2 --lag-in-frames=0 --kf-max-dist=100 --limit=6`, first wrong
sample U(110,26) (ours 8, ref 7), 63 samples wrong per frame (U 29 + V
34, deltas -10..+13) on the key frame and all five inter frames. Entropy
is bit-identical: 351109 EC_SYMR reads compared on both sides with the
CDF convention reconciled, zero divergence -- reconstruction, not a fork.

Gate `a_lossless_444_rect16x4_chroma_reach_is_ss_aware` pins the fixture
(77918 bytes, sha256 382e67c0cc0988d14c500a62f5c3457a3f3b5f76d05acce2f655b1089bb8e7e3),
asserts the header really is ss (0,0)/8-bit/256x128, requires
rect4_16_lossless_chroma_hits to fire (80 on this fixture, 0 for a 4:2:0
stream of the same content), and compares every frame against aomdec in
decode order and ffmpeg in display order. Reverting the two calls turns
it red at byte 39534 -- U(110,26), the measured site.

Identity: 10/10 a_lossless, 9/9 444, 3/3 tile gates, and the sweep's 3
new gates all green.

Not fixed here, handed to the H1 lane: 512x128 --lossless=1 --cpu-used=2
(130708 wrong by frame 5) also forks entropy (459866 oracle reads vs
369136 ours) and is unchanged by this fix.
docs(av1formatsweep): round 3 — H2's frame-edge localization retracted, H3's crop/store refutedAhmet Kaan Gümüş · b2e8c4f
docs(av1formatsweep): round 3 — H2's frame-edge localization retracted, H3's crop/store refuted

H2: the round-2 'frame-edge partial block row' localization is WRONG and is
retracted. A 128x128 control with whole 64x64 blocks and no partial row or
column reproduces the defect (V chroma ±1, 777 samples, from frame 1, luma
exact); 160x96 and 96x96 reproduce it too. Neither the unit_height /
ROUND_POWER_OF_TWO clamp at ss 0 nor the above/left edge reach survives: a
wrong clamp would change the unit count, which the bit-identical 140820-symbol
entropy trace already excludes, and the errors appear mid-block. What
survives: 4:4:4 lossy inter with tx size search ON, chroma only, always ±1,
luma always exact, entropy bit-identical, pre-filter, and exact again with
--enable-tx-size-search=0 on every geometry. Next step named: one affected
32x32 chroma unit, ours EC_DQCOEFF vs the oracle's EC_COEFF_VAL, which splits
dequant from inverse transform.

H3: the output/crop and reference-store candidates are refuted. The
EC_AV1_FINAL_DUMP rung — the picture as handed to the reference slots — shows
the SAME 90 wrong chroma samples in frame 0 against the oracle's rung 12, with
frames 1-2 exact. The error is the key frame's own lossless chroma
reconstruction; it does not propagate because those samples are never
predicted from, not because the path is healthy.

H2 and H3 still do not reduce: lossy 32x32 unit (needs tx search) vs lossless
per-4x4 unit. Also records the parallel lane's landed sha 83b6af97.
lane-av1leftref: read the LEFT chroma reference one mi row down at ss_y=1Ahmet Kaan Gümüş · c52da7e
lane-av1leftref: read the LEFT chroma reference one mi row down at ss_y=1

libaom's set_mi_row_col puts chroma_left_mi at base_mi[ss_y * mi_stride - 1],
one mi row DOWN at 4:2:0 and 4:4:0 and on its own row at 4:2:2 and 4:4:4
(av1/common/av1_common_int.h:1395-1401). This read its own row at every
subsampling; the above COLUMN's +ss_x term had already landed
(a9611ea2/4b9c4cd8) and this is its counterpart on the left read.

4:2:2 and 4:4:4 are a no-op by construction (ss_y == 0). 4:2:0 and 4:4:0 move
one mi row down.

smooth_uv_neighbour_unsnapped gains ss_y and a decode_path flag: the 16x4/4x16
pair witness calls it as a counter-only mirror at an ODD mi row, and counting
that mirror's flips is what made the shape look reachable (50 "hits" on
reelb_kf900) when no committed fixture reaches it on a decode path (0).

Counters: uv_left_ss_y_reads (22292 on reelb_kf900) proves the arm is live;
uv_left_ss_y_mode_diff_hits / _smooth_diff_hits compare libaom's cell against
the pre-lane own-row cell and read 0 on every committed fixture and ~1000 swept
encodes, so the change is a proven no-op on today's material.

Gate: a_4to20_key_frame_takes_the_left_chroma_reference_read_its_libaom_row --
all THREE planes vs ffmpeg, not luma alone, because a chroma edge-filter type
moving is invisible to a luma-only assertion.

Report: lanes/av1leftref.report.md, including why the shape is structurally
absent (uv_mode_grid runs down a left mi column are always even length: libaom
only starts a block on an odd mi row with an 8-px strip, and the 4-px HORZ_4
strips aomenc does pick all land inside one mi row), and why this gate does NOT
discriminate: both reads agree everywhere measured.
docs(av1formatsweep): round 2 on H2/H3 — both pre-filter, and not one defectAhmet Kaan Gümüş · 989dfce
docs(av1formatsweep): round 2 on H2/H3 — both pre-filter, and not one defect

Exoneration first: EC_AV1_PREFILT_DUMP on both sides shows H2's 847 wrong
chroma samples in frame 2 and H3's 90 wrong key-frame samples are already
there BEFORE deblock, CDEF and LR, with luma exact in both. The filter chain
is off the table for both.

H2: the oracle's per-unit census (EC_COEFF) shows every chroma unit in the
stream is tx_size=3 (TX_32X32), so the av1_get_adjusted_tx_size clamp the
first suspect named is already applied correctly on both sides
(decode_inter_block's 4:4:4 arm computes if side >= 64 { 32 }) — and there is
no chroma unit at mi_row 8 at all. The wrong pixels are exactly the left
column of chroma units of the frame-edge PARTIAL block row (96-high frame,
64 blocks: the second row has 32 real luma rows, so its chroma band is 32
rows at ss 0/0 where 4:2:0 would give 16). Remaining candidates: that partial
block's unit_height / ROUND_POWER_OF_TWO clamp at ss 0, and its above/left
prediction reach.

H3: frames 1-5 are byte-exact although they predict from the wrong key frame,
so the wrong samples are never read as a prediction source — that points at
the key frame's chroma output/crop or reference-store path, not at
reconstruction arithmetic every frame shares. H2 and H3 share a stage and a
plane, not a root: no single fix claimed.

Also renames the matrix cell to 'even, not a multiple of 8' and states
plainly that the odd-luma-dimension cell is neither gateable nor refutable
from an aomenc recipe (aomenc rounds the coded size down to even), and adds
the declared-debt line for gates B and C.