When to use progressive mode
Progressive mode helps most once a polyrepo project has ten or more repos, or whenever it includes a meta repo you want symlinked in read-only rather than checked out as a worktree. Below that, a standard polyrepo, which checks out every configured repo at workspace creation, is simpler and usually fast enough. These are guidelines, not a hard threshold the code enforces.Overview
Progressive workspaces are opt-in per project, with two keys that are both required together:progressive: true and always_include. With only always_include set, every repo is still created; with only progressive: true set, every repo is still created too. Only the combination of both keys limits workspace creation to the always_include repos.
- Workspace creation is fast. Only the repos named in
always_includeget a worktree or a symlink. - Agents add repos on demand. Using the
/workspace-add-reposkill orpan workspace add-repo. - Meta repos stay clean. A repo with
link_type: symlinklinks to the project’s own checkout, on whatever branch that checkout is currently on, with no feature branch created for it. - Repo groups simplify addition. Agents can add a named group instead of listing individual repos.
progressive key behaves exactly as before: every configured repo is checked out at creation.
Configuration
Configuration fields
Workspace-level
Per-repo
Repo groups
Repo groups let agents add several related repos at once, defined in arepo-groups.yaml file your groups_file key points to. Write each group on one line, as a list in square brackets or as *. Group names may use letters, digits and underscores. A group whose value is * means every repo, and the group all is built in.
Adding repos mid-work
CLI command
--project <key>: without it, the command can only resolve the project from workspace.workspaces_dir, which not every project sets. --group and --new cannot be combined; --new takes at most one repo name. Every --group form, including --group all, needs groups_file set in the workspace config and that file to exist; without both, pass repo names directly instead.
Examples:
--new, the repo name is optional; by default it is inferred from the URL. The new repo’s path is its name, and it copies branch_prefix from the first repo that is not readonly. --new clones the repository under the project root, appends it to the project’s workspace.repos configuration, and creates the issue’s feature worktree for it inside the active workspace. Review, inspection, verification and merge then treat it like any other configured repo. If a repo name is unknown and --new is absent, the command fails without changing the workspace. add-repo also works on a polyrepo that is not progressive, with a warning.
Run --new before manually cloning or committing to the new repository. The command refuses to adopt an existing workspace checkout that is on the wrong branch, so work never silently continues there.
Skill: /workspace-add-repo
Agents invoke this skill during work when they need repos not yet in the workspace:
- Reads
repo-map.mdin the meta repo for architecture context - Reads
repo-groups.yamlfor available group names - Adds only the repos needed; agents can always add more later
Meta repos and readonly repos
A meta repo (shared skills, architecture docs, team conventions) typically useslink_type: symlink together with readonly: true:
- A symlink is created, for example
workspaces/feature-int-123/meta → /project/team-meta, pointing at the project’s own checkout of that repo on whatever branch it currently has, not necessarilymain. - The symlink always reflects the current state of that checkout.
- No git worktree is created, so the repo is never put on a feature branch for this issue.
readonly: truetags the repo(readonly)in the work agent’s prompt; in a progressive workspace the prompt also lists it under Readonly repos. Git does not enforce it, and a readonly repo is not required in the merge set.
PR target branch
Whenpr_target is set, the work agent’s prompt names it. Overdeck resolves each repo’s target for merges, verification and PR sync in this order: the repo’s own pr_target, then the workspace’s pr_target, then the repo’s default_branch, then the workspace’s default_branch, then main.
Per-repo override
pr_target always wins over the workspace’s pr_target, even when it happens to match the repo’s default_branch.
Migration from standard polyrepo
Existing polyrepo projects with noprogressive field work exactly as before:
- Add
progressive: truetogether withalways_include - Identify the
always_includerepos (typically just the meta repo) - Optionally add
groups_filefor team-defined repo groups - Optionally add
pr_targetif your project uses a non-standard PR target branch - Give the meta repo (or any other read-only repo)
link_type: symlinkplusreadonly: true
Related guides
- Polyrepo configuration: standard polyrepo setup
- Projects: registering and configuring a project
- Context layers: how project conventions reach an agent’s prompt
- Workspaces: the workspace concepts this page builds on