[Bug] Claude 4.8 model stuck in infinite loop executing spurious bash commands

Resolved 💬 4 comments Opened May 31, 2026 by hrahimi270 Closed Jul 3, 2026

Bug Description
Sometimes the new 4.8 model is stuck on a loop, running weird commands like bash(true)

Environment Info

  • Platform: Linux
  • Terminal: vscode
  • Version: 2.1.158
  • Feedback ID: 12867593-2c36-4bfa-bf11-09201692248e

Errors

[]

<img width="656" height="701" alt="Image" src="https://github.com/user-attachments/assets/db566c08-578c-4861-a4e9-cb8e9ca19fab" />

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗