[BUG] PR already closed, but CLAUDE is still comitting and pushing (without checking exsiting);
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?
When Claude is acting as agent and doing some stuff on its own created branch, therefore you could possibly already merge the PR, but after that, you chat with claude and he just working on the already closed PR; therefore as user you wonder, why no changes after all, even claude is telling you, it did everything!
What Should Happen?
When you "chat" inside "Claude-Code" at a "chat-code-session" , if you ask something to do, (just one check, if that BRANCH, on which he already works, is maybe closed, if so, then ask user creating a new fresh branch
Error Messages/Logs
Steps to Reproduce
I already told
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Version 1.1.1520 (48ced7)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗