Session Prompt — WP-085 pre-flight (Google TV app pipeline)

Pre-flight session, not execution. This session fills in the pre-flight gate for WP-085, settles the questions below with Jeff, and returns a READY or NOT READY verdict. If the verdict is READY, it also writes the execution session prompt. Nothing is built or installed. Paste this as the first message to a fresh session. Keep it leashed: no spawned sessions. Every device or toolchain claim must come from a command run in this session (the 2026-11-21 fabrication incident in DECISIONS is why).

Intent

Produce docs/reference/pre-flight-WP-085-<date>.md with every section of the template filled in and a signed verdict. If it’s READY, also produce docs/sessions/session-WP-085-<date>.md, the execution prompt, per wp-lifecycle §Session prompt. Claim the WP by creating its fork worktree.

Out of scope:

Authority chain (read first)

  1. C:\Users\jjensen\.claude\CLAUDE.md
  2. wp-lifecycle §Phase 2 and §End-to-end steps 5–7, and the pre-flight template.
  3. WP-085: every section, especially §Decisions, §Scope and §Dependencies.
  4. EC-008 §Pre-flight.
  5. DECISIONS, the three 2026-11-26 entries: WP-085 decisions, ship the free app first, and public naming.
  6. Smart-TV guide: the build steps, Oboe (including the 32-bit API-16 note), adb over the network, the TV smoke test, and Controls on a TV.
  7. Private: private/commercial-strategy.md §”App name and package id candidates for WP-085” holds the chosen name and id. Never copy either one into a public file.

Pre-execution checks

If a check fails, stop and report.

What the pre-flight must establish

Dependency: WP-079 shows ✅ Done in WORK_INDEX. Read the index; don’t go from memory.

Claim: run tools\New-ForkWorktree.ps1 -Branch wp-085-tv-app-pipeline. Record the worktree path and its base SHA. Leave C:\dev\scummvm clean.

Android-port facts: confirmed in the fork at ff490ad9449f on 2026-11-26 while this prompt was written. Re-confirm them in the worktree and cite file and line:

Toolchain (in the build environment from the smart-TV guide; record each item’s output):

Device: adb connect to the TCL 65Q77K works, and getprop ro.product.cpu.abilist returns its ABI list (capture both). Jeff confirms the Bluetooth keyboard, mouse and gamepad are on hand and paired.

Test data: staged outside every repo, with paths recorded.

Scope lock for execution. WP-085 changes the fork outside engines/terraglyph/, which the template forbids by default, so list the allowed fork paths explicitly. Expected, to be confirmed against the code:

Everything else is forbidden, and so is engines/terraglyph/**.

Questions to put to Jeff

Ask each one as a short question, with your recommendation first, and record his answer verbatim in the pre-flight.

Q1. Keeping the package id private on a public fork. Milestone 1 gives the app its own applicationId and name. The fork is public, so a hard-coded id pushed to it publishes the name and id before the app is on Play, which goes against the naming decision and the private record. Options:

Option Notes
Inject at build time (recommended to evaluate first) applicationId, app_name and the icon and banner come from a gitignored local file or -P Gradle properties. The fork keeps a neutral default, and the real values live in the private repo
Keep the work on an unpushed branch until Play No public PR or backup, which goes against WP-085’s “fork PR open” exit criterion
Accept publication Jeff relaxes the privacy rule for the id; log it in DECISIONS if so

Check that Gradle’s applicationId and a resource override can take values from a property without changing namespace (org.scummvm.scummvm). If the first option works, put it in the scope lock and the risks.

Q2. The test-package repo. D3 left its name for this pre-flight. Propose a name that doesn’t contain the product name, such as a barefootbetters/ repo named for TV test packages. Record Jeff’s choice. It’s created on his go during Milestone 3, not in this session.

Q3. Icon and banner for test builds. D1 left them open. Ask whether sideloaded test builds may use placeholders until the real art exists.

Engineering calls (yours to make, with reasoning recorded; not Jeff’s):

Risk review: seed list (add any others you find)

Execution rules for this session

Scope allowlist:

docs/reference/pre-flight-WP-085-<date>.md
docs/sessions/session-WP-085-<date>.md              (only if READY)
docs/execution-checklists/EC-008-tv-app-pipeline.md (tick the §Pre-flight boxes with evidence)
docs/work-packets/WP-085-tv-app-pipeline.md         (record the Q1–Q3 answers and the engineering calls)
docs/work-packets/WORK_INDEX.md                     (the WP-085 row's status)
private/commercial-strategy.md                      (private repo; only if Q1's answer needs the private values recorded)

The fork: the worktree from the claim, read-only apart from creating it.

Forbidden:

You MUST:

Session task

Outputs this session MUST produce:

  1. pre-flight-WP-085-<date>.md, with a signed verdict against the public main SHA and the fork SHA.
  2. The WP-085 fork worktree, created and recorded.
  3. The Q1–Q3 answers and the three engineering calls, recorded in the pre-flight and in WP-085.
  4. EC-008’s §Pre-flight boxes ticked with evidence, or left open with the reason.
  5. If READY: session-WP-085-<date>.md, the execution prompt. If NOT READY: §Path to resolution, and WORK_INDEX updated to match.
  6. PRs open (public, plus private if it was touched), with the gates green.

Close ritual

  1. Confirm the gates pass and the links resolve.
  2. Open the PRs and state the merge order: public before private if the private page links new public anchors.
  3. Report to Jeff: the verdict and why, the Q1–Q3 answers, the engineering calls, the worktree path, and what the execution session will do first. Ask before merging.