Pre-Flight — WP-106 — 2026-12-01

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

Pre-flighted and executed in one session, at Jeff’s “Yes, run it” (2026-12-01). EC-016 records each step’s outcome.


Pre-flight intent

Validating readiness for WP-106. Verdict only; the execution follows in the same session.

Dependency check

Prereq Status in WORK_INDEX Notes
WP-091 ✅ Done (2026-11-28) §5’s rules, §5.8’s guarantee, and Appendix C’s examples, which are this packet’s specification
WP-089 ✅ Done (2026-11-27) The core’s contract (§4.3) and its declarations (Appendix B)
H1–H24 Decided (2026-11-26 to 28) H17–H24 recorded in PR #264. The core uses H17, H18, H19, H20, H21 (repeat as a press), H22 (distinct points as a precondition), H23 and H24

Repo + disc state

What the code has today (fork 1cb2dd945a)

Drift since the draft’s pin (55c8b6b32ae3)

29 merges. None touches anything this packet builds on. One bears on later Hotspot Magnet packets and is recorded for them:

Scope lock

Fork, staged by name:

engines/terraglyph/hotspot_magnet.h
engines/terraglyph/hotspot_magnet.cpp
engines/terraglyph/magnet_check.cpp
engines/terraglyph/module.mk        (the two objects)
engines/terraglyph/terraglyph.h     (the check's declaration)
engines/terraglyph/terraglyph.cpp   (the check's call)

One commit, with the TERRAGLYPH: prefix.

This repo:

docs/reference/pre-flight-WP-106-2026-12-01.md
docs/work-packets/WP-106-hotspot-magnet-core.md
docs/execution-checklists/EC-016-hotspot-magnet-core.md
docs/work-packets/WORK_INDEX.md
docs/reference/hotspot-magnet-plan.md
dashboard.json

Forbidden: game data; anything outside engines/terraglyph/ in the fork; docs/formats/**.

Risk review

Risk Likelihood Impact Mitigation
A transcription slip in Appendix C’s 264 expectations med high A script reads the plan’s tables and the C++ tables as text and compares them cell by cell before the build
A rule turns out ambiguous in C++ low high Stop and raise it to Jeff as a plan correction; don’t choose in code (WP-106 out of scope)
The property test is slow in a debug build. A press graph through navigate() is O(16n³) med low Screen with isGeometricConnected() alone (O(4n²)), and check in full only the layouts found plus 150 others. The run’s time is logged
Debug-build timing overstates a press’s cost high low Report it as an upper bound. The 1 ms bar is checked against it, and a release build or the Pi gives the real figure
Order dependence, a tie broken by list position low high Ties go by (major, y, x) only; every case is also run with the list reversed
Self-test drift from unrelated checks between the baseline and the change low med Both runs use the same pin and binary build tree; the comparison ignores the new magnet lines only
ScummVM upstream creep low med The core is new files in engines/terraglyph/; no shared file changes (H23 keeps the tests out of test/module.mk)
A copyright leak from logs or extracted data low high Logs and configs stay in the scratchpad; the scope lock is checked with git diff --name-only before each commit

Verdict

Reviewer: Claude (session), at Jeff’s direction Date: 2026-12-01