Hey, thanks, that’s enough info. I took a look.
A couple things I’d like to check to narrow down the cause:
-
The project path includes CJK characters
影像云工程. We’ve seen a similar class of bugs where path normalization breaksalwaysApplyrule classification in some cases. It’s currently documented for Windows UNC, but a Unicode path on macOS is a good candidate too. Can you copy the project to a path without any non ASCII characters, like/Users/liukai/Documents/test-rules/, and see if it still reproduces there? This is the fastest way to confirm the hypothesis. -
In
memory.mdcyou have bothalwaysApply: trueandglobs: ["**/*"]. IfalwaysApply: trueis set, you don’t needglobs. They conflict semantically, and in some versions this can cause the rule to be classified by globs. Try removing theglobsline from all 6 rules and reload the window. -
Also check Cursor Settings (not VS Code settings) > Rules to see how each rule’s type is shown after the edits. It should be
Alwayswith a green dot, notAgent Requested.
As a workaround, you can explicitly mention the critical rule via @memory.mdc at the start of the chat while we figure out the root cause.
Let me know if the ASCII path test and removing globs helped. That’ll really help pin down the bug. This issue is known in this general class, there’s no specific fix for macOS plus Unicode paths yet, but if this confirms it, I’ll report it as a separate case.