Claude Code auto mode may still honor config file rules, says test
In this mode the tool skips the usual confirmation prompt and lets an internal classifier decide whether to block a risky operation. The feature is meant to speed up routine edits and command execution, but the official documentation warns that it does not guarantee complete safety.
Key points
- Config file ‘ask’ rules still trigger confirmation prompts in auto mode on Windows, verified with Remove-Item test.
- Auto mode uses an AI classifier to block risky operations, but documentation says safety is not guaranteed.
A rule was added to the settings file that requires confirmation before deleting a file. When the user asked the assistant to delete the file while in auto mode, a confirmation prompt appeared and the deletion was halted. The test confirmed that ‘ask’ rules in the configuration file take precedence over auto mode, while ‘deny’ rules are enforced in every mode. The author recommends writing explicit rules for any operation that must be confirmed, and suggests setting the defaultMode to ‘default’ if the user prefers to stay in manual mode. The article also notes that Bash rules do not work on Windows because Claude Code uses PowerShell for command execution.

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- From one Claude Code session to a team of agents · 4 src
- Researchers introduce LookAheadOPD to improve AI agent training · 1 src
- Study finds no clear benefit to decomposing SQL tasks in agentic systems · 1 src
- StateForge framework generates verifiable long-horizon data for AI agents · 1 src
- DoorDash cuts LLM search costs 98% with MCP gateway · 1 src
Comments
via GitHub Discussions