Skip to content

docs: bring the README back in line with the code - #25

Merged
FiddlyDigital merged 1 commit into
mainfrom
docs-refresh
Aug 1, 2026
Merged

docs: bring the README back in line with the code#25
FiddlyDigital merged 1 commit into
mainfrom
docs-refresh

Conversation

@FiddlyDigital

Copy link
Copy Markdown
Owner

An audit of every factual claim in the README against the actual repo, after the recent refactors and features. One outright error, several omissions, and one section that had become actively misleading.

Corrected

  • npm run build gotcha pointed at the wrong command. It said "Run npm run lint (tsc --noEmit)" — wrong on both counts. lint is oxlint; typecheck is the tsc gate. Anyone following that advice would have run the wrong tool and trusted an unchecked build.

Filled in

  • File tree was missing rng.ts, stash.ts and particles.ts, and still listed ParticlePool under entities.ts (it moved to the render layer in the decoupling work).
  • scripts/ listed only validate-data.mjssmoke-test.mjs and headless.mjs were undocumented.
  • Components list omitted difficulty-modal, heat-modal and controls-modal.
  • storage.ts description now mentions the Daily Rift streak and BrowserStash.
  • npm run verify was described as five gates; it runs seven — headless and smoke were missing from both the one-liner and the "individually" list.
  • Table of contents didn't include the sim/host boundary subsection.

Rewritten

The Test suite section claimed the only automated coverage was Vitest unit tests, and that everything else needed manual browser checking. That's now three layers, so it's a table explaining what each actually catches:

Gate Catches
Unit tests (node env, no jsdom) Simulation logic
npm run headless A browser dependency creeping into the sim
npm run smoke The built app failing to boot or run

…plus a note that the UI layer having no unit harness is a deliberate choice covered by the smoke test, not a gap.

Verified, no change needed

Checked against the code and found accurate: grid dimensions (10×25, 17px), every named data file exists, every component is now listed, and both design docs (docs/fidchell.md's 7×7 brandub board and every-7th-non-boss-floor rule, docs/causeway-duel.md). All ToC anchors resolve to real headings.

Verification

Docs-only change — no source touched. npm run verify still green: 456/456 tests, headless + build + smoke pass.

🤖 Generated with Claude Code


Generated by Claude Code

An audit of every factual claim in the README against the repo. Fixes one
outright error and several omissions that had accumulated over the recent
refactors and features.

Corrected:
- "Run `npm run lint` (`tsc --noEmit`)" — wrong on both counts. `lint` is
  oxlint; `typecheck` is the tsc gate. The advice pointed at the wrong
  command entirely.

Filled in:
- File tree was missing rng.ts, stash.ts and particles.ts, and still listed
  ParticlePool under entities.ts (it moved to the render layer).
- scripts/ listed only validate-data.mjs — smoke-test.mjs and headless.mjs
  were undocumented.
- The components list omitted difficulty-modal, heat-modal and
  controls-modal.
- storage.ts description now mentions the Daily Rift streak and BrowserStash.
- `npm run verify` was described as five gates; it runs seven (headless and
  smoke were missing from both the one-liner and the "individually" list).
- Table of contents didn't include the sim/host boundary subsection.

Rewritten:
- The Test suite section claimed the only automated coverage was Vitest unit
  tests and that everything else needed manual browser checking. There are
  now three layers — unit tests (node env, no jsdom), the headless sim
  boundary guard, and the Playwright smoke test — so it's a table explaining
  what each one actually catches, and why the UI layer having no unit
  harness is a deliberate choice rather than a gap.

Verified against the code: grid dimensions, every named data file, every
component, and both design docs (docs/fidchell.md's 7×7 board and every-7th-
floor rule, docs/causeway-duel.md) are accurate and needed no changes. All
ToC anchors resolve.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V6kP5vUAcNbxLK5EnPKAhv
@FiddlyDigital
FiddlyDigital merged commit 307f8cb into main Aug 1, 2026
1 check passed
@FiddlyDigital
FiddlyDigital deleted the docs-refresh branch August 1, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants