No description
Find a file
Joey Yakimowich-Payne 4ec48af0f9
feat(thressgame-coverage): Wave 13 (real-pipeline integration tests + Playwright e2e)
Closes systemic gap S1 from oracle audit: parity tests now drive the REAL move pipeline, not direct primitive .apply() calls.

T78 — 8 *-real.test.ts files alongside existing parity tests:
- minefield-real, mr_freeze-real, parry-real, all_on_red-real, religious_conversion-real, ice_physics-real, kamikaze-real, mind_control-real
- Each registers descriptor via applyCustomDescriptor (production path), drives engine.applyMove, asserts engine.session state
- Existing *.test.ts files unchanged (kept as logical-semantics locks)

T79 — Playwright e2e for 3 request-choice flows:
- T68/1 single-player (mr_freeze) PASSES (1.7s) — real WS round-trip
- T68/2 both-player (mind_control) PASSES (2.8s) — 2 browser contexts
- T68/3 nested (parry) is .fixme() with documented gaps:
  * Gap G: trigger dispatcher uses synthetic descriptorId='__trigger__' that submitChoiceAndResume can't resolve
  * Gap H: cancel-capture has engine-level rollback but no compensating wire-level game.delta reversal

Production additions (minimal, test-supporting):
- GameClient declares protocolVersion=2 to receive request-choice broadcasts
- data-testid='request-choice-modal' + data-choice-kind + data-marker-kind selectors on UI
- Dev-only globalThis.__paratypeChessClient debug hook (gated on import.meta.env.DEV)
- Test-only __test__.activate-descriptor WS frame handler (gated on NODE_ENV !== production)

Tests: 2824 -> 2853 (+29 unit). Playwright e2e: 3 active pass + 1 .fixme(). bun run check exit 0. No regressions in 120-test e2e suite.
2026-04-26 16:03:59 -06:00
.github/workflows chore(root): scaffold monorepo — Phase 0 complete 2026-04-16 13:32:21 -06:00
.sisyphus feat(thressgame-coverage): Wave 13 (real-pipeline integration tests + Playwright e2e) 2026-04-26 16:03:59 -06:00
docs feat(ui): AttrCombobox declare vs. consume semantics 2026-04-21 13:07:27 -06:00
packages feat(thressgame-coverage): Wave 13 (real-pipeline integration tests + Playwright e2e) 2026-04-26 16:03:59 -06:00
scripts feat(rete): add replay engine + state-hash determinism verifier (P3.3) 2026-04-16 15:25:13 -06:00
.gitignore chore(sisyphus): Rule Variants Final Verification Wave — all reviewers APPROVE 2026-04-21 10:15:18 -06:00
eslint.config.js feat(engine): damage-resistance modifier descriptor 2026-04-18 22:22:31 -06:00
lefthook.yml chore(root): scaffold monorepo — Phase 0 complete 2026-04-16 13:32:21 -06:00
LICENSE chore(root): scaffold monorepo — Phase 0 complete 2026-04-16 13:32:21 -06:00
package.json feat(rete): add replay engine + state-hash determinism verifier (P3.3) 2026-04-16 15:25:13 -06:00
playwright.config.ts fix(rete): inject clock into EventLog; use tsc for DTS; fix cycle.test.ts private access; add Playwright worker limit 2026-04-16 18:25:49 -06:00
README.md chore(root): scaffold monorepo — Phase 0 complete 2026-04-16 13:32:21 -06:00
tsconfig.base.json chore(root): scaffold monorepo — Phase 0 complete 2026-04-16 13:32:21 -06:00
tsconfig.json chore(root): scaffold monorepo — Phase 0 complete 2026-04-16 13:32:21 -06:00
vitest.workspace.ts chore(root): scaffold monorepo — Phase 0 complete 2026-04-16 13:32:21 -06:00

@paratype

A Doorenbos-style Rete II rules engine for TypeScript games, with an authoritative WebSocket chess demo.

Packages

Docs

Getting Started

bun install && bun run check