forge
Explore
Log in

Don't you dare go Hollow

Lane-lr r5 charter

Browse files at this commit

ea29f073d16fa1256a726963da293f7fe06e13a1Ahmet Kaan GümüşParent: 10cbc50
  • docs
    • lane-lr r5 charter
Show full message
docs(av1): lane-lr r5 charter
lanes/lr-r5.charter.mdadded+35 -0
@@ -0,0 +1,35 @@
1+# lane-lr r5 — finish Wiener, then self-guided
2+
3+At 06ba9af — r4's Wiener work, committed verbatim by the orchestrator at its cap
4+and **never seen to compile**. `lanes/lr-r4.charter.md` is still binding; read it
5+and the r3 section of `lanes/lr.report.md`.
6+
7+1. `cargo check`, fix whatever r4 left mid-edit, then the full suite
8+ (baseline 236/0 on this tree). Getting 06ba9af green is the whole job until
9+ it is green. COMMIT.
10+2. Finish Wiener: `apply_loop_restoration` after `apply_cdef` in `decode.rs`
11+ (two call sites, key-frame and inter-frame), driven by `RestorationGrid`.
12+ The 3-pixel stripe boundary save/restore (libaom's `rlbs`) is the trap:
13+ 64-row stripes, and the filter reads rows the next stripe has already
14+ overwritten unless you save them first. COMMIT.
15+3. Self-guided, incl. the box-sum radii and `SGR_PARAMS`. COMMIT.
16+4. Widen the r3 gate to assert `Ok` and pixel-exactness instead of the named
17+ refusal, then drop the `stream.rs` refusal. COMMIT.
18+
19+Facts already paid for: the symbols are read and gate-proven
20+(`wiener_hits=19`, `sgrproj_hits=72` on a real stream); `--enable-restoration=1`
21+only lands `uses_lr` at `cq-level <= 20`; `--sb-size=64` is required or aomenc's
22+default 128px superblock lands in a dead-ended partition gap; do NOT
23+hard-require `switchable_hits() > 0` — assert the SUM of the three arms, since
24+aomenc's RD may pick a frame-level fixed type. Ordering: libaom runs superres
25+between CDEF and loop restoration.
26+
27+Merge note: main is at 53b319b with `gate_coverage.rs` (pins the aomenc tools no
28+gate exercises) and `refusal_inventory.rs` (pins every decode-path refusal
29+string). Report every refusal string you add, rename or remove, verbatim.
30+
31+Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-lr`; foreground
32+`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms. Sibling
33+worktrees have live agents — never build in or edit them. Never push, never
34+merge, never touch `main`. 75-turn cap, does not reset: COMMIT AT EVERY GREEN
35+STEP. Update `lanes/lr.report.md` with an r5 section, VERDICT first.