Quiet file deletion

Describe the Bug

Critical Bug: Files/Directories Deleted Without User Intent or Warning

I have experienced multiple incidents this week where files and even entire directories were deleted from my project by the tool, without any explicit user action, warning, or confirmation. In both cases, the deletions were unrelated to the files I was actively working on.

Date/Time:

  • [First incident: Friday, June 27]

  • [Second incident: Sunday, June 29]
    What happened:

  • In the most recent incident, the file src/navigation/types.ts was deleted quietly during a series of unrelated edits. I only noticed this after reviewing the git status and commit output.

  • Earlier this week, the entire components folder was deleted, I noticed, because other files referencing those components suddenly lit up red. The deletions were not announced or confirmed by the tool. There was no warning, prompt, or indication that these files would be removed.

  • This caused significant disruption, as critical code was lost and had to be restored from git history, which also worked only partially for some reason.

Environment:

  • OS: macOS (Darwin 24.5.0)
  • Tool: Cursor
  • Workspace: /Users/irinapovolotckaia/Documents/Arthium
  • Shell: /bin/bash

Steps to Reproduce

Steps to Reproduce:**
Unfortunately, the deletions seem to happened sporadically and without clear cause, often during unrelated code edits or refactors. We were not working in or referencing the deleted files at the time.

Expected Behavior

Expected Behavior:

  • Files and directories should never be deleted without explicit user action and confirmation.
  • The tool should never perform destructive actions outside the scope of the user’s current edits.

Actual Behavior:

  • Files and directories are deleted “quietly” and without warning, even when not being edited or referenced.

Request:

  • Please investigate this issue as a high priority.
  • Add safeguards to prevent any file or directory from being deleted without explicit user intent and confirmation.
  • Provide a way to audit or undo such actions if they occur.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.6
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:14:24.784Z (4 days ago)
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue