2.0.63: Rules not applying for all subdirectories

Describe the Bug

When opening new terminals my “always apply” rules dont apply.

With the latest there is a hint. I have a global rule in a subdirectory

repo1/.cursor/rules/global.mdc

it has alwaysApply: true

However on the settings panel it says “Apply to subdiretory: repo1”

Why, and how do I change this to Apply to all directories?

Steps to Reproduce

Create this directory stdructure presumably and see it not load the ruleset.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.63
VSCode Version: 1.99.3
Commit: 505046dcfad2acda3d066e32b7cd8b6e2dc1fdc0
Date: 2025-11-05T18:56:58.213Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Additional Information

My project is a toplevel (non git) directrory with multiple git repo’s checked out in subdirectories e.g.

toplevel/repo1
toplevel/repo2
toplevel/repo3

and toplevel is where cursor lives.

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

hi @charles to make rule work on top level you would need to copy or symlink the rule into top level .cursor/rules directory as the hierarchy is going downward and not upward.

Im not sure I follow, the rules are all downstream so as long as they are specified in settings, why does it matter what subdirectory they are in?

1 Like

I tried symlinking @condor and I got a rulefile that said it only applied to the directory .cursor/rules ?

Yes rules have to be in folder .cursor/rules.

However you can use that folder in the root folder or in the lower level repos.

Im not following.. This then says those rules will only apply to files inside .cursor/rules, which of course has none of our code in it.

How do i create a rule that says “Apply this to this directory tree completely” and the rule file is here. ?

e.g. I want to see “Apply to subdirectory: *” not “Apply to subdirectory: .cursor/rules”

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