DigestAI news desk

Cut through the AI noise.

Agents & Tools5 min read

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.

1 source

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.

Full story from note.com · by 手順書房|試して確かめた手順だけ出版 · via Search: Claude CodeOpen source ↗
Topics · follow one to build your own front page
AnthropicTejun Shobo

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.

Comments

via GitHub Discussions

More in Agents & Tools

All →

Related stories