[BUG] Mirror for improperly closed issue about dangling .cc-writes directories in project dir

Status Open
Maintainer reply None cached
Activity 2 comments · opened Oct 13, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Head there for original issue #79945:

[Bug] Sandbox write-deny on .claude/.cc-writes prevents git worktree removal after ExitWorktree

I don't understand that improper behaviour when confirmed bug reports closed automatically due to inactivity timer.
I use sandbox and these empty .claude/.cc-writes dirs in random places are annoying. I count 8 in different places in my sourcetree + 3 previously deleted by hand.

What Should Happen?

See original issue.

Error Messages/Logs

See original issue.

Steps to Reproduce

See original issue.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

Claude 2.31226.1 (857652) 2026-10-09T17:56:07.000Z

Platform

Other

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗