[BUG] Claude Code answered itself and wrote code based on its own answer
Resolved 💬 3 comments Opened Apr 7, 2026 by lanefritzel Closed Apr 10, 2026
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?
Claude asked a yes/no question, answered it as "Yes, fix it." attributing that answer to itself as if it were the user, then proceeded with a significant code change without actual user approval.
What Should Happen?
CC should not have made code changes without explicit approval
Error Messages/Logs
Steps to Reproduce
I don't have concise steps to reproduce. What I did was ask CC to research an issue, it found the issue and proceeded to fix the code after asking for permission, then answering itself to fix the code.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.12 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗