pnpm setup:agent has already been run. Do not run it again. The environment is fully configured: dependencies installed, enterprise packages linked, project built, .env files in place, Docker services running, and a default user/org seeded.
Run pnpm build after changes to packages/ or enterprise/. Direct changes to apps/ do not require a rebuild.
- Work within:
apps/api,apps/dashboard,apps/worker,apps/ws - Use shared packages:
packages/shared,packages/framework,packages/js,packages/react - Follow
libs/dalfor data access,libs/application-genericfor business logic
- Before creating new UI components not in
apps/dashboard/src/components/ - Before adding npm dependencies
- Before modifying MongoDB models, ClickHouse table definitions, or anything in
enterprise/orpackages/providers/
- Inactive apps — do not touch, unless monorepo wide refactor:
apps/webhook - Auto-generated — never edit:
libs/internal-sdk - Read-only dirs:
.idea/,.github/,scripts/,docker/ - UI: reuse existing Radix/shadcn components only; do not copy patterns from
playground/into production code - If doing a monorepo wide refactor, you can touch the read only, but only when necessary.