- Keep this repository a stable, local-first Claude Code monitoring platform.
- Maintain correctness across hooks, API, DB, websocket, UI, and MCP integration.
- Correctness over cleverness.
- Small, scoped, reversible diffs.
- Preserve existing behavior unless change is requested.
- Update docs whenever workflow or architecture changes.
server/for API/routes/data processing.client/for React UI behavior.mcp/for local MCP server tooling.scripts/for hook/install/import/cleanup utilities.
- Backend changes: run
npm run test:serverwhen possible. - Frontend changes: run
npm run test:clientwhen possible. - MCP changes: run
npm run mcp:typecheckandnpm run mcp:build. - If any check is skipped, report it explicitly.
- Keep destructive capabilities behind explicit configuration gates.
- Never broaden destructive behavior without explicit user request.
- Treat hook execution path as fail-safe and non-blocking.
- Setup:
npm run setup - Dev:
npm run dev - Build/start:
npm run buildthennpm start - MCP helpers:
npm run mcp:install,npm run mcp:build,npm run mcp:start