Pre-Flight — WP-029 — 2026-11-14

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

Written on Jeff’s “take the story rooms”. The WP-001 session took Sign In and the new game as WP-028 at the same time. It was told this WP’s number and files before any code, and asked to keep the story state (0x42DBC0’s fields) in one place both packets use.


Pre-flight intent

Validating readiness for WP-029. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-024 ✅ Done 2026-11-14 Feeding Scooby; the snack box.
WP-026 ✅ Done 2026-11-14 The profile, where each room’s keys go.
WP-027 ✅ Done 2026-11-14 Room classes, built once per name. This WP adds the hooks story rooms need.
WP-028 🚧 In progress (WP-001 session) — The new game sets the story’s MoaningActive, which Town Center reads.

Repo + disc state

Doc-vs-tree cross-check

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (each room's setup; Town Center)
docs/work-packets/WP-029-room-setup.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-029-2026-11-14.md

Fork: engines/scooby/**, staged by name.

Risk review

Risk Likelihood Impact Mitigation
WP-028 edits the same files (scooby.{h,cpp}, profile.cpp, room_class.cpp) high med Tell it first; new files for new code; small hooks elsewhere; rebase onto its push.
Openings now hold input after entry, which the earlier checks didn’t expect high low Run them; mark the opening played where a check needs input at once, and say so.
The music’s variant rotation depends on a clip ending, but music clips loop med low Implement as traced; note that with looping clips it never fires.

Verdict

Prepared by: Claude, on Jeff’s “take the story rooms” of 2026-11-14 Date: 2026-11-14


After execution — lessons learned

Lesson: a “packet” named after a whole area needs sizing first. “The story rooms” are about 65 KB of class code per title. Measuring each class’s overridden functions before writing the WP gave the split: groundwork and one room here, a few rooms per packet after.

Lesson: scenes run at the clips’ pace, not the ticks’. A check that ticks as fast as it can measures a scene’s length in wall-clock time, not game time. The checks name each scene as it starts and skip it; the live test drives Escape (key 27).

Lesson: read the section argument, not the call. WP-028 put room classes’ keys in Game; 0x4376E0 passes the room object’s name. The profile table now says so.