Skip to content

feat(github): manage repository access with one connection - #1406

Merged
nixuuu merged 3 commits into
feat/unified-github-accessfrom
feat/github-repository-access
Nov 28, 2026
Merged

nixuuu merged 3 commits into
feat/unified-github-accessfrom
feat/github-repository-access

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

GitHub now has one default connection flow on web, desktop and mobile. Adding GitHub in Connectors opens Settings → GitHub. Existing MCP accounts retain their reconnect action and grants. Advanced connections supports a PAT, an OAuth app and custom MCP servers.

At each installed repository, the owner chooses projects and bots. They can read text files, issues and pull requests. Enabling Allow changes on GitHub also permits creating issues, posting comments and opening pull requests between branches of that repository, subject to the thread or bot approval policy.

The gateway binds every grant to the account and immutable repository ID. It checks the current grant before a call and before returning private results. The same project grant can confirm an exact merge during worktree cleanup. GitHub credentials and native grants remain on their home gateway. Previously saved grants can still be removed after an uninstall.

Verification

  • Schema, grant RPC, linked-home routing, consolidation, legacy connector and bot settings, worker and bot dispatch, revocation during reads, uncertain writes, replay, and worktree cleanup passed focused tests against local PostgreSQL and a GitHub API fixture.
  • Chromium at 1440 and 390 px exercised setup, grant editing, stale revisions, revocation, advanced connections, and switching homes. An Android emulator exercised local and linked-home grants, revocation, PAT, reconnect and long names with controlled RPC responses.
  • In the same two Chromium viewports, the composer showed the distinct GitHub and Jira/Linear setup guidance with no clipping. Bot Connections rendered the scoped repository and linked to GitHub settings.
  • Gateway, integration-test, web and mobile typechecks and edited-file lint were checked locally. The full repository gate runs in CI.
  • The repository tool request builder and result parser handled three live public GitHub reads in itsoltech/canopy by numeric repository ID. PR feat(bots): run bots on matching canopy events #1386 returned its merged state and canonical link, listing closed PRs returned three items, and reading README.md from dev returned the file text. Private data and writes were tested using fixtures.
  • The new linked-computer capability follows the original protocol-1 entries. Seven focused cases for older desktop peers and GitHub routing passed locally.

Copy audit

The previous Add GitHub entry presented a second authorization flow. It now opens the common GitHub setup. The grant editor names files, issues and pull requests before a user selects recipients. “Allow changes on GitHub” makes writes a separate choice. Advanced options name their credentials explicitly. Error actions, accessible control labels, narrow layouts and long repository names were checked against docs/copy.md §8.

Second part of the GitHub unification stack, based on #1405.

@nixuuu
nixuuu added this pull request to stack #1407 November 28, 2026 08:26
@nixuuu
nixuuu marked this pull request as ready for review November 28, 2026 08:27
@nixuuu
nixuuu merged commit 951f4ef into dev Nov 28, 2026
25 checks passed
@nixuuu
nixuuu deleted the feat/github-repository-access branch November 28, 2026 08:41
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