Pre-Flight — WP-136 — 2026-12-02
Filled-in copy of docs/reference/pre-flight for WP-136. Verdict at the bottom.
Drafted, pre-flighted and executed in one session, after Jeff answered D1 (2026-12-02). Execution runs inline, so there is no separate session prompt. No companion EC.
Header
- WP:
WP-136 - Title: Portrait cover slots in the TV grid
- Pre-flight date:
2026-12-02 - Targets generation(s): none (the grid and the theme are engine-independent)
- Targets disc(s): none
Dependency check
| Prereq | Status in WORK_INDEX |
Notes |
|---|---|---|
| WP-135 | ✅ | The grid’s colours; fork 0af756551f is the base. |
| WP-132 | ✅ | The covers and the pack this packet changes. |
| WP-104 | 🚧 | The theme and the identity injection are merged and on the TV. Its open criteria don’t touch this packet. |
Rule check: WP-104 isn’t ✅, but the part WP-136 builds on is merged and installed; noted rather than blocking, as in WP-132’s and WP-135’s pre-flights.
Repo + device state
- The draft: WP-136, its
WORK_INDEX.mdrow and theDECISIONS.mdentry on branchclaude/wp-136-grid-portrait-slots(8c94590), pushed as the claim before any other work. - Nobody else holds it: no WP-136 file on
origin/main, no branch or open PR naming it in the docs repo, the fork or the private repo;git log --all --grep=WP-136is empty. - Fork worktree:
tools/New-ForkWorktree.ps1 -Branch wp-136-grid-portrait-slots, fromorigin/scooby-engine @ 0af756551f. - Private worktree: branch
wp-136-tv-grid-portrait-slotsfrom the private repo’sorigin/main @ 9d9de61. - TV: TCL 65Q77K over Windows
adb, versionCode 26041071 (2026.4.1-wp135.1). The new build is 26041072.adb install -ronly, never clear data. scummvm.inibacked up before any change: 1,993 bytes, SHA-25695FFF6A5…1334C, identical to WP-135’s backup. It sets nogui_themeand nogrid_items_per_row, so the theme and four per row come from the packaged defaults.- WSL build tree:
/opt/build/wt/wp136, a copy of WP-135’s tree with the fork commit synced over by content. Configure as WP-135.
What the code has today (fork 0af756551f)
- Square slots:
_thumbnailHeight = _thumbnailWidth(gui/widgets/grid.cpp:1269). - Covers scaled to fit, keeping their shape (
scaleGfx), drawn at the slot’s top left plus the margin (grid.cpp:130). - The cover’s tile, badges, demo overlay, dimming and the selection ring all
placed on the slot (
grid.cpp:93-166). ThemeEval::hasVar()(gui/ThemeEval.h:76) lets the grid tell a variable the theme left out from one it set.
Scope lock
Allowed paths:
- Fork:
gui/widgets/grid.cpp,gui/widgets/grid.h. - Private:
private/tv-app-identity/tools/assemble_theme.py,tools/New-ThumbnailPack.ps1, the regeneratedtheme/tvapp/andassets/tvapp.zip,thumbnails/scooby-doo-phantom-of-the-knight.png, the manifest,assets/gui-icons-tvapp.dat, the README, and the redesign page with its captures. - Public: WP-136, this pre-flight,
WORK_INDEX.md,DECISIONS.md.
Not touched: stock theme files, engines/, the backend, the grid’s
spacing, titles or per-row count.
Verdict
READY (2026-12-02). Every dependency is met or noted, the claim is pushed, the device is backed up, and the scope is locked to the paths above.