Pre-Flight — WP-079 — 2026-11-19

Filled-in copy of docs/reference/pre-flight for WP-079 (Showdown closeout). Verdict at the bottom.

Number note. This WP was drafted as WP-078 (commit 5d60f42) and renumbered WP-078 → WP-079 the same day (632dbf6): a parallel session had already claimed WP-078 for Phantom’s princess-bedroom / mermaid’s-cavern port (branch claude/wp-078-bedroom-cavern-8f0762), so the Showdown closeout yielded the number per the wp-lifecycle §Supersession check. This artifact is written against the current number. There is no prior pre-flight for this WP under either number (checked 2026-11-19: no pre-flight-WP-078-* and no pre-flight-WP-079-* on main; no open PR touches it — gh pr list empty; the only wp-078 branch is the Phantom port’s, not this WP).

State on which this gate was run: main @ 632dbf6 (local == origin/main, working tree clean); fork C:\dev\scummvm @ scooby-engine / a709d6d94f.


Pre-flight intent

Validating readiness for WP-079. Not implementing, not editing engine code, not annotating Ghidra, not running the playthrough. Verdict only.

Note the shape of this WP: it is a verification WP, not an engine-code WP. It exercises engines/scooby/** through a full run and the acceptance-gate walk, but changes no fork code — every defect it finds spins out to its own follow-up WP. Its committed outputs are docs only (the run result in the WP §Result, the filled-in EC-006, the ScummVM wiki-page draft + MD5 record, this artifact). So the gate’s “engine-code WP → dedicated fork worktree claim” rule does not apply in its collision sense: there is no branch to claim and no engines/scooby/** edit to scope-lock.

Dependency check

Read from WORK_INDEX directly (not memory), 2026-11-19 @ 632dbf6. WP-079’s declared prerequisites, plus the front-end/credits WPs its exit criteria exercise:

Prereq Status in WORK_INDEX Locked on Notes
WP-056 ✅ Done 2026-11-16 GhostSpotRoom (fork 700fffa6a7). The last Showdown game class — every class in the room-class audit is now ported.
WP-014 … WP-056 ✅ Done 2026-11-14 … 11-16 The whole Gen 1 chain: archive/cels/draw/anim/mouse/audio/transitions/clickables/movies/inventory/saves/front-end and every Showdown room class. All ✅ in the index narrative.
WP-012 ✅ Done 2026-11-14 Detection table — recognises the four in-scope discs with their generations (gate 2/3 basis).
WP-022 ✅ Done 2026-11-14 Bink movies via Video::BinkDecoder (gate 6 basis).
WP-026 ✅ Done 2026-11-14 Profile saves (exit criterion 3, save/load).
WP-031 ✅ Done 2026-11-14 The accusation, Big Head and the credits (exit criterion 2, win condition).
WP-028 ✅ Done 2026-11-14 Sign In / new-game start values (EC-006 Step 0).
WP-029 ✅ Done 2026-11-14 Room setup — music + opening scene, incl. Town Center (EC-006 Step 0).
WP-030 ✅ Done 2026-11-14 Options + Credits — credits roll to the end (exit criterion 2).

Rule check: every prereq is ✅ Done. Phase ordering holds — Phase 1 closed 2026-11-13/14 (all four exit criteria met) and Showdown’s Phase 3/4 content is complete, so promoting this one Phase 5 WP is in-rule (it locks no fact not already established). Pass.

Repo + disc state

ISO / mount paths in use:

Showdown (Gen 1): H:\scooby\   (Scooby.exe SHA-256 1328454334CDDB9518168B78BA7FFEB13BA7B772E6B52F4E2B87098D18AF7478; showdown.cd present)
  cold-storage source ISO: C:\pcloud\scooby-engine\Scooby Doo Showdown in Ghost Town.iso
Fork build tree: C:\dev\scummvm  @  scooby-engine / a709d6d94f   (pin c553503d9d reachable)

Scope lock

Anything not explicitly allowed is forbidden. This is a docs-only verification WP.

Allowed paths (this repo) for WP-079:

docs/work-packets/WP-079-showdown-closeout.md            (the §Result write-up: run outcome, verdict, gap list)
docs/execution-checklists/EC-006-showdown-playthrough.md (the filled-in run sheet + gate table)
docs/reference/scummvm-wiki-scooby.md                    (new — the ScummVM wiki-page draft + required-data-files/MD5 record)
docs/work-packets/WORK_INDEX.md                          (WP-079 status bump on close)
docs/reference/pre-flight-WP-079-2026-11-19.md           (this artifact)

Forbidden (any change fails the WP):

Exit check (before staging the closing commit, run in the docs repo):

git diff --cached --name-only

Every path must match the allowlist above. The one easy-to-miss leak is a disc capture staged by accident — review the staged list against the §Risk review copyright row; nothing under a capture path ever commits.

Risk review

Risk Likelihood Impact Mitigation
Disc conflation — two Gen-1 discs mounted (H: Showdown, G: Phantom); the run or the detection check loads the wrong one. med high Exact mount path + SHA recorded in §Repo + disc state; the run uses H:\ only, and EC-006 Step 0 confirms the launcher IDs the mounted disc as scooby:showdown before play starts.
Playthrough sprawl — every stuck exit invites a detour into the room’s code; the verification WP quietly becomes an open-ended bug-fixing bucket. high med EC-006 holds the line: observe, log a one-line gap, move on. The only thing that stops the run is a hard progression blocker (itself gap #1). Fixes are follow-up WPs, never inline. This is the WP’s stated discipline.
Build is the first execution step, not the gate. A clean build against the pin is asserted by lineage here, not re-compiled; if the tree does not in fact build clean, that surfaces at EC-006 Step pre-flight, not now. low med Gate 1 of the acceptance walk re-runs the clean build and records command + hash before any play. A non-clean build stops the session there — a legitimate in-session NOT-READY-equivalent, cheap to hit early. The a709d6d94f tree is the same one WP-077 built today, so a regression is unlikely.
Stale READY if main moves. Other docs PRs or a binary re-cache could land before the run opens, aging out this READY. low low Verdict is pinned to main @ 632dbf6 and fork @ a709d6d94f in the Header; if main advances materially before execution opens, re-run pre-flight on a fresh dated artifact per wp-lifecycle §Phase 2.
Slot-level content gap — the per-room audit confirms each room has a class, not that the class overrides every slot the original’s does; a bad inter-room hand-off or a dead-end only surfaces on a continuous run. med med This is exactly what the WP exists to find — it is a finding, not a gate failure. Any blocker = exit criterion 1 fails, WP stays 🚧, blocker is gap #1, and its fix WP is the real next step. Expected and in-scope.
Copyright leak — a disc-extracted screenshot, log, or save staged for the closing commit. low high Captures live under gitignored paths; §Scope-lock exit check (git diff --cached --name-only) reviewed against the allowlist before staging.

Verdict

Rationale. Every prerequisite is ✅ Done and Phase ordering holds. The fork is present, clean, on scooby-engine @ a709d6d94f with the pin reachable and engines/scooby/** intact — a known-buildable Scooby-only tree. The Showdown ISO is mounted at H:\ and SHA-verified unmodified against the identity lock, with the Phantom disc distinguished by path + SHA so there is no conflation. Scope is docs-only with a clean exit check. The one thing this gate does not do — re-run the clean build — is by design gate 1 of the acceptance walk, recorded as the first execution step in EC-006; the tree’s buildable lineage (WP-077 built it today) carries the readiness claim to the gate.

A READY verdict authorizes opening the WP-079 execution session (EC-006). It authorizes no fork code change — this WP edits no engines/scooby/** file; any fix the run demands is its own follow-up WP.

Prepared by: Claude (WP-079 pre-flight session) Date: 2026-11-19


After execution — lessons learned

(to be filled in at WP-079 close)