EC-017: Hotspot Magnet TerraGlyph provider — run sheet

Paired WP: WP-107 Purpose: Run WP-107 in a fixed order, recording each step’s outcome as it’s done. Status: run 2026-12-01; the character targets added 2026-12-02 (H25). Every step is done. Jeff accepted the covered targets and empty rooms as listed on 2026-12-04 (WP-107 §Result).


Pre-flight

Step 1 — Geometry (time-box: 2:00)

Outcome: Room::getHitBox() gives the polygon box or the cels’ union. The search tries the centre, then 4 px rings, row by row. It caches each point by step and re-checks it with one hitTest() at every rebuild. The listing finds no point that misses its target and none off screen.

Step 2 — The filter and the hooks (time-box: 2:00)

Outcome: §4.6’s rules 1–5, in buildMagnetTargets(). Toolbar sprites are known by their click index (Inventory::getToolbarIndex()), so the hit blockers and other engine sprites are left out. The three hooks are on RoomClass, and no other. ButtonRoom, the drawbridge (from the audit) and Wizard’s Rule implement them.

Step 3 — The click audit (time-box: 3:00)

Outcome: 32 overrides in 28 headers at 837ca576da, the same headers as at the draft’s pin. Verdicts: A 8, B 3 (the drawbridge added), C 6, D 15. The D rows are classes that give a character click a meaning, 11 of them progress. They were raised to Jeff in WP-107’s §Result, and he decided on 2026-12-02 that all 15 add their characters (H25). The hooks are in fork #66, so the verdicts are A 8, B 18, C 6. No new §6.8 row is needed. The drawbridge’s row is added, and Sign In’s and Wizard’s Rule’s are updated.

Step 4 — One target per interaction, and the entry points (time-box: 1:30)

Outcome: a class target on a sprite the room lists merges into it. The toolbar gives one target per click index, the front sprite that has a point. A collision takes the next ring point that’s free. targetAt() and magnetCurrent() are recorded in Appendix B, with hotspotDirty()’s pure read.

Step 5 — The checks (time-box: 3:30)

Outcome: checkMagnetRooms(), on both titles:

15 unpointed targets (covered by a door, the throne or Scooby) and the empty rooms are listed with their reasons (18 unpointed with the character targets). Jeff accepted them as listed (2026-12-04). A cold review’s fixes are in the second commit.

Step 6 — Build, PR, records (time-box: 1:00)

Outcome: clean build with no new warnings. Every existing check line matches the baseline, except lines that vary between any two runs. Nothing outside the check calls the provider. Fork #62 merged as dcf2630b21. The style check isn’t on main (PR #209). Records updated; the strict wiki build passes. Fork #66 (the character targets) merged as 37b75bf77e, checked against a baseline at its pin, c1f2825762, the same way.


Definition of done

Every step’s outcome is recorded, every WP-107 exit criterion is met with its evidence, and the fork PR is merged.

Out-of-scope captures