[MODEL] Claude Code pushed to git without waiting for user confirmation despite instructions
Status Open
Maintainer reply None cached
Activity 0 comments · opened Aug 22, 2026
Preflight Checklist
- [x] I have searched existing issues for similar behavior reports
- [x] This report does NOT contain sensitive information (API keys, passwords, etc.)
Type of Behavior Issue
Claude modified files I didn't ask it to modify
What You Asked Claude to Do
Despite explicit instructions to always ask for confirmation before pushes, Claude Sonnet 5 displayed a message asking for confirmation and then in the same action pushed the change. A Claude generated description of the event is attached,
What Claude Actually Did
- Claude has explicit instruction to never push without confirmation
- Claude made requested changes
- Claude printed a message asking for confirmation to push
- Claude immediately pushed without waiting for confirmation
Expected Behavior
Claude should have:
- Made the changes
- Printed the message asking for confirmation
- Stopped and waited for confirmation or further instructions
Files Affected
A push to my git project which then automatically triggers a build of the development environment.
Permission Mode
I don't know / Not sure
Can You Reproduce This?
No, only happened once
Steps to Reproduce
_No response_
Claude Model
Sonnet
Relevant Conversation
See attached file
Impact
Low - Minor inconvenience
Claude Code Version
1.32885.1
Platform
Anthropic API
Additional Context
_No response_