No description
Writes the step-by-step to-do list successor to the Momus-approved
design doc at .sisyphus/plans/rule-variants.md. The design doc has
the full hook-API rationale, risk analysis, and architecture sketch;
rule-variants-v2.md is the agent-executable task list.
Structure mirrors the modifier-profiles-t3 plan the repo just
shipped: 6 phases (A-F) + Final Verification Wave, 32 top-level
checkboxes, parallel-execution map, T3-learned tactics section for
the incoming agent (tool-cap fragility, commit discipline,
v3/v4 mirror pitfalls), and explicit 'when to stop mid-plan'
branching so an early-exit delivers a coherent subset.
Scope (recap from design doc):
- Phase A: 4 new PresetDef hooks (getRoyalPieces,
filterLegalMoves, shouldAdvanceTurn, overridePieceMoves) +
HalfMovesThisTurn game fact.
- Phase B: 4 Tier-1 presets closing starting-layouts deferrals
(knightmate-rules, double-move, monster-rules,
first-promotion-wins).
- Phase C: 3 royal-variant Tier-2 presets (coregal, dual-king,
weak-dual-king) + dual-classic layout.
- Phase D: 3 objective-variant Tier-2 presets (suicide-chess,
capture-all, extinction-chess).
- Phase E: 4 movement-variant Tier-2 presets (berolina-pawns ×2,
bouncing-pieces ×2).
- Phase F: lobby integration (incompatibleWith audit,
suggestedPresets wiring, drawer category grouping), rule-
variant e2e, docs.
- Final Wave: 4 reviewers (oracle/deep/unspecified-high).
Explicit deferrals: royalty-transfer (T3 in design doc; needs
mid-game state toggle), PGN notation changes, ELO/ranking,
non-8×8 variants, multi-royal check-banner UX (follow-up).
Each task carries 'what to do', file anchors, verification
criteria, parallelization map, recommended agent profile, and
commit message template — designed so an agent can pick up task
X.Y without re-reading the whole plan.
|
||
|---|---|---|
| .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