report: the three-host run on the flipped tree, and the census hole with its control
Browse files at this commit623a8602866a501e1e3a0b281668260e4a7b90ceParent: 39726531 changed file +92 -0
- lanes/av1fixlib.report.md +92 -0
lanes/av1fixlib.report.mdmodified+92 -0
| @@ -289,3 +289,95 @@ The four pins recovered earlier in this lane (`golden4-pin.obu` 137 B | ||
| 289 | 289 | `golden7-forwarding-mismatch.obu` 152 B `81b3bf65…`, `lr-sgr-r7.obu` 192 B |
| 290 | 290 | `6b95b20e…`) are committed with `recovered-original` provenance; they lived only |
| 291 | 291 | in the gitignored root, i.e. only in each machine's scratchpad. |
| 292 | + | |
| 293 | +## 7. Three-host run on the FLIPPED tree (commit f4e1ac6b) | |
| 294 | + | |
| 295 | +Every host: its own staged library at `~/gates/library/fixtures`, passed as | |
| 296 | +`EC_FIXTURES`; the source tarball excludes the root `fixtures/`, so the preflight | |
| 297 | +resolves against that host's library and nothing else. | |
| 298 | + | |
| 299 | +``` | |
| 300 | +EC_FIXTURES=~/gates/library/fixtures EC_REQUIRE_FIXTURES=1 \ | |
| 301 | + ./scripts/verify-fixture-library.sh | |
| 302 | +``` | |
| 303 | + | |
| 304 | +| host | library | verify exit | verdict | census | violations | invariant-1 control | census self-test | | |
| 305 | +|---|---|---|---|---|---|---|---| | |
| 306 | +| host-b | 793 files | 0 | GREEN (303 rows) | 8 / 21 / 0 / 0 / 0 | 0 | fired | passed | | |
| 307 | +| host-d | 793 files | 0 | GREEN (303 rows) | 8 / 21 / 0 / 0 / 0 | 0 | fired | passed | | |
| 308 | +| host-a | 802 files | 0 | GREEN (303 rows) | 8 / 21 / 0 / 0 / 0 | 0 | fired | passed | | |
| 309 | + | |
| 310 | +Census columns are `total / committed / uncommitted / ignored / assertless`. | |
| 311 | + | |
| 312 | +**Not vacuous, re-proved on all three.** `cp -al` the staged library, remove | |
| 313 | +`video/h264-open-gop.mp4` from the COPY, rerun with `EC_FIXTURES` pointed at the | |
| 314 | +copy: | |
| 315 | + | |
| 316 | +``` | |
| 317 | +FAIL [mode ii]: 2 referenced fixture path(s) do not resolve, | |
| 318 | + fixtures/video/h264-open-gop.mp4 <- crates/ec-h264/tests/conformance.rs:2381 (regenerated, generator: scripts/gen-fixtures.sh) | |
| 319 | + fixtures/video/h264-open-gop.mp4 <- crates/ec-hw/tests/gpu.rs:2793 (regenerated, generator: scripts/gen-fixtures.sh) | |
| 320 | + '+ only committed' is a row this host cannot satisfy ... | |
| 321 | +``` | |
| 322 | + | |
| 323 | +exit 1 on every host, naming the path, both referencing sites, the generator and | |
| 324 | +the drift row. The real library was untouched — 793 files before and after on | |
| 325 | +h1/h2, 802 on h3 — and GREEN again immediately afterwards. `cp -al` hardlinks, | |
| 326 | +so `rm` removes only the copy's link; nothing in a staged library is reachable | |
| 327 | +from the probe. | |
| 328 | + | |
| 329 | +**The hosts still differ, and the extra files are still unreachable.** h1 and h2 | |
| 330 | +have byte-identical library listings (same md5 over `find | sort`, 793 files); | |
| 331 | +h3 has 802. The nine extra paths are `hbd-r5/{reelb,reelc}.obu`, | |
| 332 | +`part32/reelc-extract.obu`, `realworld/{reelb,reelc}.obu`, | |
| 333 | +`sbpart/{seed42.obu,seed42.y4m,seed42.y.gray,seed42.yuv}`, `sub8`. Stated | |
| 334 | +explicitly rather than left to inference: **the manifest carries zero rows under | |
| 335 | +`fixtures/hbd-r5`, `fixtures/part32`, `fixtures/realworld`, `fixtures/sub8` and | |
| 336 | +`fixtures/sbpart`, and no string literal anywhere in `crates/*/src` or | |
| 337 | +`crates/*/tests` names any file inside them.** So this preflight gives no | |
| 338 | +coverage of that difference — it is the grep-derived blind spot, measured rather | |
| 339 | +than assumed, and closing it means either a sync decision (delete what nothing | |
| 340 | +reads) or code that actually reads those pins. Neither is this lane's call, and | |
| 341 | +nothing was re-synced. | |
| 342 | + | |
| 343 | +Six modes on the flipped tree, re-measured after the census fix: | |
| 344 | + | |
| 345 | +| mode | exit | | |
| 346 | +|---|---| | |
| 347 | +| A intact, `EC_REQUIRE_FIXTURES=1` | 0 — GREEN (303 rows) | | |
| 348 | +| B one fixture renamed, flag set | 1 — `FAIL [mode ii]` | | |
| 349 | +| C same rename, flag unset | 0 — SKIP-shaped report | | |
| 350 | +| D `EC_FIXTURES=/nonexistent`, flag set | 1 — `FAIL [mode i]` | | |
| 351 | +| E intact, flag set, `--strict` | 0 | | |
| 352 | +| F a reintroduced `concat!` root-pin line, flag set | 1 — `FAIL [invariant 1]`, no flag needed | | |
| 353 | + | |
| 354 | +## 8. The census hole, and the control that closes it | |
| 355 | + | |
| 356 | +Agent01-5 measured a real defect: `fn_bodies` spans a gate's body from its `fn` | |
| 357 | +line to the NEXT `fn` line, so a doc comment belonging to the following gate sits | |
| 358 | +inside the previous gate's body. `ROOT_RE` matched the comment, the gate was | |
| 359 | +reclassified into the root-literal branch, found no names and hit `continue` — the | |
| 360 | +census count dropped and **nothing went red**, with `uncommitted=0` still reading | |
| 361 | +clean. Unproven read as clean, which is the principle this lane exists to hold. | |
| 362 | + | |
| 363 | +Two things close that door, and the second is the one that matters: | |
| 364 | + | |
| 365 | +1. every search — `ROOT_RE`, `JOIN_RE`, the `crate_pin`/`pin_dir` singles, the | |
| 366 | + `asserts` check — matches on a comment-stripped body (`/* */`, `//`, `///`). | |
| 367 | +2. `scripts/pin-gate-audit.py --self-test` is a positive control in the exact | |
| 368 | + shape: a comment reproducing the forbidden literal INSIDE a gate that reads | |
| 369 | + `crate_pin`, plus a second gate after it. It runs the real pipeline over a | |
| 370 | + synthetic tree in a temp dir (so it works on a read-only staged tree) and | |
| 371 | + asserts both gates are still counted as `crate_pin`. The verifier runs it and | |
| 372 | + fails if it does not pass. | |
| 373 | + | |
| 374 | +**Mutation-proved, because a control nobody made fail is not a control:** with the | |
| 375 | +comment-stripping removed from the self-test path it fails with | |
| 376 | +`reclassified=[('selftest_a_reads_a_pin', 'root-literal')]`; restored, it passes. | |
| 377 | +A control that only proved "the scanner finds a forbidden literal" would NOT have | |
| 378 | +caught this, which is exactly why the census needed its own. | |
| 379 | + | |
| 380 | +Measured with the verbatim prose restored — the state that ships, since the | |
| 381 | +sentence explaining the removed shape is what a reader needs: census | |
| 382 | +`total=8 committed=21 uncommitted=0 ignored=0 assertless=0`, violations 0, both | |
| 383 | +controls firing, verify GREEN. |