lanes/av1merge-wave3d: the wave report
Browse files at this commit37dae756aaf763eb9cc259fd81f40c82799af692Parent: 8f6b16f1 changed file +403 -0
- lanes/av1merge-wave3d.report.md +403 -0
lanes/av1merge-wave3d.report.mdadded+403 -0
| @@ -0,0 +1,403 @@ | |||
| 1 | +# Merge wave 3d — three branches in, two stale duplicates retired, two manifest fixes | ||
| 2 | + | ||
| 3 | +Base `main` = `f33b9d41` (the wave-3c-b tip). Wave tip = **`97b4ee04`**. Nothing pushed. | ||
| 4 | + | ||
| 5 | +`CARGO_TARGET_DIR=/home/user/.cache/tgt/merge3cb` (lane-private), `EC_NOMEMGUARD=1`, | ||
| 6 | +`touch` on every source-scan module before a census run, `cargo check -p ec-av1 | ||
| 7 | +--all-targets` after **every** merge. | ||
| 8 | + | ||
| 9 | +> **VERDICT: all three branches merged, zero conflicts, every claim re-measured on | ||
| 10 | +> the merged tree, and the two checks Main named pass. The clipprobe lane shipped a | ||
| 11 | +> manifest that was stale on its own source — fixed as its own commit, twice in this | ||
| 12 | +> wave, because every branch that appends to `stream.rs` or `decode.rs` moves the | ||
| 13 | +> manifest's `required-by` line numbers.** | ||
| 14 | + | ||
| 15 | +--- | ||
| 16 | + | ||
| 17 | +## 1. Per-branch table | ||
| 18 | + | ||
| 19 | +| # | branch | tip taken (live) | base | files | conflicts | check | merge | | ||
| 20 | +|---|---------|------------------|------|-------|-----------|-------|-------| | ||
| 21 | +| 1 | `lane-av1clipprobe` | `ca963bb5` | `f33b9d41` | 9 (new `library_fixture.rs`) | **none** | clean | `b2c9f8a4` | | ||
| 22 | +| 2 | `lane-ibc444c-r4` | `fa70a68c` | `f33b9d41` | 3 | **none** | clean | `10183674` | | ||
| 23 | +| 3 | `lane-av1rungs17` | `142bb61c` | `f33b9d41` | 4 | **none** | clean | `97b4ee04` | | ||
| 24 | + | ||
| 25 | +All three tips re-read from the live tree; every one equals the assigned sha, and | ||
| 26 | +all three branch off the **same** base `f33b9d41`, so this is three parallel | ||
| 27 | +lanes off one point, not a chain. | ||
| 28 | + | ||
| 29 | +`git diff main..<branch>` is misleading here and I did not use it: main has since | ||
| 30 | +gained clipprobe, so that form shows clipprobe's own files as *deletions* | ||
| 31 | +(11 files, −951). Every scope check below is against the branch's **true base** | ||
| 32 | +`f33b9d41`, which is what the ticket's file lists were derived from. | ||
| 33 | + | ||
| 34 | +### Retired, not merged | ||
| 35 | + | ||
| 36 | +| branch | tip | why | evidence | | ||
| 37 | +|--------|-----|-----|----------| | ||
| 38 | +| `lane-ibc444c` | `6b78f492` | stale duplicate | superseded by `lane-ibc444c-r4`; its tree was the one missing 45 files / 6984 deletions | | ||
| 39 | +| `lane-ibc444c-r3` | `17f03d90` | stale duplicate | same; `r4` is the rebuild onto `f33b9d41` | | ||
| 40 | + | ||
| 41 | +--- | ||
| 42 | + | ||
| 43 | +## 2. `lane-av1clipprobe` — the clip gates stop skipping green | ||
| 44 | + | ||
| 45 | +Scope confirmed as ticketed: `git diff f33b9d41..ca963bb5 --name-only` lists | ||
| 46 | +`encode.rs`, `encoder.rs`, `lib.rs`, `library_fixture.rs` (new), `stream.rs`, | ||
| 47 | +the report and 3 scripts. **No decoder file** — `decode.rs`, `mc.rs`, | ||
| 48 | +`transform.rs`, `quant.rs`, `cdf_state.rs`, `tile.rs` all absent. | ||
| 49 | + | ||
| 50 | +### The three behavioural cases, measured on the merged tree | ||
| 51 | + | ||
| 52 | +**(1) root absent + require env set → RED, naming the path and both ways out:** | ||
| 53 | + | ||
| 54 | +``` | ||
| 55 | +$ EC_FIXTURES=/tmp/absent-root EC_AV1_REQUIRE_FFMPEG=1 \ | ||
| 56 | + cargo test -p ec-av1 --lib -- a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders | ||
| 57 | +panicked at crates/ec-av1/src/library_fixture.rs:110:5: | ||
| 58 | +a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders: the library clip is | ||
| 59 | +absent at /tmp/absent-root/video/h264-1080p-23.976-8bit.mp4 -- this gate would prove | ||
| 60 | +nothing. A linked worktree has no gitignored root `fixtures/`: run | ||
| 61 | +scripts/link-fixtures.sh, or point EC_FIXTURES at a library root, or set | ||
| 62 | +EC_REQUIRE_FIXTURES=1 / EC_AV1_REQUIRE_FFMPEG=1 only on a tree that really has the | ||
| 63 | +library. | ||
| 64 | +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 753 filtered out | ||
| 65 | +``` | ||
| 66 | + | ||
| 67 | +This is the fix working, not a defect — Main's note (b) confirmed on the merged | ||
| 68 | +tree, and it is the exact staging mistake I made in wave 3c-b, now loud. | ||
| 69 | + | ||
| 70 | +**(2) root absent, no require env → exactly ONE `SKIP` line, then `ok`:** | ||
| 71 | + | ||
| 72 | +``` | ||
| 73 | +$ EC_FIXTURES=/tmp/absent-root cargo test … --nocapture | grep -c SKIP | ||
| 74 | +1 | ||
| 75 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 753 filtered out | ||
| 76 | +``` | ||
| 77 | + | ||
| 78 | +**(3) root present, require envs set → still passes, so the new failure path is | ||
| 79 | +not armed on a good tree:** | ||
| 80 | + | ||
| 81 | +``` | ||
| 82 | +$ EC_AV1_REQUIRE_FFMPEG=1 EC_AV1_REQUIRE_AOMENC=1 cargo test … --nocapture | ||
| 83 | + 1080p 2x1 tiles: 84488 bytes, sample-exact | ||
| 84 | + 1080p 2x2 tiles: 84208 bytes, sample-exact | ||
| 85 | + 1080p 4x2 tiles: 84685 bytes, sample-exact | ||
| 86 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 753 filtered out; finished in 457.43s | ||
| 87 | +``` | ||
| 88 | + | ||
| 89 | +The three byte counts are the lane's own. The new resolver precedence test | ||
| 90 | +(`library_fixture::tests::the_resolver_follows_ec_fixtures_over_the_gitignored_root`) | ||
| 91 | +is 1 passed / 0 failed. | ||
| 92 | + | ||
| 93 | +### The manifest rule from Main's note (a) | ||
| 94 | + | ||
| 95 | +`scripts/fixture-library.tsv` was **not** a conflict (the branch is strictly | ||
| 96 | +ahead of its own base), so nothing to choose between. I took the lane's version | ||
| 97 | +as the base, then ran both checks: | ||
| 98 | + | ||
| 99 | +``` | ||
| 100 | +$ EC_REQUIRE_FIXTURES=1 scripts/verify-fixture-library.sh | ||
| 101 | +verify-fixture-library: RED (library verdict: mode i, mode ii or drift) | ||
| 102 | + shape: 295 rows | ||
| 103 | +$ diff <(grep -v '^#' scripts/fixture-library.tsv | cut -f1 | sort -u) \ | ||
| 104 | + <(scripts/gen-fixture-library.sh /tmp/r.tsv >/dev/null; grep -v '^#' /tmp/r.tsv | cut -f1 | sort -u) | ||
| 105 | +(exit 0 — unique path set identical, no lost coverage) | ||
| 106 | +``` | ||
| 107 | + | ||
| 108 | +**Row-set check: empty, as required. The verifier: RED.** The two rows the | ||
| 109 | +regeneration has and the committed file lacks are the two | ||
| 110 | +`library_fixture::require(` sites this lane added in `stream.rs` | ||
| 111 | +(`6298`, `45101`), plus the whole `stream.rs` `required_by` column is ~2 lines | ||
| 112 | +stale. The lane's own report explains its 295-vs-305 as coarser attribution for | ||
| 113 | +three paths — true, and the unique path set confirms no coverage was lost — but | ||
| 114 | +it does not explain why the artifact does not regenerate from the source the | ||
| 115 | +same lane committed. See Fix 1. | ||
| 116 | + | ||
| 117 | +I also tested and **refuted** the host-shape theory the lane raised (it blamed | ||
| 118 | +its worktree's symlinked `fixtures` versus the primary checkout's real dir): | ||
| 119 | + | ||
| 120 | +``` | ||
| 121 | +$ ln -sfn "$PWD/fixtures" /tmp/liblink | ||
| 122 | +$ EC_FIXTURES=/tmp/liblink scripts/gen-fixture-library.sh /tmp/r_sym.tsv # 297 rows | ||
| 123 | +$ scripts/gen-fixture-library.sh /tmp/r.tsv # 297 rows | ||
| 124 | +$ diff /tmp/r_sym.tsv /tmp/r.tsv | ||
| 125 | +(empty) | ||
| 126 | +``` | ||
| 127 | + | ||
| 128 | +The generator is invariant under a symlinked versus real fixture root, so the | ||
| 129 | +295-vs-297 gap is staleness in the committed artifact, not staging shape. | ||
| 130 | + | ||
| 131 | +--- | ||
| 132 | + | ||
| 133 | +## 3. `lane-ibc444c-r4` — the 4:4:4 intra-BC rect chroma footprint | ||
| 134 | + | ||
| 135 | +**Scope, against the true base:** | ||
| 136 | + | ||
| 137 | +``` | ||
| 138 | +$ git diff f33b9d41..lane-ibc444c-r4 --stat | ||
| 139 | + crates/ec-av1/src/decode.rs | 106 +++++-- | ||
| 140 | + crates/ec-av1/src/stream.rs | 183 +++++++++++ | ||
| 141 | + lanes/ibc444c.report.md | 720 ++++++++++++++++++++++++++++++++++++++ | ||
| 142 | + 3 files changed, 989 insertions(+), 20 deletions(-) # code = +271/-20 | ||
| 143 | +$ git diff f33b9d41..lane-ibc444c-r4 --name-only -- scripts/ # (empty) | ||
| 144 | +$ git diff f33b9d41..lane-ibc444c-r4 -- crates/ec-av1/src/decode.rs \ | ||
| 145 | + | grep -cE 'mu_chunk_order|read_intra_chroma_lossless' # 0 | ||
| 146 | +``` | ||
| 147 | + | ||
| 148 | +Exactly the three files, `scripts/` untouched, the two named symbols absent — | ||
| 149 | +the ticket's scope claim confirmed rather than taken on trust. | ||
| 150 | + | ||
| 151 | +### Hazard 1 — a 3-way apply that resurrects removed lines | ||
| 152 | + | ||
| 153 | +The hazard is real for a patch-rebuilt branch, so I checked the shape rather | ||
| 154 | +than the clean status: | ||
| 155 | + | ||
| 156 | +``` | ||
| 157 | +$ git diff f33b9d41..lane-ibc444c-r4 -- crates/ec-av1/src/stream.rs | grep -c '^-[^-]' | ||
| 158 | +0 | ||
| 159 | +``` | ||
| 160 | + | ||
| 161 | +`stream.rs` is a **single contiguous tail append** (hunk `@@ -47988,4 +47988,187 @@`, | ||
| 162 | +183 added, **0 removed**), so nothing can have been resurrected inside it — there | ||
| 163 | +is no deletion to undo. After the merge I checked the same thing across the | ||
| 164 | +whole wave for `stream.rs`: the only 10 deletions between `f33b9d41` and this tip | ||
| 165 | +are clipprobe's own removal of the two `../../fixtures/...` literals it replaced | ||
| 166 | +with the resolver, and clipprobe's 2 resolver call sites plus this lane's 1 new | ||
| 167 | +gate are each present exactly once. A rebuild-from-main reconstruction was | ||
| 168 | +therefore not needed — and I say so rather than implying I re-derived the file. | ||
| 169 | + | ||
| 170 | +### Hazard 2 — a foreign file swallowed by the commit | ||
| 171 | + | ||
| 172 | +``` | ||
| 173 | +$ git diff 7a7b9665..10183674 --stat | ||
| 174 | + crates/ec-av1/src/decode.rs | 106 +++++-- | ||
| 175 | + crates/ec-av1/src/stream.rs | 183 +++++++++++ | ||
| 176 | + lanes/ibc444c.report.md | 720 +++++++++++++++++++++++++++++++++++++++ | ||
| 177 | +``` | ||
| 178 | + | ||
| 179 | +Three files, and each later merge in this wave was checked the same way | ||
| 180 | +(`149b2ad8..97b4ee04` → 4 files: `decode.rs`, 2 scripts, the report). | ||
| 181 | + | ||
| 182 | +### Red-before, reproduced on the merged tree | ||
| 183 | + | ||
| 184 | +Reverting **only** the two arithmetic lines the lane names — `let (cpx, cpy) = | ||
| 185 | +(px >> ss_x(fctx), py >> ss_y(fctx));` and `let (cw, ch) = (bw >> ss_x(fctx), | ||
| 186 | +bh >> ss_y(fctx));` back to the 4:2:0 halving — nothing else: | ||
| 187 | + | ||
| 188 | +``` | ||
| 189 | +panicked at crates/ec-av1/src/stream.rs:48161:13: | ||
| 190 | +a_444_intrabc_rect_chroma_plane_block_is_the_block_footprint: plane Y diverges from the | ||
| 191 | +oracle at sample 205264 of 307200 (x=464, y=320) -- the exact prefix this gate pins is | ||
| 192 | +307200 and it only grows; the chroma tail is the OPEN entropy fork in | ||
| 193 | +lanes/ibc444c.report.md r2 | ||
| 194 | +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 754 filtered out | ||
| 195 | +``` | ||
| 196 | + | ||
| 197 | +**luma sample 205264** — the lane's figure, and the exact ceiling | ||
| 198 | +`lanes/av1444rect.report.md` rounds 3-4 documented. Decoder restored from a | ||
| 199 | +byte copy (`git diff` empty afterwards) and the gate re-run green: | ||
| 200 | + | ||
| 201 | +``` | ||
| 202 | +a_444_intrabc_rect_chroma_plane_block_is_the_block_footprint: 14 rect intra-BC block(s) | ||
| 203 | +sized at 4:4:4; 4:2:0 twin byte-exact; 4:4:4 luma byte-exact (307200/307200), U and V | ||
| 204 | +byte-exact to sample 51360 -- the chroma tail is the OPEN entropy fork | ||
| 205 | +(lanes/ibc444c.report.md r2), NOT an assertion | ||
| 206 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 754 filtered out | ||
| 207 | +``` | ||
| 208 | + | ||
| 209 | +The gate's honesty is the part I checked hardest, because the lane retracted an | ||
| 210 | +earlier over-claim: it pins an exact **prefix** per plane and treats the chroma | ||
| 211 | +tail as an open entropy fork, in the doc and in the panic message, with a counter | ||
| 212 | +assert (`hits > 0`) so the gate cannot measure the un-fixed halving. | ||
| 213 | + | ||
| 214 | +### The lane's scoped families, on the merged tree | ||
| 215 | + | ||
| 216 | +| family | lane's MAIN+LANE claim | measured here | | ||
| 217 | +|---|---|---| | ||
| 218 | +| `444` | 37 / 0 | **37 passed / 0 failed** | | ||
| 219 | +| `lossless` | 25 / 0 | **25 passed / 0 failed** | | ||
| 220 | +| `intrabc_rect` | 7 / 0 | **7 passed / 0 failed** | | ||
| 221 | +| `gate_coverage` | 13 / 0 | **13 passed / 0 failed** | | ||
| 222 | +| `refusal_inventory` | 19 / 0 | **19 passed / 0 failed** | | ||
| 223 | + | ||
| 224 | +**Left out, as instructed:** the hardcoded `let (cw, ch) = (bw / 2, bh / 2);` | ||
| 225 | +that survives at `decode.rs:16758` (`decode_intrabc_owned_rect`) and | ||
| 226 | +`decode.rs:19846` (`cfl_ac_q3_at`) is not folded in — neither is reached on this | ||
| 227 | +witness, so folding it would be an unmeasured change owned by another lane. | ||
| 228 | + | ||
| 229 | +--- | ||
| 230 | + | ||
| 231 | +## 4. `lane-av1rungs17` — oracle rungs 16/17 and the Rust twin | ||
| 232 | + | ||
| 233 | +**Merged, not rebased.** Main's note said "rebase it onto current main"; I merged | ||
| 234 | +it instead, because the branch is checked out in the lane's live worktree | ||
| 235 | +(`~/.cache/wt/av1rungs17`) and rebasing its tip from the primary checkout would | ||
| 236 | +rewrite another author's branch under a running worktree. The three-way merge | ||
| 237 | +has the same base `f33b9d41`, so the code outcome is identical and the rewrite | ||
| 238 | +does not happen. The resulting tree is `149b2ad8` + the branch tip. | ||
| 239 | + | ||
| 240 | +Main's supersession accepted: the checker is expected at **14 ok**, not 10. | ||
| 241 | + | ||
| 242 | +``` | ||
| 243 | +$ ./scripts/check-aom-oracle-rungs.sh | ||
| 244 | +ok legacy u8 row loops left in the derived file 0 | ||
| 245 | +ok ec_dump_narrow_row call sites (4 rungs x 3 planes) 12 | ||
| 246 | +ok ec_dump_finish call sites (one per narrowing rung) 4 | ||
| 247 | +ok byte-count check wired into EC_AV1_PREFILT_DUMP 1 | ||
| 248 | +ok byte-count check wired into EC_AV1_POSTDEBLOCK_DUMP 1 | ||
| 249 | +ok byte-count check wired into EC_AV1_PREFILT_WIDE_DUMP 1 | ||
| 250 | +ok byte-count check wired into EC_AV1_POSTCDEF_DUMP 1 | ||
| 251 | +ok rung 12 still converts plane pointers 1 | ||
| 252 | +ok rung 12 not routed through the narrowing checker 0 | ||
| 253 | +ok rung 16 EC_PREDOUT8 install sites (both 8-bit paths) 2 | ||
| 254 | +ok rung 16 EC_PREDOUT8 sites carry mode= (EC_PREDND field order) 2 | ||
| 255 | +ok rung 17 EC_PREDND install sites (hbd non-directional) 1 | ||
| 256 | +ok rung 17 EC_PREDND site carries mode= 1 | ||
| 257 | +ok instrument-aom-oracle.sh derives the depth-correct, byte-checked rungs (base v3.13.3) | ||
| 258 | +EXIT=0 | ||
| 259 | +``` | ||
| 260 | + | ||
| 261 | +**14 ok, exit 0** — the four new assertions are present, including the one that | ||
| 262 | +closes the silent gap: rung 16 asserted installed at **both** 8-bit sites and | ||
| 263 | +`mode=` on both, rung 17 installed once and carrying `mode=`. Before this lane, | ||
| 264 | +`reconintra.c` was never restored to pristine by the checker, so a rung there was | ||
| 265 | +never exercised and nothing was asserted. | ||
| 266 | + | ||
| 267 | +### The hot-file integrity note, checked rather than assumed | ||
| 268 | + | ||
| 269 | +``` | ||
| 270 | +$ git diff f33b9d41..lane-av1rungs17 -- scripts/instrument-aom-oracle.sh | grep -c '^-[^-]' | ||
| 271 | +0 | ||
| 272 | +$ git diff f33b9d41..lane-av1rungs17 -- scripts/instrument-aom-oracle.sh | grep '^@@' | ||
| 273 | +@@ -1074,3 +1074,156 @@ else: | ||
| 274 | +$ git diff 149b2ad8..97b4ee04 -- scripts/instrument-aom-oracle.sh | grep -c '^-[^-]' | ||
| 275 | +0 | ||
| 276 | +``` | ||
| 277 | + | ||
| 278 | +**One hunk, zero deletions, before and after the merge** — the HBD repair block, | ||
| 279 | +`ec_dump_finish` and rungs 1-15 are provably intact, which is what makes a clean | ||
| 280 | +auto-merge on this file meaningful rather than lucky. | ||
| 281 | + | ||
| 282 | +### What main was missing, confirmed | ||
| 283 | + | ||
| 284 | +``` | ||
| 285 | +$ grep -c 'OUR_PRED.*plane=' crates/ec-av1/src/decode.rs # before this merge: 0 | ||
| 286 | +$ grep -c 'OUR_PRED.*plane=' crates/ec-av1/src/decode.rs # after: 2 | ||
| 287 | +``` | ||
| 288 | + | ||
| 289 | +Both `OUR_PRED` sites now carry `plane=`, plus `RECON_PLANE`, `recon_plane()` | ||
| 290 | +and `PlaneGuard` (14 added lines matching those symbols in the branch's diff). | ||
| 291 | +Main had **zero** `OUR_PRED … plane=` lines, confirming that the whole commit — | ||
| 292 | +not just the script half — was absent. | ||
| 293 | + | ||
| 294 | +**`stash@{0}` is not what Main's note says it is.** Its message claims the | ||
| 295 | +`EC_PREDOUT8` rung-16 edit, and it is clearly a false lead for this merge, but | ||
| 296 | +`git stash show --stat stash@{0}` reports `scripts/instrument-aom-oracle.sh | 70 | ||
| 297 | +++++`, not `lane-ibc444c`'s `decode.rs`/`stream.rs`. Either way it is **not | ||
| 298 | +needed**: `lane-av1rungs17` carries the rung-16/17 work committed | ||
| 299 | +(`scripts/instrument-aom-oracle.sh +153`). I left the stash untouched. | ||
| 300 | + | ||
| 301 | +I did not rebuild the oracle to reproduce the 118-`EC_PREDND`-line measurement: | ||
| 302 | +that moves every lane's oracle binary and is the lane's own evidence, not an | ||
| 303 | +integration claim. The checker output above is what I verified. | ||
| 304 | + | ||
| 305 | +--- | ||
| 306 | + | ||
| 307 | +## 5. Name-set delta (`comm`, both directions) | ||
| 308 | + | ||
| 309 | +`cargo test -p ec-av1 --all-targets -- --list`, private target dir. | ||
| 310 | + | ||
| 311 | +``` | ||
| 312 | +$ comm -13 names_3cbtip.txt names_3d_final.txt # only in POST | ||
| 313 | +library_fixture::tests::the_resolver_follows_ec_fixtures_over_the_gitignored_root | ||
| 314 | +stream::tests::a_444_intrabc_rect_chroma_plane_block_is_the_block_footprint | ||
| 315 | + | ||
| 316 | +$ comm -23 names_3cbtip.txt names_3d_final.txt # only in PRE | ||
| 317 | + (empty) | ||
| 318 | + | ||
| 319 | +753 -> 755 (+2, -0) | ||
| 320 | +``` | ||
| 321 | + | ||
| 322 | +Per merge: clipprobe `+1`, ibc444c-r4 `+1`, **rungs17 `+0`** (oracle | ||
| 323 | +instrumentation and the Rust twin; it adds no Rust gate, which is consistent | ||
| 324 | +with its 755 → 755 step measured between the two merges). Nothing renamed, | ||
| 325 | +nothing dropped. | ||
| 326 | + | ||
| 327 | +--- | ||
| 328 | + | ||
| 329 | +## 6. Integration fixes | ||
| 330 | + | ||
| 331 | +Both are the same wave-3c-b step recurring: **a generated artifact must be | ||
| 332 | +regenerated when the source it indexes moves.** Each landed as its own commit, | ||
| 333 | +never folded into a merge. | ||
| 334 | + | ||
| 335 | +### Fix 1 — `7a7b9665`, the clipprobe manifest was stale on its own source | ||
| 336 | + | ||
| 337 | +295 committed rows, 297 from this lane's own generator over the source it | ||
| 338 | +committed. Two kinds of staleness, both real: | ||
| 339 | + | ||
| 340 | +* the whole `crates/ec-av1/src/stream.rs` `required_by` column is ~2 lines off | ||
| 341 | + (committed `stream.rs:8156`, regenerated `8154`) — the artifact predates the | ||
| 342 | + lane's last `stream.rs` edit; | ||
| 343 | +* three rows missing outright, the three `library_fixture::require(` sites the | ||
| 344 | + lane added: `stream.rs:6298`, `stream.rs:45101`, `library_fixture.rs:151`. | ||
| 345 | + | ||
| 346 | +``` | ||
| 347 | +$ EC_REQUIRE_FIXTURES=1 scripts/verify-fixture-library.sh # after | ||
| 348 | + shape: 297 rows / resolve: 0 missing, 0 empty | ||
| 349 | + invariant 1: positive control fired; no root-fixture pin path | ||
| 350 | + invariant 2: every committed pin is tracked | ||
| 351 | + invariant 3: negation present; no tracked pin shadowed | ||
| 352 | + pin gates: total=8 committed=21 uncommitted=0 ignored=0 assertless=0 | ||
| 353 | + invariant 4: census self-test passed; every pin-reading gate resolves | ||
| 354 | + the clip gates resolve …/fixtures too (EC_FIXTURES first, else $ROOT/fixtures) | ||
| 355 | + verify-fixture-library: GREEN (297 rows) exit 0 | ||
| 356 | +``` | ||
| 357 | + | ||
| 358 | +No coverage lost: unique path set **159 before and 159 after**, Main's row-set | ||
| 359 | +check empty, regeneration idempotent. | ||
| 360 | + | ||
| 361 | +### Fix 2 — `149b2ad8`, the manifest after the ibc444c gate | ||
| 362 | + | ||
| 363 | +297 → 299 rows. This one is a pure tail append, so there is **no** line shift at | ||
| 364 | +all; the whole diff is the two new rows, which are real new coverage and are that | ||
| 365 | +gate's own witnesses: | ||
| 366 | + | ||
| 367 | +``` | ||
| 368 | ++crates/ec-av1/fixtures/420_intrabc_rect4_witness.obu crates/ec-av1/src/stream.rs:48071 | ||
| 369 | ++crates/ec-av1/fixtures/444_intrabc_rect4_witness.obu crates/ec-av1/src/stream.rs:48069 | ||
| 370 | +``` | ||
| 371 | + | ||
| 372 | +plus the host-state unnamed-literal count 191 → 193, which the drift comparison | ||
| 373 | +excludes by design. Unique path set 159 before and after; Main's row-set check | ||
| 374 | +empty; idempotent; `GREEN (299 rows)`, exit 0. | ||
| 375 | + | ||
| 376 | +*(I first wrote a commit message claiming "every other delta is a 1:1 line | ||
| 377 | +attribution" for Fix 2. That was wrong — a tail append shifts nothing — and I | ||
| 378 | +amended the message before moving on. A wrong claim in a committed message is | ||
| 379 | +the same defect class this wave is about.)* | ||
| 380 | + | ||
| 381 | +--- | ||
| 382 | + | ||
| 383 | +## 7. Everything checked after the LAST merge, not per lane | ||
| 384 | + | ||
| 385 | +| check | result | | ||
| 386 | +|---|---| | ||
| 387 | +| `cargo check -p ec-av1 --all-targets` | clean, 0 warnings | | ||
| 388 | +| conflict markers anywhere in `crates/` or `scripts/` | none | | ||
| 389 | +| `gate_coverage` | 13 passed / 0 failed | | ||
| 390 | +| `refusal_inventory` | 19 passed / 0 failed | | ||
| 391 | +| `library_fixture` | 1 passed / 0 failed | | ||
| 392 | +| `EC_REQUIRE_FIXTURES=1 scripts/verify-fixture-library.sh` | **GREEN (299 rows)**, exit 0 | | ||
| 393 | +| `scripts/pin-gate-audit.py --self-test` | PASS (unchanged by this wave) | | ||
| 394 | +| `scripts/check-aom-oracle-rungs.sh` | **14 ok**, exit 0 | | ||
| 395 | +| Main's tsv row-set check | empty, twice | | ||
| 396 | +| name-set `comm` both directions | +2 / −0 | | ||
| 397 | + | ||
| 398 | +**server suite for wave 3d: not run.** The wave-3c-b suite | ||
| 399 | +(`user@host-a`, unit `wave3cb-suite`, log `~/gates/wave3cb/suite.log`) | ||
| 400 | +was still executing when this wave started and I did not queue a second full run | ||
| 401 | +behind it. Everything above is measured on the merged tree in a lane-private | ||
| 402 | +target dir with the local `aomenc`/`aomdec`/`ffmpeg` present, except the oracle | ||
| 403 | +rebuild-dependent rung output, which is named as the lane's measurement. | ||