Whenever I configure a Cloud Agent environment with more than one repository, setup or save fails. Single-repo environments work; adding a second repo (or creating a new environment with two repos selected at once) consistently breaks.
Error message (exact text): environment_public_id is invalid for the current user/team
(Sometimes shown when selecting repos in the environment UI; the failure happens before an agent VM fully starts — not during pnpm install or similar.)
What I’m trying to do:
I maintain two related private repos in the same GitHub org and need the agent to see both in one workspace — for example a production app and a rebuild:
Org/repo (v1)
Org/repo (v2)
I use Cloud Agents to compare behavior and port parity between them. Multi-repo is documented as supported (Cloud Agent setup — multi-repo environments), but I cannot get a stable two-repo environment.
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue
The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!
I think I was able to fix this by creating a new Cloud environment with both repositories selected. Took me awhile to figure it out though. Still would appreciate a response.