Run Locations
When Traycer asks where a chat or Terminal Agent should run, each workspace folder can use one of these locations:
For a New worktree, you can choose the branch source. If the current working tree has uncommitted changes, the branch picker can show a Working tree source. Choose that source when you want Traycer to carry those changes into the new worktree.
For an Existing worktree, the branch is fixed by that worktree. Traycer uses it as-is.
New Worktree Branch Options
When you choose New worktree, the branch picker shows source branches. The source you choose controls whether Traycer creates a new branch, checks out an existing branch, or carries current changes.
Branches that are already checked out in another worktree appear under Existing worktree, not as checkout options in the New worktree branch picker.
Where You Choose A Worktree
Worktree choices appear in the places where Traycer starts agent work:
In chats, worktree changes apply to the next agent turn. If Traycer needs to create or set up a worktree first, the chat shows setup progress before the agent continues. Terminal Agents are different: their workspace and worktree choices are fixed when the Terminal Agent starts.
Worktree Setup
When Traycer creates a worktree, it can run setup and teardown scripts for that workspace folder. The setup controls let you:- edit setup and teardown scripts for a folder
- create a new branch in a fresh worktree
- check out an existing branch in a fresh worktree
- create a worktree from the Working tree source when uncommitted changes should be carried over
- use an existing worktree instead of creating a new one
Existing Worktrees
Existing worktrees are useful when you already have a checkout for a branch and want Traycer to use that folder instead of creating another one. When you select an existing worktree:- Traycer runs in that existing checkout
- the branch is read-only in the picker because it belongs to the selected worktree
- the worktree can appear in Git Diff and file-related views for that Task