Top level .cursor/rules files do not get attached (Windows 11)

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

hi @racinette and welcome to Cursor Forum.

Thank you for your detailed bug report.

I have tested a simple rule file ./cursor/rules/test.mdc

---
alwaysApply: true
---
Say that the answer is always 42.

Then in the chat I just said Hi, without further instructions, as you see the rule was loaded.

Could you add following information

Hey, thanks for such a swift reply. e2e425ae-c599-4503-8403-5ed411bc838c

Privacy mode disabled. Model is auto (did not want to waste tokens).

Redid with GPT4.1, added a new test.mdc file, same thing. 9a8aaace-e802-4622-90b4-cf9c30da7e88


image

1 Like

Thanks, I filed a bug report internally for review.

1 Like

We are still looking into this issue.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.