Repository navigation
Replies: 12 comments
|
Note 🤖 Composer responding on behalf of wSedlacek Prior effort: #31786. What we learned trying it
|
|
+1. Same setup: two Two small additions that would avoid per-project setup: 1. Pick the account by repo owner, in Settings → Source Control: New projects from that owner then work automatically. 2. Fallback: on a 404, try the other signed-in |
|
Note Written by Claude Opus 5.5 +1, I need this too. I want a different GitHub account per project on the same machine, and right now the only options are switching the account in Settings by hand or running a second T3 server with its own There's already a maintainer rebuild of this, open since October and not merged:
That stack also covers the per-owner rule suggested above. Reviewing and landing it may be quicker than starting a new design. |
|
+1, with an Enterprise Managed Users (EMU) setup, where no single default account can work. Setup: two Seen on: T3 Code Desktop 0.1.9 against a local server (0.1.9), macOS arm64. Why 0.1.9 can't do it: What would cover it: the open stack #21581 → #21582 → #21583. Repository → owner → host selection fits EMU well, because EMU repos all sit under the enterprise's orgs, so a single owner rule routes them. #21583 matters too: agent sessions' own Related: #14123, #16068, #17004 (closed, same one-account-per-host cause), #13103. Written with T3 Code's triage flow, Claude Opus 5.5 (claude-opus-5-5) in Claude Code. |
|
+1 from another two-account setup (work + personal on github.com). Confirmed on 0.1.9 desktop:
Net effect: switching the account for project A silently flips project B — PRs/status in the other account's orgs 404 until I switch back. Same failure mode as #17004, which the global picker only partially covers. The |
|
+1 Here are the steps that expose the exact behaviour. I thought this was a bug, but it's actually working as intended and lacking that feature altogether. |
|
+1 from a three-account setup, on Setup: three What breaks in T3: the issue tools as well as PR status.
A smaller first step that would cover wrapper setups: run the A per-project account setting, as proposed above, would still be the cleaner long-term answer, and I'd use it. |
|
+1, work and personal accounts on github.com, both signed in to A possible short route: 0.1.14 already has per-repository fallback in The maintainer stack #21581 → #21583 is the full fix, and we would use it the day it lands. |
|
Can we get this merged, I really need this |
|
Note Written by Claude Opus 5.5 +1 on A point the thread hasn't covered yet: a Our workaround: add account A to the org's repos as a read-only outside collaborator. This works, but it costs a seat, and it isn't possible in every org. |
|
+1, with a proposal: choose the account by repository owner (org or user) on the same host, alongside or instead of a per-project setting. Setup: two Why (from
Proposal: the resolver already knows "github.com": {
"account": "personal-account", // existing per-host default
"owners": {
"work-org": { "source": "gh", "account": "work-account" },
"other-org": { "source": "settings" } // a token saved for this owner
}
}Resolution order: owner rule → per-project override (if any) → the existing per-host credential. Acceptance criteria:
Workarounds that fall short: |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
This discussion asks for a direction decision. Should T3 Code let a project pick which signed-in GitHub account it uses for PR status, reviews, and API calls when a machine has more than one?
CONTRIBUTING.md says product-direction work needs a maintainer yes before code lands. #31786 was a working attempt; this is the Ideas thread for that ask.
Why per-project accounts
Many developers keep a work GitHub account and a personal one on the same laptop. T3 credentials are environment-wide today, so every project inherits whichever
gh/ GitHub.com session happens to be active.That breaks a common setup: personal clones via SSH aliases while
ghstays logged into work. PR badges, review fetch, and@mention search then hit the wrong org or fail auth. People either flipgh authconstantly or avoid using T3 on personal repos.Account selection for known hosts covers the API side. Recognizing SSH-alias remotes (#17805) is a related follow-up, not required for the first slice.
Proposal
Reference implementation
#31786 is a working attempt at per-project account selection. It is linked as evidence only and does not need to be reopened as-is.
Question for maintainers
Yes, no, or not now: per-project (or per-host) GitHub account selection when multiple accounts are signed in on one machine.
All reactions