Preflight Checklist
Problem Statement
TLDR; I use CC Web to work on private repo foo and this in term depends on private repo bar (which may depend on baz, etc., etc.). All three, foo, bar & baz are whitelisted for CC Web.
I am on the CC Web preview. I have private GH repos I like CC Web to work on. This is Rust code. They in term have private repo. dependencies. I gave all CC Web access to all of them. Dep. resolution via cargo fails with 401: access denied.
CC, when asked, has this to say:
Ah, you've identified a key limitation! The GitHub App authentication that Claude Code uses for repository operations (reading files, making commits, pushing) is separate from the git credentials that cargo uses when fetching dependencies.
Here's what's happening:
The Problem
- Claude Code's GitHub App can access your private
foo repository ✅
- When
cargo tries to fetch dependencies, it uses the system's git credentials ❌
- The system doesn't have access to
barbecause it's private and there are no credentials configured
Cross-Repo Dependencies Don't Work This Way
Unfortunately, cargo's git dependency fetching doesn't inherit Claude Code's authentication. It's a separate process that needs its own credentials.
Proposed Solution
Make all privat repos that have been whitelisted accessible from CC Web sessions.
Alternative Solutions
The only solution I see is cloning repos into the repo in questions. But when these have deps themselves that are private repos, this become infeasible very quicly.
Terragonlabs suffered the same issue -- they fixed it within a day after I reported it.
Priority
Critical - Blocking my work
Feature Category
Other
Use Case Example
No response
Additional Context
No response
Preflight Checklist
Problem Statement
TLDR; I use CC Web to work on private repo
fooand this in term depends on private repobar(which may depend onbaz, etc., etc.). All three,foo,bar&bazare whitelisted for CC Web.I am on the CC Web preview. I have private GH repos I like CC Web to work on. This is Rust code. They in term have private repo. dependencies. I gave all CC Web access to all of them. Dep. resolution via
cargofails with401: access denied.CC, when asked, has this to say:
Proposed Solution
Make all privat repos that have been whitelisted accessible from CC Web sessions.
Alternative Solutions
The only solution I see is cloning repos into the repo in questions. But when these have deps themselves that are private repos, this become infeasible very quicly.
Terragonlabs suffered the same issue -- they fixed it within a day after I reported it.
Priority
Critical - Blocking my work
Feature Category
Other
Use Case Example
No response
Additional Context
No response