2026-06-09 10:26:09 -04:00
# Repository Guidelines
2026-06-10 04:07:26 +02:00
Canonical agent/contributor guidance for this repository lives in [CLAUDE.md ](CLAUDE.md ) —
project structure, build/test/lint commands, code style, testing safety rules
2026-09-01 02:10:09 +02:00
(`npm test` is the CI gate and is safe to run bare; the three excluded suites
have their own runners), security notes, and
2026-06-10 04:07:26 +02:00
the deployment workflow are all maintained there. Please read it before making
changes, and keep it the single source of truth rather than duplicating
sections here.
2026-06-09 10:26:09 -04:00
2026-06-10 04:07:26 +02:00
Quick pointers:
2026-06-09 10:26:09 -04:00
2026-06-10 04:07:26 +02:00
- Type check: `tsc --noEmit` · Lint: `npm run lint` · Format: `npm run format:check`
2026-08-18 19:55:23 +02:00
- Tests: `npm test` (the CI gate, safe to run bare) or `npm test -- test/<file>.test.ts` for one file
2026-10-09 04:48:43 +02:00
- Route tests use `app.inject()` ; new tests needing a socket bind port 0 (`new WebServer(0, …)` + `boundPort` ), except mobile tests, which keep `createTestServer(PORT)` for now
2026-06-10 04:07:26 +02:00
- Branch off `master` for all work; Conventional Commit-style messages (`fix(mobile): ...` )
- Never commit secrets or local state from `~/.codeman/`