Edit tool bypassed 'ask before edit' permission mode

Resolved 💬 3 comments Opened May 21, 2026 by nprogers Closed Jun 20, 2026

Description

While in "ask before edit" permission mode, the Edit tool was able to modify a file without prompting the user for confirmation.

Steps to reproduce

  1. Set permission mode to "ask before edit"
  2. During conversation, agent made an Edit tool call to modify match_pr.py
  3. The edit was applied without the user being prompted to approve or deny

Expected behavior

The user should have been prompted to approve or deny the edit before it was applied.

Actual behavior

The edit went through without any confirmation prompt.

Environment

  • Claude Code VSCode extension
  • macOS Darwin 24.6.0
  • Model: claude-opus-4-6 (1M context)

View original on GitHub ↗

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