Commit graph

6 commits

Author SHA1 Message Date
bfb29f0ba9
fix(repo): stop gitignoring bun.lock \u2014 unblocks docker compose on fresh clones
User reported docker compose dev stack failing on a fresh clone with:

  COPY package.json bun.lock ./
  target server: failed to compute cache key: '/bun.lock': not found

Root cause: bun.lock was listed in .gitignore (line 12), so the lockfile
existed only on machines where bun install had been run locally. On a
fresh clone, the file is missing entirely, and Dockerfile.dev's
'COPY package.json bun.lock ./' fails because the build context has no
lockfile.

Fix: remove the gitignore entry and commit the existing 987-line lockfile.

This matches the standard practice for every JS package manager (bun,
npm, yarn, pnpm) \u2014 commit the lockfile so installs are reproducible
across machines. The Dockerfile already uses 'bun install --frozen-lockfile'
which depends on this file being present.

Note: the 'pull access denied for paratype/dev' line in the user's error
output is benign cosmetic noise from compose's pull-then-build fallback
flow when image: paratype/dev:local is set (compose tries the registry
first, gets a 403 since the image name is local-only, then falls back
to the local build context). Not an error \u2014 ignore.

After this commit, on a fresh clone:
  git clone <repo>
  docker compose -f docker-compose.dev.yml up
should work without any prior bun install on the host.
2026-04-27 18:11:36 -06:00
3cef8f5324
chore(sisyphus): Rule Variants Final Verification Wave — all reviewers APPROVE
Phase F Final Wave of the rule-variants epic.

  F1 (Plan Compliance, oracle):          APPROVE — bg_f2508b15
  F2 (Code Quality, unspecified-high):   APPROVE — bg_1101ecb3
  F3 (Manual QA, orchestrator-direct):   APPROVE — after agent hit
                                         tool cap; 1651/1651 unit +
                                         83/83 Playwright + 2/2
                                         visual spot-checks
  F4 (Scope Fidelity, deep):             APPROVE — bg_77460b0f

Summary:
- 1651 unit tests (1417 baseline → +234 across 14 presets + 4 hooks
  + audits).
- 83/83 Playwright (80 → +3 rule-variants scenarios in F.4).
- 0 typecheck / lint errors.
- 4 new preset hooks shipped: getRoyalPieces, filterLegalMoves,
  shouldAdvanceTurn (+ HalfMovesThisTurn fact), overridePieceMoves.
- 14 rule-variant presets shipped:
  * Tier 1: knightmate-rules, double-move, monster-rules (scope-
    flippable), first-promotion-wins.
  * Tier 2 royal: coregal, dual-king, weak-dual-king.
  * Tier 2 objective: suicide-chess, capture-all, extinction-chess.
  * Tier 2 movement: berolina-pawns (scope-flippable),
    berolina-pawns-2 (scope-flippable), bouncing-pieces,
    bouncing-pieces-2.
- 1 new layout: dual-classic.
- Engine composition fix: onCheckGameResult 'ongoing' suppresses
  defaults without short-circuiting later presets.
- UI: RulesDrawer category grouping + LayoutPicker suggested-rules
  chips.
- Docs: PRESET-API.md + RULES.md galleries updated.
- Audits: incompatibleWith symmetry test + suggestedPresets
  dangling-reference test — both green and runtime-enforced.

Deferred per-plan: Tier 3 royalty-transfer (requires mid-game state
toggle UX outside 'one move at a time'), berolina en-passant,
extinction-chess UI target cycling.

Plan: .sisyphus/plans/rule-variants-v2.md (all 31 tasks checked).
2026-04-21 10:15:18 -06:00
748dde5d4c
chore: ignore .org.chromium.Chromium.* runtime files 2026-04-19 10:20:42 -06:00
8ae934f563
chore: remove Playwright cache dirs from tracking, ignore them 2026-04-19 08:26:15 -06:00
653267daf0
chore: gitignore playwright transform cache 2026-04-18 16:27:47 -06:00
f3a38d44be
chore(root): scaffold monorepo — Phase 0 complete 2026-04-16 13:32:21 -06:00