Pre-Flight — WP-025 — 2026-11-14
Filled-in copy of docs/reference/pre-flight for WP-025. Verdict at the bottom.
Written on Jeff’s “Yes, add it”. The room table came out of this session’s duplicate trace of WP-023; the other session’s WP-023 had merged first (PR #61). That session was told the WP number and the files before any code, since its WP-024 touched the same files.
Header
- WP:
WP-025 - Title: The rooms that hide the toolbar (Gen 1)
- Pre-flight date:
2026-11-14 - Targets generation(s): 1
- Targets disc(s): Showdown, Phantom
Pre-flight intent
Validating readiness for
WP-025. Verdict only.
Dependency check
| Prereq | Status in WORK_INDEX |
Locked on | Notes |
|---|---|---|---|
| WP-023 | ✅ Done | 2026-11-14 | The toolbar, and its hidden state (_busy, +0x1B4), which nothing set before this WP. |
| WP-024 | ✅ Done | 2026-11-14 | Pushed (550cbb48fa) while this WP was being written. Built on it by rebase. |
Repo + disc state
- Project: branch
claude/wp-025-toolbar-roomsfromorigin/main, rebased onto96c3918after WP-024’s docs merged. - Fork: branch
wp-025-toolbar-roomsin this session’s own fork worktree, fromb67042410e, rebased onto550cbb48fa. - Trace output: the room-to-class maps and each class’s
+0x0Ccalls, for both titles. They live in the session scratchpad, together with the scripts that read them.
Doc-vs-tree cross-check
- WP-023’s deviation, “The toolbar is in every room”, is the gap this WP closes.
scooby-exe.mdsaid the hidden state is something “story rooms use”. It’s room classes, and not only story rooms: the menus, chases, close-ups and set pieces.
Scope lock
Allowed paths (this repo):
docs/formats/scooby-exe.md (the room table; the hidden-state line)
docs/work-packets/WP-025-toolbar-rooms.md
docs/work-packets/WP-023-inventory.md (the deviation, marked closed)
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-025-2026-11-14.md
Fork: engines/scooby/**, staged by name, on top of WP-024’s commit.
Risk review
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| The other session edits the same files (WP-024) | high | med | Tell it the files and spots first. Touch three spots and add one new file. Rebase onto its push. |
| A class hides the toolbar only sometimes (a call behind a condition) | low | low | The classifier counts any call in the function body. Live play would show a room that should have a toolbar. |
| WP-023’s check assumes the toolbar is shown | high | low | Run it; adjust only what hiding changes, and say so in the WP. |
Verdict
- READY TO EXECUTE
- NOT READY
Prepared by: Claude, on Jeff’s “Yes, add it” of 2026-11-14 Date: 2026-11-14
After execution — lessons learned
Lesson: confirm a claim before working on it. This WP’s table came from a full duplicate of WP-023. Both sessions sent claim messages that sat queued while the other was busy, so neither saw the other’s in time. Before tracing, fetch main and the fork, and wait for an answer to the claim.
Lesson: a new state breaks checks that assumed the old one. WP-023’s check had always used room 0 and waited for the toolbar to open. Hiding broke both assumptions in Phantom, whose room 0 never builds the toolbar. The engine was right both times; the check needed to know about the new state.