Lane-realworld r6 charter -- gate delta_q/delta_lf before it can merge
Browse files at this commita0f556267b694d6900c0eb5f598fbb5408d56ccfParent: 3922e0a- docs
- lane-realworld r6 charter -- gate delta_q/delta_lf before it can merge
1 changed file +55 -0
lanes/realworld-r6.charter.mdadded+55 -0
| @@ -0,0 +1,55 @@ | |||
| 1 | +# lane-realworld r6 — gate what r5 removed | ||
| 2 | + | ||
| 3 | +At 15fe79a. Read `lanes/realworld-r5.report.md`. | ||
| 4 | + | ||
| 5 | +## Where you stand | ||
| 6 | +r5 finished both halves: `maybe_read_delta_q` / `maybe_read_delta_lf`, the | ||
| 7 | +`CURRENT_Q_IDX` / `CURRENT_DELTA_LF` thread-locals, `Neighbours::delta_lf_grid` | ||
| 8 | +written by `fill_lf_grid_rect`, and `lf_level` / `edge_params` applying the | ||
| 9 | +per-block delta before ref/mode scaling (spec 7.14.4). Four green commits, suite | ||
| 10 | +242/0 twice. Good round. | ||
| 11 | + | ||
| 12 | +**It also removed the whole-frame refusal, and no fixture anywhere sets | ||
| 13 | +`delta_lf_present`.** So the capability is code-verified against the spec's | ||
| 14 | +shape and nothing more — the `DELTA_Q_HITS` / `DELTA_LF_HITS` counters exist but | ||
| 15 | +have never been observed above zero. Until that gate exists, the removal is an | ||
| 16 | +unproven claim and this branch does not merge to main. Writing it is job one; | ||
| 17 | +nothing else in this lane matters until it is done. | ||
| 18 | + | ||
| 19 | +If the gate cannot be made to fire, restore a narrow refusal for the half that | ||
| 20 | +is unproven, in the same commit. That is the honest outcome, not a failure. | ||
| 21 | + | ||
| 22 | +## Job 1 — the gate | ||
| 23 | +Real aomenc stream, `--deltaq-mode=1` and/or `--aq-mode=1`, 128x64 or larger, | ||
| 24 | +`--threads=1 --row-mt=0 --sb-size=64` (this decoder hardcodes 64px | ||
| 25 | +superblocks), fixture through `gradients_source`, ffmpeg generate bounded with | ||
| 26 | +`-t <seconds>`, written as an attempt loop that requires at least one decode | ||
| 27 | +(main FAILS the suite if a gate turns a decode error into a printed SKIP). | ||
| 28 | +Hard-assert `delta_q_hits() > 0` AND `delta_lf_hits() > 0`. | ||
| 29 | + | ||
| 30 | +r5's own warning, worth taking seriously: verify against real aomenc output that | ||
| 31 | +its CLI flags actually set `delta_lf_present` / `delta_lf_multi` — `--deltaq-mode` | ||
| 32 | +may only ever set `delta_q_present`. If the encoder will not produce delta_lf at | ||
| 33 | +all, say so with the command you ran, and refuse that half by name rather than | ||
| 34 | +shipping it unproven. A per-superblock symbol also cannot fire in a | ||
| 35 | +single-superblock fixture; size the frame accordingly. | ||
| 36 | + | ||
| 37 | +## Then | ||
| 38 | +Nothing else is assigned to this lane. If turns remain after the gate is green, | ||
| 39 | +take `--enable-intrabc` — the last entry besides palette on main's | ||
| 40 | +`gate_coverage.rs` `NEVER_EXERCISED` list — or say in the report that the lane | ||
| 41 | +is clear. | ||
| 42 | + | ||
| 43 | +## Merge note | ||
| 44 | +Main is at eebbdd1 and now refuses `bit_depth != 8` by name: both AV1 films in | ||
| 45 | +this box's library are 10-bit and reached your delta_q refusal, which is what | ||
| 46 | +surfaced that `Picture`'s planes are `Vec<u8>`. Your branch removes the delta | ||
| 47 | +refusal from `refusal_inventory.rs`; main has since added the bit-depth one and | ||
| 48 | +reworded three partition refusals. Report every refusal string you add, remove | ||
| 49 | +or reword, verbatim. | ||
| 50 | + | ||
| 51 | +Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-realworld`; foreground | ||
| 52 | +`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms. Sibling | ||
| 53 | +worktrees have live agents — never build in or edit them. Never push, never | ||
| 54 | +merge into `main`. 75-turn cap, does not reset: COMMIT AT EVERY GREEN STEP. | ||
| 55 | +End with `lanes/realworld-r6.report.md`, VERDICT on line 1. | ||