[BUG] Sweep Agent from /code-review never completes
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?
Using new /code-review local review command _(with xhigh, against dev branch target - although generally fails as well similarly with other arguments)_
Completes almost all the way, but "phase 3" Sweep Agent general-purpose agent keeps processing continuously and never completes, thus cannot report back to the main agent thread and complete the code review
I am on latest claude code version (2.1.153) and Windows OS
What Should Happen?
/code-review command should be able to finish in its entirety, "sweep agent" step should not fail
Error Messages/Logs
Steps to Reproduce
execute /code-review in claude code cli _(in my case was a somewhat substantial PR branch diff being reviewed (both branches pulled down locally for review command comparison), 100+ files changed)_
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.153
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗