You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
REPLArea: what it touches
ImprovementsKind: in v2.1.328,
ImprovementsSection of the release
What
The REPL is the place where Claude can run small scripts that work on your files. When an edit made there fails, Claude Code can now re-read the file and print a warning that helps explain the failure. This happens for two errors:
The text to replace was not found in the file.
The text to replace matched more than one place in the file.
Claude Code re-reads the file only when it can do so without asking you for permission. If only part of the file could be read and that read failed, Claude Code prints a warning about that as well. Before this change, the edit returned the error and nothing more.
Why
A failed edit is easier to understand and fix when the warning shows what is actually in the file.
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed Bash commands in zsh stopping with a "not found" error at a word that starts with =, such as echo ==== or [ a == b ]; =cmd no longer…