Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ Optional (infrastructure):
- `DATABASE_SSL` - Set to `false` to disable SSL for local PostgreSQL (default: enabled)
- `CLAUDE_CODE_OAUTH_TOKEN` - For Claude Code backend (subscription auth)
- `CREDENTIAL_MASTER_KEY` - 64-char hex string (32-byte AES-256 key) for encrypting credentials at rest. Generate with `npm run credentials:generate-key`. When set, all new/updated credentials are encrypted automatically; existing plaintext credentials continue to work.
- `SENTRY_DSN` - Sentry DSN for error monitoring (router + worker)
- `SENTRY_ENVIRONMENT` - Sentry environment tag (default: NODE_ENV or 'production')
- `SENTRY_RELEASE` - Release identifier for source maps (e.g., git SHA)
- `SENTRY_TRACES_SAMPLE_RATE` - Trace sampling rate 0.0-1.0 (default: 0.1)

**Project credentials** (`GITHUB_TOKEN_IMPLEMENTER`, `GITHUB_TOKEN_REVIEWER`, `TRELLO_API_KEY`, `TRELLO_TOKEN`, LLM API keys) are stored in the `credentials` table (org-scoped, encrypted at rest when `CREDENTIAL_MASTER_KEY` is set). Integration-specific credentials (GitHub tokens, Trello keys, JIRA tokens) are linked to integrations via the `integration_credentials` join table with provider-defined roles. Non-integration credentials (LLM API keys) remain org-scoped defaults. There is no env var fallback — the database is the sole source of truth for project-scoped secrets.

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dashboard
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ COPY --from=builder /app/src/agents/prompts/templates ./dist/agents/prompts/temp

ENV PORT=3001
EXPOSE 3001
CMD ["node", "dist/dashboard.js"]
CMD ["node", "--import", "./dist/instrument.js", "dist/dashboard.js"]
2 changes: 1 addition & 1 deletion Dockerfile.router
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ COPY config ./config

ENV PORT=3000
EXPOSE 3000
CMD ["node", "dist/router/index.js"]
CMD ["node", "--import", "./dist/instrument.js", "dist/router/index.js"]
2 changes: 1 addition & 1 deletion Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ COPY --chown=node:node src/agents/prompts/templates ./dist/agents/prompts/templa
COPY --chown=node:node config ./config

# Worker entry point - processes a single job and exits
CMD ["node", "dist/worker-entry.js"]
CMD ["node", "--import", "./dist/instrument.js", "dist/worker-entry.js"]
Loading