Submatter/plans/Plan-automation-foundation/Epic-connected-repos/Task-db-connected-repos-migration.md
Randall Stillwell 30c4e533e8 feat(automation): connected repos — paste remote URL and forge adapters (Epic 3)
Workspace admins connect git remotes via settings UI; forge type is inferred
from the URL, API tokens stay env-var references, and test connection fetches
default branch for orchestrator/worker consumers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 14:45:40 -05:00

557 B

kind slug title plan_slug epic_slug status priority tenant_id owner cursor_todo_id updated_at
task db-connected-repos-migration Drizzle schema and migration for connected_repos automation-foundation connected-repos done P1 global unassigned null 2026-07-07

Task summary

Workspace-scoped connected_repos table with forge metadata and env-var token reference.

Acceptance criteria

  • Migration 0012 generated via pnpm db:generate
  • Unique constraint per workspace + api base + owner + repo
  • workspace_id index