Pre-Flight — WP-031 — 2026-11-14
Filled-in copy of docs/reference/pre-flight for WP-031. Verdict at the bottom.
Written after PR #67 merged. The other session (WP-029, the story rooms) confirmed WP-031 is this session’s; its next packet is Showdown’s streets.
Header
- WP:
WP-031 - Title: The suspects and clues, the accusation, and Big Head (Gen 1)
- Pre-flight date:
2026-11-14 - Targets generation(s): 1
- Targets disc(s): Showdown, Phantom
Pre-flight intent
Validating readiness for
WP-031. Verdict only.
Dependency check
| Prereq | Status in WORK_INDEX |
Locked on | Notes |
|---|---|---|---|
| WP-024 | ✅ Done | 2026-11-14 | The suspects met (Suspect0–4). |
| WP-027 | ✅ Done | 2026-11-14 | Room classes and buttons. |
| WP-029 | Fork pushed (2de5b85eea); docs PR #68 open |
2026-11-14 | Each room’s setup and music; the placement and exit hooks. |
| WP-030 | ✅ Done | 2026-11-14 | Credits, which Big Head hands to. |
Repo + disc state
- Project worktree on new branch
claude/wp-031fromorigin/main, clean. - Fork on
scooby-engineat2de5b85eea(WP-029), clean, in sync. - Both titles’ rooms.
ROOM_Suspect_ChooserandROOM_Big_Headare in both art files, with every villain’sOBJ_BIG_HEAD_CLUES_<NAME>and the gang’s big heads. The reveal scenes (Street_1.720x_,Treasury.720x_) and the Scrappy lines are in both sound files. Big Head’s code is the same in both; the suspects and clues differs only in its suspects, movies and scenes.
Scope lock
Allowed paths (this repo):
docs/formats/scooby-exe.md (the accusation and Big Head)
docs/formats/audio-archives.md (the lip sync's high nibble)
docs/work-packets/WP-031-accusation.md
docs/work-packets/WP-030-options-credits.md (two lines made stale by WP-029)
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-031-2026-11-14.md
Fork: engines/scooby/**, staged by name; room_class.cpp only for the two factory lines.
Risk review
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| The clue state is set by story rooms that don’t exist yet. | certain | med | The check and the live run set the keys directly; a start_profile test key loads an original-format profile. |
| Big Head is shared with story rooms. | certain | low | One engine call, startBigHead(), documented for the story packets. |
| Lip-sync timing is real time. | certain | low | The check ends each line at once and reports the speaker’s background, not the moment’s; the live run shows a clue picture. |
Verdict
- READY TO EXECUTE
- NOT READY
Prepared by: Claude (WP-001 session, continuing), after PR #67 merged Date: 2026-11-14
After execution — lessons learned
Lesson: a check has to tick where the real loop ticks. The first live run crashed after the accusation’s movie. The room comes back only to send the verdict, and still held its buttons from before the movie, whose sprites the reload had replaced. The real loop ticks the room once more before it changes, and that tick used them. The check had stopped short of that tick and passed. The room now clears its buttons on every entry, and the check ticks there too.
Lesson: an untraced value can be answered by the code that reads it. WP-004 found high bits in the lip sync and couldn’t say what they were for. The character code ignores them; Big Head reads them as clue pictures. The answer was in the second reader, not the format.
Lesson: read Ghidra’s string labels as mangled. s_ANIM_BIG_HEAD_CLUES__s_d is ANIM_BIG_HEAD_CLUES_%s%d, not …_%s_%d. Ghidra turns % into _ in labels; the bytes settle it.
Scope note: the lock held: one fork commit staged by name, room_class.cpp only for the two factory lines. Two lines of WP-030’s page, made stale by WP-029, are corrected here because the fix pushed to PR #67 missed its merge.