Q: rules - what is implication of alwaysApply?

HI. New user.

Using the built in command File: New Cursor Rule the front matter comes out like:

---
description: Testing rule creation
globs: *.py
alwaysApply: false
---
Mock rule

I’m not having much luck (and asking the llm can’t find the answer) finding out what exactly the implication of alwaysApply is. How does that interact with the glob pattern? Anyone have more info they can share? Or point me to something i should read up on?

thanks

hi, “alwaysApply” means that all requests will use this rule. When “alwaysApply” is set to true, you can see the description in the settings UI: Applies to: All requests .

1 Like

it means that every time you send message, it will attach this rules.

1 Like

I found that alwaysApply sometimes doesn’t take effect in agent mode. It only works if I also include in the description something like “apply to all requests” along with alwaysApply: true . What could be the reason for this strange behavior?