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

Growing. 2 reports in the last 7 days and none the week before. A workaround is known.

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?

  1. Worktree isolation refused2 people
  2. Worktree guard refuses ~ git paths2 people
  3. Isolation fence skips Bash writes2 people

Original reports3, newest first

  1. [Windows][VS Code] Worktree isolation refused when the session drive letter is lowercase#109914
  2. 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
  3. Windows: worktree creation refused when the session's cwd spelling is not the canonical one#95827

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.