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

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

Written after PR #81 merged. The other session confirmed, before it was archived, that none of the remaining rooms were on its list; nothing on main, in the fork or in an open PR touched the tunnel.


Pre-flight intent

Validating readiness for WP-041. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-040 ✅ Done 2026-11-15 Boot Hill, where the lit tunnel leads.
WP-023 ✅ Done 2026-11-14 Requires objects.
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 tunnel)
docs/work-packets/WP-041-tunnel.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-041-2026-11-15.md

Fork: engines/scooby/**, staged by name. New files tunnel_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 crate’s tries reset each visit. — low As the trace has it (0x4199C0); the check shows a new visit’s first try failing again.
The dark tunnel’s way out never leaves. — low As the trace has it: its exit handler doesn’t call the default one; the post office is reached through the crate.

Verdict

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


After execution — lessons learned

Lesson: an exit handler can keep the gang without a word of its own. The dark tunnel’s handler never calls the default one, so its way out is only a line; nothing in object.ini says so. Reading each room’s +0x24 before trusting its exits is what showed it.

Lesson: a requires object can answer to the arrow. The crate’s requiredanim is ANIM_CURSORARROW, so a plain click is the right item; the event’s success flag carries it.

Scope note: one fork commit, 5 files staged by name. The shared files got the factory line and the module entry.