Pre-Flight — WP-027 — 2026-11-14
Filled-in copy of docs/reference/pre-flight for WP-027. Verdict at the bottom.
Written on Jeff’s “continue” after PR #64 merged. The other session was told this scope before coding, and that the story rooms will need the framework; it is holding off a packet until Jeff picks one.
Header
- WP:
WP-027 - Title: Room classes, and the title, menu, level select and quit screen (Gen 1)
- Pre-flight date:
2026-11-14 - Targets generation(s): 1
- Targets disc(s): Showdown, Phantom
Pre-flight intent
Validating readiness for
WP-027. Verdict only.
Dependency check
| Prereq | Status in WORK_INDEX |
Locked on | Notes |
|---|---|---|---|
| WP-022 | ✅ Done | 2026-11-14 | The title and level movies. |
| WP-023, WP-025 | ✅ Done | 2026-11-14 | The toolbar’s quit button opens the menu; the menu rooms hide the toolbar. |
| WP-026 | ✅ Done | 2026-11-14 | The level goes into the profile. |
Repo + disc state
- Project worktree on new branch
claude/wp-027fromorigin/main, clean. - Fork on
scooby-engineat22d8978458, clean, in sync. - Both titles’ front ends. The rooms and their objects are in both art files. The clips (
Main_Menu.*_NARRATOR,Level_Select.SHAGGY.*,Quit_Screen.*_1_SCOOBY) are in both sound files. Phantom’s title entry and level buttons are byte-identical to Showdown’s apart from string addresses, so Showdown’s trace stands for both.
Scope lock
Allowed paths (this repo):
docs/formats/scooby-exe.md (room classes and the front end)
docs/work-packets/WP-027-front-end.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-027-2026-11-14.md
Fork: engines/scooby/**, staged by name.
Risk review
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| The framework misfits the story rooms. | med | med | Keep the hooks the trace shows (entry, tick, click), and add the rest when a story room needs them. Tell the other session the API. |
| Title movies slow the live test. | certain | low | They run 14 s; the level’s movie 1 runs 56 s. The run waits them out. |
Verdict
- READY TO EXECUTE
- NOT READY
Prepared by: Claude (WP-001 session, continuing), on Jeff’s “continue” of 2026-11-14 Date: 2026-11-14
After execution — lessons learned
Lesson: a live run catches what a scripted check can’t. The check sets the hovered sprite directly, so it never ran the hit test against a lit-up button. The live run did, and found the buttons flickering: their hover and pressed steps have no polygon. A check that drives input through the real hit test would have caught it too.
Lesson: when the trace says the shipped game is broken, say so and choose plainly. Taken literally, the trace makes every menu button flicker. The fork keeps step 0’s shape for a button’s other steps, a narrow inference applied only to buttons, and the docs mark it unresolved instead of presenting it as the original’s rule.
Lesson: compare the second title’s code, not only its data. Phantom isn’t in Ghidra, but its title entry and level buttons match Showdown’s byte for byte apart from string addresses. That settled its two differences, FBFTitleMovies and ROOM_P01_Drawbridge, without a second trace.
Scope note: the lock held. One fork commit, staged by name. The other session was told the framework’s API once it was pushed.