Rank, 14 days: 84 on the Claude Code sheet
3 people reported
All time, since Sep 21.
Worktree refused on Windows
“Windows paths are case-insensitive, so this looks like a case-sensitive comparison between the session path and the worktree path git reports (C:/...).”
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/17134/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
Worktree isolation refused on Windows when cwd spelling differs. Agent isolation "worktree" and EnterWorktree refuse the new worktree when the session path has a lowercase drive letter, though git reports the same directory as C:/.
Is this your bug?
File my report- Where
- Worktree isolation
- Error text
Refusing to use c:\Users\<user>\source\<repo>\.claude\worktrees\agent-<id> as an isolation worktree: git resolves its working tree to C:/Users/<user>/source/<repo>/.claude/worktrees/agent-<id> (a core.worktree redirect, or a checkout discovered above it), so commands run there would write outside the worktree.- Versions
- 2.1.323
- Platforms
- Windows
- How bad
- Breaks a normal workflow.
Related: Killed commands leave orphaned processes
Not quite your bug?
- Worktree isolation refused2 people
- Worktree guard refuses ~ git paths2 people
- Isolation fence skips Bash writes2 people
Original reports3, newest first
- [Windows][VS Code] Worktree isolation refused when the session drive letter is lowercase#109914
- Agent tool isolation: worktree refuses its own new worktree on Windows when the session folder's drive letter is lower case (c: vs C:)#109859
- Windows: worktree creation refused when the session's cwd spelling is not the canonical one#95827