You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let users connect a GitHub repository to their CodeFRAME workspace using a Personal Access Token so that issues can be imported.
Background
Many developers already have a backlog in GitHub Issues. Requiring them to re-enter every issue into a PRD is an adoption barrier. Connection is the prerequisite for the browse and import steps.
Scope
Settings UI (new "Integrations" tab on the Settings page):
"Connect GitHub Repository" section:
Text field for GitHub PAT (Personal Access Token)
Text field for repo in owner/repo format
[Connect] button — calls POST /api/v2/integrations/github/connect with PAT + repo
On success: show repo name + owner avatar, [Disconnect] button
On failure: clear error message (invalid token, repo not found, no issues:read scope)
Goal
Let users connect a GitHub repository to their CodeFRAME workspace using a Personal Access Token so that issues can be imported.
Background
Many developers already have a backlog in GitHub Issues. Requiring them to re-enter every issue into a PRD is an adoption barrier. Connection is the prerequisite for the browse and import steps.
Scope
Settings UI (new "Integrations" tab on the Settings page):
owner/repoformatPOST /api/v2/integrations/github/connectwith PAT + repoBackend:
POST /api/v2/integrations/github/connect: validate PAT against GitHub API, verifyissues:readscope, store encryptedDELETE /api/v2/integrations/github/disconnect: clear stored credentialsGET /api/v2/integrations/github/status: returns{ connected: bool, repo: "owner/repo" }Out of scope
Acceptance criteria
npm testanduv run pytestpass