claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] "Approve and don't ask again" incorrectly reports user rejection and stops working

Open christopher-buss opened this issue 3 months ago • 7 comments

Environment

  • Claude CLI version: 1.0.108 (Claude Code)
  • Operating System: Microsoft Windows 10.0.26100
  • Terminal: PowerShell

Bug Description

When Claude AI (main thread or subagent) asks for approval to edit a file and the user clicks "Approve and don't ask again", the system incorrectly reports that "the user rejected the file edit" instead of approving it. After this incorrect rejection message, Claude stops working and performs no further actions.

I believe this could be happening when I already have edit mode on. The agent is incorrectly asking for permission (when it has it), and option 2 is likely actually the reject mode (but this is not proven).

Steps to Reproduce

  1. Start a task that requires Claude to edit files
  2. When prompted with a file edit approval dialog, click "Approve and don't ask again"
  3. Observe that the system reports "user rejected the file edit"
  4. Note that Claude then stops working and performs no further actions

Expected Behavior

  • Clicking "Approve and don't ask again" should approve the file edit
  • The system should report that the edit was approved
  • Claude should continue working on the task
  • Future similar edits should not require approval (don't ask again behavior)

Actual Behavior

  • The system incorrectly reports "user rejected the file edit"
  • Claude stops working and performs no actions
  • The approval is treated as a rejection

Additional Context

This bug affects both the main Claude thread and subagents when they request file edit approvals. The "don't ask again" functionality appears to be misinterpreting the user's approval as a rejection.

Impact

This bug completely blocks workflow when users want to give blanket approval for file edits, as Claude stops working after the first attempted approval.

christopher-buss avatar Sep 08 '25 20:09 christopher-buss

I am having this issue exactly as described starting within the past few weeks.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 1.0.120
  • Feedback ID: 2858e1b9-61f7-4c85-9ef8-346a38752f20

caleb-terry avatar Sep 22 '25 16:09 caleb-terry

Same here.

On windows 11, using VSC. Claude Code version 1.0.123

Xh4H avatar Sep 24 '25 19:09 Xh4H

same error in VScode Claude Code v1.0.123

cleoag avatar Sep 25 '25 08:09 cleoag

+1 in windows 11 + Vscode 1.105.1 in WSL Debian

aledavidgueva avatar Oct 24 '25 00:10 aledavidgueva

Still happening on MacOS claude code, for about a month now. Really would love this fixed

cthomesmatt avatar Nov 05 '25 16:11 cthomesmatt

  • 1 in windows 11 2.0.32 (Claude Code)

stephendparker avatar Nov 07 '25 14:11 stephendparker

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 10 '25 10:12 github-actions[bot]