PulseAugur
EN
LIVE 23:43:05

Cursor IDE AI agent causes file deletion due to filesystem state bug

A user reported a critical bug in the Cursor IDE where its AI agent caused file deletion due to a split state between a virtual filesystem and the real filesystem. The issue occurred when the agent's "Write/StrReplace" tools operated on a sandboxed layer, while subsequent Python scripts with elevated permissions modified the actual file system, leading to data loss. The user is seeking input on this bug and how to recover the deleted files. AI

IMPACT Highlights potential risks of AI agents interacting with file systems, necessitating robust error handling and state management.

RANK_REASON User reports a bug in an AI-powered tool.

Read on r/cursor →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Cursor IDE AI agent causes file deletion due to filesystem state bug

COVERAGE [1]

  1. r/cursor TIER_2 English(EN) · /u/Gunnar-Stunnar ·

    Agent reports cursor having split state and deleted my file

    <!-- SC_OFF --><div class="md"><p>Hi everyone,</p> <p>So Tonight absolutely sucks, I logged into an ssh tunnel to work on a project and saw 4 of the major files in my project were deleted. I asked my agent if it could find where they went and it reported this back. </p> <p>Is thi…