Pre-Flight — WP-137 — 2026-12-02
Filled-in copy of docs/reference/pre-flight for WP-137. 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-137 - Title: A play band under square covers 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-136 | ✅ | The portrait slots; fork 1fbc5d5439 is the base. |
| WP-135 | ✅ | The grid’s colours and the violet focus strip the band reuses. |
| 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-137 builds on is merged and installed; noted rather than blocking, as in WP-136’s pre-flight.
Repo + device state
- The draft: WP-137, its
WORK_INDEX.mdrow and theDECISIONS.mdentry on branchwp-137-grid-play-band(d556fbf), pushed as the claim. - Nobody else holds it: no WP-137 file on
origin/main(aafa5f6), no branch or open PR naming it in the docs repo or the fork. - Fork worktree:
tools/New-ForkWorktree.ps1 -Branch wp-137-grid-play-band, fromorigin/scooby-engine @ 1fbc5d5439. - Private worktree: branch
wp-137-grid-play-bandfrom the private repo’sorigin/main @ e3be8be. - TV: TCL 65Q77K over Windows
adb, versionCode 26041072 (2026.4.1-wp136.1). The new build is 26041073.adb install -ronly, never clear data. scummvm.inibacked up before any change: 1,993 bytes, SHA-25695FFF6A5…1334C, identical to WP-136’s backup, so WP-136’s stock-theme variant applies unchanged.- WSL build tree:
/opt/build/wt/wp137, a copy of WP-136’s tree with the fork commit synced over by content. Configure as WP-136.
What the code has today (fork 1fbc5d5439)
- 5:7 slots when the theme sets
Globals.Grid.ThumbnailHeightPercent, each cover bottom-centred, its tile, badges, dimming and ring following it (gui/widgets/grid.cpp,GridItemWidget::drawWidget). - The focused title’s strip:
drawTextwithkTextInversionFocusandkFontColorGridItemdrawsgriditem_title_focusbehind it (gui/ThemeEngine.cpp, WP-135). ThemeEval::getVar(name, default)reads an optional layout variable.
Risks
- Restoring the background under the band’s text would paint the grid’s
panel over the tile; the band’s plain text passes
restore = false, as the missing-cover title does. The focused case already skips the restore. - A slot too short for a band (a cover nearly as tall as the slot): the band is drawn only when at least a line and a margin are left.
Verdict
READY. Every prerequisite is met or noted; the decision is answered; the claim is pushed; the TV’s settings are backed up.