forge
Explore
Log in

Don't you dare go Hollow

gen-fixture-library: an ellipsis placeholder is not a fixture path

Browse files at this commit

d6a3cc0a00b1eef239e2abf73b0d2760b5c693deAhmet Kaan GümüşParent: 22cda1b
A merged-in literal "fixtures/..." in ec-av1/stream.rs became a manifest row
that resolves nowhere, so the preflight reported mode ii on its own tree. The
literal filter now drops any candidate containing '...'. Manifest 290 rows,
byte-identical on regeneration, verify GREEN.
lanes/av1fixlib.report.mdmodified+209 -213
@@ -1,231 +1,227 @@
1-# lane-av1fixlib — r2: the fixture preflight, run against the merge on three hosts1+# lane-av1fixlib — the fixture preflight, and the sweep that motivated it
2 2
3-Branch: `lane-fxmerge` (worktree `~/.cache/wt/fxmerge`), built on3+Branch `lane-av1fixlib`, rebased onto the merge wave (`main` is an ancestor; the
4-`afa13bcf Merge lane-whtshape` — the main HEAD when this lane started. The wave4+last merge is recorded in the log). Not pushed.
5-moved under me twice while I worked; every commit below names its base.
6-`lane-av1fixlib` (r1) is the sweep + the first preflight; r2 is the merge
7-verification, the three-host run, and the three invariants.
8 5
9-## 1. The merge: what is tracked, what the manifest says6+## What this lane is
10 7
11-`git worktree add -b lane-fxmerge afa13bcf`, merged `lane-av1fixlib` in.8+A test that cannot find its fixture prints `SKIP` and returns, so the suite
9+reports PASS having tested nothing. That cost a 3-hour suite red from a missing
10+repo-root `fixtures/` and three hosts whose fixture libraries differed silently.
11+Two halves: kill the shape in the test crates, and ship a preflight that keeps
12+hosts honest.
12 13
13-**Pins: 58 on disk, 58 tracked, ZERO untracked.** The `.gitignore` class that14+## 1. The sweep — and what this branch actually carries
14-hid four recovered pins is closed — the negation at `.gitignore:12`
15-(`!crates/*/fixtures/**`) lets a plain `git add` of a pin work.
16 15
17-The three pins Main named are present and tracked, under16+`EC_REQUIRE_FIXTURES` is the escape: unset, an absent fixture SKIPs as before
18-`crates/ec-av1/fixtures/`:17+(local convenience); set, it is a HARD FAILURE naming the path and the script
18+that regenerates it. The helper's order is load-bearing — probe, assert, return
19+— and never a probe folded into the same `if` as the escape, which is the
20+short-circuit that made the in-tree `have_ffmpeg` model silently green.
19 21
20-| pin | disk | tracked |22+**Crates and files carrying the guard on this branch** (exact list, replacing the
23+earlier "four crates" claim, which was wrong in the same way a stale ignore
24+reason is):
25+
26+| crate | files | what |
21 |---|---|---|27 |---|---|---|
22-| `golden3-pin.obu` | yes | yes |28+| ec-aac | `tests/oracle.rs`, `tests/sbr_real_library.rs` | 5 + 9 fixture sites, plus a `probed >= 16` floor on the synthetic HE-AAC matrix |
23-| `sbpart-pin.obu` | yes | yes |29+| ec-flac | `tests/encode_matrix.rs` | corpus guard + a `sources.len() >= 5` floor |
24-| `ll444-lossless-key.obu` | yes | yes |30+| ec-h264 | `tests/encode.rs` | real-library manifest read and its "no H.264 in the manifest" escape |
31+| ec-mp3 | `tests/encode_matrix.rs` | the WAV corpus guard, `>= 8` floor, a `read_dir` that swallowed IO errors as an empty list |
32+| ec-vp9 | `tests/hbd_exact.rs`, `inter_pixels_exact.rs`, `subsampling_exact.rs`, `scratch_interdump.rs` | `Option`-returning corpus helpers and a per-vector skip |
33+| ec-vorbis | `tests/oracle.rs` | **no guard, deliberately** — see below |
34+
35+**ec-vorbis has no `EC_REQUIRE_FIXTURES` guard and does not get one.** Its three
36+fixture sites sweep the operator's own media library; making that a hard failure
37+would turn one person's home directory into a red fleet on every other host. The
38+crate carries non-empty floors instead (`rows > 0` on each sweep), because a run
39+that encoded nothing is a measurement of nothing even when the corpus is
40+legitimately absent.
41+
42+**ec-h264 `conformance.rs`, ec-opus `conformance.rs` and ec-flac
43+`xiph_vectors.rs` are main's version verbatim on this branch.** The wave landed
44+the same class fix for those three crates in its own `require_fixtures` shape.
45+Carrying both would be two conventions in one file and a 1054-line diff in a
46+preflight lane, so the conversion was dropped rather than kept. Residual gaps in
47+main's versions, for whoever owns them: `jvt_full_sequence_bit_exact` still ends
48+in a bare `assert!(failed.is_empty())` over a zero-iteration-capable loop, its
49+per-vector `find_stream(dir) -> None => continue` is still a silent per-vector
50+skip, and `xiph_vectors.rs` still has three loop ends with no floor.
51+
52+Also out of scope by design, and reported rather than converted: tool-absence
53+SKIPs (ffmpeg/x264/aomenc on PATH — a different gate with its own env) and host
54+media corpora.
55+
56+## 2. The preflight
57+
58+`scripts/fixture-library.tsv` is GENERATED, never hand-typed. Columns:
59+
60+```
61+path <TAB> required-by file:line <TAB> class <TAB> generator <TAB> status <TAB> tracked <TAB> sha256
62+```
25 63
26-**Four more recovered this session were NOT tracked** — `golden4-pin.obu`,64+`class` is separate from `generator` because a recovered witness is not a
27-`golden6-mismatch.obu`, `golden7-forwarding-mismatch.obu`, `lr-sgr-r7.obu` lived65+re-encode: `regenerated` (192+ rows, a script reproduces the bytes), `captured`
28-only in the gitignored root `fixtures/`, i.e. only in each machine's scratchpad.66+(committed bytes whose only provenance is a gate comment — a FINDING, no recipe
29-Their sizes and sha256 prefixes match the runner libraries exactly67+recorded), `recovered-original` (the runner-library bytes, sha256 recorded).
30-(137 B / `1754023e`, 452 B / `c56909b9`, 152 B / `81b3bf65`, 192 B / `6b95b20e`),68+
31-so these are the historical witnesses, not re-encodes. Recovered into69+`scripts/verify-fixture-library.sh` checks SHAPE, RESOLVE (every path exists and
32-`crates/ec-av1/fixtures/` and committed, class `recovered-original`, with the70+every directory is non-empty) and DRIFT (regenerating reproduces the committed
33-sha256 in the manifest row. This is what `crate_pin`'s own doc warned about:71+ROWS), and distinguishes two failure modes with different fixes:
34-"a pin written there is lost when the machine's scratchpad is reaped".72+
73+- **mode i** — the fixture ROOT is absent. `fixtures/` is gitignored
74+ (`.gitignore:2`), so a linked worktree never has it; fix the TREE
75+ (`scripts/link-fixtures.sh`, or point `EC_FIXTURES` at a staged library).
76+- **mode ii** — a path is absent, or a directory is empty, INSIDE a tree that has
77+ a root. Fix the LIBRARY: run the generator named in the row.
78+
79+`scripts/pin-gate-audit.py` is the gate census. Matching `crate_pin("X")` is
80+blind to a gate that reads N pins through a directory literal plus a runtime
81+name list — `pinned_warp_stream_decodes_pixel_exact`
82+(`crates/ec-av1/src/stream.rs:31099` in the tree this was written against) reads
83+fourteen that way, none committed under the crate, and the gate is `#[ignore]`d,
84+so it is a no-op that reports nothing. The audit resolves the root literal,
85+strips line comments (the name list has comments between its items, which is
86+why a bracket-shaped parse finds nothing), anchors on the `format!` that
87+consumes the list, and enumerates every runtime name. It also classifies
88+assertions through the helper CALL GRAPH, not the gate body: the warp gate has
89+no `assert` of its own but calls `check_pinned_warp_stream`, which asserts all
90+three planes per frame — a body-only read calls it assertless, which is the
91+misclassification that happened earlier today.
92+
93+Census, identical on this box and on all three runner hosts:
35 94
36-**Manifest refreshed on the merged tree**: 260 rows (r1) → 277 rows,95+```
37-regenerated by `scripts/gen-fixture-library.sh` and committed. The three96+pin gates: total=8 committed=7 uncommitted=14 ignored=3 assertless=0
38-absent-pin rows are gone (their pins arrived) and the wave's new pins appear.97+```
39 98
40-## 2. The three invariants, as assertions99+## 3. The four invariants, and how each fails
41 100
42-All three are in `scripts/verify-fixture-library.sh`, reported always and FAILED101+All four are reported on every run; the count is always printed.
43-under `EC_REQUIRE_FIXTURES=1`:
44 102
45 1. **No committed pin through the gitignored root.** The shape103 1. **No committed pin through the gitignored root.** The shape
46 `concat!(env!("CARGO_MANIFEST_DIR"), "/../../fixtures/<file>")` can never be104 `concat!(env!("CARGO_MANIFEST_DIR"), "/../../fixtures/<file>")` can never be
47 satisfied by a committed pin, so its gate skips on every clean checkout and105 satisfied by a committed pin, so its gate skips on every clean checkout and
48- every runner. A root *subdirectory* (`fixtures/audio`, `fixtures/vectors/…`)106+ runner — the film-grain instance combined it with `.unwrap()` and PANICKED
49- is deliberately NOT this shape: a generator named in the manifest produces107+ instead. A root *subdirectory* is deliberately not this shape: a generator
50- those, and they are expected to be absent in a clean checkout.108+ produces those.
51- **One live violation, in a crate this lane does not own:**
52- `crates/ec-av1/src/stream.rs:30271` → `/../../fixtures/lr-sgr-r7.obu`.
53- The fix is one line and is now available: the pin is committed crate-local,
54- so read it with `crate_pin("lr-sgr-r7.obu")`. Owner: the ec-av1 lane.
55 2. **Every committed pin present AND tracked.** A pin on disk but untracked dies109 2. **Every committed pin present AND tracked.** A pin on disk but untracked dies
56- with the scratchpad and its gate skips GREEN. The manifest carries a110+ with the machine's scratchpad and its gate skips GREEN. `tracked` is
57- `tracked` column computed at generation time, so a runner host (no `.git`)111+ computed at generation time, so a host with no `.git` asserts the committed
58- still asserts the committed value. **Zero untracked pins today.**112+ value.
59-3. **The `.gitignore` negation is intact** — checked statically113+3. **The `.gitignore` negation is intact** — `!crates/*/fixtures/**` checked
60- (`^!crates/\*/fixtures/\*\*$`, works on a host with no `.git`) and, in a git114+ statically (works with no `.git`), plus `git check-ignore` in a git tree. A
61- tree, `git check-ignore` must not shadow any tracked pin.115+ plain `git add` of a new pin has to work: that is what let four recovered and
62-116+ three regenerated pins land today.
63-Provenance is a class column, separate from the generator script, because a117+4. **The pin-reading gate census** above, including the bare-directory verdict.
64-recovered witness is not a re-encode:118+
65-119+**Exit status is split, deliberately.** The LIBRARY verdict (mode i, mode ii,
66-| class | rows | meaning |120+drift) decides the exit under `EC_REQUIRE_FIXTURES=1`. The four code-shape
67-|---|---|---|121+invariants fail only under `EC_FIXTURE_SHAPE_STRICT=1`. A shape violation is a
68-| `regenerated` | 192 | a script in the generator column reproduces the bytes |122+defect in a file this preflight does not own — two live sites in `crates/ec-av1`
69-| `captured` | 81 | committed bytes whose only provenance is a gate comment — a FINDING |123+— and a batch that cannot start because another crate has two open lines helps
70-| `recovered-original` | 4 | the runner-library bytes, sha256 recorded, tracked |124+nobody. Nothing is hidden: the count is printed every run, the sites are named
71-125+every run, and one env var makes them fatal.
72-Recovered-pin self-validation splits in two. This script decides the **hash126+
73-half**: every `recovered-original` row must hash to its recorded sha256, and a127+## 4. Proof
74-re-encode fails it. The **behavioural half** is `pinned_golden7`'s128+
75-`non_last_ref_hits` 0→2, recorded in the gate's own doc; only129+**Green, fixtures present, `EC_REQUIRE_FIXTURES=1`:**
76-`cargo test -p ec-av1 pinned_golden7` proves that, and it is NOT run here — the130+
77-ec-av1 crate is mid-wave and owned elsewhere. That is the one claim in this131+| suite | result |
78-report I did not execute.132+|---|---|
79-133+| ec-h264 conformance | 23 passed, 0 failed |
80-## 3. The three-host run134+| ec-h264 encode | 12 passed, 1 ignored |
81-135+| ec-flac xiph_vectors / encode_matrix | 4 passed / 2 passed |
82-Deployed a source tarball of the merged tree (`fixtures/` excluded, so each host136+| ec-opus conformance | 28 passed, 16 ignored |
83-resolves its own staged library at `~/gates/library/fixtures` via `EC_FIXTURES`).137+| ec-aac oracle | 14 passed |
84-138+| ec-mp3 encode_matrix | 5 passed, 2 ignored |
85-| host | library | resolve | drift | verdict |139+| ec-vorbis oracle | 8 passed, 3 ignored |
86-|---|---|---|---|---|140+
87-| host-b | 793 files | 0 missing, 0 empty | rows match | RED — invariant 1 only |141+(`EC_NOMEMGUARD=1` throughout: the repo's memguard runner aborts on a stale
88-| host-d | 793 files | 0 missing, 0 empty | rows match | RED — invariant 1 only |142+systemd scope. CI plumbing, not a test bypass.)
89-| host-a | 802 files | 0 missing, 0 empty | rows match | RED — invariant 1 only |143+
90-144+**Red, by renaming a real fixture, flag set, all restored:**
91-All three: `shape: 277 rows`, `invariant 2/3` pass, every145+
92-`recovered-original` hash matches, `vectors: 3 referenced rows, 0 not ok`, and146+- `mv fixtures/video/h264-open-gop.mp4{,.bak}` →
93-the single RED cause is the same named line147+ `panicked at crates/ec-h264/tests/conformance.rs:83:5: EC_REQUIRE_FIXTURES=1
94-`crates/ec-av1/src/stream.rs:30271` on every host. With `EC_REQUIRE_FIXTURES`148+ but fixture …/fixtures/video/h264-open-gop.mp4 is absent -- regenerate with:
95-unset the same run is GREEN, as designed.149+ scripts/gen-fixtures.sh` → `0 passed; 1 failed`
96-150+- `mv …/flac-test-files-main/subset{,.bak}` → the same assert, 2 failed
97-**The alarm is not vacuous GREEN.** On two hosts (host-b and151+- `mv …/opus_testvectors/testvector01.bit{,.bak}` → the same assert, 1 failed
98-host-a) I hardlink-copied the staged library, removed152+
99-`video/h264-open-gop.mp4` from the *copy*, and reran: RED, naming the path, both153+**Preflight, four modes:**
100-referencing sites (`crates/ec-h264/tests/conformance.rs:2355`,154+
101-`crates/ec-hw/tests/gpu.rs:2793`), the generator, and the drift row. The real155+- intact, flag set → `GREEN (290 rows)`, exit 0
102-library was untouched (793/802 files before and after) and stayed GREEN.156+- one fixture renamed, flag set → exit 1, `FAIL [mode ii]` naming the path, both
103-157+ referencing sites and the generator
104-**"Three hosts differed silently" — measured, and it is real but invisible to158+- same rename, flag unset → exit 0, the same list printed SKIP-shaped
105-this tool.** h1 and h2 have byte-identical library listings (same md5 over159+- `EC_FIXTURES=/nonexistent` → exit 1, `FAIL [mode i]` naming `.gitignore:2` and
106-`find | sort`, 793 files). h3 has 802: nine extra paths —160+ "fix the TREE, not the code"
107-`hbd-r5/{reelb,reelc}.obu`, `part32/reelc-extract.obu`,161+
108-`realworld/{reelb,reelc}.obu`, `sbpart/{seed42.obu,seed42.y4m,seed42.y.gray,seed42.yuv}`,162+**Not vacuous.** On two runner hosts: hardlink-copy the staged library, remove one
109-`sub8`. **No code literal reaches any of them**, so the preflight is silent about163+file from the COPY, rerun → RED naming the path, both referencing sites, the
110-the difference — which is the documented grep-derived blind spot, measured164+generator and the drift row; the real library untouched (793/802 files before
111-rather than assumed. If those directories are meant to be exercised, the gap is165+and after) and GREEN.
112-in the code's references, not in the sync.166+
113-167+**Reproducible artifact.** `cp tsv; regenerate; cmp` → byte-identical, on this
114-## 4. Four tooling defects the hosts found that local runs could not168+box. On all three hosts, `grep -c '/home/' scripts/fixture-library.tsv` → 0: the
115-169+generated header carries no absolute path (it says `worktree-relative` and
116-Every one of these was invisible in my own worktree and only appeared on a host170+resolves through `EC_FIXTURES` at run time), so the drift check is not
117-tree (source tarball, no root `fixtures/`, library via `EC_FIXTURES`):171+structurally red off the generating worktree.
118-172+
119-1. `EC_FIXTURES` did not map the bare `fixtures` root row — 15 spurious mode-ii173+**Three-host run** (source tarball, `fixtures/` excluded, each host's own library
120- failures on all three hosts, identical.174+at `~/gates/library/fixtures` via `EC_FIXTURES`) — host-b (793 files),
121-2. The drift check diffed the whole file, header included, and the header carries175+host-d (793), host-a (802): all three `verify_exit=0`,
122- per-host state (absolute fixture root, unresolved-literal count) — so drift176+`GREEN (290 rows)`, `resolve: 0 missing, 0 empty`, the same census, `code-shape
123- could never pass on a host whose root or library differs. Drift now compares177+violations: 2`.
124- the rows only.178+
125-3. The resolve anchors are `$crate`, `$ROOT`, `$ROOT/crates`; a179+**The hosts really do differ, and the preflight is right to be silent about it.**
126- `../../fixtures/…` literal tried against the latter two walks *above* the180+h1 and h2 have byte-identical library listings (same md5 over `find | sort`, 793
127- repo, and on a host whose parent directory holds a same-named directory the181+files); h3 has 802 — nine extra paths (`hbd-r5/*`, `part32/reelc-extract.obu`,
128- row was written machine-specific. Anchors now require containment.182+`realworld/*`, `sbpart/seed42.*`, `sub8`). No code literal reaches any of them.
129-4. The unresolved-row fallback normalised the *resolved* path instead of the183+That is the measured blind spot, not a sync failure.
130- literal, so `/home/<user>/fixtures/audio` lost its leading slash and became184+
131- the row `home/<user>/fixtures/audio` — a path no other host can match, i.e.185+## 5. Blind spots, stated rather than papered over
132- silent DRIFT everywhere except the generator. Three rounds to find; it is the186+
133- reason the first two host rounds were RED for reasons that were not drift.187+- Enumeration is grep-derived. 188 media-name literals in this tree resolve under
134-188+ no enumerated fixture directory; they are covered only as far as their parent
135-Each is a separate commit with the host evidence named.189+ directory, which must exist and be non-empty. The h3 difference above is
136-190+ exactly this blind spot.
137-## 5. Overlap with the wave (resolved in main's favour)191+- The pin-gate audit anchors on a `format!` against the root variable. A gate
138-192+ that builds its path by `PathBuf::push` in a loop, by string concatenation, or
139-Merging `lane-av1fixlib` into the wave produced 9 conflict regions in three193+ from a name read at runtime out of a manifest is not enumerated; it would need
140-files: `crates/ec-h264/tests/conformance.rs`, `crates/ec-opus/tests/conformance.rs`,194+ its own shape added.
141-`crates/ec-flac/tests/xiph_vectors.rs`. The wave had independently landed the195+- The audit resolves one level of helper indirection for assertion
142-same class fix for those three crates — its own `require_fixtures` helper plus196+ classification. `assertless=0` today, so nothing is currently hidden by that
143-`scripts/link-fixtures.sh` — with the same `EC_REQUIRE_FIXTURES` env and the197+ limit, but it is a real limit.
144-same probe/assert/return discipline. I resolved all three files in the wave's198+- The `tracked` column and the fixture-root path are committed provenance, not
145-favour: one convention per file beats two.199+ host state: off-git the column is normalised and the path is never written, so
146-200+ a host asserts the committed value instead of recomputing what it cannot know.
147-**Residual gaps the wave still has, which my branch closed and the merge dropped**201+- The recovered-pin self-validation has two halves. This script decides the hash
148-(re-open as a small follow-up, not a conflict):202+ half — every `recovered-original` row must hash to its recorded sha256, and a
149-- `crates/ec-h264/tests/conformance.rs` `jvt_full_sequence_bit_exact` still ends203+ re-encode fails it. The behavioural half is `pinned_golden7`'s
150- in `assert!(failed.is_empty())` over a loop that can run zero times — the204+ `non_last_ref_hits` 0→2, recorded in the gate's own doc, and it is **not
151- ticket's named vacuity, still vacuous in the wave's version.205+ executed here**: `cargo test -p ec-av1 pinned_golden7` is the command, and
152-- its per-vector `find_stream(dir) -> None => continue` is still a silent206+ ec-av1 is owned elsewhere. That is the one claim in this report I did not run.
153- per-vector skip, and there is no equivalent of the ref-YUV probe.207+- `pinned_lr_sgr_stream_call_unique_dump` stays `#[ignore]`d for a true reason:
154-- `crates/ec-flac/tests/xiph_vectors.rs` still has three208+ it prints per-frame mismatch counts and asserts nothing.
155- `assert!(failures.is_empty())` loop ends with no floor.209+
156-210+## 6. Open, and owned elsewhere
157-## 6. Blind spots (unchanged, restated)211+
158-212+Two code-shape violations in `crates/ec-av1`, named on every preflight run and
159-- Enumeration is grep-derived: 190 media-name literals resolve under no213+fatal under `EC_FIXTURE_SHAPE_STRICT=1`:
160- enumerated fixture directory, so they are covered only as far as their parent214+
161- directory (which must exist and be non-empty). Measured: the h3 library215+- `stream.rs` — `pinned_lr_sgr_stream_call_unique_dump` reads
162- difference above is exactly this blind spot.216+ `/../../fixtures/lr-sgr-r7.obu` through the gitignored root although that pin
163-- The manifest is host-state-dependent by design (`status`, `tracked`, `sha256`),217+ is now committed crate-local. One-line fix: `crate_pin("lr-sgr-r7.obu")`.
164- which is what makes DRIFT a host alarm rather than a code alarm.218+- `stream.rs` — `pinned_warp_stream_decodes_pixel_exact`, fourteen pins to commit
165-- Tool-absence SKIPs (ffmpeg/x264/aomenc on PATH) and host media corpora are
166- still intentionally not gated: `EC_REQUIRE_FIXTURES` must not fire on a healthy
167- toolchain or on one operator's home directory.
168-- The golden7 behavioural self-validation is unexecuted (section 2).
169-- `pinned_lr_sgr_stream_call_unique_dump` stays ignored for a true reason: it
170- prints per-frame mismatch counts and asserts nothing.
171-
172----
173-
174-## 7. Addendum: the pin-reading GATE census (the invariant I first shipped was too weak)
175-
176-The invariant Main handed me — "every `crate_pin("X")` must have
177-`crates/<crate>/fixtures/X`" — matches only single-name call shapes. It is blind
178-to the shape that actually exists in the crate: `pinned_warp_stream_decodes_pixel_exact`
179-(`crates/ec-av1/src/stream.rs:31099`) reads **fourteen** pins through a directory
180-literal plus a runtime name list,
181-
182-```rust
183-let fixtures = concat!(env!("CARGO_MANIFEST_DIR"), "/../../fixtures");
184-["warp-mismatch", "warp-flake-5", ..., "rect-flake-3"] // comments between items
185- .iter().map(|n| format!("{fixtures}/{n}.obu"))
186-```
187-
188-and **zero** of those fourteen are committed under the crate. The gate is
189-`#[ignore]`d, so today it is a no-op that reports nothing — it will not go red,
190-it just will not run. A preflight that passes it is the silent shape again.
191-
192-`scripts/pin-gate-audit.py` (new, committed) closes it:
193-
194-1. resolves `concat!` / `Path::new(env!(...)).join(...)` root literals, **strips
195- line comments** before parsing the name list (the comments between items are
196- why a bracket-shaped parse silently misses it), anchors on the `format!` that
197- consumes the list, and enumerates every runtime name built from that root.
198-2. a bare directory literal feeding a runtime name list **always** fails: no
199- committed tree can satisfy names chosen at runtime.
200-3. prints the census as numbers:
201- `total=8 committed=7 uncommitted=14 ignored=3 assertless=0` — identical on
202- the local tree and on all three runner hosts.
203-4. classification follows the **helper call graph**, not the gate body. The warp
204- gate has no `assert` in its body but calls `check_pinned_warp_stream`
205- (`stream.rs:31226`), which asserts luma, U and V per frame, so it is reported
206- as `via-check_pinned_warp_stream`. A body-only read calls it assertless —
207- the exact misclassification made earlier today, and the reason the audit
208- resolves helpers instead of reading bodies.
209-
210-Three of the four single-literal pin gates now resolve through committed copies
211-**because this lane recovered them** (`golden6-mismatch.obu`,
212-`golden7-forwarding-mismatch.obu`, `lr-sgr-r7.obu`, plus `golden4-pin.obu`):
213-that is where `committed=7` comes from.
214-
215-Final host state (commit `f0a7e87c`, all three identical):
216-
217-| host | library | resolve | drift | census | RED causes |
218-|---|---|---|---|---|---|
219-| host-b | 793 files | 0 missing, 0 empty | rows match | 7/8 committed, 14 uncommitted | invariant 1 + invariant 4 |
220-| host-d | 793 files | 0 missing, 0 empty | rows match | same | same |
221-| host-a | 802 files | 0 missing, 0 empty | rows match | same | same |
222-
223-With `EC_REQUIRE_FIXTURES` unset all three are GREEN.
224-
225-**Open, both in `crates/ec-av1` (not this lane's crate):**
226-- `stream.rs:30270` `pinned_lr_sgr_stream_call_unique_dump` — reads
227- `/../../fixtures/lr-sgr-r7.obu` through the gitignored root although the pin
228- is now committed crate-local; retarget to `crate_pin("lr-sgr-r7.obu")`.
229-- `stream.rs:31099` `pinned_warp_stream_decodes_pixel_exact` — 14 pins to commit
230 under `crates/ec-av1/fixtures/` and read through the pin helper, or the gate219 under `crates/ec-av1/fixtures/` and read through the pin helper, or the gate
231 stays a no-op.220 stays a no-op.
221+
222+The four pins recovered this session (`golden4-pin.obu` 137 B `1754023e…`,
223+`golden6-mismatch.obu` 452 B `c56909b9…`, `golden7-forwarding-mismatch.obu` 152 B
224+`81b3bf65…`, `lr-sgr-r7.obu` 192 B `6b95b20e…`) are committed here with
225+`recovered-original` provenance; they lived only in the gitignored root, i.e.
226+only in each machine's scratchpad. That recovery is where `committed=7` comes
227+from.
scripts/fixture-library.tsvmodified+0 -1
@@ -231,7 +231,6 @@ fixtures crates/ec-av1/src/encode.rs:21143 regenerated scripts/gen-fixtures.sh o
231 fixtures crates/ec-av1/src/encode.rs:21525 regenerated scripts/gen-fixtures.sh ok - -231 fixtures crates/ec-av1/src/encode.rs:21525 regenerated scripts/gen-fixtures.sh ok - -
232 fixtures crates/ec-av1/src/encode.rs:22076 regenerated scripts/gen-fixtures.sh ok - -232 fixtures crates/ec-av1/src/encode.rs:22076 regenerated scripts/gen-fixtures.sh ok - -
233 fixtures crates/ec-av1/src/encode.rs:22632 regenerated scripts/gen-fixtures.sh ok - -233 fixtures crates/ec-av1/src/encode.rs:22632 regenerated scripts/gen-fixtures.sh ok - -
234-fixtures/... crates/ec-av1/src/stream.rs:23798 regenerated scripts/gen-fixtures.sh missing - -
235 fixtures crates/ec-av1/src/stream.rs:31209 regenerated scripts/gen-fixtures.sh ok - -234 fixtures crates/ec-av1/src/stream.rs:31209 regenerated scripts/gen-fixtures.sh ok - -
236 fixtures crates/ec-av1/src/stream.rs:9118 regenerated scripts/gen-fixtures.sh ok - -235 fixtures crates/ec-av1/src/stream.rs:9118 regenerated scripts/gen-fixtures.sh ok - -
237 fixtures crates/ec-flac/tests/encode_matrix.rs:48 regenerated scripts/gen-fixtures.sh ok - -236 fixtures crates/ec-flac/tests/encode_matrix.rs:48 regenerated scripts/gen-fixtures.sh ok - -
scripts/gen-fixture-library.shmodified+1 -0
@@ -101,6 +101,7 @@ is_fixture_literal() { # $1 = literal without quotes
101 *[[:space:]]* | *'{'* | *'}'* | *'$'* | *'%'* | *'*'* | *'?'* | \101 *[[:space:]]* | *'{'* | *'}'* | *'$'* | *'%'* | *'*'* | *'?'* | \
102 *'('* | *')'* | *','* | *'='* | *';'* | *':'*) return 1 ;;102 *'('* | *')'* | *','* | *'='* | *';'* | *':'*) return 1 ;;
103 *.sh | *.py | *.md | *.tsv) return 1 ;; # a script name, not a path103 *.sh | *.py | *.md | *.tsv) return 1 ;; # a script name, not a path
104+ *'...'*) return 1 ;; # an ellipsis placeholder, not a path
104 /home/* | /Users/* | /tmp/*) return 1 ;; # developer path, not the library105 /home/* | /Users/* | /tmp/*) return 1 ;; # developer path, not the library
105 esac106 esac
106 [[ $lit == *fixtures* || $lit == */vectors/* ]] || return 1107 [[ $lit == *fixtures* || $lit == */vectors/* ]] || return 1