Use Multirepo Workspace when Triggered from Linear

Hi all! I saw that multi repo support was added to cloud agents around a month ago which is very useful for us. However, I am having trouble using this multi repo support when triggering an agent from Linear - it keeps giving me the error, “No default repository configured”. I tried selecting the multi repo environment I created as the default repo in the cloud agent settings but that does not seem possible. I also tried just linking the agent to both repos but it seems like it uses one of them to create its env and then cannot access the other.

Does anyone know how to let cloud agents triggered from Linear access multiple repos and create multiple PRs (one per repo)? Thank you!

Hey Justin, thanks for the forum post!

This is a current limitation rather than a bug. When you assign a Linear issue directly to @Cursor, the agent launches against a single repo, resolved from a team/user default repository or an inline repo=owner/repo in the issue. It does not attach a multi-repo environment, which is why you cannot pick one as the “default repo” and why you see No default repository configured when no single default is set. You change your default repo settings here: https://cursor.com/dashboard/cloud-agents

The way to run your full multi-repo environment from Linear today is a Cursor Automation with a Linear trigger, instead of assigning directly to @Cursor:

  1. Open Dashboard → Automations → New automation (https://cursor.com/automations)
  2. Add a Linear trigger (for example “Issue created” or “Issue status changed”)
  3. Select your multi-repo environment
  4. Save and enable

Agents started by that automation boot in your multi-repo environment with all repos cloned, and can open a PR in each repo they change (one run, one PR per repo). Note there is no “assigned to @Cursor” trigger in Automations, so you would start agents from an issue event or label rather than direct assignment.

Ohh that makes sense, thank you for the clarification!

Hey there!

Any idea if you plan to develop this in the near future? We would definitely benefit from this on my project :slight_smile:

Thank you so much for the work,

Nicolas