Pre-Flight — WP-090 — 2026-11-27
Filled-in copy of docs/reference/pre-flight for WP-090. Verdict at the bottom.
Drafted and executed in one session, started from the Phantom closeout session after Jeff’s live play found the room unplayable (2026-11-27). Nothing on main, in the fork or in an open PR touched
ROOM_P31_KSTafter WP-073 (checked 2026-11-27: noWP-090packet, nowp-090branch local or onoriginbefore the claim; WP-088 is held by the Play internal-testing draft, WP-089 is the Hotspot Magnet interface design, now on main).
Header
- WP:
WP-090 - Title: Phantom’s Knights of the Snack Table: the serving game (Gen 1)
- Pre-flight date:
2026-11-27 - Targets generation(s): 1
- Targets disc(s): Phantom (Showdown has no such room)
Pre-flight intent
Validating readiness for
WP-090. Not implementing, not editing engine code. Verdict only.
Dependency check
| Prereq | Status in WORK_INDEX |
Locked on | Notes |
|---|---|---|---|
| WP-055 | ✅ Done | 2026-11-16 | Pie Noon, the sibling class on the same framework: reading the mouse and room-owned sprites. |
| WP-057 | ✅ Done | 2026-11-16 | A room’s own Room::Actor sprites in the tree walk. |
| WP-073 | ✅ Done | 2026-11-18 | The room’s claim, markers and entry, which this packet keeps and corrects. |
Rule check: every prereq is ✅ Done. The packet is a defect fix to a ported room, found in the Phantom closeout’s live play (WP-087).
Repo + disc state
- Docs repo: worktree
C:\claude-worktrees\scooby-engine\adoring-ramanujan-2c2cb4, branchclaude/wp-090-kst-servingcut fromorigin/main @ fe2b12f. - Dedicated fork worktree — the claim.
tools/New-ForkWorktree.ps1 -Branch wp-090-kst-serving→C:\claude-worktrees\scummvm-wp-090-kst-serving, forked fromorigin/scooby-engine @ 1c02ca7ecd, branch pushed at once. - Phantom.
tools/exes/phantom/Scooby.exe(SHA-256619EA6871A2FD305CA30814C438F9552DB85FDADB65AD7BE5B82A1656AF807ED) imported into a scratch Ghidra project outside the repo and auto-analysed headless with decompdecomp’s Ghidra 12.1.4 (%LOCALAPPDATA%\decompnet\toolchains\ghidra\support\analyzeHeadless.bat, Java 27.0.1), decompiled by a scratch post-script. The committedghidra/scooby.gpr(Showdown) was not touched. - Disc image mounted at
K:\scooby.
Scope lock
Allowed paths (this repo):
docs/formats/scooby-exe.md (the serving game; a correction note on WP-073's section)
docs/work-packets/WP-090-kst-serving.md
docs/work-packets/WP-073-kst.md (a pointer to the correction)
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-090-2026-11-27.md
Fork: engines/terraglyph/kst_rooms.{h,cpp}, kst_check.cpp, and
room.{h,cpp} for one hook (Room::Actor::actorPlays), staged by name.
Forbidden: game data from the discs; screenshots and raw extracts in git;
upstream paths outside engines/terraglyph/.
Risk review
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| The packet’s brief inherits WP-073’s reading (a quota to serve that counts down, an exit on meeting it). | high | high | Confirm every behaviour from the decompile, not from marker names or the brief; report where the brief’s expectation differs from the code. |
| Walk order decides tick-exact timing (which sprite updates first in a tick). | med | med | The reference models the original’s walk (descending depth, a new child after every child of at least its depth, the next sibling read first). |
| The players of the knights and mugs are gated by the room’s pause, which the fork’s walk does not support. | high | med | A minimal hook on Room::Actor; the rest of the self-test diffed against the 1c02ca7ecd baseline. |
| A live run that didn’t happen gets described (WP-079). | low | high | Each live claim cites the log line or screenshot that shows it, labelled live — session. |
| Generation / disc conflation. | low | medium | Every claim is Gen 1 Phantom; Showdown has no KST. |
Verdict
- READY TO EXECUTE — dependency, scope and risk gates all pass.
- NOT READY
Prepared by: Claude (WP-090 session, drafting + execution in one) Date: 2026-11-27