Repository navigation
How does the Agent Teams plugin interact with worktrees? #12866
|
Do teammates work in one worktree, or can they do independent works in their own worktrees? |
Replies: 1 comment
|
Teammates are ordinary subagent Sessions under the Team Lead, not a worktree-per-member abstraction. Agent Teams coordinates a shared task board; it does not create or assign Git worktrees. By default they work in the same checkout. If you omit Independent checkouts are possible, but only if the experimental Change requests & worktrees / Docs that cover this:
|
Teammates are ordinary subagent Sessions under the Team Lead, not a worktree-per-member abstraction. Agent Teams coordinates a shared task board; it does not create or assign Git worktrees.
By default they work in the same checkout. If you omit
cwdwhen starting a child, the new Session inherits the parent's effective directory at start time. After that, a working-directory change is local to that Session — it does not move teammates, and it is not a new Git worktree. TaskwriteScopesare advisory path prefixes, not locks, so overlap is warned rather than excluded.Independent checkouts are possible, but only if the experimental Change requests & worktrees /
create_worktreepath is enable…