feat(thressgame-coverage): Wave 19 (close 6 production gaps, lift all fixmes)
T85: Wired Wave 12 move-gen attrs into engine.ts:getAllLegalMoves (the path the drag UI actually uses): - BlockAllExceptKing (game-level early-return) - BlockedPieceTypes (game-level early-return) - MovesAs (per-piece substitution via lookupMoveGenerator) - MovesAlsoAs (additive; deduped via dedupeMoves helper) - MoveClassRestriction (post-filter on the entire move set) Previously these attrs only filtered rules/turn.ts:getLegalMovesForPiece, but the production drag path goes through engine.ts. Now both paths apply identical filters. T86: engine.ts:applyMove now honors isPawnPush: - pushedPieceId moved to pushedTo (defender shoved forward) - pawn moves to diagonal target square (no capture retract) - HasMoved set on pawn - Hook firing + turn advancement preserved 5 fixmes lifted in move-gen-attrs.spec.ts (MovesAs, MovesAlsoAs, BlockedPieceTypes, MoveClassRestriction, PawnPushesPiecesEnabled). 1 fixme lifted in orphan-primitives.spec.ts (must-class consumer now active). E2E status: 30/30 thressgame-coverage tests PASS. 0 fixmes. 0 skips. Unit tests: 2866 -> 2868 (+2 from new applyMove unit tests). bun run check exit 0.
This commit is contained in:
parent
f762b6d207
commit
d5abaf13bc
5 changed files with 269 additions and 10 deletions
|
|
@ -98,7 +98,10 @@
|
|||
"ses_233f7318effe2R0Vt2ad27KzEZ",
|
||||
"ses_233cc34d1ffe9ys7V39oRNCcO0",
|
||||
"ses_233bcb2b3ffeI06xdt1zAAeqig",
|
||||
"ses_233bc366effeMrTyc60acFDGv1"
|
||||
"ses_233bc366effeMrTyc60acFDGv1",
|
||||
"ses_233bbae40ffeT1NSqk255jg4hM",
|
||||
"ses_233064ca7ffeXlINJom4KihOqH",
|
||||
"ses_23305e63fffeSljlU1lOZqw7VE"
|
||||
],
|
||||
"plan_name": "thressgame-coverage",
|
||||
"agent": "atlas"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue