Pre-Flight — WP-135 — 2026-12-02
Filled-in copy of docs/reference/pre-flight for WP-135. Verdict at the bottom.
Drafted, pre-flighted and executed in one session, after Jeff answered D1 and D2 (2026-12-02). Execution runs inline, so there is no separate session prompt. No companion EC.
Header
- WP:
WP-135 - Title: The TV grid’s own colours
- 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-104 | 🚧 | The theme and the identity injection are merged and on the TV. Its open criteria (Help and a controller, licenses, splash) don’t touch this packet. |
| WP-118 | ✅ | The grid is the TV default and takes the D-pad focus. |
| WP-132 | ✅ | The covers the grid shows. |
Rule check: WP-104 isn’t ✅, but the part WP-135 builds on is merged and installed; noted rather than blocking, as in WP-132’s pre-flight.
Repo + disc state
- The draft: WP-135, its
WORK_INDEX.mdrow and theDECISIONS.mdentry on branchclaude/wp-135-grid-colours(14b68e5), pushed as the claim before any other work. - Nobody else holds it: no branch on
originand no PR in the docs repo, the fork (-R barefootbetters/scummvm) or the private repo names WP-135;git log --all --grep=WP-135is empty. - Fork worktree, the claim:
tools/New-ForkWorktree.ps1 -Branch wp-135-grid-colours, forked fromorigin/scooby-engine @ dcf2630b21. - Private worktree: branch
wp-135-tv-grid-coloursfrom the private repo’sorigin/main @ bae4d05. - TV: TCL 65Q77K, Windows
adbby its mDNS serial (adb-380260560F3010005-…). versionCode 26041070 (versionName2026.4.1-wp132.6). The new build is 26041071. The WP-134 session’s packages on the device stay:adb install -ronly, never clear data. scummvm.inibacked up before any change (1,993 bytes, SHA-25695FFF6A5…1334C, kept local). It sets nogui_theme, so the TV theme comes fromtvapp.ini’s defaults.- WSL build tree:
/opt/build/wt/wp135, a copy of WP-132’s/opt/build/wt/wp132with the fork commit synced over by content. Configure as WP-132.
What the code has today (fork dcf2630b21)
GridWidgetis aContainerWidget, whose background type defaults tokWidgetBackgroundBorder, drawn withwidget_default(gui/widget.cpp:1265-1276, 1310-1312), the same drawdata as every list frame.- Grid titles use
kFontColorNormal(gui/widgets/grid.cpp:180); the focused title’s bar istext_selection_focus. ThemeEngine::loadTheme()warns “Missing data asset” for every drawdata a theme lacks, so new drawdata must be exempted to stay optional.
Scope lock
Allowed paths:
- Fork:
gui/ThemeEngine.h,gui/ThemeEngine.cpp,gui/ThemeParser.cpp,gui/widgets/grid.cpp. - Private:
private/tv-app-identity/tools/assemble_theme.py, the regeneratedprivate/tv-app-identity/theme/tvapp/,private/tv-app-identity/assets/tvapp.zip, the UI redesign page and its captures. - Public: WP-135, this pre-flight,
WORK_INDEX.md,DECISIONS.md.
Not touched: stock theme files, engines/, the backend, any other theme
colour.
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.