Lane-lr r8 charter -- decode the pinned stream with a call-unique dump
Browse files at this commit0698b043425f87678339a912f698deaf1664b675Parent: dd702f0- docs
- lane-lr r8 charter -- decode the pinned stream with a call-unique dump
1 changed file +48 -0
- lanes/lr-r8.charter.md +48 -0
lanes/lr-r8.charter.mdadded+48 -0
| @@ -0,0 +1,48 @@ | ||
| 1 | +# lane-lr r8 — one call, not forty | |
| 2 | + | |
| 3 | +At 1c122a2. Read the r7 section of `lanes/lr.report.md` first. | |
| 4 | + | |
| 5 | +r7's real result is a RETRACTION, and it is the most useful thing in the lane: | |
| 6 | +r6's recorded divergence — dense-arm "u" tap (A,B) = (254,303) vs our 3110 — | |
| 7 | +**could not be reproduced**. Compiled libaom's own `calculate_intermediate_result` | |
| 8 | +(now exported by rung 6 of `scripts/instrument-aom-oracle.sh`) gives (253,454) at | |
| 9 | +that pixel; our `compute_ab`/`lr_sample` live-trace reads the correct raw bytes | |
| 10 | +(111/154/194); and an independent Python replica of the box-sum formula fed those | |
| 11 | +bytes reproduces libaom's (253,454) exactly. So `lr_sample`, the box-sum formula | |
| 12 | +and the fast arm are all reconfirmed correct — **do not re-suspect any of them.** | |
| 13 | + | |
| 14 | +The reason r6's number was wrong is the round's real finding: its dump matched on | |
| 15 | +a COORDINATE (`v_start == 60`) that is not unique across the gate's 5-attempt | |
| 16 | +sweep, so the nine bytes it captured are not provably from the failing call. | |
| 17 | +A measurement that cannot name which call produced it is not evidence. | |
| 18 | + | |
| 19 | +## The job | |
| 20 | +1. Decode the ONE pinned stream, not the sweep: `fixtures/lr-sgr-r7.obu` is | |
| 21 | + seed-46's mismatching stream (gitignored, worktree-local; regenerate with | |
| 22 | + `EC_AV1_GATE_DUMP=fixtures/lr-sgr-r7.obu EC_LR_GATE_ATTEMPTS=10` if lost). | |
| 23 | + `EC_AV1_GATE_DUMP` is already wired into the gate (`stream.rs` ~4791). | |
| 24 | +2. Re-add a debug dump keyed CALL-UNIQUELY to that single call — r7 suggests | |
| 25 | + gating on `xqd == [-16,-32]` — and get the real nine-byte window it reads. | |
| 26 | + Compare against `100,111,117,140,154,163,182,194,201`. | |
| 27 | +3. With a call-unique measurement in hand, either the bytes differ (a sampling / | |
| 28 | + stripe-boundary defect, and you have the coordinates) or they match and the | |
| 29 | + 3110-vs-3109 gap lives downstream of `compute_ab`. Follow whichever the | |
| 30 | + measurement says; do not carry r6's hypothesis forward. | |
| 31 | + | |
| 32 | +Then merge `main` into this branch and resolve it yourself — main has moved a | |
| 33 | +long way (multi-tile, delta_q/delta_lf, a `bit_depth != 8` refusal) — so the lane | |
| 34 | +arrives mergeable. And check `refusal_inventory.rs` still matches this branch's | |
| 35 | +refusal set. | |
| 36 | + | |
| 37 | +Oracle hygiene: `~/.cache/aom-oracle` is SHARED with five sibling lanes. Rung 6 | |
| 38 | +is permanent and env-safe; any further change goes in as a rung in | |
| 39 | +`scripts/instrument-aom-oracle.sh` (silent when unset, idempotent), never as a | |
| 40 | +throwaway patch left in the shared tree. Rebuild with | |
| 41 | +`ninja -C ~/.cache/aom-oracle/build libaom.a`. | |
| 42 | + | |
| 43 | +Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-lr`; foreground | |
| 44 | +`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms; | |
| 45 | +`EC_AV1_REQUIRE_AOMENC=1`. Sibling worktrees have live agents — never build in or | |
| 46 | +edit them. Never push, never merge this branch into main. 75-turn cap, does not | |
| 47 | +reset: COMMIT AT EVERY GREEN STEP. End with `lanes/lr-r8.report.md`, VERDICT on | |
| 48 | +line 1. |