Canonical agent/contributor guidance for this repository lives in CLAUDE.md —
project structure, build/test/lint commands, code style, testing safety rules
(npm test is the CI gate and is safe to run bare; the three excluded suites
have their own runners), security notes, and
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.
Quick pointers:
- Type check:
tsc --noEmit· Lint:npm run lint· Format:npm run format:check - Tests:
npm test(the CI gate, safe to run bare) ornpm test -- test/<file>.test.tsfor one file - Route tests use
app.inject(); new tests needing ports must pick a uniqueconst PORT = - Branch off
masterfor all work; Conventional Commit-style messages (fix(mobile): ...) - Never commit secrets or local state from
~/.codeman/