[BUG] Edit prompts persist in auto mode despite Edit allow rule and "allow all edits this session" option (2.1.217, macOS, editor extension)
Status Closed — not planned
Reported on v2.1.217
Maintainer reply None cached
Activity 1 comment · opened Jul 22, 2026 · closed Sep 29, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
In auto mode, every Edit to ordinary project files (.mjs, .js, .html) triggers the permission prompt:
"Do you want to make this edit to <file>?
- Yes
- Yes, allow all edits during this session (shift+tab)
- No"
None of the documented suppression mechanisms work:
- Status bar confirms
⏵⏵ auto mode on Edit(**)in permissions.allow → prompts continue- Bare
Edit+Writein permissions.allow → prompts continue - Selecting option 2 ("Yes, allow all edits during this session") → the very next edit to a different file prompts again within the same session
"defaultMode": "acceptEdits"in settings.local.json + full session exit and cold restart (status bar confirmed "⏵⏵ accept edits on") → prompts STILL appear on every edit
The files being edited are ordinary project files in the working directory — not under .claude/ or other protected paths.
What Should Happen?
Edits to regular project files should be auto-approved in auto mode, or at minimum:
- after selecting option 2 ("allow all edits during this session"), no further edit prompts should appear in that session
- with "Edit" (or "Edit(**)") in permissions.allow, edit prompts should be suppressed
Error Messages/Logs
Steps to Reproduce
- Create .claude/settings.local.json in a project:
{
"permissions": {
"allow": ["Edit", "Write", "Bash(node )", "Bash(git )"]
}
}
- Start Claude Code, press Shift+Tab until status bar shows "⏵⏵ auto mode on"
- Ask Claude to edit any regular file, e.g. "add a comment to test.js"
- Permission prompt appears despite auto mode + allow rule
- Select option 2 ("Yes, allow all edits during this session")
- Ask Claude to edit a second file, e.g. renderers.js
- Prompt appears again — session-wide grant not honored
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.217 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗