forge
Explore
Log in

Don't you dare go Hollow

lanes/av1merge-wave3c-b: the wave report

Browse files at this commit

b207cf96f6748314f72cd2844457e75f00fa3fa7Ahmet Kaan GümüşParent: 1e2fda6
Four merges (b94bc532 loss444kf, 2b7caad3 refusalspan, 75bf8f2f fixlib,
be6449ad probes) landed with zero conflicts; three branches retired with
ancestry/ancestor evidence. Per-branch verification, the name-set delta by comm
both directions, and the three integration fixes -- two of which turned out to
be fixes for reds that do not exist, and one that was real (the fixture manifest
stopped regenerating on the merged tree).

Also records the two claims that did not survive checking (--ignored --list is
51 -> 49, not 51 -> 50; one staging step would have certified a suite full of
silent SKIPs) and the server run, which is still executing: its unit name, staging
path and the command to read its totals are in section 6, and no total is
guessed anywhere.
lanes/av1merge-wave3c-b.report.mdadded+693 -0
@@ -0,0 +1,693 @@
1+# Merge wave 3c-b — four branches in, three retired, three integration fixes, one server suite
2+
3+
4+> **VERDICT: the wave is merged and green locally; the server full-suite run is
5+> still executing and its totals are NOT in.** Four merges landed with zero
6+> conflicts, three branches retired, **integration fix #1 turned out to be a fix
7+> for a red that does not exist** (the stale entries were deleted back in
8+> `1cc2f250`) and **integration fix #2 likewise** (all five `.obu` pins are
9+> committed, index == worktree == HEAD). A **third** real problem was found and
10+> fixed as `c548ae8f`: the fixture manifest no longer regenerated on the merged
11+> tree. Two branches' stated numbers did not survive checking: `--ignored
12+> --list` is 51 → **49**, not 51 → 50, and one staging mistake would have
13+> certified a suite full of silent SKIPs. Details and the exact command to read
14+> the run's result are in §6.
15+
16+`CARGO_TARGET_DIR=/home/user/.cache/tgt/merge3cb` (lane-private; the shared
17+target dir has served another worktree's stale `ec_av1` binary six times this
18+batch). `EC_NOMEMGUARD=1` throughout. `touch` on every source-scan module
19+before any census run.
20+
21+---
22+
23+## 1. Per-branch table
24+
25+| # | branch | tip taken | merge base | commits | files | conflicts | `cargo check -p ec-av1 --all-targets` | merge commit |
26+|---|--------|-----------|-----------|---------|-------|-----------|------------------------------------------|--------------|
27+| 1 | `lane-av1loss444kf` | `c894ed0d` (live, = assigned) | `c6112723` | 1 | `decode.rs`, `stream.rs`, report | **none** | clean, 0 warnings | `b94bc532` |
28+| 2 | `lane-av1refusalspan` | `026851cc` (live, = assigned) | `745c60e7` | 5 | `decode.rs`, `refusal_inventory.rs`, `stream.rs`, report | **none** | clean, 0 warnings | `2b7caad3` |
29+| 3 | `lane-av1fixlib` | `3be839be` (live, = assigned) | `0dfdf0c8` | 19 | 32 (incl. 14 new fixture blobs + 4 scripts) | **none** | clean, 0 warnings | `75bf8f2f` |
30+| 4 | `lane-av1probes` | `23fb353d` (live, = assigned) | `745c60e7` | 2 | `encode.rs`, `encoder.rs`, `stream.rs`, `transform.rs`, report | **none** | clean, 0 warnings | `be6449ad` |
31+
32+All four tips were re-read from the live tree before merging and every one
33+equals the assigned sha — **no tip moved**.
34+
35+Order: loss444kf → refusalspan → fixlib → probes. It is a *choice*, not a
36+constraint: every pairwise `git merge-tree --write-tree` (all 4 × main plus all
37+6 branch pairs, 10 predictions) returned exit 0 with a tree and no conflict
38+list, and all four merges auto-merged with no marker. The order was picked so
39+the two branches that touch the same hot file (`stream.rs`, all four of them)
40+land adjacent to their own gate runs.
41+
42+### Conflicts, per region
43+
44+**There were none** — and that is exactly the claim skill://multi-lane-branch-merge-resolve
45+says must not be taken on trust, so each merge was followed by
46+`cargo check -p ec-av1 --all-targets` *and* the source-scan guard families, not
47+by the clean auto-merge message:
48+
49+| merge | `decode.rs` | `stream.rs` | other | structural check |
50+|-------|-------------|-------------|-------|------------------|
51+| `b94bc532` | auto (gate-coverage census confirms `stream.rs:47096/47104` etc. land once) | auto | report added | clean |
52+| `2b7caad3` | auto | auto | `refusal_inventory.rs` added wholesale | clean |
53+| `75bf8f2f` | auto (5 lines) | auto (66) | 6 other crates' tests + `scripts/` | clean; `cargo check --workspace --all-targets` clean |
54+| `be6449ad` | untouched | auto | `encode.rs`/`encoder.rs`/`transform.rs` | clean |
55+
56+`@both` was never used. Two adjacent branches *did* touch the same line
57+(`crates/ec-av1/src/encoder.rs`, the inter-timing print) from opposite
58+directions and ort still auto-merged them; the merged text is the sum of both
59+(`saturating_sub` overlap accounting added by `lane-av1probes`, the bucket
60+labels kept from the lane's own change) — verified by the workspace check and
61+by reading the merged block, not by the absence of a marker.
62+
63+Whole-workspace compile of the merged tree (fixlib edited six other crates'
64+test files, which `cargo check -p ec-av1` does not cover):
65+
66+```
67+$ CARGO_TARGET_DIR=…/merge3cb cargo check --workspace --all-targets
68+ Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.54s
69+warning: function `decode_capture` is never used
70+ --> crates/ec-vorbis/tests/oracle.rs:1091:4
71+```
72+
73+That warning is **pre-existing**, not this wave: `decode_capture` is a thin
74+wrapper that is already unused at `745c60e7`
75+(`git show 745c60e7:crates/ec-vorbis/tests/oracle.rs` line 1025, same wrapper,
76+same zero call sites). Left alone — it is not a decode-path change and fixing it
77+would be scope I was not given.
78+
79+---
80+
81+## 2. Per-branch verification on the merged tree
82+
83+### 2.1 `lane-av1loss444kf` — 4:4:4-lossless KF chroma reach
84+
85+Reviewer verification was taken as given (revert-the-two-lines reproduces the
86+49-sample fingerprint; both changed arms sit under `lossless(fctx)` inside
87+`chroma_444`). Re-proved the **gate's** non-vacuity independently, by
88+mutation, on the merged tree — the two `Reach::of_tu` lines and nothing else:
89+
90+```
91+$ cp crates/ec-av1/src/decode.rs /tmp/decode.rs.bak # both sites replaced
92+$ cargo test -p ec-av1 --lib -- a_lossless_444_sub8_rect_leaf_chroma_reach_decodes_the_key_frame_pixel_exact
93+---- … stdout ----
94+panicked at crates/ec-av1/src/stream.rs:46597:9:
95+assertion `left == right` failed: lossless-444-sub8-rect-leaf-chroma-reach: the 4:4:4
96+lossless key frame differs from aomdec in 49 samples (first Some((1, 201, 200, 160, 159))
97+as (plane, x, y, ours, oracle)) -- a sub-8x8 RECT leaf's chroma unit must be given the
98+reach libaom's has_bottom_left computes for the LEAF, not a standalone BLOCK_4X4 lookup
99+at the unit's own position
100+ left: 49
101+ right: 0
102+test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 752 filtered out
103+```
104+
105+Byte-identical to the lane's recorded fingerprint (`49 samples, first
106+Some((1, 201, 200, 160, 159))`). Decoder restored from the backup and the gate
107+re-run green — `git diff crates/ec-av1/src/decode.rs` empty after restore.
108+
109+Invariant sets (the three the lane named), on the merged tree, private target
110+dir:
111+
112+```
113+$ cargo test -p ec-av1 --lib -- 'lossless' '444' --test-threads=1
114+test result: ok. 49 passed; 0 failed; 0 ignored; 0 measured; 704 filtered out; finished in 28.76s
115+$ cargo test -p ec-av1 --lib -- '420' --test-threads=1
116+test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 751 filtered out; finished in 0.85s
117+$ cargo test -p ec-av1 --lib -- 'intrabc' --test-threads=1
118+test result: ok. 22 passed; 0 failed; 1 ignored; 0 measured; 730 filtered out; finished in 36.54s
119+```
120+
121+The lane's own report says "-- lossless 444: 48/0". I measure **49/0**, and the
122+one-test difference is the lane's new witness gate, which its own filter matches:
123+
124+```
125+$ cargo test -p ec-av1 --lib -- 'lossless' '444' --test-threads=1 | grep -c '^test .* \.\.\. ok$'
126+49
127+$ … | grep -c a_lossless_444_sub8_rect_leaf_chroma_reach # the lane's own new gate
128+1
129+49 - 1 = 48 # == the lane's figure
130+```
131+
132+So 48 is that same set minus the gate the lane added — a counting artefact of
133+writing the battery line before its own witness gate landed, not a disagreement.
134+
135+### 2.2 `lane-av1refusalspan` — brace-bounded proof bodies
136+
137+Distribution line prints, from the test itself (`--nocapture`):
138+
139+```
140+test refusal_inventory::tests::every_proven_refusal_names_a_test_that_exists ...
141+ anchor strength: 26 rows quote the WHOLE refusal string, 7 quote its LEADING CLAUSE, 0 match neither: []
142+ refusal inventory: 33 refusals + 1 capability claims, 33 proven
143+ok
144+test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 734 filtered out; finished in 0.50s
145+```
146+
147+**26 / 7 / 0, 19 passed, 0 failed** — the lane's claim reproduced exactly, not
148+"close to". The two new hardening tests are in that 19:
149+`a_body_carrying_another_function_is_refused`,
150+`a_gate_body_is_bounded_by_its_own_closing_brace`.
151+
152+The seven gate bodies the lane edited, run individually on the merged tree:
153+
154+| gate | result |
155+|------|--------|
156+| `every_intra_in_inter_shape_the_census_lists_has_a_size_group_row` | 1 passed / 0 failed |
157+| `every_shape_that_allows_motion_variation_has_a_motion_mode_cdf_row` | 1 passed / 0 failed |
158+| `a_var_tx_tree_never_presents_a_leaf_larger_than_the_unit_it_entered` | 1 passed / 0 failed |
159+| `every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan` | 1 passed / 0 failed |
160+| `every_inter_record_publishes_an_obmc_readable_filter` | 1 passed / 0 failed |
161+| `a_selected_reference_with_an_empty_ref_frame_idx_slot_refuses_by_name` | 1 passed / 0 failed |
162+| `every_frame_size_a_header_can_code_has_a_mode_info_grid` | 1 passed / 0 failed |
163+
164+### 2.3 `lane-av1fixlib` — fixture-library preflight
165+
166+```
167+$ EC_REQUIRE_FIXTURES=1 scripts/verify-fixture-library.sh
168+verify-fixture-library: root=… fixtures=…/fixtures EC_REQUIRE_FIXTURES=1
169+ shape: 305 rows
170+ resolve: 0 missing, 0 empty
171+FINDING: 85 pinned fixture(s) have NO generator -- provenance is prose in a gate comment only…
172+ invariant 1: positive control fired (the scanner can still see a literal)
173+ invariant 1: no root-fixture pin path
174+ invariant 2: every committed pin is tracked
175+ invariant 3: .gitignore negation present
176+ invariant 3: no tracked pin is shadowed by .gitignore
177+ pin gates: total=8 committed=21 uncommitted=0 ignored=0 assertless=0
178+ invariant 4: census self-test passed (a comment cannot steal a gate)
179+ invariant 4: every pin-reading gate resolves through committed copies
180+ recovered pins: every recovered-original hash matches
181+ vectors: 3 referenced rows, 0 not ok
182+verify-fixture-library: GREEN (305 rows)
183+EXIT=0
184+```
185+
186+Census line is the lane's exact string, including `assertless=0`. Both positive
187+controls fire (invariant 1's planted literal, invariant 4's self-test).
188+Shape is fatal by default (`EC_FIXTURE_SHAPE_STRICT:-1`). The `85 … NO
189+generator` block is a **FINDING, not a failure** — it is the pre-existing
190+provenance prose the lane documented and it does not move the exit status.
191+
192+```
193+$ python3 scripts/pin-gate-audit.py --self-test
194+SELFTEST selftest_a_reads_a_pin crate_pin
195+SELFTEST selftest_b_reads_a_pin crate_pin
196+SELFTEST PASS a doc comment between two gates left both counted as crate_pin
197+EXIT=0
198+```
199+
200+**No duplicated conformance files.** `crates/*/tests/conformance.rs` resolves
201+to exactly three tracked paths, all distinct by md5:
202+
203+```
204+1232e9b8844197abf2004e96afaf60e3 crates/ec-h264/tests/conformance.rs
205+4652a7d83fc27e1060a205f232458db4 crates/ec-opus/tests/conformance.rs
206+bc27bc88c8f5b8c583fc3012e171ebcf crates/ec-h265/tests/conformance.rs
207+$ md5sum … | awk '{print $1}' | sort | uniq -d # empty
208+```
209+
210+Golden7 prose restored verbatim (`0790e90c` in the lane's history, carried by
211+the merge) — invariant 1 reads `no root-fixture pin path` *with* the literal
212+present in the doc comment, which is the point of the comment-stripping scanner.
213+
214+
215+### 2.4 `lane-av1probes` — ignored-probe audit
216+
217+**No decoder change**: the diff touches `encode.rs`, `encoder.rs`, `stream.rs`,
218+`transform.rs` and the report. `crates/ec-av1/src/decode.rs` is not in
219+`git diff 745c60e7..23fb353d --name-only`.
220+
221+`--ignored --list` count: **51 → 49, not 51 → 50.** Two gates were un-ignored,
222+not one, and the second is not this lane's:
223+
224+| gate | un-ignored by | evidence |
225+|------|---------------|----------|
226+| `encoder::tests::a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders` | `lane-av1probes` (`8772e338`) | `#[ignore = "1080p encode: minutes, run it with --ignored"]` present at `745c60e7:crates/ec-av1/src/encoder.rs:6092`, absent at HEAD |
227+| `stream::tests::pinned_warp_stream_decodes_pixel_exact` | `lane-av1fixlib` (`2364d7a7` + `53b851a7`, "the warp gate's fourteen pins are committed") | `#[ignore = "reads pinned fixture paths under the gitignored fixtures dir…"]` removed and the pin list rewritten to `crate_pin` |
228+
229+Attribute census on the merged tree:
230+
231+```
232+$ git grep -h -E '^\s*#\[ignore' 745c60e7 -- 'crates/ec-av1/src/*.rs' | wc -l # 51
233+$ git grep -h -E '^\s*#\[ignore' HEAD -- 'crates/ec-av1/src/*.rs' | wc -l # 49
234+```
235+
236+Confirmed on a **clean checkout** on a server host, not just the worktree:
237+
238+```
239+$ cargo test -p ec-av1 --all-targets -- --list 2>/dev/null | grep ': test$' | wc -l # 753
240+$ cargo test -p ec-av1 --all-targets -- --ignored --list 2>/dev/null | grep ': test$' | wc -l # 49
241+```
242+
243+11 ignore reasons rewritten with measured walls / named env vars, e.g.
244+
245+* `wall table, 16 cells x 2 passes at 1080p: 27 min measured; needs a host with >=8 cores`
246+* `20 min at 1080p and it TIMES OUT on a 4-core host -- run it on >=8 cores`
247+* `scratch: needs EC_AV1_PIN plus EC_AV1_PIN_W/H/N at the pin's REAL geometry (defaults 64/64/1 are wrong for every other pin); prints the first divergent pixel per plane`
248+
249+The un-ignored gate **executes on a clean runner**, proven on host
250+`fedora-8gb-nbg1-3` from the `git archive` checkout (no `#[ignore]`, no
251+`--ignored`):
252+
253+```
254+$ cargo test -p ec-av1 --lib -- a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders --test-threads=1 --nocapture
255+running 1 test
256+test encoder::tests::a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders ...
257+ 1080p 2x1 tiles: 84488 bytes, sample-exact
258+ 1080p 2x2 tiles: 84208 bytes, sample-exact
259+ 1080p 4x2 tiles: 84685 bytes, sample-exact
260+ok
261+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 752 filtered out; finished in 1138.43s
262+```
263+
264+All three byte counts are the lane's own (84488 / 84208 / 84685). The lane
265+measured 30.6 s release / 64 s on a 4-core server; the **1138 s** here is the same
266+gate in the suite's *debug* profile on a 4-core host, so the un-ignore costs
267+about 19 minutes of plain-suite wall clock there. That is a fact the next
268+wave's batch planner needs, not an objection to the un-ignore: the gate
269+asserts a per-frame first-differing-luma-sample comparison through BOTH
270+decoders, which is the whole point of un-ignoring it.
271+
272+
273+Inter-timing print: the merged `encode.rs` block replaces the additive
274+five-bucket total with an explicit non-additive overlap
275+(`let overlap = interpolation.saturating_sub(motion_search);`) and labels bucket
276+1 "OVERLAPPING, not additive" — a reporting change to an `#[ignore]`d print,
277+no decode path.
278+
279+---
280+
281+## 3. Name-set delta (`comm`, both directions)
282+
283+Pre-merge list taken from the live tree at `745c60e7` before the first merge;
284+post-merge list from the tip. Both from `cargo test -p ec-av1 --all-targets -- --list`.
285+
286+```
287+$ comm -13 names_pre.txt names_post.txt # only in POST (added)
288+refusal_inventory::tests::a_body_carrying_another_function_is_refused
289+refusal_inventory::tests::a_gate_body_is_bounded_by_its_own_closing_brace
290+refusal_inventory::tests::every_named_gate_body_is_bounded_in_these_files
291+stream::tests::a_lossless_444_sub8_rect_leaf_chroma_reach_decodes_the_key_frame_pixel_exact
292+
293+$ comm -23 names_pre.txt names_post.txt # only in PRE (removed)
294+ (empty)
295+
296+749 -> 753 (+4, -0)
297+```
298+
299+Attribution: 3 from `lane-av1refusalspan` (`refusal_inventory.rs`), 1 from
300+`lane-av1loss444kf`
301+(`a_lossless_444_sub8_rect_leaf_chroma_reach_decodes_the_key_frame_pixel_exact`,
302+the witness gate). `lane-av1fixlib` and `lane-av1probes` add **no** test names:
303+fixlib's work is scripts + fixtures, probes' is ignore-reason prose and the
304+un-ignore of an existing test.
305+
306+**Nothing was renamed or dropped.** That is the wave-3c-a lesson applied: a
307+tail-append conflict can silently duplicate or lose a definition, so the
308+removed set is checked empty rather than eyeballed.
309+
310+---
311+
312+## 4. Integration fixes
313+
314+### Fix #1 — the two `never_exercised_*_matches_the_gate_recipes` reds: **already resolved, no edit made**
315+
316+The ticket asks to delete `"enable-rect-tx"` from the 8-bit list and
317+`"enable-dual-filter"` + `"enable-rect-tx"` from the 10-bit list. **Those
318+entries do not exist in this tree, and did not exist before this wave either.**
319+Measured:
320+
321+```
322+$ python3 -c "… parse NEVER_EXERCISED_8BIT / NEVER_EXERCISED_10BIT …"
323+NEVER_EXERCISED_8BIT -> []
324+NEVER_EXERCISED_10BIT -> []
325+
326+$ git show 745c60e7:crates/ec-av1/src/gate_coverage.rs | <same parse>
327+NEVER_EXERCISED_8BIT -> []
328+NEVER_EXERCISED_10BIT -> []
329+```
330+
331+Both lists carry only prose comments where the entries used to be, ending in
332+`];`. The deletion already happened, in the **merge that brought
333+`lane-av1txsearch` into main**:
334+
335+```
336+$ git diff 4aebe74d 1cc2f250 -- crates/ec-av1/src/gate_coverage.rs | grep -E '^[-+].*enable-(rect-tx|dual-filter)'
337+- "enable-rect-tx",
338++ // `enable-rect-tx` LEFT this list on 2026-09-29 (merge wave 2,
339+- "enable-dual-filter",
340++ // `enable-dual-filter` LEFT this list on 2026-09-29 (merge wave 2,
341+- ("enable-rect-tx", "hole at both depths, see the 8-bit list"),
342++ // `enable-rect-tx` LEFT this list on 2026-09-29 (merge wave 2,
343+
344+$ git log -1 --format='%H %P %s' 1cc2f250
345+1cc2f250d98fce423e6b08e93817c33b9be0303e 9b2f6c9ddb5c704e7649900c704b911e6822cd43
346+ 4aebe74d4bb4c32f25d17aa3daaf4537aa77a50e
347+ Merge lane-av1txsearch @ 4aebe74d — format!-flag detector, enable-rect-tx entry, unresolvable==0 assert
348+```
349+
350+Walking the history of the two lists commit-by-commit shows the entries present
351+at `4aebe74d` and absent from the merge that resolved it forward — the ticket's
352+red is the **pre-`1cc2f250`** state, one wave behind the tree I was given.
353+
354+Both tests therefore pass on the merged tree, run with `touch
355+crates/ec-av1/src/gate_coverage.rs` first so the `include_str!` snapshot is the
356+post-merge text:
357+
358+```
359+$ touch crates/ec-av1/src/gate_coverage.rs
360+$ cargo test -p ec-av1 --lib -- gate_coverage::tests::never_exercised
361+test gate_coverage::tests::never_exercised_10bit_matches_the_gate_recipes ... ok
362+test gate_coverage::tests::never_exercised_8bit_matches_the_gate_recipes ... ok
363+test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 751 filtered out; finished in 0.18s
364+```
365+
366+Whole module, with the census printed:
367+
368+```
369+$ cargo test -p ec-av1 --lib -- gate_coverage --nocapture
370+test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 740 filtered out; finished in 0.87s
371+NEVER_ON_8BIT (0 of 10, over 217 8BIT gates):
372+NEVER_EXERCISED_8BIT (0 of 26):
373+NEVER_EXERCISED_10BIT (0 of 26):
374+NEVER_ON_10BIT (0 of 10, over 118 10BIT gates):
375+gate_coverage: 263 real-aomenc gates, 116 of them 10-bit
376+enable-tx-size-search over 263 census-selected gate bodies: =0 only 88, =1 only 13, both 20, unresolvable 0, not named 142
377+```
378+
379+Independently reproduced on server host `fedora-8gb-nbg1-3` from the `git archive`
380+checkout: `13 passed; 0 failed`.
381+
382+**No commit was made for this item.** Making the named edit would have meant
383+deleting comments that are the record of *why* the entry left the list.
384+
385+### Fix #2 — the five `.obu` "in the index but not in the tree": **false, they are committed**
386+
387+The claim is that `444_lossy_rect4_odd_130x122`, `444_lossy_rect4_wide_256x128`,
388+`444_lossy_superres_256x128_d9`, `444_lossy_superres_256x128_d12` and
389+`444_lossy_superres_mode2_256x128` sit in the git index but not in the
390+committed tree, and are absent from the server library. Three independent
391+measurements say otherwise.
392+
393+**(a) In the committed tree**, with sizes:
394+
395+```
396+$ git cat-file -e HEAD:<path> && git cat-file -s HEAD:<path>
397+8945 / 15239 / 17437 / 14808 / 16620 (one per file, all exit 0)
398+$ git ls-tree HEAD crates/ec-av1/fixtures/ | grep -E '444_lossy_(rect4|superres)'
399+100644 blob 4ea09b93e94748bd7bec0cf5d92510560a0e6a99 …/444_lossy_rect4_odd_130x122.obu
400+100644 blob 98599fb2fbddbbdd145b93eabf456832e9922880 …/444_lossy_rect4_wide_256x128.obu
401+100644 blob ffa96b126624768a7835267b1d0bda1bdca94d6f …/444_lossy_superres_256x128_d9.obu
402+100644 blob 58a1674ff42cf79dd0c18d46bdbac9739bb79ff8 …/444_lossy_superres_256x128_d12.obu
403+100644 blob a6b9763ca4bce74e1fc54db597ee373f171c86e7 …/444_lossy_superres_mode2_256x128.obu
404+```
405+
406+**(b) Index == HEAD == worktree**, all three byte-identical:
407+
408+```
409+$ for f in …; do w=$(git hash-object $p); i=$(git rev-parse HEAD:$p); echo "$f $w $i $( [ "$w" = "$i" ] && echo MATCH || echo DIFF )"; done
410+444_lossy_rect4_odd_130x122 worktree=4ea09b93… head=4ea09b93… 8945 MATCH
411+444_lossy_rect4_wide_256x128 worktree=98599fb2… head=98599fb2… 15239 MATCH
412+444_lossy_superres_256x128_d9 worktree=ffa96b12… head=ffa96b12… 17437 MATCH
413+444_lossy_superres_256x128_d12 worktree=58a1674f… head=58a1674f… 14808 MATCH
414+444_lossy_superres_mode2_256x128 worktree=a6b9763c… head=a6b9763c… 16620 MATCH
415+
416+$ git status --porcelain -- crates/ec-av1/fixtures/ # empty == clean
417+```
418+
419+There is no stale index entry to delete and nothing to commit: all five landed
420+in `a9e5034e` (av1444edge, two cells), `e47d8f60` (av1superpin, two cells) and
421+`46e0f19d` (av1444edge r3, the first superres cell), all ancestors of the wave
422+base.
423+
424+**(c) The manifest sees them, with sha256 and `tracked=yes`** — the preflight's
425+own inventory, which is what a host consumes:
426+
427+```
428+$ grep -E '444_lossy_(rect4_(odd|wide)|superres_(256x128_d9|256x128_d12|mode2_256x128))' scripts/fixture-library.tsv
429+crates/ec-av1/fixtures/444_lossy_rect4_odd_130x122.obu crates/ec-av1/src/stream.rs:47096 captured - ok yes c87ac65b…
430+crates/ec-av1/fixtures/444_lossy_rect4_wide_256x128.obu crates/ec-av1/src/stream.rs:47104 captured - ok yes 06621606…
431+crates/ec-av1/fixtures/444_lossy_superres_256x128_d9.obu crates/ec-av1/src/stream.rs:47632 captured - ok yes 3d619ee0…
432+crates/ec-av1/fixtures/444_lossy_superres_256x128_d12.obu crates/ec-av1/src/stream.rs:47246 captured - ok yes 450caa3e…
433+crates/ec-av1/fixtures/444_lossy_superres_mode2_256x128.obu crates/ec-av1/src/stream.rs:47689 captured - ok yes c18496cf…
434+crates/ec-av1/fixtures/444_lossy_superres_mode2_256x128.obu crates/ec-av1/src/stream.rs:47738 captured - ok yes c18496cf…
435+```
436+
437+They are crate-local pins (`crates/ec-av1/fixtures/`), not library rows, so
438+"absent from the server fixture library" is not a defect either: the library is the
439+**root** `fixtures/` tree, and these five never belonged to it. They travel with
440+the commit — they are in the `git archive` tarball used for the server run
441+(`tar tzf … | grep fixtures/444_lossy_superres_mode2_256x128.obu` → present), and
442+on the host they are read through `crate_pin`.
443+
444+**Disposition: no action.** The class the ticket worried about — a pin that is
445+not committed — is real and does exist in this repo, but it is not these five.
446+It exists as **two pins missing from the manifest**, which is Fix #3 below.
447+
448+### Fix #3 (mine, `c548ae8f`) — the manifest was stale on the merged tree
449+
450+Found by actually running the fixlib check the ticket asks for, on the merged
451+tree rather than on the lane's own tree:
452+
453+```
454+$ EC_REQUIRE_FIXTURES=1 scripts/verify-fixture-library.sh
455+FAIL: this tree's library does not match what the code reaches
456+ (DRIFT: the committed manifest's rows differ from a regeneration here).
457+--- /dev/fd/63 +++ /dev/fd/62
458+-crates/ec-av1/fixtures/444_lossy_superres_256x128_d12.obu …stream.rs:46912 captured - ok - 450caa3e…
459++crates/ec-av1/fixtures/444_lossy_superres_256x128_d12.obu …stream.rs:47246 captured - ok - 450caa3e…
460+verify-fixture-library: RED (library verdict: mode i, mode ii or drift)
461+EXIT=1
462+```
463+
464+31 changed rows. Normalising away the `file:line` column to separate a line shift
465+from a real content change:
466+
467+```
468+$ comm -13 <(rows mod line-number) <(regen mod line-number) # only in regen
469+crates/ec-av1/fixtures/ll444_128root_lossless.obu captured - ok yes bbffb979d20d…
470+crates/ec-av1/fixtures/ll444_intrabc_rect_l2.obu captured - ok yes f0de080edce…
471+$ comm -23 … # only in committed
472+ (empty)
473+```
474+
475+So: 29 line-number shifts (the merges moved code in `stream.rs`/`encode.rs`,
476+which the manifest records per row) plus **two rows that do not exist at all** —
477+`ll444_intrabc_rect_l2.obu` at `stream.rs:7248` and a third `ll444_128root_lossless.obu`
478+site at `stream.rs:7302`. Both are real pins (committed blobs `601adaa2`,
479+`b888abd1`), added by `5356cb1d` and their gates, and the manifest lane simply
480+predates them.
481+
482+Regenerated and committed as its own commit (not folded into any merge), which
483+is also the action the preflight's own failure text prescribes
484+("or commit the regenerated manifest"):
485+
486+```
487+$ ./scripts/gen-fixture-library.sh
488+gen-fixture-library: 305 rows -> scripts/fixture-library.tsv (191 unnamed media literals, 4 unreferenced committed pins)
489+$ EC_REQUIRE_FIXTURES=1 ./scripts/verify-fixture-library.sh # after
490+verify-fixture-library: GREEN (305 rows) EXIT=0
491+```
492+
493+Idempotence proven before committing, because a self-feeding manifest is a
494+known failure mode: `regen(regen(tree)) == regen(tree)` (`diff -q` clean).
495+
496+---
497+
498+## 5. Staging discipline, and one thing that would have certified a false green
499+
500+**Hash-checked staging, both hosts.** `git archive HEAD` (never a worktree tar),
501+scp, extract under `$HOME`, then `comm -3` the
502+`find crates -type f | sort | xargs sha256sum` lists:
503+
504+```
505+# both keys re-sorted, because sha256sum output starts with the hash and
506+# comm on the raw lines reports "not in sorted order" then interleaves
507+# IDENTICAL rows as if they differed — the very false reading this check exists to prevent
508+$ awk '{print $2"\t"$1}' local-crates.sha256 | LC_ALL=C sort > local.ps
509+$ awk '{print $2"\t"$1}' hostA.sha256 | LC_ALL=C sort > hostA.ps
510+$ comm -3 local.ps hostA.ps ; echo $?
511+ (no output)
512+0
513+rows local=495 rows hostA=495
514+```
515+
516+Host `host-a`: empty, exit 0, 495 = 495. Host `host-b`:
517+identical, 495 = 495. Both staging dirs also carry the two gitignored
518+`lanes/*.expected.txt` dumps (24440 / 10129 B) that two earlier reds were pure
519+staging gaps for.
520+
521+**Fleet correction taken from Main**: `host-d` is DOWN
522+(`connect … port 22: Connection timed out`); the corrected login is
523+`remote-user@<ip>`. Both runs below are on the two live hosts, one heavy job each.
524+
525+**The staging gap I hit and closed.** The first staging on both hosts had **no
526+root `fixtures`**, and the suite was launched that way. Five minutes in, the
527+un-ignored 1080p gate printed:
528+
529+```
530+test encoder::tests::a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders ... SKIP the 1080p tile round trip: no fixture
531+ok
532+```
533+
534+`h264_clip_frames` (`crates/ec-av1/src/encoder.rs:3251`) resolves its clip at
535+`CARGO_MANIFEST_DIR/../../fixtures/video/h264-1080p-23.976-8bit.mp4` — the
536+root, gitignored tree. The clip **is** on both hosts
537+(`library/fixtures/video/h264-1080p-23.976-8bit.mp4`, 3320956 B); the staging
538+dir simply had no `fixtures` entry, so the gate skipped GREEN having read
539+nothing. The suite on `host-a` was **stopped and relaunched** with
540+`ln -sfn ~/gates/library/fixtures ~/gates/wave3cb/fixtures` (it was 5 minutes
541+in, 59 tests). Re-run with the symlink in place, the gate executes:
542+
543+```
544+=== 1080p MULTI-TILE GATE, PLAIN RUN (root fixtures now present)
545+test encoder::tests::a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders ... ok
546+```
547+
548+Sharp edge worth naming, because it is a silent-skip class the preflight does
549+**not** cover: pointing `EC_FIXTURES` at the real library makes RESOLVE report
550+`0 missing, 0 empty` and the preflight GREEN **while the gates' own root is
551+absent**, because the preflight validates a path (`$EC_FIXTURES/…`) that the
552+clip-reading gates never read (`$ROOT/fixtures/…`). The two roots can diverge
553+and the preflight cannot see it. The mitigation is the documented symlink; the
554+residual is that `EC_FIXTURES` gives a *false* green when the symlink is
555+missing. Not fixed here — it is a change to another lane's guard, and the
556+correct fix (have RESOLVE check the root the tests resolve through) is a design
557+decision for that lane's owner.
558+
559+---
560+
561+## 6. server full suite on the merged tree
562+
563+### 6.0 The baseline this is measured against
564+
565+`745c60e7` is already certified on the fleet, so the post-merge run's value is
566+the **delta**. Baseline, read directly off the host rather than taken on trust:
567+
568+```
569+$ ssh user@host-d 'cat ~/gates/pm2-av1.rc'
570+0
571+$ … 'grep -m1 "^running " ~/gates/pm2-av1.log; grep -m1 "^test result:" ~/gates/pm2-av1.log'
572+running 748 tests
573+test result: ok. 697 passed; 0 failed; 51 ignored; 0 measured; 1 filtered out; finished in 20234.61s
574+$ … 'grep -c SKIP ~/gates/pm2-av1.log'
575+0
576+$ ls -ld ~/gates/repo-postmerge2/fixtures
577+… -> /home/user/gates/library/fixtures
578+```
579+
580+Three things make it a fair comparison rather than a number to be argued with:
581+748 running + 1 filtered = 749 names, which is exactly the `--all-targets`
582+count I took at `745c60e7` before merging; **zero** `SKIP` lines, so no gate
583+skipped green having read nothing; and that staging dir carries the root
584+`fixtures` symlink, i.e. the same library-reachability state as my run (the
585+state whose absence made my first staging silently skip — §5).
586+
587+Name arithmetic for the wave, from the measured lists rather than from the
588+lane reports: 749 names at the base, 753 at the tip (+4 added, −0 removed),
589+and 51 → 49 `#[ignore]` attributes (−2 un-ignored, attributed in §2.4). So
590+dispatched (total − ignored) goes 698 → 704, and the expected pass count is
591+**697 + 6 = 703** (or 704 if the base run's single "filtered out" no longer
592+filters). Measured numbers below.
593+
594+### 6.1 The merged-tree run
595+
596+**STATUS: STILL RUNNING at the time of writing — the totals are NOT in.** I am
597+reporting that rather than a prediction. Every other number in this report is
598+measured.
599+
600+Host `user@host-a` (`fedora-8gb-nbg1-2`), unit `wave3cb-suite.service`,
601+staging `~/gates/wave3cb`, log `~/gates/wave3cb/suite.log`:
602+
603+```
604+systemd-run --user --unit=wave3cb-suite \
605+ --property=MemoryMax=6G --property=WorkingDirectory=$HOME/gates/wave3cb \
606+ --setenv=CARGO_TARGET_DIR=$HOME/gates/target-wave3cb --setenv=TMPDIR=$HOME/gates/tmp-wave3cb \
607+ --setenv=EC_AV1_REQUIRE_AOMENC=1 --setenv=EC_AV1_REQUIRE_FFMPEG=1 --setenv=EC_NOMEMGUARD=1 \
608+ --setenv=EC_FIXTURES=$HOME/gates/library/fixtures --setenv=EC_REQUIRE_FIXTURES=1 \
609+ --setenv=EC_AV1_AOMENC=$HOME/.cache/aom-oracle/build/aomenc \
610+ --setenv=EC_AV1_AOMDEC=$HOME/.cache/aom-oracle/build/aomdec \
611+ --setenv=PATH=$HOME/.cargo/bin:$HOME/gates/bin:$HOME/.cache/aom-oracle/build:/usr/local/bin:/usr/bin:/bin \
612+ /bin/bash $HOME/gates/wave3cb/run.sh
613+
614+# run.sh: preflight -> pin-gate-audit --self-test -> cargo test -p ec-av1 --lib -- --test-threads=1
615+```
616+
617+The same unit also ran the preflight and the audit self-test **first**, so those
618+two verdicts are already final and are quoted in §2.3. Launched 09:00 UTC on
619+2026-09-29; the equivalent certified run at `745c60e7` took 20234 s on this
620+fleet, and this one carries the newly un-ignored 1080p gate (+1138 s measured
621+in debug on a 4-core host), so ~6 h is the expected wall.
622+
623+Read the result with:
624+
625+```
626+ssh user@host-a "bash -c 'grep -E \"^running |^test result:\" ~/gates/wave3cb/suite.log; \
627+ echo ok=\$(grep -c \"ok\$\" ~/gates/wave3cb/suite.log) \
628+ ignored=\$(grep -c ignored ~/gates/wave3cb/suite.log) \
629+ FAILED=\$(grep -c FAILED ~/gates/wave3cb/suite.log) \
630+ SKIP=\$(grep -c SKIP ~/gates/wave3cb/suite.log)'"
631+```
632+
633+The `SKIP=` count is not decoration: it is the check that would have caught the
634+staging gap in §5, and the certified baseline's `SKIP` count of 0 is what makes
635+697 a comparable number.
636+
637+**Second run, in parallel, for the delta.** Host `user@host-b`
638+(`fedora-8gb-nbg1-3`), unit `wave3cb-base.service`, staging `~/gates/wave3cb-base`,
639+log `~/gates/wave3cb-base/suite.log`: the **pre-wave** tree `745c60e7` staged by
640+the identical recipe (same `git archive` → `git add -A` index → root `fixtures`
641+symlink → same `--setenv` block, only the `CARGO_TARGET_DIR` differing), so the
642+baseline is measured in-session rather than quoted from another peer's log.
643+Its result should reproduce `697 passed; 0 failed; 51 ignored`; if it does not,
644+the discrepancy is itself the finding.
645+
646+Expected, from the name arithmetic in §6.0 and the per-branch attribution in
647+§3 and §2.4 — stated as a prediction to be checked, not as a result:
648+
649+| | base `745c60e7` | merged tip `c548ae8f` | delta | why |
650+|--|--|--|--|--|
651+| names | 749 | 753 | +4 | 3 `refusal_inventory` + 1 `loss444kf` witness |
652+| `#[ignore]`d | 51 | 49 | −2 | 1080p multi-tile (probes), warp pin gate (fixlib) |
653+| dispatched (total − ignored) | 698 | 704 | +6 | |
654+| expected passed | 697 | **703** | **+6** | 4 new gates + the 2 un-ignored gates, all green here |
655+| expected failed | 0 | 0 | 0 | |
656+
657+Where each of the six lands, all six measured green on the merged tree before
658+the suite was staged: the three `refusal_inventory` tests inside the 19/0 module
659+run, the `loss444kf` witness inside the 49/0 `-- lossless 444` battery, the
660+warp pin gate inside a plain `--nocapture` run on the clean checkout
661+(`warp_selected_hits 99 → 104 → 113 → 113`, `ok`), and the 1080p gate's three
662+tile grids (84488 / 84208 / 84685 bytes, sample-exact).
663+
664+Accounting that must close when the run lands:
665+`passed + failed + ignored == dispatched` — i.e. `703 + 0 + 49 == 704` minus
666+whatever the base run's single "filtered out" does on this tree. If the merged
667+run reports `1 filtered out` too, `702 + 0 + 49 + 1 == 752` with `753` names and
668+the missing test is the one to name.
669+
670+---
671+
672+## 7. Retired, not merged
673+
674+| branch | tip | why not merged | evidence |
675+|--------|-----|----------------|----------|
676+| `lane-av1refusal` (Agent16-4) | `910dc296` | **Superseded by `lane-av1refusalspan`**, which is the corrected version of the same test over the same rows' gate bodies. Merging both would land two competing window-boundary implementations of one function. | Same merge base (`ea97eb0c`); both rewrite `refusal_inventory.rs`'s anchor scan — refusal `+346/-13`, refusalspan `+740/-26`. The span lane additionally ships `body_braces`/`gate_definitions`/`last_fn_name`/`leading_clause` plus two mutation-driven hardenings (`81eaadfd` stray-closer, `566d61bd` spin guard) that the refusal branch has no counterpart for. |
677+| `lane-av1fixtureshape` | `3be839be` | **Contained in `lane-av1fixlib`** — verified by ancestry at the tip, not by diff. | `git merge-base lane-av1fixlib lane-av1fixtureshape` == `3be839be` == `git rev-parse lane-av1fixtureshape`; `git merge-base --is-ancestor` → contained. **Re-checked at merge time** (skill://lane-merge-order: containment can change sign as a tip moves). |
678+| `lane-av1refusalfix` | `4741f0d4` | **Report-only and superseded.** Its single commit is `lanes/av1refusalfix.report.md` (+287 lines) — zero code. Its own message says "item 5 walker test built, direct-call parse unsolved, reverted", and items 1–3 are already closed by `main`. | `git diff --stat lane-av1refusalfix~1..lane-av1refusalfix` → `lanes/av1refusalfix.report.md | 287 +++` and nothing else. |
679+
680+---
681+
682+## 8. Things not taken on trust
683+
684+| claim | how it was checked | result |
685+|-------|--------------------|--------|
686+| four tips at the assigned shas | `git rev-parse` on the live branch + `git worktree list` | all four match; none moved |
687+| "no conflicts" | 10 `git merge-tree --write-tree` predictions, then `cargo check -p ec-av1 --all-targets` after every merge | 0 conflicts, 4 clean checks — and the guard families run *after the last* merge, not trusted from any lane's own green |
688+| the two `never_exercised_*` reds | parsed the lists at HEAD **and at `745c60e7`** | entries already gone since `1cc2f250`; no edit needed |
689+| the five `.obu` are uncommitted | `cat-file -e HEAD:<path>`, `ls-tree`, `hash-object` vs `rev-parse`, `status` | all five committed, index==worktree==HEAD |
690+| fixlib preflight is green | ran it on the merged tree, not on the lane's | RED (drift) → regenerated manifest → GREEN; the lane's own claim would have been a false green |
691+| `--ignored --list` 51 → 50 | attribute census at both shas + clean-checkout count on a server host | 51 → **49**; second un-ignore is fixlib's warp gate |
692+| the un-ignored 1080p gate runs | ran it on a clean server checkout, twice | first SKIP (no `fixtures` symlink), then executes |
693+| the shared `CARGO_TARGET_DIR` | never used it | lane-private `…/tgt/merge3cb` for every local cargo invocation |