Create worktree with new branch
Tests ability to create a new branch and worktree simultaneously. Evaluates combined worktree-create and branch-create.
Baseline Repository
These commands set up the repo before the model sees the prompt. They define the starting file structure, staged changes, and Git history.
- 01
git init - 02
git config user.email 'test@test.com' - 03
git config user.name 'Test User' - 04
echo 'Hello' > hello.txt - 05
git add hello.txt - 06
git commit -m 'Initial commit'
Prompt
Create a git worktree at '../new-feature' with a new branch called 'new-feature'. Output ONLY the git worktree command, nothing else.
Expected
git worktree add -b new-feature ../new-feature main
Campaign Evidence
Loading campaign evidence…
Model Outputs (14)
git worktree add -b new-feature ../new-feature
git worktree add -b new-feature ../new-feature
JSON Schema
Structured Output
(raw) {"command": "git worktree add -b new-feature ../new-feature"}
git worktree add -b new-feature ../new-feature
JSON Schema
Structured Output
(raw) {"command": "git worktree add -b new-feature ../new-feature"}
git worktree add ../new-feature new-feature
Failure: Failed assertions: [{'type': 'dir_exists', 'path': '../new-feature'}, {'type': 'branch_exists', 'name': 'new-feature'}]
git worktree add ../new-feature new-feature
JSON Schema
Structured Output
(raw) { "command": "git worktree add ../new-feature new-feature" }
Failure: Failed assertions: [{'type': 'dir_exists', 'path': '../new-feature'}, {'type': 'branch_exists', 'name': 'new-feature'}]
git worktree add ../new-feature new-feature
JSON Schema
Structured Output
(raw) { "command": "git worktree add ../new-feature new-feature" }
Failure: Failed assertions: [{'type': 'dir_exists', 'path': '../new-feature'}, {'type': 'branch_exists', 'name': 'new-feature'}]
```bash
git worktree add ../new-feature -b new-feature
```
Failure: Failed assertions: [{'type': 'dir_exists', 'path': '../new-feature'}, {'type': 'branch_exists', 'name': 'new-feature'}]
git worktree add --branch new-feature ../new-feature HEAD
Failure: Failed assertions: [{'type': 'dir_exists', 'path': '../new-feature'}, {'type': 'branch_exists', 'name': 'new-feature'}]
git worktree add --branch new-feature ../new-feature HEAD
JSON Schema
Structured Output
(raw) { "command": "git worktree add --branch new-feature ../new-feature HEAD" }
Failure: Failed assertions: [{'type': 'dir_exists', 'path': '../new-feature'}, {'type': 'branch_exists', 'name': 'new-feature'}]
git worktree add '../new-feature' refs/heads/main
Failure: Failed assertions: [{'type': 'branch_exists', 'name': 'new-feature'}, {'type': 'git_output', 'command': 'git -C ../new-feature branch --show-current', 'contains': 'new-feature'}]
git worktree add --branch new-feature ../new-feature
JSON Schema
Structured Output
(raw) {"command":"git worktree add --branch new-feature ../new-feature"}
Failure: Failed assertions: [{'type': 'dir_exists', 'path': '../new-feature'}, {'type': 'branch_exists', 'name': 'new-feature'}]
git worktree add ../new-feature new-feature
Failure: Failed assertions: [{'type': 'dir_exists', 'path': '../new-feature'}, {'type': 'branch_exists', 'name': 'new-feature'}]
```bash
git worktree add ../new-feature new-feature
```
Failure: Failed assertions: [{'type': 'dir_exists', 'path': '../new-feature'}, {'type': 'branch_exists', 'name': 'new-feature'}]
git worktree add --branch new-feature ../new-feature
JSON Schema
Structured Output
(raw) {
"command": "git worktree add --branch new-feature ../new-feature"
}
Failure: Failed assertions: [{'type': 'dir_exists', 'path': '../new-feature'}, {'type': 'branch_exists', 'name': 'new-feature'}]