Pre-Flight — WP-061 — 2026-11-16

Filled-in copy of docs/reference/pre-flight for WP-061. Verdict at the bottom.

Nothing on main, in the fork or in an open PR touched the room of doors’ class or the Jester.


Pre-flight intent

Validating readiness for WP-061. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-060 ✅ Done 2026-11-16 The crest and PlaqueSeen, which the Jester’s talk reads.
WP-057 ✅ Done 2026-11-16 Phantom’s story values: the balls, CrestSequence0–3.
WP-036 ✅ Done 2026-11-15 A suspect’s clue, GIVES and the thanks to the suspects.
WP-031 ✅ Done 2026-11-14 Clues, suspects met, and Big Head.

Repo + disc state

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (the room of doors, the Jester, Phantom's clues)
docs/work-packets/WP-061-room-of-doors.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-061-2026-11-16.md

Fork: engines/scooby/**, staged by name. New files doors_rooms.{h,cpp} and the check in doors_check.cpp. In the shared files:

Risk review

Risk Likelihood Impact Mitigation
The clue giver had only Showdown’s tables; the Jester’s clue would have been one of Showdown’s red herrings. — high Phantom’s 0x4305C0 and 0x430F00 traced: the same rule, its own tables, two red herrings a suspect. Showdown’s checks must stay identical.
The Jester is shared by four rooms’ classes. — medium Ported as its own class (JesterControl) for the room of doors now and the others later.
His talk chains eleven scenes on done flags. — medium The check records the scenes in order, with and without the plaque seen.

Verdict

Prepared by: Claude (WP-001 session, continuing) Date: 2026-11-16


After execution — lessons learned

Lesson: never call the code under test inside the format() that prints its results. C++ evaluates the arguments in no set order; GCC read the results first.

Lesson: a shared member is its own class. The Jester’s logic sits in four rooms’ classes (their ticks call 0x4122E0); ported once as JesterControl.

Lesson: check a helper’s game before reusing it. giveClue had only Showdown’s tables; Phantom’s suspects would have got Showdown’s red herrings.

Scope note: one fork commit of 8 files staged by name: the room, the Jester and their check in new files, Phantom’s clue tables in clues.cpp, a getter in scooby.h, a factory line, the module entries, the check’s declaration and its call.