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 (branchclaude/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: nopre-flight-WP-078-*and nopre-flight-WP-079-*onmain; no open PR touches it —gh pr listempty; the onlywp-078branch is the Phantom port’s, not this WP).State on which this gate was run:
main@632dbf6(local ==origin/main, working tree clean); forkC:\dev\scummvm@scooby-engine/a709d6d94f.
Header
- WP:
WP-079(drafted as WP-078; renumbered632dbf6) - Title: Showdown closeout — full playthrough and release readiness (Gen 1)
- Pre-flight date:
2026-11-19 - Targets generation(s): Gen 1 (Showdown in Ghost Town) only
- Targets disc(s): Showdown
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
- Docs repo (
C:\dev\scooby-engine) clean (git status --shortempty), HEAD onmain@632dbf6, in sync withorigin/main(0 ahead / 0 behind). Pre-flight artifacts for this docs repo commit direct tomain. - Fork base checkout (
C:\dev\scummvm) onscooby-engine@a709d6d94f(the WP-076 + WP-077 merged state — the same tree WP-077 built on earlier today), working tree clean,engines/scooby/**fully populated (accusation / alley / arena / armory / … room classes present;detection_tables.hcarries theshowdownentry). The pinned ScummVM commitc553503d9d(WP-010) is present in the fork’s object store (reachable ancestor). Buildability is established by lineage — this is a known-good Scooby-only build tree — and the clean build against the pin is gate 1 of the acceptance walk, re-run as the first execution step per EC-006 §Pre-flight (“built Scooby-only against the pin:0 errors, 0 warnings; build command + commit hash recorded there”). This gate does not re-compile; it confirms the tree is present, clean, on-branch, and in a buildable lineage. - No fork worktree / branch claim needed. Verification WP: no
engines/scooby/**edit, soNew-ForkWorktree.ps1and its collision-claim do not apply. The run happens in the base checkout; nothing is committed to the fork. - Showdown ISO mounted and unmodified. Scooby-Doo! Showdown in Ghost Town is mounted at
H:\(H:\scooby\), with theshowdown.cddisc-presence marker at the root.H:\scooby\Scooby.exeSHA-256 =1328454334CDDB9518168B78BA7FFEB13BA7B772E6B52F4E2B87098D18AF7478— an exact match to the Showdown identity lock in tools/exes/README §Showdown (Gen 1). Unmodified, genuine Showdown disc confirmed. - Disc-conflation guard. Phantom is also mounted (at
G:\,G:\scooby\Scooby.exeSHA-256619EA687…,phantom.cdmarker). Recording the exact Showdown mount path + SHA above removes the risk of loading the wrong disc; the run must useH:\, notG:\. - No Ghidra
.gprre-use and no prior tool-output re-use in this WP (it is a live run + gate walk, not a decode). The source ISO on cold storage isC:\pcloud\scooby-engine\Scooby Doo Showdown in Ghost Town.iso(present, 636,268,544 bytes) should a re-mount be needed.
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):
- Any fork code change —
engines/scooby/**is exercised read-only (built and run), never edited. Any fix the run demands lands in its own follow-up WP with its own fork branch (wp-lifecycle §Discipline: one WP per branch). - Game data from the disc — any binary, screenshot, audio sample, or save pulled from the ISO. Copyright: never commit. Raw captures (screenshots,
--debugflagslogs) stay under gitignored paths per tools/exes/README. docs/formats/**— this WP locks no format fact.- ScummVM upstream paths outside
engines/scooby/— the upstream PR is a separate, later 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
- READY TO EXECUTE — dependency, repo/disc, scope and risk gates all pass.
- NOT READY
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)
- Pre-flight lesson already surfaced at the gate: the number in the task brief was stale. The brief named WP-078, but the index of record had renumbered Showdown closeout to WP-079 and reassigned WP-078 to a parallel Phantom port. The claim-check (read
WORK_INDEXdirectly;lsthe actual WP files;git logthe renumber commit632dbf6) caught it before any artifact was written under the wrong number. Lesson reinforced, not new: trust the index over any brief, and run the claim-check first.