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

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

Written after PR #95 merged. Nothing on main, in the fork or in an open PR touched the post office. The open PRs are #78, about sprite hit types, and #94, about WP-011.


Pre-flight intent

Validating readiness for WP-048. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-045 ✅ Done 2026-11-15 The lantern, from the General Store.
WP-041 ✅ Done 2026-11-15 The dark and lit tunnels on either side of the hole.
WP-023 ✅ Done 2026-11-14 Inventory: the lantern as the cursor.
WP-021 ✅ Done 2026-11-14 Clickables: hotspots 2 and 3.

Repo + disc state

Scope lock

Allowed paths (this repo):

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

Fork: engines/scooby/**, staged by name. New files post_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 lantern is used on an exit, which the fork’s exits don’t take with an item. — medium The class takes the click first (RoomClass::click), so the inventory’s “used on nothing” line doesn’t play; the live run uses the real toolbar and click.

Verdict

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


After execution — lessons learned

Lesson: an item used on an exit is the class’s to take. The fork’s exits answer only the arrow, and the inventory says “used on nothing” for any other click with an item. RoomClass::click runs first, so the post office takes the lantern on the hole there, and the room’s tick does the rest.

Lesson: a room can remember where the gang came from. OldRoomName decides who is here when the gang comes back from somewhere other than the dark tunnel or Street 1, such as the lit tunnel.

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