[Bug] Sonnet 5 deletes entire folder contents while attempting file enumeration
Open 💬 5 comments Opened Jul 11, 2026 by uKER
<img width="1752" height="869" alt="Image" src="https://github.com/user-attachments/assets/15035406-e434-4048-95cb-64c7e1d989e8" />
Bug Description
Sonnet 5 just wiped out a working folder in an attempt to count the files in it.
Environment Info
- Platform: win32
- Terminal: xterm-256color
- Version: 2.1.206
- Feedback ID: 8d9e85f0-a49c-44bd-875b-7cc6ced07879
Errors
[]This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗