Pre-Flight — WP-070 — 2026-11-17
Filled-in copy of docs/reference/pre-flight for WP-070. Verdict at the bottom.
Nothing on main, in the fork or in an open PR touched Brad’s game.
Header
- WP:
WP-070 - Title: Phantom’s Brad game: the armour pile, piece by piece (Gen 1)
- Pre-flight date:
2026-11-17 - Targets generation(s): 1
- Targets disc(s): Phantom (Showdown has no such rooms)
Pre-flight intent
Validating readiness for
WP-070. Verdict only.
Dependency check
| Prereq | Status in WORK_INDEX |
Locked on | Notes |
|---|---|---|---|
| WP-069 | ✅ Done | 2026-11-17 | The arena’s pile leads here, and his clue follows the win. |
| WP-064 | ✅ Done | 2026-11-16 | Maria’s game: a set piece’s hidden cursor, held input and timed way back. |
| WP-057 | ✅ Done | 2026-11-16 | The pieces’ own updates (Room::Actor), as the drawbridge’s flags have them. |
| WP-039 | ✅ Done | 2026-11-15 | A drag: the button going down, held and up. |
Repo + disc state
- Project worktree on new branch
claude/wp-070frommain(WP-069 merged), clean. - Fork on
scooby-engineateb9f997ae5, clean, in sync. - Phantom.
Scope lock
Allowed paths (this repo):
docs/formats/scooby-exe.md (Brad's game)
docs/work-packets/WP-070-brad-game.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-070-2026-11-17.md
Fork: engines/scooby/**, staged by name. New files brad_rooms.{h,cpp} and the check in brad_check.cpp; a factory line, the module entries, the check’s declaration and its call; WP-069’s doubled comment line in room_script.cpp.
Risk review
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| Floating-point physics. Springs, pushes and pulls run in floats; a reference in doubles could drift from the engine. | — | high | The reference rounds to single precision where the original stores; the check prints positions to two places and tick counts. |
The decompiler loses pow()’s arguments and one of the push’s terms. |
— | medium | Each read from the disassembly: every pow squares; the push reads the x distance twice (0x41E2D5). |
Several pieces share one object name (OBJ_BRADARMOR_EASY). |
— | low | A piece is kept by its sequence’s last digit, as the claim does. |
| A drag needs the button held, which a click doesn’t give. | — | low | test_script’s down and up for the live run; the check sets the button itself. |
Verdict
- READY TO EXECUTE
- NOT READY
Prepared by: Claude (WP-001 session, continuing) Date: 2026-11-17
After execution — lessons learned
Lesson: a physics port checks out when the reference rounds where the original stores. The reference keeps single precision at each store, as the fork does, and prints tick counts and two-place positions. The springs, pushes and pulls then matched on the first run, at every level.
Lesson: read the disassembly wherever the decompiler drops arguments. Ghidra showed pow() without its operands and the push with the same term twice. The instructions settled both: every pow squares, and the push really does read the x distance twice.
Lesson: a live drag can be planned from the reference’s own play. The ways change as pieces go. The reference printed each piece’s way at its turn, a hover probe gave a point inside each piece, and down, moves and up took the pile apart in one run.
Scope note: one fork commit of 8 files staged by name: the class and its check in new files, a factory line, the module entries, the check’s declaration and its call, and WP-069’s doubled comment line.