Session Prompt — WP-104 execution (TV app theme and branding)
Execution session. Paste this as the first message to a fresh session. Keep it leashed: no spawned sessions. Every device claim comes from a capture made in this session (the 2026-11-21 fabrication incident in DECISIONS is why).
Header
- WP: WP-104, with EC-015.
- Prompt written: 2026-11-28. Session date: fill in when run.
- Paired pre-flight: pre-flight-WP-104-2026-11-28,
verdict READY, signed against public
main1ff7d87and fork50e43fc735. - Targets generation(s): N-A (no engine code). Targets disc(s): N-A (the games already in the TV app’s library).
- Repos:
- The fork worktree
C:\claude-worktrees\scummvm-wp-104-tv-reskin, branchwp-104-tv-reskin(pushed, no commits yet). It already exists; it is the claim. Never work inC:\dev\scummvm. - Public docs
barefootbetters/terraglyph-engine: a worktree underC:\claude-worktrees\. - Private
barefootbetters/scooby-engine-private(C:\dev\scooby-engine-private): a worktree underC:\claude-worktrees\. - Shared checkouts: stage explicit paths only; never
git add -A.
- The fork worktree
Intent
Deliver WP-104: the brand-free fork mechanism (pre-flight engineering calls
1–6), the D4 overlay test, the tvapp theme, the must-have art made by hand
in vector, and a device check of every screen on the TCL 65Q77K, through
EC-015 in order. Then write §Result and open the fork PR.
Out of scope: D-pad focus navigation and the grid’s return (a follow-up packet); guided import; simplified options; Windows and Raspberry Pi branding (D5); per-game cover tiles; the Play listing (WP-084); any upstream PR; sending the ScummVM team questions (draft only).
Authority chain (read order)
C:\Users\jjensen\.claude\CLAUDE.md- wp-lifecycle §Phase 3 and §Phase 4
- The paired pre-flight: §Code facts, §Engineering calls, §Scope lock, §Risk review
- WP-104, every section
- EC-015
- DECISIONS 2026-11-28 — WP-104
- Private (read, never quote names into public files):
private/tv-reskin-requirements.md,private/tv-reskin-asset-list.md,private/tv-reskin-art-brief.mdandprivate/tv-app-identity/README.md - Smart-TV guide: the build steps, libpng,
and
adbfrom Windows
Pre-execution checks
git fetchin the fork. Iforigin/scooby-enginemoved past50e43fc735ingui/,dists/android/orbackends/platform/android/, STOP: the READY is stale.- The fork worktree is clean and on
wp-104-tv-reskin. - The TV answers Windows
adb; recorddumpsys package <app-id>versionCode (expect 26041005 or a later one from another session) anddf /data. The next build’s versionCode must be higher. - WSL:
/etc/profile.d/android-sdk.sh, NDK23.2.8568313,/opt/build/png-v7a, and/root/.gradle/gradle.propertieswith the three identity properties (don’t print the values).
If a check fails: STOP and say which.
Execution rules
Scope allowlist (verbatim from the pre-flight §Scope lock):
fork: dists/android/build.gradle
backends/platform/android/android.cpp
backends/platform/android/android.h (only if needed)
gui/gui-manager.cpp
gui/about.cpp
gui/launcher.cpp
engines/dialogs.cpp
public: docs/work-packets/WP-104-tv-reskin-theme-branding.md
docs/execution-checklists/EC-015-tv-reskin-theme-branding.md
docs/reference/pre-flight-WP-104-2026-11-28.md (§Lessons learned only)
docs/reference/scummvm-smart-tv.md (tvAppAssetsDir only)
docs/work-packets/WORK_INDEX.md (WP-104 row, Last updated)
private: private/tv-app-identity/**
private/tv-reskin-*.md (status notes only)
Local only, never in a repo: the art-masters folder on pCloud (masters,
Playfair download; path in the private requirements, R3), /opt/build/tv-app-identity/, /root/.gradle/gradle.properties,
build trees, logcat and screenshots that show the app’s id or name.
Forbidden: engines/terraglyph/**, backends/platform/android/advanced*/**,
gui/themes/**, po/**, common/**, base/**; any branded value in the
fork or a public file; removing or rewording ScummVM’s copyright, GPL text or
credits; image-generator output; uninstalling the TV app or clearing its
data; game data, keys, credentials.
You MUST:
- Run EC-015 Step 2 (the D4 overlay test) before any theme or art work. If it fails, stop and ask Jeff. Never rename resources in the fork.
- Grep every staged fork and public diff for the private identity values (the app name, its distinctive word, the package id) before each commit.
- Check
logcatfor theme-parser errors and “falling back to builtin” after every theme install. - Build every APK with a versionCode above the one on the TV;
adb install -ronly, never-d. - Make all art by hand in SVG from
C:\pcloud\BB\brand\studio-logo\mark-*.svgwith Playfair Display and Raleway; export with Inkscape’s CLI. - Write fork commit messages yourself in ScummVM’s style (
ANDROID:/GUI:prefixes), one concern per commit, brand-free. - Quote Jeff’s 3 m judgements as his. No box checked without a capture.
Session task
Work EC-015 Steps 1–6 in order. Outputs:
- Five brand-free fork commits (EC-015 Step 1a–1e), a plain build proving exit criterion 2, and the D4 overlay proven (exit criterion 11).
private/tv-app-identity/withtheme/tvapp/(sources),assets/(tvapp.zip,tvapp.ini,tvapp-about.txt), the art inres/, the template and README updated fortvAppAssetsDir.- The TCL running the branded build: every EC-015 Step 5 screen captured, the safe area and text sizes measured, Jeff’s 3 m check quoted.
- WP-104 §Result (the commits, the changed strings, measurements, what remains), EC-015 filled in, the WORK_INDEX row, and the fork PR.
Must NOT produce: D-pad focus code, import flows, options changes, Windows assets, an upstream PR, or anything AI-generated.
Close ritual
- Every exit criterion 2–11 met with a capture, or WP-104 stays 🚧 with the open ones listed in §Notes.
- Leak check over the whole branch (
git log -p origin/scooby-engine..HEAD). - Fork PR into
scooby-engine; public and private docs PRs. Don’t merge them; Jeff merges. - Pre-flight §Lessons learned filled in.
- Report to Jeff: what landed, measurements, open items, follow-ups (the D-pad focus packet first).