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

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

Written with WP-049 (PR #97) open; this WP’s docs branch stacks on it. Nothing on main, in the fork or in an open PR touched ROOM_Gummy.


Pre-flight intent

Validating readiness for WP-050. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-049 ✅ Done (PR #97 open) 2026-11-15 The railroad station, where the puzzle starts and ends.
WP-031 ✅ Done 2026-11-14 Suspects met: Gummy, once the tune is rung.
WP-021 ✅ Done 2026-11-14 Clickables, and (WP-043) their callback: the bells.
WP-019 ✅ Done 2026-11-14 Sound and lip sync: the whistle and Gummy’s step.

Repo + disc state

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (the whistle puzzle)
docs/work-packets/WP-050-gummy.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-050-2026-11-15.md

Fork: engines/scooby/**, staged by name. New files gummy_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 puzzle waits on real sounds, which run slower than the check’s ticks. — medium The check ends each sound itself; the live run plays them.
The tune is drawn at random. — medium The check sets the first of the level’s tunes after entry; the live run repeats until the tune its clicks are for comes up.

Verdict

Prepared by: Claude (WP-001 session, continuing), with PR #97 open Date: 2026-11-15


After execution — lessons learned

Lesson: rings queued on a clickable wait for it. The original counts rings waiting on a clickable (+0x80) and plays each when the clickable is free. A direct click on a swinging clickable is lost in the fork, so the class keeps the count itself.

Lesson: a check that ends sounds early changes their order. Ending each note at once made the play-back end before its last ring, which then counted as the player’s. The check now lets each note’s ring go first, as real time does.

Lesson: a callback and the room’s tick share a frame. The clickables tick before the room, so a request a callback makes is often answered before the frame ends. The reference has to expect the answer, not the request.

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