[BUG] Cannot see diff for Write tool

Resolved 💬 2 comments Opened Feb 16, 2026 by S-Luiten Closed Mar 16, 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?

When Claude asks permission to use the Write tool (not Edit), you get a diff to see what changed. However when in auto-accept mode, the changes are written directly and there's no way to see the diff afterwards.

What Should Happen?

It should be possible to review what changed as a result of Claude using the Write tool.

Error Messages/Logs

Steps to Reproduce

  1. Enable auto-accept edits
  2. Request a large change to a file where Claude will decide to write the entire file in one go with the Write tool instead of making targeted edits with the Edit tool

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.42

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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