Cannot see full list of active rules, active rules is either wrong, or rules are misapplied

I have rules that apply only to certain globs, but the little context thing is saying that rules that do not apply to the current file or area that I’m in are being applied right now?

globs: **/*.cs

alwaysApply: false

Seems to apply when I have no file open or I’m just looking at my README.

It looks like I’m using 25,000 tokens by default. Which is insane, this would mean every single rule file I have is applying (All 35 of my rule files add up to ~24k tokens), regardless of its actual applicability to the files being edited. However, cursor does not provide ways to introspect or debug this.

We need a way to introspect this and see what is actually being put into context. Because, honestly, the amount of context being consumed for me by default seems very wrong.

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the Bug Reports category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

Bug Report Template - Click to expand

Where does the bug appear (feature/product)?

  • Cursor IDE
  • Cursor CLI
  • Background Agent (GitHub, Slack, Web, Linear)
  • BugBot
  • Somewhere else…

Describe the Bug
A clear and concise description of what the bug is.


Steps to Reproduce
How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!


Expected Behavior
What is meant to happen here that isn’t working correctly?


Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)


Operating System

  • Windows 10/11
  • MacOS
  • Linux

Version Information

  • For Cursor IDE: Menu → About Cursor → Copy
  • For Cursor CLI: Run agent about in your terminal
IDE:
Version: 2.xx.x
VSCode Version: 1.105.1
Commit: ......

CLI:
CLI Version 2026.01.17-d239e66

For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)


For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…


Additional Information
Add any other context about the problem here.


Does this stop you from using Cursor?

  • Yes - Cursor is unusable
  • Sometimes - I can sometimes use Cursor
  • No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

Hey, thanks for the report. This does look like a bug - rules with globs + alwaysApply: false should only activate when the active file matches the pattern, not when you’re viewing a README or have no file open.

A couple of questions to help narrow this down:

  1. What’s your Cursor version? Menu > About Cursor > Copy
  2. What OS are you on?
  3. Could you share the full frontmatter of one of the affected .mdc files? I mostly want to confirm it looks exactly like:
---
globs: **/*.cs
alwaysApply: false
---

The request for better introspection of active rules is fair - there’s been similar feedback from other users. Right now the tooltip in the context indicator is the only way to see active rules, and it doesn’t show the full list when you have many.

Hi! I appreciate the response.

Cursor Info:

Version: 2.6.20 (system setup)
VSCode Version: 1.105.1
Commit: b29eb4ee5f9f6d1cb2afbc09070198d3ea6ad760
Date: 2026-03-17T01:50:02.404Z
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.19045

Frontmatter

---
description: Backend architecture overview and conventions — orients the agent and routes to detailed rules for entities and services
globs: apps/backend/**/*.cs
alwaysApply: false
---
---
description: Backend development guidelines for the apps/backend .NET project
globs: apps/backend/**/*
alwaysApply: false
---
---
description: Core principles for implementation decisions and refactoring
globs: **/*.ts**/*.cs
---
---
description: This file provides guidelines for writing clean, maintainable, and idiomatic C# code with a focus on functional patterns and proper abstraction.
globs: **/*.cs
alwaysApply: false
---

Thanks for the info.

A couple quick points:

  1. There’s a known bug on Windows where rules with alwaysApply: false can be misclassified and applied as always-on. The team is aware and already looking into it. Your report helps us prioritize it.

  2. One of the rules in the frontmatter looks suspicious:

globs: **/*.ts**/*.cs

Is there a missing comma here? Should it be **/*.ts,**/*.cs? Or is it a typo in the post?

  1. Question: are you opening the project via a normal local path like C:\Users\..., or via a network UNC path like \\server\share\...? This matters because on Windows there’s a separate rule classification issue with UNC paths.

As a workaround for now, you can try moving the conditional logic into the rule text itself. Set alwaysApply: true, but in the rule text say something like: “Apply these guidelines only when working with *.cs files in apps/backend/.” Not ideal because it uses extra tokens, but it’s more predictable.

On introspection, that’s a fair request, and you’re not the first to bring it up. Right now the tooltip in the context indicator is the only option, and it’s pretty limited once you have lots of rules.

Let me know about the UNC path part and that glob pattern.