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

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

Written on Jeff’s “continue” after PR #62 merged. The other session holds WP-025 (hiding the toolbar per room class) and was told this scope before coding. Both touch inventory.cpp and scooby.cpp in different places; whichever lands second rebases onto the other.


Pre-flight intent

Validating readiness for WP-026. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-020, WP-021, WP-022 ✅ Done 2026-11-14 Exits taken, clickable states and movies seen, kept so far for the session only.
WP-023, WP-024 ✅ Done 2026-11-14 The inventory, snacks and suspects met.

Repo + disc state

Doc-vs-tree cross-check

Scope lock

Allowed paths (this repo):

docs/02-SCUMMVM-INTEGRATION.md   (§8 implementation notes)
docs/formats/scooby-exe.md       (the player profile)
docs/work-packets/WP-026-profile-saves.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-026-2026-11-14.md

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

Risk review

Risk Likelihood Impact Mitigation
ScummVM’s INIFile differs from the Win32 profile API in key validity or case. med med The import test uses an original-format file with CRLF and odd values.
The live test writes into Jeff’s ScummVM save folder. high low savepath points at a scratch folder.
Conflict with WP-025. med low Separate spots in shared files; rebase before pushing.

Verdict

Prepared by: Claude (WP-001 session, continuing), on Jeff’s “continue” of 2026-11-14 Date: 2026-11-14


After execution — lessons learned

Lesson: save the original’s own record, not a new format. The original’s profile is a plain INI file. Holding its text in the ScummVM save gives the original’s format for free, keeps the story’s keys before they’re modelled, and lets an original .sav load.

Lesson: write the reference’s input as the original would, not as the engine would. The import file used CRLF lines, a lowercase yes, TRUE and on, an empty value, and keys the engine has never seen. Every one of them exercises a read rule that a file the engine wrote itself never would.

Lesson: commit, then rebase, when a teammate pushes first. WP-025 landed on the same files mid-WP. A local commit and a rebase onto it went through cleanly, and nothing was force-pushed. The checks were then run again on the combined code.

Scope note: the lock held. One fork commit, staged by name. The live test wrote its saves to a scratch folder, not Jeff’s ScummVM save folder.