Lane-palette2 r2 charter -- finish UV reconstruction, merge already done
Browse files at this commit168c2322bb31bffc0c4afca234c1b3ec795cdd8aParent: e4340c6- docs
- lane-palette2 r2 charter -- finish UV reconstruction, merge already done
1 changed file +35 -0
- lanes/palette2-r2.charter.md +35 -0
lanes/palette2-r2.charter.mdadded+35 -0
| @@ -0,0 +1,35 @@ | ||
| 1 | +# lane-palette2 r2 — finish UV palette reconstruction | |
| 2 | + | |
| 3 | +At 96fde87. **I merged main for you.** r1 hit its cap mid-edit, having just | |
| 4 | +said "now add `record_palette_uv` at the tail, near `record_palette_y`"; its | |
| 5 | +tree is committed verbatim at d2ea8e7 and **is unverified — it may not compile.** | |
| 6 | +Check that first, then continue. | |
| 7 | + | |
| 8 | +Your charter is still `lanes/palette2-r1.charter.md`; read it. Step 1 is UV | |
| 9 | +palette reconstruction: the previous palette lane ported `palette_uv_mode` and | |
| 10 | +`palette_uv_size` but deliberately skipped `read_palette_colors_uv`, because the | |
| 11 | +refusal aborted the decode immediately and no later bit needed to stay in sync. | |
| 12 | +That reader now has to exist, and both chroma planes have to be reconstructed | |
| 13 | +from the palette and its index map. | |
| 14 | + | |
| 15 | +Gate first, below `decode_stream`, hard-asserting the UV palette path actually | |
| 16 | +fired — a pixel match on a stream that never used a UV palette proves nothing | |
| 17 | +([[gate-blind-to-feature]]). `testsrc2` at plain default aomenc settings reaches | |
| 18 | +this case; that is how I found it. Then lift the refusal and update | |
| 19 | +`refusal_inventory.rs` in the SAME commit. | |
| 20 | + | |
| 21 | +Steps 2 and 3 (palette on a HORZ/VERT rect strip, palette with a split luma | |
| 22 | +transform) stay in the charter for a later round — do not start them until UV is | |
| 23 | +green and committed. | |
| 24 | + | |
| 25 | +## Budget discipline | |
| 26 | +75 turns, no reset on resume. At about turn 55, stop starting new work: commit | |
| 27 | +what is green and write your report. The merge is already done for you. | |
| 28 | + | |
| 29 | +Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-palette2`; foreground | |
| 30 | +`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms; ffmpeg | |
| 31 | +generates bounded with `-t`; `EC_AV1_REQUIRE_AOMENC=1`; aomenc | |
| 32 | +`--threads=1 --row-mt=0 --sb-size=64`. Oracle rung 12 is yours; `~/.cache/aom-oracle` | |
| 33 | +is SHARED, env-gated rungs only. Sibling worktrees have live agents — never build | |
| 34 | +in or edit them. Never push, never merge into main. End with | |
| 35 | +`lanes/palette2-r2.report.md`, VERDICT on line 1. |