forge
Explore
Log in

Don't you dare go Hollow

lanes: record merge-side follow-ups for av1txrouting (merge 10e3b8d1)

Browse files at this commit

dcbe6ffca77157ba26b5a555d8369ce52cfd96f6Ahmet Kaan GümüşParent: f3428f0
Parents 92e5ec48 + 8d8413f0; three conflict hunks resolved by combining both
lineages (decode.rs read_intra_mode_sub8's return type plus mono's has_chroma
fold; both per-frame setters in decode_frame; the lane's two gates ahead of
mono's witness with the pilot pin dropped). Records the two-way content-line
equivalence proof, the merged-tree gates (0 warnings; 598 passed / 0 failed /
60 ignored, 6708 s), the six behavior probes (including the pilot 10-bit
sha256), the kept instruments and the next-lane tripwires on the non-4:2:0 and
qmatrix refusal pins.
lanes/av1txrouting.report.mdmodified+86 -0
@@ -541,3 +541,89 @@ if header.quantization.using_qmatrix {
541541 Unchanged from §9.7. This round closes the census hole; the warped key-frame
542542 tx-depth context (§9.4) and the 1:4-rect-strip intrabc (lane 3) are still open.
543543
544+## MERGE-SIDE FOLLOW-UPS (merge 10e3b8d1, 2026-09-20)
545+
546+**Merge commit.** `10e3b8d1`, parents `92e5ec48` + `8d8413f0` — a real
547+`--no-ff` merge, not a fast-forward. Main had absorbed `lane-av1-mono`
548+(7806fd0d) and `lane-av1-hdr` (e03f7173) since this lane's base `0cfb9af5`,
549+both also touching `stream.rs`.
550+
551+**Create-list audit.** Exactly seven paths: the six `crates/ec-av1/` files the
552+lane's own diffstat listed plus `lanes/av1txrouting.report.md` (new). No junk,
553+no duplicate file, no fixture.
554+
555+**Conflicts (3 hunks) and their resolution — combined, never a side.**
556+
557+- `decode.rs` `read_intra_mode_sub8`: the lane's return type (its third value
558+ carries the intrabc DV) **plus** mono's `has_chroma && !mono(fctx)` fold.
559+ Ours' side of the hunk carried the pre-lane signature line, so a naive
560+ concatenation leaves two `-> Result<...>` lines; the duplicate was deleted.
561+- `stream.rs` `decode_frame`: additive — **both** per-frame setters kept
562+ (mono's `set_mono`, then the lane's `set_disable_cdf_update`).
563+- `stream.rs` tests: the lane's `a_non_420_...` and
564+ `a_frame_using_quantisation_matrices_...` gates land ahead of mono's
565+ witness; the pilot's monochrome pin stays dropped in favour of
566+ `a_real_libaom_monochrome_key_frame_decodes_pixel_exact`, and the pin's doc
567+ header was dropped with it. A scripted combine first placed the lane's two
568+ tests **between** mono's doc header and its body (a doc block attached to
569+ the wrong item with zero conflict markers); the resolved region was read as
570+ a structure, not marker-grepped, and the header moved back above its body.
571+
572+**Two-way content proof.** Filtering hunk headers/context and comparing only
573+added/removed lines: the staged tree's delta vs main equals the lane's own
574+delta line-for-line (787 insertions / 64 deletions, identical per-file counts)
575+and its delta vs the lane equals main's delta (651/94). Marker grep on all six
576+resolved files: none.
577+
578+**Merged-tree gates** (`CARGO_TARGET_DIR=$HOME/.cache/cargo-target-av1txrmerge`,
579+`TMPDIR=$HOME/.cache/tmp-av1txrmerge`):
580+
581+- `cargo check -p ec-av1 --all-targets` — **0 warnings** (forced re-check).
582+- `cargo test -p ec-av1 --lib -- --nocapture` — literal line:
583+ `test result: ok. 598 passed; 0 failed; 60 ignored; 0 measured; 0 filtered
584+ out; finished in 6708.37s`. The count is `594` (main after av1hdr) + the
585+ lane's **four** tests (three in `stream.rs`, `msac::tests::
586+ a_reader_told_not_to_adapt_matches_a_non_adapting_writer`) = 598; the
587+ charter's 596-597 estimate was low by the msac unit test. `598 + 60 = 658`
588+ total. The pin `a_real_libaom_monochrome_key_frame_is_refused_by_name` is
589+ absent from the run.
590+- Gate evidence inside that run: monochrome *"4:2:0 twin 60 frames,
591+ monochrome 60 frames byte-exact vs ffmpeg"*; qmatrix *"qm-off control 3
592+ frames, qm-on refused by name"*; cdf *"3 disable_cdf_update frame headers,
593+ all frames sample-exact"*; the mixed-lossless witness's 3 arms each
594+ *"1 mixed frame(s), refused by name"*; the guard-arm enumeration test ok.
595+
596+**Behavior probes on the merged tree** (built `decode_probe` from the merged
597+tree, private target dir; all six PASS): gray 60-frame key frame luma
598+byte-exact (4,608,000 B); `av1-monochrome.ivf` remuxed to OBU, 60 frames luma
599+byte-exact; `av1-profile1-444.ivf` refused by name (`a chroma format other than
600+4:2:0`); an `aomenc --enable-qm=0` control decodes byte-exact while
601+`--enable-qm=1` refuses by name (`a frame using quantisation matrices`); an
602+`aomenc --cdf-update-mode=0` stream carries `disable_cdf=true` on every frame
603+header and is byte-exact vs ffmpeg; `hbd-r5/reelb.obu` (3840x1608, 72 shown
604+frames) `EC_PROBE_OUT16` sha256
605+`d7214bb733b4a6ca2d946d0fcb4849691191b694164383db110a4d9183436784` /
606+1,333,739,520 B — the pilot hash, unchanged.
607+
608+**Report's own suite-count audit.** §9.6/§10.3 deliberately deferred the full
609+suite to the verifier and quoted scoped runs only, so there is no truncated
610+total to correct. The suite ran to completion here (above).
611+
612+**Cleanup.** Worktree `edith_codecs-av1txr` removed (branch `lane-av1-txrouting`
613+kept at `8d8413f0`); `$HOME/.cache/cargo-target-av1txrmerge*` and
614+`$HOME/.cache/tmp-av1txrmerge` removed.
615+
616+**Kept instruments** (the next lane's tools, not deleted): `EC_TRACE_MODE_STEP`
617+ladder + the per-feature counters the probe prints, `EC_PROBE_OUT8/16`,
618+`EC_PROBE_HDR`, the instrumented oracle at `$HOME/.cache/aom-oracle/build/`.
619+
620+**Tripwires for the next lane.** Three refusal pins now sit on main and each
621+must be flipped to a witness by the lane that lands the capability:
622+`a_non_420_subsampled_sequence_header_is_refused_by_name` (chroma extents other
623+than 4:2:0) and `a_frame_using_quantisation_matrices_is_refused_by_name` (QM
624+dequantisation) — the latter's panic message already says *"flip this gate to a
625+witness"* when a qm stream decodes. `a_real_aomenc_stream_with_cdf_update_disabled_decodes_pixel_exact`
626+is already the witness, not a pin. Open by this report's own §9.4/§9.7: the
627+key-frame tx-depth context read through the TXFM bands (warped) and the
628+1:4-rect-strip intrabc (lane 3), plus the mixed-leaf var-tx refusal that
629+`allintra0` now stops at.