[Bug] Write tool bypasses user allowlist by using cat+mv workaround instead of atomic writes

Resolved 💬 5 comments Opened Nov 21, 2025 by arpwal Closed Jan 23, 2026

Bug Description
write tool fails often, needs to read and then only write. So claude starts doing cat commands into /tmp folder and then moves them into the repo. Now, the move command isn't allowed in my allowlist - because of obvious reasons (claude can accidentally move the file into a zombie directory, specially for long running tasks). Can you please have this fixed itnernally? I have to tell it regularly to use touch+read and then write, which works.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.49
  • Feedback ID: ab6b63a8-d357-4c6b-90af-3023ca58ac8d

Errors

[]

View original on GitHub ↗

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