Submatter/plans/Plan-automation-foundation/Epic-connected-repos/Task-forge-adapters-trpc.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

582 B

kind slug title plan_slug epic_slug status priority tenant_id owner cursor_todo_id updated_at
task forge-adapters-trpc Forge adapters and connectedRepos tRPC router automation-foundation connected-repos done P1 global unassigned null 2026-07-07

Task summary

GitHub and Forgejo/Gitea API adapters plus api.connectedRepos.* CRUD and test connection.

Acceptance criteria

  • getForgeAdapter() for github and forgejo
  • testConnection fetches default branch and persists metadata
  • Admin-only mutations; all queries filter by workspace_id