Pre-Flight — WP-052 — 2026-11-15
Filled-in copy of docs/reference/pre-flight for WP-052. Verdict at the bottom.
Written with PRs #97, #98 and #99 (WP-049 to WP-051) open; this WP’s docs branch stacks on them. Nothing on main, in the fork or in an open PR touched ROOM_Sheriff.
Header
- WP:
WP-052 - Title: Showdown’s Sheriff’s quiz: his notebook, page by page (Gen 1)
- Pre-flight date:
2026-11-15 - Targets generation(s): 1
- Targets disc(s): Showdown
Pre-flight intent
Validating readiness for
WP-052. Verdict only.
Dependency check
| Prereq | Status in WORK_INDEX |
Locked on | Notes |
|---|---|---|---|
| WP-051 | ✅ Done (PR #99 open) | 2026-11-15 | The branch this one stacks on. |
| WP-021 | ✅ Done | 2026-11-14 | Requires objects: the answers. |
| WP-019 | ✅ Done | 2026-11-14 | Sound: the pages and the answers read. |
Repo + disc state
- Project worktree on new branch
claude/wp-052fromclaude/wp-051, clean. - Fork on
scooby-engineatd217d6c901, clean, in sync. - Showdown only.
Scope lock
Allowed paths (this repo):
docs/formats/scooby-exe.md (the Sheriff's quiz)
docs/work-packets/WP-052-sheriff-quiz.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-052-2026-11-15.md
Fork: engines/scooby/**, staged by name. New files sheriff_rooms.{h,cpp}; the check in chase_check.cpp. In the shared files: a factory line, the module entry, and the sound manager’s stopEffects (sound.{h,cpp}).
Risk review
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| The page is drawn at random, and so is the right answer’s line. | — | medium | The check sets the page and accepts any of the right lines; the live run reads the page from its profile. |
| The quiz waits on real sounds. | — | medium | The check ends each sound itself; the live run plays them. |
Verdict
- READY TO EXECUTE
- NOT READY
Prepared by: Claude (WP-001 session, continuing), with PRs #97–#99 open Date: 2026-11-15
After execution — lessons learned
Lesson: read a helper’s argument order before naming it. graphics_AnimSprite_Play(s, a, b, c) is Start(s, b, c, a): what looked like “play in mode 1” is “stopped on step 1”. Only the thunk’s decompile showed it.
Lesson: log what the original decided, before the class changes it. The answer’s log line printed the page drawn after it, not the page answered; the live run’s log read wrong until it was moved.
Scope note: one fork commit of 7 files staged by name. In the shared files: the factory line, the module entry, and the sound manager’s stopEffects.