forge
Explore
Log in

Don't you dare go Hollow

lanes: wave-3e report -- pins5 and txsizeaudit merged, chromahalvings held

Browse files at this commit

e03cd90f9eb6a48e52d174f33649ddd939b2e533Ahmet Kaan GümüşParent: a1b35a5
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.mdadded+254 -0
@@ -0,0 +1,254 @@
1+# Merge wave 3e — pins5, txsizeaudit (chromahalvings HELD)
2+
3+Integration owner run. Pre-wave `main` = `ec4e9528` (wave-3d, section 8).
4+Nothing pushed. Lane-private `CARGO_TARGET_DIR=/home/user/.cache/tgt/merge3e`,
5+`EC_NOMEMGUARD=1` on every invocation.
6+
7+## 1. Per-branch table
8+
9+| # | branch | merge-base | tip merged | merge commit | merge-tree | conflicts | `cargo check -p ec-av1 --all-targets` |
10+|---|---|---|---|---|---|---|---|
11+| 1 | `lane-av1pins5` | `ec4e9528` (== pre-wave main) | `e1f78b8e` | `7ec417ad` | clean (`dab8a3a8`) | none | Finished, 0 warnings |
12+| 2 | `lane-av1txsizeaudit-r5` | `ec4e9528` | `c0727d64` | `5f39325d` | clean (`399797dc`) | none | Finished, 0 warnings |
13+| 3 | `lane-chromahalvings` | `f33b9d41` (wave-3c-b, **stale**) | `69e80133` | — | — | — | — |
14+| — | `lane-chromahalvings-r3` | — | `149b2ad8` | already an ancestor of `main` | — | — | — |
15+
16+Branch 3 is HELD: `69e80133`'s own message is "4 sites wrong at 4:4:4, all
17+reachable, **none fixed here**" — the fix Main is waiting on from Agent12-2
18+(`decode_intrabc_owned_rect`'s extent plus its ten `px/2, py/2` prediction
19+origins, with a gate separating the two halves) is not on the branch yet. Its
20+base is also five merges behind, so it needs a re-rebase before it is a merge
21+candidate at all. `lane-chromahalvings-r3` is already in `main`
22+(`git merge-base main lane-chromahalvings-r3` == its own tip), so there is
23+nothing to fetch from it.
24+
25+## 2. Conflicts and how each was resolved
26+
27+**Zero conflicts in both merges.** Both `git merge-tree --write-tree`
28+predictions returned a bare tree id with no conflict list, and both real
29+`--no-ff` merges auto-resolved with zero hunks (`Auto-merging` on
30+`stream.rs` for #2, no `CONFLICT` line).
31+
32+The `stream.rs` contention Main predicted for merge #2 did not materialise: the
33+branch's `stream.rs` delta is +192 and 0 removals, appended in a region pins5
34+does not touch, and pins5's own `stream.rs` delta is +98/−8 in a different
35+region. Both survive:
36+
37+```
38+$ grep -c frame_count_diagnosis crates/ec-av1/src/stream.rs # pins5
39+4
40+$ grep -c ENCODED_FRAMES crates/ec-av1/src/stream.rs # pins5
41+4
42+$ git diff 7ec417ad 5f39325d -- crates/ec-av1/src/gate_coverage.rs | wc -l # pins5's +779 file
43+0
44+```
45+
46+Because a clean auto-merge is not evidence of a clean merge, `cargo check -p
47+ec-av1 --all-targets` ran after EACH merge with `src/lib.rs` touched first so
48+the check could not serve a cache. Both `Finished`, 0 warnings.
49+
50+`decode_intrabc_owned_rect`'s `bw/2, bh/2` line was **not** pre-resolved. The
51+txsizeaudit delta is 305 lines in `suppress_internal_lf_edges` and the
52+intra-in-inter walk; neither its hunks nor `merge-tree` put a hunk near that
53+line, and the region is untouched in the merged tree — left free for
54+`lane-chromahalvings`' witness to land on.
55+
56+## 3. Shape checks (the two failure modes Main named)
57+
58+**Foreign files.** For each merge, the diff against the first parent was
59+compared byte-for-byte against the branch's own delta, not read:
60+
61+```
62+$ git diff ec4e9528 7ec417ad > /tmp/3e_merge.diff
63+$ git diff ec4e9528 e1f78b8e > /tmp/3e_branch.diff
64+$ cmp /tmp/3e_merge.diff /tmp/3e_branch.diff
65+IDENTICAL -- no silent line restoration, no foreign file
66+ crates/ec-av1/src/gate_coverage.rs | 779 +++++++++++++++++++++++++++++
67+ crates/ec-av1/src/stream.rs | 98 ++++-
68+ lanes/av1pins.report.md | 512 ++++++++++++++++++++++++++++++
69+ 3 files changed, 1381 insertions(+), 8 deletions(-)
70+```
71+
72+```
73+$ git diff --stat 7ec417ad 5f39325d
74+ crates/ec-av1/examples/decode_probe.rs | 5 +
75+ crates/ec-av1/src/decode.rs | 305 ++++++---
76+ crates/ec-av1/src/refusal_inventory.rs | 66 ++
77+ crates/ec-av1/src/stream.rs | 192 ++++++
78+ lanes/av1ibc128arm.report.md | 196 ++++++
79+ lanes/av1tilerows.report.md | 38 +-
80+ lanes/av1txsizeaudit.report.md | 1097 ++++++++++++++++++++++++++++
81+ 7 files changed, 1796 insertions(+), 103 deletions(-)
82+```
83+
84+**Exactly** the declared set: 7 files, 1796 insertions, 103 deletions. The two
85+foreign reports (`av1ibc128arm.report.md` +196, `av1tilerows.report.md` ±38)
86+are inside the declared scope, as Main stated — `av1ibc128arm`'s because the
87+intra-in-inter fix `4bfe8d8e` has never been merged and lands with this branch;
88+`av1tilerows.report.md`'s because its 38 lines are that lane's own edit, not a
89+swallowed file.
90+
91+**Silent line restoration.** Removal counts, per hot file, merge against
92+branch:
93+
94+| file | merge `grep -c '^-[^-]'` | branch | verdict |
95+|---|---|---|---|
96+| `gate_coverage.rs` (merge #1) | 0 | 0 | match |
97+| `stream.rs` (merge #1) | 8 | 8 | match |
98+| `decode.rs` (merge #2) | 97 | 97 | match |
99+| `stream.rs` (merge #2) | 0 | 0 | match |
100+| `refusal_inventory.rs` (merge #2) | 0 | 0 | match |
101+
102+No region where the merge removed fewer lines than the branch intended. The 97
103+`decode.rs` removals are the branch's own: the collapsed 4:2:0 arm
104+(`luma_span = cu_tx * 2`, `cu_around = neighbours.around_mi(...)`, the
105+`tu_reach` argument list) plus the `4bfe8d8e` intra-in-inter fix. The two
106+diffs are not byte-identical for merge #2, and the difference is entirely hunk
107+ordering and context, because the first parent now carries pins5's `stream.rs`
108+and `gate_coverage.rs`; the `--stat` and the per-file removal counts above are
109+the shape evidence.
110+
111+## 4. A ref hazard found and NOT walked into
112+
113+`lane-av1txsizeaudit` — the ref name — does **not** point at the re-verified
114+work:
115+
116+```
117+$ git for-each-ref --format='%(refname:short) %(objectname:short)' | grep txsizeaudit
118+lane-av1txsizeaudit dc80b6fa
119+lane-av1txsizeaudit-r5 c0727d64
120+```
121+
122+`dc80b6fa` is not a descendant of `c0727d64`; it is a whole history line behind,
123+based on `9b2f6c9d`, and `git diff c0727d64..dc80b6fa` is **67 files,
124++627/−13617** — it deletes every committed pin fixture. Merging the ref NAME
125+would have produced an add/add conflict in
126+`lanes/av1txsizeaudit.report.md` and landed an ancient `decode.rs`:
127+
128+```
129+$ git merge-tree --write-tree --name-only main dc80b6fa
130+8422378dac55a358d6e8150178c228f9c936fe65
131+lanes/av1txsizeaudit.report.md
132+CONFLICT (add/add): Merge conflict in lanes/av1txsizeaudit.report.md
133+```
134+
135+The worktree `~/.cache/wt/av1txsizeaudit` is checked out on
136+`lane-av1txsizeaudit-r5` at `c0727d64`, so the tip in the worktree and the tip
137+in the ref disagree. I merged the **sha** after checking both. Reported to Main;
138+the ref wants repointing or deleting before any later wave merges it by name.
139+
140+## 5. Branch 1 — `lane-av1pins5`
141+
142+Five new CI tests, one gate fix at `stream.rs:3895`, the misattributed-red
143+diagnosis in all three `ffmpeg_decode_sequence*` helpers, the generalised
144+count-vacuity guard, and the 43-row ledger.
145+
146+Guard families on the merged tree, `gate_coverage.rs` / `stream.rs` /
147+`refusal_inventory.rs` touched first because all four read compile-time sources:
148+
149+```
150+$ cargo test -p ec-av1 --lib -- gate_coverage
151+test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 742 filtered out
152+$ cargo test -p ec-av1 --lib -- refusal_inventory
153+test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 741 filtered out
154+$ cargo test -p ec-av1 --lib -- count_vacuity
155+test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 758 filtered out
156+$ cargo test -p ec-av1 --lib -- pin_inventory
157+test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 757 filtered out
158+```
159+
160+18 / 19 / 2 / 3 — the author's four modules, reproduced on the merged tree.
161+
162+The sweep reads the numbers Main flagged, and a reviewer comparing totals should
163+read the second one:
164+
165+```
166+$ cargo test -p ec-av1 --lib -- count_vacuity --nocapture
167+count-vacuity sweep: 60 site(s); 17 spec-pinned by a prior assert, 43 not
168+```
169+
170+60 grand total (down from 61, one site main made spec-pinned), **43 not
171+spec-pinned**, against the guard's unpinned ceiling 43 and total floor 40. The
172+43 rows are disposed `deferred(needs a lane that classifies by READING each
173+gate)` — carried forward, not closed here.
174+
175+## 6. Branch 2 — `lane-av1txsizeaudit-r5`
176+
177+Dispositions kept as declared:
178+
179+- **C1 landed** — `suppress_internal_lf_edges` publishes the skipped 128 root's
180+ own per-axis chroma extent, `((w_mi * MI) >> ss_x(fctx))` /
181+ `((h_mi * MI) >> ss_y(fctx))`, replacing the hardcoded `/2`. No observable
182+ effect: the widening is defeated by the spec-7.14.2 `skip_at` term and the
183+ method is only ever called for an already-skipped block, so the masking is
184+ total. That is precisely why it is pinned by a source scan and not by pixels.
185+- **C2 NOT landed** — 4:2:2-only, refused by name at the sequence header, and
186+ an ungated change to a 4:2:2 path is the hazard `EC_AV1_ALLOW_422_PROBE`
187+ exists to prevent.
188+- **Classifiers unchanged** — 50 `around_mi(` sites, 49 correct, 1 instance,
189+ 0 new.
190+
191+Both newly-landed gates run green with the oracle forced on:
192+
193+```
194+$ EC_AV1_REQUIRE_AOMENC=1 cargo test -p ec-av1 --lib -- \
195+ a_real_aomenc_444_intra_in_inter_128_root_codes_chroma_per_mu_chunk_unit_pixel_exact \
196+ the_skipped_128_root_chroma_suppression_publishes_the_blocks_own_per_axis_chroma_extent
197+test refusal_inventory::tests::the_skipped_128_root_chroma_suppression_publishes_the_blocks_own_per_axis_chroma_extent ... ok
198+test stream::tests::a_real_aomenc_444_intra_in_inter_128_root_codes_chroma_per_mu_chunk_unit_pixel_exact ... ok
199+test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 760 filtered out
200+```
201+
202+The first is the `4bfe8d8e` intra-in-inter fix from `lane-av1ibc128arm` landing
203+with this branch, as declared; the second is C1's source scan. Guard families
204+after this merge, same `touch`-first discipline:
205+
206+```
207+gate_coverage 18 passed; 0 failed
208+refusal_inventory 20 passed; 0 failed (19 + C1's new gate)
209+count_vacuity 2 passed; 0 failed
210+pin_inventory 3 passed; 0 failed
211+```
212+
213+## 7. Cross-branch name-set sweep
214+
215+`--list | wc -l` is not a count — libtest also prints a `running 0 tests` line
216+and a summary line, so the raw line count runs 2 high.
217+
218+| | pre-wave `ec4e9528` | post-merge-2 `5f39325d` |
219+|---|---|---|
220+| `wc -l` | 757 | 764 |
221+| `grep -c ': test$'` | 755 | 762 |
222+| summary | `755 tests, 0 benchmarks` | `762 tests, 0 benchmarks` |
223+
224+```
225+$ comm -23 pre post # REMOVED
226+(empty)
227+$ comm -13 pre post # ADDED
228+gate_coverage::count_vacuity_tests::every_locally_derived_oracle_count_is_reported: test
229+gate_coverage::count_vacuity_tests::the_count_vacuity_sweep_finds_the_known_sites: test
230+gate_coverage::pin_inventory_tests::every_pin_a_gate_reads_is_committed_under_the_crate: test
231+gate_coverage::pin_inventory_tests::the_pin_scanner_sees_every_shape: test
232+gate_coverage::pin_inventory_tests::the_pin_scanner_sees_the_directory_literal_shape: test
233+refusal_inventory::tests::the_skipped_128_root_chroma_suppression_publishes_the_blocks_own_per_axis_chroma_extent: test
234+stream::tests::a_real_aomenc_444_intra_in_inter_128_root_codes_chroma_per_mu_chunk_unit_pixel_exact: test
235+$ sort post | uniq -d
236+(empty)
237+```
238+
239+**755 → 762, seven added, none removed, none renamed, no duplicate
240+registrations.** Five from pins5 (2 `count_vacuity` + 3 `pin_inventory` — its
241+"5 new CI tests"), two from txsizeaudit/ibc128arm (C1's source scan + the
242+intra-in-inter pixel-exact gate). Arithmetic: `755 + 5 + 2 = 762`. A count
243+alone could not have told this apart from a rename or a loss, which is why both
244+`comm` directions are printed.
245+
246+## 8. Topology
247+
248+```
249+5f39325d Merge commit 'c0727d64' (2 parents: 7ec417ad c0727d64)
250+7ec417ad Merge branch 'lane-av1pins5' (2 parents: ec4e9528 e1f78b8e)
251+```
252+
253+Both `--no-ff`, exactly two parents each. `origin/main` unchanged — nothing
254+pushed.