[MODEL] When asked to configure autoMode, Claude wrote the settings.json at the project level
Preflight Checklist
- [x] I have searched existing issues for similar behavior reports
- [x] This report does NOT contain sensitive information (API keys, passwords, etc.)
Type of Behavior Issue
Other unexpected behavior
What You Asked Claude to Do
I asked Claude to configure auto mode so it doesn't allow destructive git commands without my permission
What Claude Actually Did
Claude wrote the settings to the project-scoped .claude/settings.json file.
Expected Behavior
Claude should realize that the project level is not a supported scope for configuring auto mode - https://code.claude.com/docs/en/auto-mode-config#where-the-classifier-reads-configuration
Files Affected
Permission Mode
Accept Edits was ON (auto-accepting changes)
Can You Reproduce This?
Yes, every time with the same prompt
Steps to Reproduce
_No response_
Claude Model
Opus
Relevant Conversation
Impact
High - Significant unwanted changes
Claude Code Version
2.1.229 (Claude Code)
Platform
Anthropic API
Additional Context
High impact because this gives a false sense of security, you think you fixed the configuration to close a security hole that the default auto mode config does not block, but the config is never read