[Bug] Agent stuck in infinite loop after bash command completes successfully
Resolved 💬 6 comments Opened Oct 29, 2025 by corneliusroemer Closed Feb 14, 2026
Bug Description
Claude gets stuck after completing a bash command successfully (e.g. git add). It enters an infinite loop even though the bash command finished (green circle).
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.28
- Feedback ID: 21a980a7-6b06-4931-9879-89cd4d6b255b
Errors
[]
Example:
⏺ Perfect! Let me add these changes and commit:
⏺ Bash(git add website/src/components/Edit/InputField.tsx website/src/components/Group/GroupForm.tsx website/src/components/SearchPage/SearchForm.tsx website/src/compo…)
⎿ (No content)
⎿ Interrupted · What should Claude do instead?
> did you get stuck?
⏺ No, I was about to commit but let me continue. Let me commit the fragment removal:
⎿ Interrupted · What should Claude do instead?
> /feedbackThis issue has 6 comments on GitHub. Read the full discussion on GitHub ↗