Describe the Bug
I’ve created a project global .cursor/rules in the root of the project. However, whichever file I attach to the context of a chat, the rules do not get attached. I even asked the agent, which rules he’s got, and he replied with what I suspected: all rules get attached as per their filters, but the root rules are ignored completely. I really thought it was a display issue (my chat shows 1 attached project rules).
This is my .cursor/rules/testing-and-examples.mdc:
---
alwaysApply: true
---
**Testing and Examples Guidelines:**
1. **Avoid example usage files** unless explicitly requested.
2. **Prefer tests** over examples—write tests to verify functionality instead.
3. **Document examples in code** as doc comments for functions/methods/structs.
**When writing/editing tests:**
- Preserve existing tests whenever possible.
- If old tests fail, analyze why they passed before and why they fail now.
- Only modify or delete old tests if they:
- Conflict with the new implementation, **or**
- Were clearly incorrect (explain your reasoning).
This is what the agent responds:
Which files did you receive as your cursor rules context? Have you received contents of a file called `testing-guidelines.mdc`? If so, could you recite what it says?
I received the following files as cursor rules context:
sqliteindex/package.
I did not receive any file called testing-guidelines.mdc in my cursor rules context. The only cursor rule I received was the "sqliteindex/package" description that explains:
...
Steps to Reproduce
create .cursor/rules/test.mdc in the root of a project with alwaysApply: true. Try to attach any file to a chat. The rule doesn’t get attached.
Expected Behavior
The rules get attached to all chats.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.3.3 (user setup)
VSCode Version: 1.99.3
Commit: e589175333a2d938c3d944f9bf0993155e655e70
Date: 2025-07-26T19:28:32.726Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100
Does this stop you from using Cursor
No - Cursor works, but with this issue


