Unclear What the rewrite changes in a command, and what switches it on, is not stated.
What
When Claude asks to run a command in your shell, that request is a tool call: a request from the model for Claude Code to do something on its behalf. Claude Code now rewrites the command text before running it when all of these are true:
- the tool is the built-in shell tool
- it is not a tool supplied by an MCP server (an outside program that adds tools to Claude Code)
- the run is not one triggered through a hook (a user-defined script that runs at set points)
- no particular value was requested for the call
In every other case the command is passed through unchanged. Before, the command was always passed through as written.
Why
The command that actually runs may now differ from the text Claude produced.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What the rewrite changes in a command, and what switches it on, is not stated.