Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Non-existent Rule Files Can Still Be Referenced #2894

Open
chenglibiao opened this issue Mar 20, 2025 · 0 comments
Open

Bug Report: Non-existent Rule Files Can Still Be Referenced #2894

chenglibiao opened this issue Mar 20, 2025 · 0 comments

Comments

@chenglibiao
Copy link

Bug Report: Non-existent Rule Files Can Still Be Referenced

Description

When attempting to reference a deleted rule file (@004-rule-creation.mdc), Cursor still recognizes and attempts to reference it, despite the file no longer existing in the filesystem. This suggests a caching issue where deleted files are still being tracked in Cursor's internal cache.

Steps to Reproduce

  1. Create a rule file (e.g., 004-rule-creation.mdc)
  2. Delete the rule file
  3. Try to reference the deleted file using @004-rule-creation.mdc
  4. Observe that Cursor still recognizes the reference

Expected Behavior

  • References to non-existent files should fail or show an error
  • Cursor should not recognize references to deleted files

Actual Behavior

  • Cursor continues to recognize and attempt to reference the deleted file
  • The reference @004-rule-creation.mdc still works despite the file being deleted

Environment

  • Cursor Version:0.47
  • Operating System: macOS
  • Project Type: Cursor Workspace

Additional Context

  • This issue persists even after:
    • Clearing all Cursor caches
    • Removing workspace settings
    • Restarting the application
    • Creating new workspace configurations

Impact

This bug could lead to confusion and potential issues in rule management, as it becomes unclear which rules actually exist and which are just cached references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant