Pre-Flight — WP-042 — 2026-11-15

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

Written after PR #82 merged. Nothing on main, in the fork or in an open PR touched the hotel.


Pre-flight intent

Validating readiness for WP-042. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-040 ✅ Done 2026-11-15 GraveLocation, which picks the window’s movie.
WP-023 ✅ Done 2026-11-14 Requires objects and the toolbar.
WP-022 ✅ Done 2026-11-14 Movies between rooms.
WP-020 ✅ Done 2026-11-14 The default exit handler and its scenes.

Repo + disc state

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (the hotel)
docs/work-packets/WP-042-hotel.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-042-2026-11-15.md

Fork: engines/scooby/**, staged by name. New files hotel_rooms.{h,cpp}; the check in chase_check.cpp. In the shared files: a factory line, the module entry, the music’s volume (room_setup, sound.h) and the walk-in’s depth (character.cpp).

Risk review

Risk Likelihood Impact Mitigation
The walk-in change touches every room. Left and right walk-ins kept going 50 behind; the trace (0x405F60, 0x405FA0) keeps the depth. medium low The earlier checks and the room check must stay unchanged.
The window is a way out into the same room. The exit, its movie and the arrival from itself all go through the ordinary path. — medium The check and a live run take it three times, with the movie.

Verdict

Prepared by: Claude (WP-001 session, continuing), after PR #82 merged Date: 2026-11-15


After execution — lessons learned

Lesson: a sequence the art lacks ends a state at once. Fred has no end-walk from the right in the hall; starting it fails and leaves his sprite stopped, so he is idle a tick later. A check that clicks before any tick sees him mid walk-in, and the door ignores the click.

Lesson: a check that parks a sprite on a trigger step keeps triggering. Hotspot 4 left stopped on step 11 started its scene again on the next tick and blocked the next one. Put it back after.

Scope note: one fork commit, 9 files staged by name. Besides the factory line and the module entry, the shared files got the music’s volume and the side walk-in’s depth.