Lane-realworld r5 charter
Browse files at this commitceb740d0de6b0ff4d66ee14c307061bfdb235cbfParent: d1bc378- docs
- lane-realworld r5 charter
1 changed file +37 -0
lanes/realworld-r5.charter.mdadded+37 -0
| @@ -0,0 +1,37 @@ | |||
| 1 | +# lane-realworld r5 — finish delta_q / delta_lf | ||
| 2 | + | ||
| 3 | +At dbfd67c — r4's work (cdf.rs, cdf_state.rs, decode.rs), committed verbatim by | ||
| 4 | +the orchestrator at its cap and **never seen to compile**. | ||
| 5 | +`lanes/realworld-r4.charter.md` is still binding; `lanes/realworld-r3.report.md` | ||
| 6 | +is the verified typing plan. Do not re-derive either. | ||
| 7 | + | ||
| 8 | +1. `cargo check`, fix whatever r4 left mid-edit, then the full suite. Getting | ||
| 9 | + dbfd67c green is the whole job until it is green. COMMIT. | ||
| 10 | +2. Finish the quantizer half: the `CURRENT_Q_IDX` thread-local reset per tile | ||
| 11 | + and read at the 2 real dequant sites (r3 proved `base_q_idx` is passed | ||
| 12 | + through ~90 sites but read at only 2). Refuse the loop-filter half by name in | ||
| 13 | + between if it is not ready. COMMIT. | ||
| 14 | +3. The `DeltaLF` -> deblocker path: `MiGrid` / `fill_lf_grid` needs a new | ||
| 15 | + per-block field. This is the one genuinely new design piece. COMMIT. | ||
| 16 | +4. Remove the stream.rs refusal and gate it: `EC_AV1_REQUIRE_AOMENC=1`, | ||
| 17 | + `-t <seconds>` on the ffmpeg generate, fixture through `gradients_source`, | ||
| 18 | + aomenc `--threads=1 --row-mt=0 --sb-size=64` plus `--deltaq-mode=`/`--aq-mode`, | ||
| 19 | + MORE THAN ONE SUPERBLOCK (a per-superblock symbol cannot fire otherwise), and | ||
| 20 | + a HARD-asserted thread-local firing count. | ||
| 21 | + | ||
| 22 | +Reminders that cost other lanes a round: the CDF counter reset must cover the | ||
| 23 | +new tables (class `cdf-counter-not-reset`); do not put a refusal in front of the | ||
| 24 | +code you just added and then claim it runs (class | ||
| 25 | +`refusal-short-circuits-its-own-code`) — prove the new read fires with a counter | ||
| 26 | +while the frame still refuses; and main now FAILS the suite if a gate turns a | ||
| 27 | +decode error into a printed SKIP, so write the gate as an attempt loop that | ||
| 28 | +requires at least one decode. | ||
| 29 | + | ||
| 30 | +Merge note: main is at 91a08e8 with `gate_coverage.rs` and | ||
| 31 | +`refusal_inventory.rs`. Report every refusal string you add or remove, verbatim. | ||
| 32 | + | ||
| 33 | +Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-realworld`; foreground | ||
| 34 | +`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms. Sibling | ||
| 35 | +worktrees have live agents — never build in or edit them. Never push, never | ||
| 36 | +merge, never touch `main`. 75-turn cap, does not reset: COMMIT AT EVERY GREEN | ||
| 37 | +STEP. End with `lanes/realworld-r5.report.md`, VERDICT on line 1. | ||