TLDR: Auto attached rules fail around half the time in 49.6
Title: Auto Attached Rules Consistently Fail to Load in Cursor 49.6
Summary: Auto Attached
rules in .cursor/rules
sometimes apply for user actions (e.g., opening or referencing files) but consistently fail to load in most cases, severely disrupting context management.
Steps to Reproduce:
- Create
.cursor/rules/test.mdc
:--- globs: *.txt type: Auto Attached --- Add comment: "# Test Rule" to text files.
- Create
test.txt
: “Test content.” - Start an agent session in Cursor 49.6 (Gemini 2.5).
- Open
test.txt
and submit prompt: “Modify test.txt.” - Check for “# Test Rule” in output or changes.
- Repeat with a Python file (e.g.,
test.py
) and prompt: “Modify @test.py.”
Expected Behavior: Rule applies, adding “# Test Rule” to file modifications when files matching globs
are opened or referenced.
Actual Behavior: Rule application is consistently inconsistent. It occasionally adds the comment for actions like opening test.txt
or referencing @test.py
, but in most attempts, it fails to apply, with no comment added. This frequent failure occurs reliably across repeated tests with text and Python files, regardless of prompt complexity or file type.
Environment:
- Cursor Version: 49.6
- Model: Gemini 2.5
- OS: [User to specify]
- Location Tested:
.cursor/rules
, workspace root
Additional Notes: The persistent failure across file types and locations points to a critical bug in rule loading/detection.
Request ID: N/A