Skip to content

Merge branch 'dev'#279

Merged
zbigniewsobiecki merged 2 commits intomainfrom
dev
Feb 16, 2026
Merged

Merge branch 'dev'#279
zbigniewsobiecki merged 2 commits intomainfrom
dev

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Merge dev to main after feat/organizations-and-credentials (#278).

🤖 Generated with Claude Code

zbigniewsobiecki and others added 2 commits February 16, 2026 08:48
Replace the flat project_secrets table with a structured credential system
scoped to organizations. Credentials are defined once at org level with
metadata (name, env_var_key, description) and referenced by ID. Projects
can override specific credentials while sharing org-level defaults.

Schema changes:
- New organizations table (top-level entity)
- New credentials table with org FK, is_default flag, partial unique index
- New project_credential_overrides table for per-project overrides
- Add org_id FK to projects, cascade_defaults, and agent_configs
- Migration 0003 with data migration from project_secrets

Credential resolution order:
  project override → org default → null (caller decides fallback)

The provider API (getProjectSecret, getProjectSecrets) is unchanged,
so all webhook handlers, adapters, and backends work without modification.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…credentials

feat: introduce organizations and org-scoped credentials
@zbigniewsobiecki zbigniewsobiecki merged commit 45968eb into main Feb 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant