Hey, thanks for the screenshot. I see auto-runs (odin fmt, odin run, git show) and a failed build, after which the Agent keeps making edits - this looks a lot like a previously observed bug.
Help us reproduce:
- Send the Request ID(s) for the steps where the file became empty or disappeared (Chat menu top-right → Copy Request ID). Guide: Getting a Request ID | Cursor Docs
- Confirm whether there were unfinished diffs when you sent the next message
- Let us know if Run everything was enabled
- Provide the file path and type, plus minimal repro steps
- Share DevTools Console logs at the moment of the incident
Workarounds for now:
- Work under git and explicitly Accept/Reject current diffs before sending a new message to the Agent
- If a file disappeared, restore it via Checkpoints: Checkpoints | Cursor Docs
Similar case: Source file deleted