[BUG] Unexpected permission prompt appears without Cancel/Deny button and triggers unwanted commit on click
Open 💬 2 comments Opened Jun 29, 2026 by marcusandresus
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Description
The permission prompt that appears when Claude runs Bash commands has no Cancel or Deny button.
When clicking the only available button, it triggers an unwanted git commit action instead of just approving the command.
Steps to reproduce
- Ask Claude to analyze the project (e.g. "describe el estado actual del proyecto")
- Claude runs
git log/git diffvia Bash tool - Permission prompt appears with no Cancel/Deny option
- Clicking the button triggers a commit flow with this pseudo prompt (automated): _Commit the working tree changes with a sensible message._
Expected behavior
- Prompt should have a Cancel/Deny option
- Approving should only run the requested read-only command, not trigger a commit
Environment
- Platform: Windows 11 Pro
- Claude Code: desktop app
What Should Happen?
- Prompt should have a Cancel/Deny option
- Approving should only run the requested read-only command, not trigger a commit
Error Messages/Logs
Steps to Reproduce
Steps to reproduce
- Ask Claude to analyze the project (e.g. "describe el estado actual del proyecto")
- Claude runs
git log/git diffvia Bash tool - Permission prompt appears with no Cancel/Deny option
- Clicking the button triggers a commit flow with this pseudo prompt (automated): _Commit the working tree changes with a sensible message._
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
0
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗