Expand description
Git worktree management for loop isolation.
A WorktreeManager creates, lists, and removes git worktrees under
{workspace}/.vtcode/worktrees/. Each parallel loop run gets its own
worktree so concurrent agents cannot collide on the working tree.
Structsยง
- Worktree
Info - Information about a discovered worktree.
- Worktree
Manager - Manages git worktrees for loop isolation. Each worktree is an independent checkout of the repository that can be worked on in parallel without interfering with other worktrees or the main working tree.