Lane-palette r3 charter -- verify r2's milestones, then the gate
Browse files at this commit8671b8fea6b8428cbeca263a106bf197d17dd321Parent: c2f121e- docs
- lane-palette r3 charter -- verify r2's milestones, then the gate
1 changed file +46 -0
- lanes/palette-r3.charter.md +46 -0
lanes/palette-r3.charter.mdadded+46 -0
| @@ -0,0 +1,46 @@ | |||
| 1 | +# lane-palette r3 — verify what r2 typed in, then the gate | ||
| 2 | + | ||
| 3 | +At 2c85008. Read `lanes/palette.report.md` (r1's plan) and | ||
| 4 | +`lanes/palette-r2.charter.md`. | ||
| 5 | + | ||
| 6 | +## State | ||
| 7 | +r2 committed two milestones, both cap-interrupted before verification: | ||
| 8 | +- `760a0c8` — palette colour-index CDF tables + the 4-site wiring. | ||
| 9 | +- `2c85008` — palette-Y reconstruction: colour cache, delta colours, the | ||
| 10 | + wavefront index map, prediction wiring. | ||
| 11 | +Neither has been seen to pass the suite. That is your first job. | ||
| 12 | + | ||
| 13 | +## Your job | ||
| 14 | +1. `export CARGO_TARGET_DIR=$HOME/.cache/cargo-target-palette`, `cargo check`, | ||
| 15 | + then `EC_AV1_REQUIRE_AOMENC=1 nice -n 19 cargo test -p ec-av1 --lib -j4` | ||
| 16 | + (timeout >= 600000 ms). Report the count against 234/0 for this tree. | ||
| 17 | + Getting 2c85008 green is the whole job until it is green. COMMIT. | ||
| 18 | +2. The gate. Palette is a screen-content tool: aomenc only picks it on flat, | ||
| 19 | + few-colour, repetitive content, so the fixture likely needs a synthetic | ||
| 20 | + few-colour pattern rather than a gradient — and it must be deterministic, so | ||
| 21 | + hash it twice and prove it. `--enable-palette=1`, probably | ||
| 22 | + `--tune-content=screen`, plus `--threads=1 --row-mt=0`. Two facts sibling | ||
| 23 | + lanes paid for: this decoder hardcodes 64px superblocks so any | ||
| 24 | + multi-superblock fixture needs `--sb-size=64`, and a per-superblock symbol | ||
| 25 | + cannot fire in a single-superblock fixture. HARD-assert a thread-local count | ||
| 26 | + of palette blocks reconstructed. COMMIT. | ||
| 27 | +3. Then palette UV, then the rect-strip `palette_bsize_ctx` refusal at | ||
| 28 | + decode.rs ~1940, then intrabc. One commit each. | ||
| 29 | + | ||
| 30 | +A duplicate effort on branches `lane-palette-sn`, `-fa`, `-fb` (worktrees | ||
| 31 | +removed, branches kept) covered the same CDF tables. Ignore them unless yours | ||
| 32 | +is missing something; `lane-palette-sn`'s report notes it transcribed | ||
| 33 | +`default_palette_{y,uv}_color_index_cdf` from | ||
| 34 | +`~/.cache/aom-oracle/src/av1/common/entropymode.c:679-784` as one const per | ||
| 35 | +palette size. | ||
| 36 | + | ||
| 37 | +Merge note: main is at 06d29ee with `gate_coverage.rs` (pins the aomenc tools no | ||
| 38 | +gate exercises — `enable-palette` and `enable-intrabc` are both on it) and | ||
| 39 | +`refusal_inventory.rs` (pins every decode-path refusal string). Report every | ||
| 40 | +refusal string you add or remove, verbatim. | ||
| 41 | + | ||
| 42 | +Hard rules: foreground `nice -n 19 cargo ... -j4`; every `cargo test` a timeout | ||
| 43 | +>= 600000 ms. Sibling worktrees have live agents — never build in or edit them, | ||
| 44 | +and do NOT create additional worktrees. Never push, never merge, never touch | ||
| 45 | +`main`. 75-turn cap, does not reset: COMMIT AT EVERY GREEN STEP. End with | ||
| 46 | +`lanes/palette-r3.report.md`, VERDICT on line 1. | ||