Pre-Flight — WP-054 — 2026-11-16

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

Nothing on main, in the fork or in an open PR touched ROOM_P30_Horseshoe_Corral.


Pre-flight intent

Validating readiness for WP-054. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-035 ✅ Done 2026-11-14 The chase: Chase B5, to and from the corral.
WP-021 ✅ Done 2026-11-14 Sprites, their players and the tree.
WP-019 ✅ Done 2026-11-14 Sound.

Repo + disc state

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (the horseshoe corral)
docs/work-packets/WP-054-horseshoe-corral.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-054-2026-11-16.md

Fork: engines/scooby/**, staged by name. New files corral_rooms.{h,cpp}; the check in chase_check.cpp. In the shared files:

Risk review

Risk Likelihood Impact Mitigation
The audit counted only the room’s own functions (249 instructions); the minigame lives in three sprite classes. — high Traced in full: Scooby, Rascal and the horseshoe.
The order of updates decides the ticks: the original updates each sprite right after its own player, front to back. — medium The room’s tick walks the tree that way when a room has updates; other rooms keep their tick, and the earlier checks must stay identical.
Rascal’s throws and Scooby’s arcs are random. — medium The check drives chosen horseshoes through the class, and checks the random ones by their rules.

Verdict

Prepared by: Claude (WP-001 session, continuing) Date: 2026-11-16


After execution — lessons learned

Lesson: count a room’s sprite classes, not only its own functions. The audit’s 249 instructions were the room’s; its game lives in classes its entry builds.

Lesson: model the tree tick’s order when sprites update themselves. Each sprite’s update runs right after its own player, front to back, and a sprite made behind the one updating is ticked in the same walk. The ticks the reference predicted depend on it.

Lesson: a thrower waits for its own sequence. Rascal tosses only once his head is still, and its idle replays at random; time a random actor from its own start.

Scope note: one fork commit of 7 files staged by name. In the shared files: the factory line, the module entry, the room’s tree walk with updates, and the claim’s read-only placement fields.