[BUG] "Approve and don't ask again" incorrectly reports user rejection and stops working
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
- Start a task that requires Claude to edit files
- When prompted with a file edit approval dialog, click "Approve and don't ask again"
- Observe that the system reports "user rejected the file edit"
- 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.
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
Same here.
On windows 11, using VSC. Claude Code version 1.0.123
same error in VScode Claude Code v1.0.123
+1 in windows 11 + Vscode 1.105.1 in WSL Debian
Still happening on MacOS claude code, for about a month now. Really would love this fixed
- 1 in windows 11 2.0.32 (Claude Code)
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.