Pre-Flight — WP-062 — 2026-11-16
Filled-in copy of docs/reference/pre-flight for WP-062. Verdict at the bottom.
Nothing on main, in the fork or in an open PR touched the throne room’s class.
Header
- WP:
WP-062 - Title: Phantom’s throne room: Jane’s movie, the duster and the ruby (Gen 1)
- Pre-flight date:
2026-11-16 - Targets generation(s): 1
- Targets disc(s): Phantom (Showdown has no such room)
Pre-flight intent
Validating readiness for
WP-062. Verdict only.
Dependency check
| Prereq | Status in WORK_INDEX |
Locked on | Notes |
|---|---|---|---|
| WP-061 | ✅ Done | 2026-11-16 | The duster used opens the dining room’s door; the balls’ flags the Jester takes. |
| WP-057 | ✅ Done | 2026-11-16 | Phantom’s story values: Screaming and the balls. |
| WP-023 | ✅ Done | 2026-11-14 | Items in use answer requires objects. |
| WP-021 | ✅ Done | 2026-11-14 | Clickables and their call to the room. |
| WP-022 | ✅ Done | 2026-11-14 | Movies between rooms. |
Repo + disc state
- Project worktree on new branch
claude/wp-062frommain(WP-061 merged), clean. - Fork on
scooby-engineat548d197118, clean, in sync. - Phantom.
Scope lock
Allowed paths (this repo):
docs/formats/scooby-exe.md (the throne room; a clickable's call to the room)
docs/work-packets/WP-062-throne-room.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-062-2026-11-16.md
Fork: engines/scooby/**, staged by name. New files throne_rooms.{h,cpp} and the check in throne_check.cpp. In the shared files:
room_script.cpp: a clickable’s click calls the room with 0, as0x401440does;- a factory line, the module entries, the check’s declaration and its call.
Risk review
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
A clickable’s call to the room passed 1 in the fork; 0x401440 passes 0. With the throne a clickable until the balls are found, a click would have played the ruby’s movie. |
— | high | Fixed in RoomScript. Every Showdown class that reads the value reads it for a requires object, so its checks must stay identical. |
| The first visit skips the base entry for Jane’s movie; the fork has no hook to skip it. | — | low | The base entry runs, then the class asks for the movie. Noted as a deviation. |
| The throne changes kind with the balls: clickable, then requires object. | — | medium | The check reads its kind, layer and depth in each case. |
Verdict
- READY TO EXECUTE
- NOT READY
Prepared by: Claude (WP-001 session, continuing) Date: 2026-11-16
After execution — lessons learned
Lesson: read the value a shared helper passes, not just that it calls. The clickable’s call to the room was ported in WP-021 with 1; 0x401440 passes 0. No room had read it for a clickable until the throne, which is one until the balls are found.
Lesson: a check that calls a class’s hooks itself can’t see the engine’s order. The check matched, but live the game’s wrong-item line answered the duster first: the fork runs 0x4098B0 before the room’s class. Item-on-character clicks belong in the class’s click(), which takes them.
Scope note: one fork commit of 8 files staged by name: the room and its check in new files, a clickable’s call to the room in room_script.cpp, a factory line, the module entries, the check’s declaration and its call.