Pre-Flight — WP-134 — 2026-12-01
Filled-in copy of docs/reference/pre-flight for WP-134. Verdict at the bottom.
Drafted, pre-flighted and executed in one session, started from the session that asked for study step M.2. The gate’s “commit to
mainbefore execution” step is folded into the WP’s own PR: the work is docs and tool scripts, with no engine change, and the number was claimed first. Checked at claim time: noWP-134packet onmain, nowp-134branch onorigin, no PR naming it. The claim branchclaude/wp-134-gen1-packageswas pushed before anything else (5a4e43d).
Header
- WP:
WP-134 - Title: Gen 1 runtime file lists and package builder
- Pre-flight date:
2026-12-01 - Targets generation(s): 1
- Targets disc(s): Showdown (Aug 2001), Phantom
Dependency check
| Prereq | Status | Notes |
|---|---|---|
| ISO-free feasibility study | merged on main |
§D’s rule, §K’s ids, §G’s totals to check against. |
| WP-085 | 🚧 In progress | Only its installer and manifest are used here; both are merged in the fork (PackageStore.java, PackageManifest.java). Its open item (an import route without a computer) doesn’t touch packages. |
| WP-096 | ✅ Done | installedSize and the space check. |
Rule check: WP-085 isn’t ✅, but the part this WP builds on is merged and verified on the TCL (WP-085 milestones 3–4, WP-096); its open item is unrelated. Not a blocker.
Repo + disc state
- Worktree
C:\claude-worktrees\scooby-engine\optimistic-wozniak-e7f3a3, clean, onclaude/wp-134-gen1-packagesfromorigin/main @ 09edd36. - No engine change, so no fork worktree. The fork’s installer was read at
C:\dev\scummvm(origin/scooby-engine @ 837ca576da). - Discs, read-only:
Showdown (Aug 2001): C:\pcloud\scooby-engine\Scooby Doo Showdown in Ghost Town.iso -> H:\ (mounted by this session, -Access ReadOnly)
SHA-256 698caea433a7fce9e1f2c9c74efee2ccc6fdf4e44091f93552b4b20e495652a8
Phantom: C:\pcloud\scooby-engine\Scooby Doo Phantom of the Knight.iso -> K:\ (already mounted; reused, not dismounted)
SHA-256 e70345a3a5a1e65510bdffbc40c63322d020c568d0c402051d87aaf7725719ed
Scope lock
Allowed paths:
tools/New-RuntimeFileList.ps1
tools/New-GamePackage.ps1
tools/packages/README.md
tools/packages/showdown-en-aug2001.json
tools/packages/phantomknight-en.json
.gitignore
docs/work-packets/WP-134-gen1-runtime-packages.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-134-2026-12-01.md
docs/reference/iso-free-execution-feasibility-2026-11-28.md
Forbidden: any game file or zip; engines/terraglyph/** and the rest of the fork; docs/formats/**; any upload.
Exit check: git diff --name-only origin/main...HEAD against the list above.
Risk review
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| Game data or a zip committed | low | high | Output defaults to C:\pcloud\scooby-engine\packages\; the script refuses a folder inside a git work tree; .gitignore gains *.zip; the exit check runs before the commit. |
| Disc mismatch (wrong pressing hashed) | low | high | Each list records its image’s SHA-256, checked against study §C; totals checked against §D. |
| Tool output non-determinism | med | med | Sorted names, no timestamps, LF endings; the list script is run twice and compared; the zip uses a fixed entry time and is rebuilt once and compared. |
| A zip the installer can’t read (.NET writes a data descriptor or Zip64) | low | high | Extract with java.util.zip.ZipInputStream under PackageStore.extract’s rules before calling it done. |
| The self-test differs from run to run, hiding or faking a data difference | med | med | Compare the resource-check lines; for any other difference, run the ISO twice as a control. |
| Unmounting another session’s disc | low | med | Only the image this session mounted is dismounted. |
Verdict
- READY TO EXECUTE
Reviewer: Claude (WP-134 session), for Jeff Date: 2026-12-01
After execution — lessons learned
- ScummVM’s ini parser reads a trailing
\as a line continuation, sopath=H:\swallowed the next line and the target stayed in the launcher. Point a target atH:\scooby, not a drive root. - Phantom’s self-test makes random choices in its play checks; 36 check lines differ between two runs on the same disc. A comparison between two data sources needs that control run.