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

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

Written after PR #92, the room class audit, merged. Nothing on main, in the fork or in an open PR touched the Sheriff’s office. The one open PR, #78, is about sprite hit types.


Pre-flight intent

Validating readiness for WP-046. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-044 ✅ Done 2026-11-15 The jail, behind the door; the blanket.
WP-024 ✅ Done 2026-11-14 Snacks given in a room, and the snack box’s flash.
WP-023 ✅ Done 2026-11-14 Requires objects: the door answers the oil can.
WP-021 ✅ Done 2026-11-14 Clickables: hotspots 1 and 4.

Repo + disc state

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (the Sheriff's office)
docs/work-packets/WP-046-sheriffs-office.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-046-2026-11-15.md

Fork: engines/scooby/**, staged by name. New files office_rooms.{h,cpp}; the check in chase_check.cpp. In the shared files: a factory line and the module entry.

Risk review

Risk Likelihood Impact Mitigation
The snack gate could catch the earlier checks’ exits into the jail. low medium Boot Hill 2 has the same gate (WP-040); the exit and click checks report anything stuck.
Hotspot 4 reads the sequence it plays (+0x54), not the clickable’s next state (+0x60) as hotspot 1 does. — low The check clicks it through A, B and C and reads the scenes and the sandwich.

Verdict

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


After execution — lessons learned

Lesson: a hotspot can be read by what it plays, not what comes next. Hotspot 1’s lines go by the state the clickable moved to (+0x60), hotspot 4’s by the sequence it is playing (+0x54). A port has to keep the two apart.

Lesson: a flash opens the toolbar. The snack box’s flash opened the toolbar in the live run, so a test step that clicks the van to open it hits the main menu button instead. The live steps click the snack box directly after a flash.

Scope note: one fork commit of 5 files staged by name. Besides the factory line and the module entry, no shared file changed.