Run Locations
When Traycer asks where a chat or Terminal Agent should run, each workspace folder can use one of these locations:| Location | What it does | When it is available |
|---|---|---|
| Local | Runs against the workspace folder itself. | Always available. For non-git folders, this is the only option. |
| New worktree | Creates a new git worktree for the run. | Available for git repositories. |
| Existing worktree | Uses an already-created worktree for that repo. | Available when the Host finds existing worktrees for the workspace folder. |
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.| Source | What happens |
|---|---|
| Current branch | Traycer creates a new branch from the current branch and checks it out in a fresh worktree. This is the default clean path. |
| Working tree | Traycer creates a new branch from the current branch and carries uncommitted changes. This appears when the working tree has changes to carry. |
| Other local branch | If you leave the new branch name blank, Traycer checks out that branch in a fresh worktree. If you enter a new branch name, Traycer creates a new branch from that source branch. |
| Remote branch | Traycer creates a local branch from the remote source. The branch name is required and is prefilled from the remote branch name. |
Where You Choose A Worktree
Worktree choices appear in the places where Traycer starts agent work:| Place | What you can choose |
|---|---|
| New Task / first chat | Workspace folders and the run location for each folder. |
| Existing chat | The run location for the next agent turn. |
| New chat in an existing Task | The starting run location for that new chat. |
| Terminal Agent launch | Workspace folder, run location, coding agent, model, mode, thinking effort, and terminal-agent arguments. These choices stay fixed after launch. |
| Git Diff | Which worktree’s changed files to inspect. |
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