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

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

Nothing on main, in the fork or in an open PR touched a character’s states 2–5 or room vtable +0x28. WP-058 (open) ports a room class and touches neither.


Pre-flight intent

Validating readiness for WP-059. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-020 ✅ Done 2026-11-14 Characters and their states, which the idles add to.
WP-024 ✅ Done 2026-11-14 The speech lock, which the idle line takes.
WP-057 ✅ Done 2026-11-16 The drawbridge, whose class overrides the idle line.

Repo + disc state

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (the idles, the idle line, the cross-references to them)
docs/work-packets/WP-059-idle-states.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-059-2026-11-16.md

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

Risk review

Risk Likelihood Impact Mitigation
Every check moves. Idles change characters’ states in every room, so the earlier checks’ scenes and walks would no longer match their references. — high The earlier checks run without an idle source, as they run without the ghost; the live game and the idle check get one.
The random draws. The original draws for every state change; one draw out of place shifts every later one. — high The check seeds a source of its own, and the reference replays ScummVM’s xorshift draw for draw.
A line’s end is wall-clock time. Talk ends when the mixer says the clip is over. — medium The check stops a line as it starts, so the talk ends on the next tick.
Phantom’s code is assumed to match. — medium Phantom’s functions decompiled and compared with Showdown’s; its two +0x28 overrides found by scanning its room vtables.

Verdict

Prepared by: Claude (idle-states session, started by the WP-001 session) Date: 2026-11-16