Lane-superres r4 charter
Browse files at this commitee92322cc1149ee8c91da8ec05568d7ff52f2987Parent: a8c59c7- docs
- lane-superres r4 charter
1 changed file +35 -0
- lanes/superres-r4.charter.md +35 -0
lanes/superres-r4.charter.mdadded+35 -0
| @@ -0,0 +1,35 @@ | |||
| 1 | +# lane-superres r4 | ||
| 2 | + | ||
| 3 | +At f167362 — r3's harness + decode work, committed verbatim by the orchestrator | ||
| 4 | +at its cap and **never seen to compile or pass**. Read `lanes/superres-r3.charter.md` | ||
| 5 | +(still binding) and `lanes/superres.report.md`. | ||
| 6 | + | ||
| 7 | +1. `cargo check`, then the target gate, then the full suite. Getting f167362 | ||
| 8 | + green is the whole job until it is green. COMMIT. | ||
| 9 | +2. The residue r3 was chasing: 5/4096 luma pixels off by 1 at x=59..62 of a | ||
| 10 | + 64-wide frame. The decisive instrument is the extended | ||
| 11 | + `scripts/superres-pin-harness.c` — run the REAL 43->64 ratio through libaom's | ||
| 12 | + own exported functions and compare column by column. r1 pinned only | ||
| 13 | + in8->out12 and in8->out16; a kernel pinned at two small symmetric ratios says | ||
| 14 | + nothing about phase arithmetic at the ratio that fails | ||
| 15 | + (class `instrument-at-bound`). | ||
| 16 | +3. Then stage 4: inter-frame superres, scaled-reference MC (spec 7.11.3.3, | ||
| 17 | + libaom `av1_setup_scale_factors_for_frame` / `av1_convolve_2d_scale`). | ||
| 18 | + | ||
| 19 | +Gate rules unchanged: `EC_AV1_REQUIRE_AOMENC=1`, `-t <seconds>` on every ffmpeg | ||
| 20 | +generate, fixtures through `gradients_source`, aomenc `--threads=1 --row-mt=0`, | ||
| 21 | +firing counts HARD-asserted. Two facts sibling lanes paid for: this decoder | ||
| 22 | +hardcodes 64px superblocks, so any multi-superblock fixture needs | ||
| 23 | +`--sb-size=64` (aomenc defaults to 128 and lands in a dead-ended partition | ||
| 24 | +gap); and a per-superblock symbol cannot fire in a single-superblock fixture. | ||
| 25 | + | ||
| 26 | +Merge note: main is at 06d29ee with `gate_coverage.rs` and `refusal_inventory.rs`, | ||
| 27 | +which pin the aomenc tools no gate exercises and every decode-path refusal | ||
| 28 | +string. Report the refusal strings you add, rename or remove, verbatim. | ||
| 29 | + | ||
| 30 | +Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-superres`; foreground | ||
| 31 | +`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms. Sibling | ||
| 32 | +worktrees (edith_codecs, -realworld, -lr, -tiles, -palette) have live agents — | ||
| 33 | +never build in or edit them. Never push, never merge, never touch `main`. | ||
| 34 | +75-turn cap, does not reset: COMMIT AT EVERY GREEN STEP. End with | ||
| 35 | +`lanes/superres-r4.report.md`, VERDICT on line 1. | ||