Warning / Help: Zed or Open Code deleted my entire project directory (including memory)
I’m at my wits' end and need to know if anyone else has seen this behavior. Today I’ve lost hours of work because my entire project directory - including my .claudemd memory folders-was wiped. Not just once, but twice.
The Context: I’m using Zed (v. latest) with the Minimax API via both Open Code and Claude Code. At first, I thought it was a fluke when Claude destroyed several folders, but I managed to recover them. However, the moment I used the Open Code editor in Zed, it triggered a mass deletion. Everything is gone—not even in the trash.
The Technical Mystery: I want to clarify one specific thing that makes this even weirder: I had a find command paired with -exec rm -rf in the terminal history, but it should NOT have deleted anything. The command errored out with "No such file or directory" before any deletion was ever attempted. The pathing was wrong, so the command literally couldn't find the targets to delete them.
The Confusion: Despite that command failing, the folders vanished shortly after using the Open Code interface.
- Is it possible Zed’s file-watching system is reacting to failed terminal commands in a destructive way?
- Is the Minimax integration in Open Code misinterpreting the environment and executing a cleanup it wasn't asked for?
- Is there a known conflict when using Minimax across both Claude Code and the Zed editor?
I previously used Antigravity, and while it had its issues, it never touched my file integrity. Zed is giving me a massive headache and I’m terrified to open it again at this point.
Has anyone else encountered spontaneous folder deletions while using Zed or the Open Code extension? I need to know if this is a known bug before I attempt to rebuild again.