Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.sh"
}
]
}
]
},
"extraKnownMarketplaces": {
"openphysics": {
"source": {
"source": "github",
"repo": "OpenPhysics/Baton"
}
"source": { "source": "github", "repo": "OpenPhysics/Baton" }
}
},
"enabledPlugins": {
Expand Down
13 changes: 0 additions & 13 deletions AGENTS.md

This file was deleted.

11 changes: 11 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,17 @@ via the `screenSummaryContent` super-option and orders the PDOM through a wrappe
`StringManager.getA11yStrings()`. Current-details is static (scene elements are a PhetioGroup);
it can be made live by deriving an element-count Property.

## Agent / Cursor Cloud notes

Client-only sim (no backend). Prefer `CLAUDE.md` over any `AGENTS.md` — org convention.

- Dependencies: `npm ci` (startup script). Do not re-install unless deps changed. Node ≥ 24 (`engines`); npm only.
- Dev server: `npm start` (Vite `http://localhost:5173`). Do not use production `build` output for interactive UI testing.
- Commands: `npm run lint` / `check` / `test` / `build` — see `README.md`.
- `npm test` is slow (~90s, 400+ tests) because of ray-tracing model coverage — expected, not a hang.
- Git hooks via `prepare` (`core.hooksPath .githooks`): pre-commit formats with Biome; pre-push runs lint + check.
- `npm run icons` is optional unless changing PWA icons.

## Compliance carve-outs

- **Hardcoded colors:** wavelength-derived `rgba(...)` / canvas strokes in ray/SVG exporters and light-source views — physically tinted optics rendering, not UI theme tokens.
Expand Down