1 person reported
All time, since Oct 21.
Subagent worktrees committed
“in the same directory, git status shows M .claude/worktrees/agent-* whenever a worktree moves, and the tree never looks clean.”
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/20435/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
Subagent worktrees inside repo get committed as gitlinks. With isolation: "worktree", .claude/worktrees/agent-<id>/ is not excluded, so git add -A records embedded repositories that break checkout.
Is this your bug?
File my report- Where
- Agent tool worktrees
- Error text
warning: adding embedded git repository: .claude/worktrees/agent-a8f64aabd1c583ac2- Versions
- 2.1.303 to 2.1.306
- Platforms
- Linux
- How bad
- Breaks a normal workflow.