feat(thressgame-coverage): Waves 16-18 (Playwright e2e for choice-kinds + move-gen attrs + orphan primitives)

Wave 16 — 3/3 untested choice-kinds covered (choice-kinds.spec.ts):
- square: 8x8 grid → click e4 → treasure marker spawns
- row: row picker → click row 3 → 8 treasure markers along row 3
- coin-flip: heads/tails buttons → click heads → CoinFlipResult set on GAME_ENTITY

Wave 17 — 1 active + 5 fixme (move-gen-attrs.spec.ts):
- KingExtraReach=2 PASSES (king steps 2 squares)
- MovesAs/MovesAlsoAs/BlockedPieceTypes/MoveClassRestriction/PawnPushesPiecesEnabled fixme'd: drag library doesn't reject illegal moves at UI layer (move-gen filter is engine-side; UI is permissive). Documented limitation; engine behavior verified at unit level (Wave 12 tests).

Wave 18 — 11 active + 1 fixme (orphan-primitives.spec.ts):
- place-piece, move-piece, swap-pieces, convert-piece-type
- for-each-piece, for-each-square, for-each-adjacent, for-each-marker
- block-by-piece-type primitive (consumer attr Wave 12)
- on-rule-expire (descriptor detach fires arm)
- on-marker-expire (lifetime sweep fires hook)
- spawn-marker-pair (mutual MarkerLinks)
- must-class fixme: consumer deferred (descriptor seeds attr; rules/turn filter not yet wired for must-class specifically)

E2E total: 27 active passing + 7 fixme. Unit tests: 2866 passing. bun run check exit 0.
This commit is contained in:
Joey Yakimowich-Payne 2026-04-26 18:43:01 -06:00
commit f762b6d207
No known key found for this signature in database
4 changed files with 2978 additions and 1 deletions

File diff suppressed because it is too large Load diff