korevDocs

Linked workspaces

A task that spans repositories, say a frontend and a backend, gets one linked workspace per repository.

All of them use the same workspace name and branch name.

Create linked workspaces

  • On the New workspace page (⌘N), pick more than one repository in the repository picker.
  • Or plan the change in a multi-repository Ask chat and press Start workspaces.

Create from… (branch, pull request or issue) works with one repository only.

One agent plans across the repositories

When you create linked workspaces from the New workspace page, only the agent in the first repository starts. It starts in plan mode, reads every linked repository, and writes one plan. The plan ends with a Lanes section that has one lane per repository that needs changes. The other workspaces wait, and their agents start when you approve the plan. A workspace whose repository gets no lane stops waiting when you approve. If the approved plan has no Lanes section, the other workspaces keep waiting for the next plan.

When you start workspaces from an Ask chat that already has a plan, every agent starts at once, with that plan.

Lanes from a plan

A plan can have parts that can be built at the same time. The agent, Claude Code or Codex, ends such a plan with a Lanes section. The plan card then lists the lanes:

  • The first lane stays in this workspace.
  • Every ticked lane gets its own linked workspace in the same repository, branched from the same target branch. You can rename a lane before you approve.
  • In a workspace linked across repositories, each lane also has a repository picker. It is preset to the repository that the lane name matches. A lane goes to the waiting linked workspace of its repository. If that repository has no waiting workspace, the lane gets a new linked workspace there. The lane that stays in this workspace is the one for its own repository, and a plan can have just one lane, for example when only another repository needs changes.
  • An unticked lane stays in this workspace too.

Press Approve and split off N lanes. Each new workspace gets the planning conversation and the plan, and its agent builds only its lane. The agent in this workspace is told which lanes are built elsewhere. Approve here builds every lane in this workspace.

The lanes in this repository go into a folder with this workspace. The folder takes the name of this workspace. If this workspace is in a folder already, the lanes join that folder.

Sometimes the lanes need results from work that must run first, for example queries. The agent then plans only that work, without a Lanes section, and does it in this workspace. When it is done, turn on plan mode and ask for the lanes. The new plan has the results in it, and each lane gets the whole plan.

A plan card with two lanes. The web lane is ticked, so it will get its own linked workspace.

What each agent can do

  • Each agent changes only its own repository.
  • It can read the linked workspaces. Korev gives Claude Code access with --add-dir.
  • It is told to leave notes for the other agents in their .context/ folders.

In the sidebar, workspaces linked across repositories show once, in Across repos above the repositories:

  • The entry shows the shared name. Under it, one chip per repository shows the repository's icon and the state of its workspace.
  • Click the entry to fold it. Open, it has one row per workspace. Each row starts with the repository icon and name.
  • A workspace that waits for its lane says so, and its chat links back to the planning workspace.
  • Each repository in the group shows "Also in N linked above" at the end of its list, so you know to look up.

The workspace header shows the repository name in front of the workspace name. A group across repositories does not go into a folder.

Linked workspaces in one repository show a link icon. Lanes split off a plan sit in a folder named after the planning workspace. Hover it to see which workspaces are linked.

On this page