Pre-Flight — WP-028 — 2026-11-14

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

Written after PR #65 merged. The other session was told this scope before coding: Sign In and the new game here, the story rooms left to it.


Pre-flight intent

Validating readiness for WP-028. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-026 ✅ Done 2026-11-14 Saves hold the profile; a player is a save.
WP-027 ✅ Done 2026-11-14 Room classes; the title and New Mystery lead to Sign In; the level select starts the story.

Repo + disc state

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (Sign In and the new game)
docs/work-packets/WP-028-sign-in.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-028-2026-11-14.md

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

Risk review

Risk Likelihood Impact Mitigation
Players don’t map to slots. med med A player is a save whose description is a valid name; the list ignores other saves and the autosave.
The check touches real saves. low high The checks read an empty scratch saves folder and never delete; the live runs use their own folder.
Phantom’s new game differs. certain low Its +0x4C isn’t traced: the shared reset only, said plainly.

Verdict

Prepared by: Claude (WP-001 session, continuing), after PR #65 merged Date: 2026-11-14


After execution — lessons learned

Lesson: a check that never lists saves can’t catch a list that finds none. WP-026’s checks and live test saved and loaded by slot number, so the missing kSimpleSavesNames went unseen until Sign In’s list came up empty. Every save path a player uses needs to be in a live run: the list as well as the slot.

Lesson: read the bytes when the decompiler drops an argument. Ghidra showed the input calls without their argument; the bytes show push 0x12 for the delete key and push 5 for the skip. That turned “some key” into input slot 18.

Lesson: compare the second title’s code before writing its half. Masked byte comparison showed Phantom’s Sign In is Showdown’s code, function by function, and that its new-game story function is not. The docs say which half is traced for Phantom instead of assuming both.

Scope note: the lock held. One fork commit, staged by name; the WP-026 save-name fix rides along because Sign In can’t list players without it, and is called out in the result.