Pre-Flight — WP-071 — 2026-11-17

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

Nothing on main, in the fork or in an open PR touched the secret passages, the storage room or the treasury.


Pre-flight intent

Validating readiness for WP-071. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-068 ✅ Done 2026-11-17 The armory’s slide, which leads into the first passage.
WP-067 ✅ Done 2026-11-17 A character taking an item after a line, as Velma takes the rope.
WP-047 ✅ Done 2026-11-15 A way that wants the level’s snacks, with a line and the snack box.
WP-031 ✅ Done 2026-11-14 The final clue and the accusation, where the treasury leads.

Repo + disc state

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (the passages, storage room and treasury)
docs/work-packets/WP-071-secret-passages.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-071-2026-11-17.md

Fork: engines/scooby/**, staged by name. New files passage_rooms.{h,cpp} and the check in passage_check.cpp; a factory line, the module entries, the check’s declaration and its call.

Risk review

Risk Likelihood Impact Mitigation
The audit’s group is wider: it also lists the gallery, the magic mirror and ROOM_P31_KST. — low This packet takes the four small rooms beside each other (286 decompiled lines in the audit). The gallery, the mirror and the KST follow.
Two game fields read as int indexes (+0x42, +0x58 on an int *). — medium Each converted to its byte offset and named from the profile writer (0x42FFE0) or the docs: FinalClue (+0x108), WellVisited (+0x262).
The rope’s line sets a flag as it ends (0x40B400’s third argument). — low Set by the class’s tick once the scene’s name changes, as the Jester’s are.

Verdict

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


After execution — lessons learned

Lesson: a room’s opening waits 100 ticks; a check must let it play before clicking. Skipping the scene found nothing to skip, because the opening hadn’t started, and input was still held. The check now ticks each room until its opening is over and input is free.

Lesson: count a timed action from the tick it starts in. Velma’s take begins in the tick the rope’s line ends. A count from the next tick, with a test that skipped tick 0, lost the first tick and the end.

Lesson: an int * index is four bytes. The treasury writes the game’s index +0x42, which is byte +0x108, FinalClue; read as a byte offset it names nothing.

Scope note: one fork commit of 7 files staged by name: the four classes and their check in new files, a factory line, the module entries, the check’s declaration and its call.