bun test # Run tests
bunx biome check . # Lint and format check
bunx tsc --noEmit # Type check
src/core/ — Pure TypeScript library
test/core/ — Unit and integration tests
- Foundations:
errors.ts, ids.ts, config.ts — no internal deps
- Storage:
entry.ts, time.ts, journal.ts, db.ts, sync.ts
- Operations:
formatters.ts, log.ts, query.ts, status.ts
- Follow existing patterns in the codebase
- Write tests for new functionality
- JSONL is source of truth; SQLite is the derived index
- No
any without a JSDoc comment