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

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

Written after PR #77 merged. WP-038 was claimed with the other session before work started; nothing on main, in the fork or in an open PR touched the bank.


Pre-flight intent

Validating readiness for WP-038. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-036 ✅ Done 2026-11-15 The combination, which opens the safe.
WP-034 ✅ Done 2026-11-14 Street 1’s strongbox key.
WP-023 ✅ Done 2026-11-14 Requires objects and the toolbar’s items.

Repo + disc state

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (the vault and the open safe)
docs/work-packets/WP-038-vault.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-038-2026-11-15.md

Fork: engines/scooby/**, staged by name. New files vault_rooms.{h,cpp}; the check in chase_check.cpp. In the shared files, a factory line, the module entry, and a setter for a clickable’s state, each told to the other session.

Risk review

Risk Likelihood Impact Mitigation
The bank is five classes. — medium The scope is the vault and the open safe, which the safe needs. The vault door, its clock, and the strong boxes’ rooms are separate packets.
The open safe’s lip sync runs on the clips’ time. high low The check stops each line and compares the order of lines, speakers and mouths, and the ticks; the mouths moving is checked live.

Verdict

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


After execution — lessons learned

Lesson: find every class a story beat touches before claiming it. “The safe” turned out to be one feature of the vault’s class, beside two more, and the bank has five classes. Listing the vtables that reference the beat’s strings, and the rooms the factory builds them for, set a scope that could be finished, with the rest named for later packets.

Lesson: a check that clicks a clickable has to turn the ghost off. The ghost takes a clickable’s click 1 time in 30. This packet’s dust check turns it off; one run of another check showed what happens without that.

Lesson: a reference should follow the trace, even where the engine had it otherwise. The chase reference had every sprite hit by its polygon, copied from the fork’s default. When the other session fixed the default to the trace, the reference had to change too; written from 0x430D60 in the first place, it would have caught the default.

Scope note: one fork commit, 7 files staged by name. The shared files got the factory line, the module entry, and RoomScript::setClickable, told to the other session.