Permission mode reverts to "accept" for Edit tool despite "bypass" mode being set

Resolved 💬 5 comments Opened Apr 9, 2026 by jeffrey952 Closed May 22, 2026

Bug Description

When running Claude Code with bypass/dangerous permissions mode explicitly enabled, the permission mode intermittently reverts to "accept" mode specifically for Edit tool calls. This requires manually re-approving each edit despite having configured bypass mode.

Environment

  • Claude Code version: 2.1.89
  • OS: macOS (Darwin 24.6.0)
  • Shell: zsh
  • skipDangerousModePermissionPrompt: true is set in ~/.claude/settings.json

Steps to Reproduce

  1. Launch Claude Code with bypass permissions mode enabled
  2. Start a session and have Claude make file edits
  3. Observe that Edit tool calls prompt for "accept" approval despite bypass mode being active

Expected Behavior

All tool calls, including Edit, should execute without prompting when bypass/dangerous mode is enabled.

Actual Behavior

Edit tool calls intermittently switch to requiring "accept" approval. Other tools (Bash, Read, etc.) continue to work in bypass mode as expected.

Settings

Global settings (~/.claude/settings.json) include:

{
  "skipDangerousModePermissionPrompt": true
}

No project-level settings or hooks appear to override the permission mode.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗