Skip to content

Commit fefd019

Browse files
committed
docs: keep AGENTS.md to current, repo-specific guidance
Shared fleet instructions and outdated commands were repeating the org guide and drifting from the repo.
1 parent 1b13cab commit fefd019

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

‎AGENTS.md‎

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,8 @@ frequency + play state) via the `screenSummaryContent` super-option, and orders
5959
- **Root constants:** `src/DopplerEffectConstants.ts` (sim-wide); no separate nested primary constants module.
6060
- **Domain clock:** `timeSpeedProperty` plus the simulation-state history (for the step-backward button) drive the clock instead of composing fleet-standard `TimeModel`.
6161

62-
63-
### `package.json` overrides
64-
65-
JSON cannot carry comments, so the rationale for forced transitive pins lives here. Prefer
66-
**tilde (`~`) or exact** versions — caret (`^`) lets minors drift under what is meant to be a
67-
hard pin. Dependabot ignores these three names (see `.github/dependabot.yml`) so it does not
68-
open PRs that fight the overrides. Revisit when SceneryStack drops or re-pins them upstream.
69-
70-
| Override | Pin | Why |
71-
|---|---|---|
72-
| `lodash` | `~4.18.1` | SceneryStack declares `~4.17.12`. Bump clears Dependabot/npm advisories patched in 4.18.x (e.g. GHSA-r5fr-rjxr-66jc, GHSA-f23m-r3pf-42rh). |
73-
| `three` | `~0.125.2` | SceneryStack declares `^0.104.0`. Floor is 0.125.0 for GHSA-fq6p-x6j3-cmmq (ReDoS). Staying on the 0.125 line avoids a larger API jump; **0.125.x still has open CVEs** (e.g. XSS GHSA-7vvq-7r29-5vg3, fixed only in ≥0.137.0). Remove this override if/when SceneryStack stops depending on `three` or pins a patched line itself. LightPropagation keeps a higher `three` pin — do not force 0.125 there. |
74-
| `brace-expansion` | `~5.0.12` | Transitive via `vite-plugin-pwa` / Workbox. Clears npm audit (originally GHSA-mh99-v99m-4gvg; keep ≥5.0.9 for GHSA-rgw5-rvv9-x895; ≥5.0.12 for the CPU-DoS advisory). |
75-
7662
## Testing
7763

78-
Fleet-standard Vitest layout:
79-
8064
| Path | Purpose |
8165
|---|---|
8266
| `vitest.config.ts` | Fleet template: `happy-dom`, `setupFiles: ["./tests/setup.ts"]`, `execArgv: ["--expose-gc"]` |
@@ -92,15 +76,6 @@ Actual specs:
9276

9377
Run `npm test`. CI runs the suite when a `test` script is present.
9478

95-
## Commands
96-
97-
```bash
98-
npm run lint && npm run check && npm run build
99-
npm test
100-
```
101-
102-
`npm run release` runs `npm test` before the version bump, and `src/init.ts` reads `version` from `package.json`, so the About dialog always matches the release.
103-
10479
## Development notes
10580

10681
- Microphone node listens at an arbitrary point (can differ from observer icon). The Preferences → Simulation microphone toggle sets the live microphone state (and its Reset All default). Projector mode via Preferences → Visual.

0 commit comments

Comments
 (0)