3 people reported
All time, since Sep 20, including 1 thumbs-up on GitHub.
Subagent worktrees not removed when isolated subagent finishes
“In practice the worktree is never removed when the subagent finishes, even when it is provably unchanged.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/claude-code/issues/1943/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Worktrees from isolation: "worktree" subagents stay on disk and in git worktree list even when unchanged; WorktreeRemove hook never fires.
Is this your bug?
File my report- Where
- Agent tool
- Versions
- 2.1.278 to 2.1.288
- Platforms
- macOS
- How bad
- Breaks a normal workflow.
Not quite your bug?
- Subagent worktrees committed1 person
- Subagent Bash refused after worktree2 people
- Worktree GC deletes idle worktrees2 people