No description
F4 scope-fidelity audit flagged a plan-text vs implementation count drift. Only three trigger primitives existed before Wave 2 (on-turn-start, on-capture, on-damaged) plus one non-trigger conditional primitive, NOT four trigger primitives. Wave 2 added seven more, so the correct total is 10 trigger primitives, not 11. This commit corrects the RULES.md intro paragraph from 11 trigger primitives (4 existing + 7 added in Wave 2) to 10 trigger primitives (3 existing + 7 added in Wave 2) matching the actual file-system count under packages/chess/src/modifiers/primitives/on-*.ts. No structural docs reorganization needed (the section already tabulates the 3 existing triggers under Existing triggers (pre-Wave 2) and the 7 new ones under New triggers (Wave 2) individually). |
||
|---|---|---|
| .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