No description
F1 Plan Compliance Audit — APPROVE Primitives [15/15] | Tasks [17/17 top-level] | ADRs [7/7] F2 Code Quality Review — APPROVE Build [PASS] | Lint [PASS] | Tests [1386 pass] | No 'as any' / '@ts-ignore' in non-test source | Registry-dispatch pattern throughout (no hardcoded kind switches) F3 Manual QA — APPROVE e2e [79/79] including 18/18 custom-modifiers.spec.ts scenarios (plan called for 15, shipped 18). All former fixmes passing. F4 Scope Fidelity — APPROVE Recursion cap [3, enforced by MAX_RECURSION_DEPTH in validate.ts] Primitive count cap [50, enforced by MAX_PRIMITIVE_COUNT in validate.ts + server Zod .max(50)] Per-room cap [10, enforced by CUSTOM_MODIFIER_ROOM_CAP in broadcast.ts] Per-engine custom registry [CustomModifierRegistry owned by ChessEngine, never global — cross-room leakage structurally impossible] T4 smuggling [CLEAN — scripted type is rejected in both validate.test.ts and schema.test.ts; no runtime scripted descriptor shipped] T3 boulder complete. |
||
|---|---|---|
| .github/workflows | ||
| .sisyphus | ||
| docs | ||
| packages | ||
| scripts | ||
| .gitignore | ||
| eslint.config.js | ||
| lefthook.yml | ||
| LICENSE | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| tsconfig.base.json | ||
| tsconfig.json | ||
| vitest.workspace.ts | ||
@paratype
A Doorenbos-style Rete II rules engine for TypeScript games, with an authoritative WebSocket chess demo.
Packages
packages/rete— Rete II engine corepackages/chess— Browser chess demo (React + Vite)packages/server— Authoritative Bun WebSocket server
Docs
- SPEC.md — Engine specification
- PHASES.md — Development phases & perf budgets
- RULES.md — Chess rule presets
- PROTOCOL.md — WebSocket message protocol
Getting Started
bun install && bun run check