Lane-tiles r7 charter -- gate the lifted inter refusal first
Browse files at this commit9e4260226dae6dcadc814f023587452c66b3b679Parent: dc4ab21- docs
- lane-tiles r7 charter -- gate the lifted inter refusal first
1 changed file +52 -0
- lanes/tiles-r7.charter.md +52 -0
lanes/tiles-r7.charter.mdadded+52 -0
| @@ -0,0 +1,52 @@ | |||
| 1 | +# lane-tiles r7 — gate what r6 lifted, then the reach bound | ||
| 2 | + | ||
| 3 | +At f9a0614. Read `lanes/tiles-r6.report.md`. | ||
| 4 | + | ||
| 5 | +## Where you stand | ||
| 6 | +r6 landed the inter per-tile loop (`decode_inter_frame_tile_with_cdfs` mirrors | ||
| 7 | +the key-frame path) and bounded the MV-candidate scan by giving the shared | ||
| 8 | +`MiGrid` tile bounds — one choke point instead of widening four | ||
| 9 | +`find_mv_stack*` signatures. That was a good deviation from the charter's | ||
| 10 | +literal wording and it stands. | ||
| 11 | + | ||
| 12 | +**But it lifted the "an inter frame with more than one tile" refusal with no | ||
| 13 | +gate proving a >1-tile-column INTER stream decodes.** r6 said so itself. Its | ||
| 14 | +evidence is a clean `cargo check`, a non-regressing 242/0 suite and a 44/0 | ||
| 15 | +scoped subset — none of which exercise the capability the refusal used to | ||
| 16 | +guard. Until the gate exists, that lift is an unproven claim, and this branch | ||
| 17 | +does not merge to main. Nothing else in this lane matters until it is written. | ||
| 18 | + | ||
| 19 | +## Order | ||
| 20 | +1. The gate: a real aomenc >1-tile-column INTER stream, pixel-exact through | ||
| 21 | + `decode_stream`, with a HARD-asserted tile-hit count. Recipe: | ||
| 22 | + `--threads=1 --row-mt=0 --sb-size=64` (this decoder hardcodes 64px | ||
| 23 | + superblocks), two motion-carrying frames, fixture through | ||
| 24 | + `gradients_source`, ffmpeg generate bounded with `-t <seconds>`. Main FAILS | ||
| 25 | + the suite if a gate turns a decode error into a printed SKIP, so write it as | ||
| 26 | + an attempt loop requiring at least one decode. If the gate does NOT pass, | ||
| 27 | + restore the refusal in the same commit — that is the honest outcome, not a | ||
| 28 | + failure. COMMIT. | ||
| 29 | +2. Re-run `a_real_aomenc_stream_with_two_tile_columns_decodes_pixel_exact` with | ||
| 30 | + `--loopfilter-control=0` REMOVED. `PlaneBuf`'s `tile_x1`/`tile_y1` clamps now | ||
| 31 | + receive real values at every call site, so this may already pass. If it does, | ||
| 32 | + lift BOTH the ">2 tile columns" and the "multi-tile + loop-filter" refusals | ||
| 33 | + in one commit — r5 established they are the same underlying reach-bound gap — | ||
| 34 | + and update `refusal_inventory.rs`. COMMIT. | ||
| 35 | +3. Then tile rows, non-uniform spacing, several tile-group OBUs per frame, and | ||
| 36 | + `context_update_tile_id != 0` proven on a stream where it is not tile 0. | ||
| 37 | + | ||
| 38 | +## Note | ||
| 39 | +r5's handoff pointed at decode.rs:11661/11673 as unfinished; r6 found those were | ||
| 40 | +already correct and the real break was two 2-arg `set_tile_origin` calls in the | ||
| 41 | +key-frame loop. Stale pointers in a predecessor's handoff are worth one | ||
| 42 | +`cargo check` before you trust them. | ||
| 43 | + | ||
| 44 | +Merge note: main is at 53f5358. Report every refusal string you add, remove or | ||
| 45 | +reword, verbatim, for `refusal_inventory.rs`. | ||
| 46 | + | ||
| 47 | +Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-tiles`; foreground | ||
| 48 | +`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms. Sibling | ||
| 49 | +worktrees have live agents — never build in or edit them. Never push, never | ||
| 50 | +merge into `main`. 75-turn cap, does not reset: land small, COMMIT AT EVERY | ||
| 51 | +GREEN STEP — this lane has now spent four rounds partly on budget management. | ||
| 52 | +End with `lanes/tiles-r7.report.md`, VERDICT on line 1. | ||