--permission-mode acceptEdits still prompts for approval on each Edit tool call to the same file

Resolved 💬 4 comments Opened Jan 10, 2026 by george-tamer-harvey Closed Feb 27, 2026

Description

When using --permission-mode acceptEdits, Claude still requests approval for each individual Edit tool call, even when making multiple edits to the same file in a single response.

Expected behavior

When "accept edits on" mode is enabled, multiple edits to the same file within a single response should either:

  • Be auto-approved without prompting, or
  • Be batched into a single approval prompt per file

Actual behavior

Each Edit tool call requires individual approval. For example, 7 edits to one file = 7 separate approval prompts.

Steps to reproduce

  1. Start Claude with claude --permission-mode acceptEdits
  2. Ask Claude to make multiple changes to a single file (e.g., "fix these 7 type errors in this file")
  3. Observe that each edit operation prompts for approval separately

Environment

  • OS: macOS (Darwin 24.6.0)
  • Claude Code version: 2.1.3

Additional context

This significantly reduces the usefulness of acceptEdits mode, as users still need to manually approve each operation. The current behavior makes acceptEdits feel similar to default mode for multi-edit scenarios.

Potential solutions

  • Batch all edits to the same file in one response into a single approval
  • Auto-approve all Edit operations when in acceptEdits mode
  • Add a per-file permission mode that approves all operations on a specific file

View original on GitHub ↗

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