[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 Open
Reported on v2.1.217
Maintainer reply None cached
Activity 0 comments · opened Jul 22, 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>?

  1. Yes
  2. Yes, allow all edits during this session (shift+tab)
  3. No"

None of the documented suppression mechanisms work:

  1. Status bar confirms ⏵⏵ auto mode on
  2. Edit(**) in permissions.allow → prompts continue
  3. Bare Edit + Write in permissions.allow → prompts continue
  4. Selecting option 2 ("Yes, allow all edits during this session") → the very next edit to a different file prompts again within the same session
  5. "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

  1. Create .claude/settings.local.json in a project:

{
"permissions": {
"allow": ["Edit", "Write", "Bash(node )", "Bash(git )"]
}
}

  1. Start Claude Code, press Shift+Tab until status bar shows "⏵⏵ auto mode on"
  2. Ask Claude to edit any regular file, e.g. "add a comment to test.js"
  3. Permission prompt appears despite auto mode + allow rule
  4. Select option 2 ("Yes, allow all edits during this session")
  5. Ask Claude to edit a second file, e.g. renderers.js
  6. 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_

View original on GitHub ↗