Pre-Flight — WP-024 — 2026-11-14
Filled-in copy of docs/reference/pre-flight for WP-024. Verdict at the bottom.
Written on Jeff’s “continue” after PR #61 merged. The other session was told this scope before any code. It had been building a second WP-023 in its own worktree, and was asked to drop it.
Header
- WP:
WP-024 - Title: Scrappy’s hints, Scooby Snacks and the speech lock (Gen 1)
- Pre-flight date:
2026-11-14 - Targets generation(s): 1
- Targets disc(s): Showdown, Phantom
Pre-flight intent
Validating readiness for
WP-024. Verdict only.
Dependency check
| Prereq | Status in WORK_INDEX |
Locked on | Notes |
|---|---|---|---|
| WP-020 | ✅ Done | 2026-11-14 | Characters, the scene player and lip sync; Scrappy’s talk reuses the lip sync. |
| WP-023 | ✅ Done | 2026-11-14 | The toolbar’s Scrappy and snack box sprites, the game cursor and the wrong-item line. |
Repo + disc state
- Project worktree on new branch
claude/wp-024fromorigin/main(a9e26a4), clean. - Fork on
scooby-engineatb67042410e, clean, in sync. - The clips. Both discs carry:
Global.Scrappy.Help.Wiggle,Global.940_1_SCRAPPYand…940B_1_SCRAPPY;Global.Snack_BoxandGlobal.Scooby.Eat_Snack;Global.Snack_GivenA_1_FRED,…B_1_FREDand…C_1_VELMA;- a
Global.Scrappy.<place>hint per exit, andGlobal.Scrappy.<SUSPECT>.
- The sequences.
ANIM_SCOOBY_AEAT_SNACK,…_BEAT_SNACK,ANIM_SHAGGY_AEAT_SNACKand their kin are in both art files.
Scope lock
Allowed paths (this repo):
docs/02-SCUMMVM-INTEGRATION.md (§9: the test_script key)
docs/formats/scooby-exe.md (the speech lock, hints, snacks)
docs/work-packets/WP-024-hints-and-snacks.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-024-2026-11-14.md
Fork: engines/scooby/**, staged by name.
Risk review
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| The speech lock changes scene timing. | med | med | Compare the exit and click checks line for line with WP-023’s run. |
| Talks end on audio time, not ticks. | certain | low | The check logs what is said, not how long; snack timing is the eating sequence, which is in ticks. |
| The live test needs the mouse while Jeff works. | high | med | Play the input inside the engine (test_script), minimized, and save screenshots from the game’s own screen. |
Verdict
- READY TO EXECUTE
- NOT READY
Prepared by: Claude (WP-001 session, continuing), on Jeff’s “continue” of 2026-11-14 Date: 2026-11-14
After execution — lessons learned
Lesson: test without the host’s mouse. WP-023’s live run took over the mouse of a machine in use. The engine’s test_script plays input through the same handler as real events, and saves the screen itself, so live tests now run minimized and repeat exactly.
Lesson: shared state needs a guard when a check reloads the room. The first check run hung on an assert: the room was loaded again under a toolbar whose Scrappy was still talking, and stopping him touched a sprite index from the old room. The check now resets the inventory first, and stopping Scrappy checks the sprite is still his.
Lesson: compare unchanged checks byte for byte. The speech lock touches the scene player and the walk-off. “0 stuck” would have hidden a one-tick shift; the hashes of every exit, click and inventory line showed there was none.
Scope note: the lock held. One fork commit, staged by name. The other session was told before coding and asked to drop its duplicate WP-023.