From e03cd90f9eb6a48e52d174f33649ddd939b2e533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Tue, 29 Sep 2026 16:16:13 +0300 Subject: [PATCH] lanes: wave-3e report -- pins5 and txsizeaudit merged, chromahalvings held 7ec417ad merges lane-av1pins5 (e1f78b8e), 5f39325d merges lane-av1txsizeaudit-r5 (c0727d64). Both predicted clean by merge-tree and both clean in fact; cargo check 0 warnings after each; the four guard families read 18/0, 20/0, 2/0, 3/0 on the merged tree with sources touched first. Shape checks: each merge's diff against its first parent is byte-identical to the branch delta, and the per-file removal counts match the branch one-for-one. Recorded: the ref `lane-av1txsizeaudit` points at dc80b6fa, a divergent pre-rebase line 67 files and -13617 lines away, not at the merged c0727d64 -- merging it by name would have conflicted and landed an ancient decode.rs. The sha was merged instead. lane-chromahalvings is held: 69e80133 says "none fixed here" and is five merges stale. decode_intrabc_owned_rect's bw/2, bh/2 region was left untouched for its witness. --- lanes/av1merge-wave3e.report.md | 254 ++++++++++++++++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100644 lanes/av1merge-wave3e.report.md diff --git a/lanes/av1merge-wave3e.report.md b/lanes/av1merge-wave3e.report.md new file mode 100644 index 00000000..a56ac75b --- /dev/null +++ b/lanes/av1merge-wave3e.report.md @@ -0,0 +1,254 @@ +# Merge wave 3e — pins5, txsizeaudit (chromahalvings HELD) + +Integration owner run. Pre-wave `main` = `ec4e9528` (wave-3d, section 8). +Nothing pushed. Lane-private `CARGO_TARGET_DIR=/home/user/.cache/tgt/merge3e`, +`EC_NOMEMGUARD=1` on every invocation. + +## 1. Per-branch table + +| # | branch | merge-base | tip merged | merge commit | merge-tree | conflicts | `cargo check -p ec-av1 --all-targets` | +|---|---|---|---|---|---|---|---| +| 1 | `lane-av1pins5` | `ec4e9528` (== pre-wave main) | `e1f78b8e` | `7ec417ad` | clean (`dab8a3a8`) | none | Finished, 0 warnings | +| 2 | `lane-av1txsizeaudit-r5` | `ec4e9528` | `c0727d64` | `5f39325d` | clean (`399797dc`) | none | Finished, 0 warnings | +| 3 | `lane-chromahalvings` | `f33b9d41` (wave-3c-b, **stale**) | `69e80133` | — | — | — | — | +| — | `lane-chromahalvings-r3` | — | `149b2ad8` | already an ancestor of `main` | — | — | — | + +Branch 3 is HELD: `69e80133`'s own message is "4 sites wrong at 4:4:4, all +reachable, **none fixed here**" — the fix Main is waiting on from Agent12-2 +(`decode_intrabc_owned_rect`'s extent plus its ten `px/2, py/2` prediction +origins, with a gate separating the two halves) is not on the branch yet. Its +base is also five merges behind, so it needs a re-rebase before it is a merge +candidate at all. `lane-chromahalvings-r3` is already in `main` +(`git merge-base main lane-chromahalvings-r3` == its own tip), so there is +nothing to fetch from it. + +## 2. Conflicts and how each was resolved + +**Zero conflicts in both merges.** Both `git merge-tree --write-tree` +predictions returned a bare tree id with no conflict list, and both real +`--no-ff` merges auto-resolved with zero hunks (`Auto-merging` on +`stream.rs` for #2, no `CONFLICT` line). + +The `stream.rs` contention Main predicted for merge #2 did not materialise: the +branch's `stream.rs` delta is +192 and 0 removals, appended in a region pins5 +does not touch, and pins5's own `stream.rs` delta is +98/−8 in a different +region. Both survive: + +``` +$ grep -c frame_count_diagnosis crates/ec-av1/src/stream.rs # pins5 +4 +$ grep -c ENCODED_FRAMES crates/ec-av1/src/stream.rs # pins5 +4 +$ git diff 7ec417ad 5f39325d -- crates/ec-av1/src/gate_coverage.rs | wc -l # pins5's +779 file +0 +``` + +Because a clean auto-merge is not evidence of a clean merge, `cargo check -p +ec-av1 --all-targets` ran after EACH merge with `src/lib.rs` touched first so +the check could not serve a cache. Both `Finished`, 0 warnings. + +`decode_intrabc_owned_rect`'s `bw/2, bh/2` line was **not** pre-resolved. The +txsizeaudit delta is 305 lines in `suppress_internal_lf_edges` and the +intra-in-inter walk; neither its hunks nor `merge-tree` put a hunk near that +line, and the region is untouched in the merged tree — left free for +`lane-chromahalvings`' witness to land on. + +## 3. Shape checks (the two failure modes Main named) + +**Foreign files.** For each merge, the diff against the first parent was +compared byte-for-byte against the branch's own delta, not read: + +``` +$ git diff ec4e9528 7ec417ad > /tmp/3e_merge.diff +$ git diff ec4e9528 e1f78b8e > /tmp/3e_branch.diff +$ cmp /tmp/3e_merge.diff /tmp/3e_branch.diff +IDENTICAL -- no silent line restoration, no foreign file + crates/ec-av1/src/gate_coverage.rs | 779 +++++++++++++++++++++++++++++ + crates/ec-av1/src/stream.rs | 98 ++++- + lanes/av1pins.report.md | 512 ++++++++++++++++++++++++++++++ + 3 files changed, 1381 insertions(+), 8 deletions(-) +``` + +``` +$ git diff --stat 7ec417ad 5f39325d + crates/ec-av1/examples/decode_probe.rs | 5 + + crates/ec-av1/src/decode.rs | 305 ++++++--- + crates/ec-av1/src/refusal_inventory.rs | 66 ++ + crates/ec-av1/src/stream.rs | 192 ++++++ + lanes/av1ibc128arm.report.md | 196 ++++++ + lanes/av1tilerows.report.md | 38 +- + lanes/av1txsizeaudit.report.md | 1097 ++++++++++++++++++++++++++++ + 7 files changed, 1796 insertions(+), 103 deletions(-) +``` + +**Exactly** the declared set: 7 files, 1796 insertions, 103 deletions. The two +foreign reports (`av1ibc128arm.report.md` +196, `av1tilerows.report.md` ±38) +are inside the declared scope, as Main stated — `av1ibc128arm`'s because the +intra-in-inter fix `4bfe8d8e` has never been merged and lands with this branch; +`av1tilerows.report.md`'s because its 38 lines are that lane's own edit, not a +swallowed file. + +**Silent line restoration.** Removal counts, per hot file, merge against +branch: + +| file | merge `grep -c '^-[^-]'` | branch | verdict | +|---|---|---|---| +| `gate_coverage.rs` (merge #1) | 0 | 0 | match | +| `stream.rs` (merge #1) | 8 | 8 | match | +| `decode.rs` (merge #2) | 97 | 97 | match | +| `stream.rs` (merge #2) | 0 | 0 | match | +| `refusal_inventory.rs` (merge #2) | 0 | 0 | match | + +No region where the merge removed fewer lines than the branch intended. The 97 +`decode.rs` removals are the branch's own: the collapsed 4:2:0 arm +(`luma_span = cu_tx * 2`, `cu_around = neighbours.around_mi(...)`, the +`tu_reach` argument list) plus the `4bfe8d8e` intra-in-inter fix. The two +diffs are not byte-identical for merge #2, and the difference is entirely hunk +ordering and context, because the first parent now carries pins5's `stream.rs` +and `gate_coverage.rs`; the `--stat` and the per-file removal counts above are +the shape evidence. + +## 4. A ref hazard found and NOT walked into + +`lane-av1txsizeaudit` — the ref name — does **not** point at the re-verified +work: + +``` +$ git for-each-ref --format='%(refname:short) %(objectname:short)' | grep txsizeaudit +lane-av1txsizeaudit dc80b6fa +lane-av1txsizeaudit-r5 c0727d64 +``` + +`dc80b6fa` is not a descendant of `c0727d64`; it is a whole history line behind, +based on `9b2f6c9d`, and `git diff c0727d64..dc80b6fa` is **67 files, ++627/−13617** — it deletes every committed pin fixture. Merging the ref NAME +would have produced an add/add conflict in +`lanes/av1txsizeaudit.report.md` and landed an ancient `decode.rs`: + +``` +$ git merge-tree --write-tree --name-only main dc80b6fa +8422378dac55a358d6e8150178c228f9c936fe65 +lanes/av1txsizeaudit.report.md +CONFLICT (add/add): Merge conflict in lanes/av1txsizeaudit.report.md +``` + +The worktree `~/.cache/wt/av1txsizeaudit` is checked out on +`lane-av1txsizeaudit-r5` at `c0727d64`, so the tip in the worktree and the tip +in the ref disagree. I merged the **sha** after checking both. Reported to Main; +the ref wants repointing or deleting before any later wave merges it by name. + +## 5. Branch 1 — `lane-av1pins5` + +Five new CI tests, one gate fix at `stream.rs:3895`, the misattributed-red +diagnosis in all three `ffmpeg_decode_sequence*` helpers, the generalised +count-vacuity guard, and the 43-row ledger. + +Guard families on the merged tree, `gate_coverage.rs` / `stream.rs` / +`refusal_inventory.rs` touched first because all four read compile-time sources: + +``` +$ cargo test -p ec-av1 --lib -- gate_coverage +test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 742 filtered out +$ cargo test -p ec-av1 --lib -- refusal_inventory +test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 741 filtered out +$ cargo test -p ec-av1 --lib -- count_vacuity +test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 758 filtered out +$ cargo test -p ec-av1 --lib -- pin_inventory +test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 757 filtered out +``` + +18 / 19 / 2 / 3 — the author's four modules, reproduced on the merged tree. + +The sweep reads the numbers Main flagged, and a reviewer comparing totals should +read the second one: + +``` +$ cargo test -p ec-av1 --lib -- count_vacuity --nocapture +count-vacuity sweep: 60 site(s); 17 spec-pinned by a prior assert, 43 not +``` + +60 grand total (down from 61, one site main made spec-pinned), **43 not +spec-pinned**, against the guard's unpinned ceiling 43 and total floor 40. The +43 rows are disposed `deferred(needs a lane that classifies by READING each +gate)` — carried forward, not closed here. + +## 6. Branch 2 — `lane-av1txsizeaudit-r5` + +Dispositions kept as declared: + +- **C1 landed** — `suppress_internal_lf_edges` publishes the skipped 128 root's + own per-axis chroma extent, `((w_mi * MI) >> ss_x(fctx))` / + `((h_mi * MI) >> ss_y(fctx))`, replacing the hardcoded `/2`. No observable + effect: the widening is defeated by the spec-7.14.2 `skip_at` term and the + method is only ever called for an already-skipped block, so the masking is + total. That is precisely why it is pinned by a source scan and not by pixels. +- **C2 NOT landed** — 4:2:2-only, refused by name at the sequence header, and + an ungated change to a 4:2:2 path is the hazard `EC_AV1_ALLOW_422_PROBE` + exists to prevent. +- **Classifiers unchanged** — 50 `around_mi(` sites, 49 correct, 1 instance, + 0 new. + +Both newly-landed gates run green with the oracle forced on: + +``` +$ EC_AV1_REQUIRE_AOMENC=1 cargo test -p ec-av1 --lib -- \ + a_real_aomenc_444_intra_in_inter_128_root_codes_chroma_per_mu_chunk_unit_pixel_exact \ + the_skipped_128_root_chroma_suppression_publishes_the_blocks_own_per_axis_chroma_extent +test refusal_inventory::tests::the_skipped_128_root_chroma_suppression_publishes_the_blocks_own_per_axis_chroma_extent ... ok +test stream::tests::a_real_aomenc_444_intra_in_inter_128_root_codes_chroma_per_mu_chunk_unit_pixel_exact ... ok +test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 760 filtered out +``` + +The first is the `4bfe8d8e` intra-in-inter fix from `lane-av1ibc128arm` landing +with this branch, as declared; the second is C1's source scan. Guard families +after this merge, same `touch`-first discipline: + +``` +gate_coverage 18 passed; 0 failed +refusal_inventory 20 passed; 0 failed (19 + C1's new gate) +count_vacuity 2 passed; 0 failed +pin_inventory 3 passed; 0 failed +``` + +## 7. Cross-branch name-set sweep + +`--list | wc -l` is not a count — libtest also prints a `running 0 tests` line +and a summary line, so the raw line count runs 2 high. + +| | pre-wave `ec4e9528` | post-merge-2 `5f39325d` | +|---|---|---| +| `wc -l` | 757 | 764 | +| `grep -c ': test$'` | 755 | 762 | +| summary | `755 tests, 0 benchmarks` | `762 tests, 0 benchmarks` | + +``` +$ comm -23 pre post # REMOVED +(empty) +$ comm -13 pre post # ADDED +gate_coverage::count_vacuity_tests::every_locally_derived_oracle_count_is_reported: test +gate_coverage::count_vacuity_tests::the_count_vacuity_sweep_finds_the_known_sites: test +gate_coverage::pin_inventory_tests::every_pin_a_gate_reads_is_committed_under_the_crate: test +gate_coverage::pin_inventory_tests::the_pin_scanner_sees_every_shape: test +gate_coverage::pin_inventory_tests::the_pin_scanner_sees_the_directory_literal_shape: test +refusal_inventory::tests::the_skipped_128_root_chroma_suppression_publishes_the_blocks_own_per_axis_chroma_extent: test +stream::tests::a_real_aomenc_444_intra_in_inter_128_root_codes_chroma_per_mu_chunk_unit_pixel_exact: test +$ sort post | uniq -d +(empty) +``` + +**755 → 762, seven added, none removed, none renamed, no duplicate +registrations.** Five from pins5 (2 `count_vacuity` + 3 `pin_inventory` — its +"5 new CI tests"), two from txsizeaudit/ibc128arm (C1's source scan + the +intra-in-inter pixel-exact gate). Arithmetic: `755 + 5 + 2 = 762`. A count +alone could not have told this apart from a rename or a loss, which is why both +`comm` directions are printed. + +## 8. Topology + +``` +5f39325d Merge commit 'c0727d64' (2 parents: 7ec417ad c0727d64) +7ec417ad Merge branch 'lane-av1pins5' (2 parents: ec4e9528 e1f78b8e) +``` + +Both `--no-ff`, exactly two parents each. `origin/main` unchanged — nothing +pushed.