# Modified rules bugs and auto select rarely works on existing files, almost never on new files in 0.48

**URL:** <https://forum.cursor.com/t/modified-rules-bugs-and-auto-select-rarely-works-on-existing-files-almost-never-on-new-files-in-0-48/70047>\
**Category:** Bug Reports\
**Created:** [March 26, 2025, 3:27am UTC](https://forum.cursor.com/t/modified-rules-bugs-and-auto-select-rarely-works-on-existing-files-almost-never-on-new-files-in-0-48/70047 "2025-03-26T03:27:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmadcode](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/bmadcode/32/23874_2.png) [@bmadcode](https://forum.cursor.com/u/bmadcode)\
**Post date:** [March 26, 2025, 3:27am UTC](https://forum.cursor.com/t/modified-rules-bugs-and-auto-select-rarely-works-on-existing-files-almost-never-on-new-files-in-0-48/70047/1 "2025-03-26T03:27:49Z")

</div>

I have noticed a few odd things - maybe these are not officially supported - but seem they could potentially be fixed. This is with 0.48 I have noticed today.

If a rule is Always, and then modified to be any other type - it will continue to be applied as an always rule, even after clearing all chat’s. Only way to resolve is to clear and reindex whole project.

Reproduce - single rule in a repo to add a comment ‘foo’ to the top of every new file.

Always - works fine.  
Change to manual - this should no longer apply, but foo still gets added.

* * *

Somewhat related - Auto select rules do not get loaded, pretty much never on their own, especially when a new file is created..

Same simple rule as above - but globs: \*.ts (no description and auto set to false)

‘create a ts file to do xyz’ - file is created by agent (sonnet 3.5 or 3.7) - no foo at the top.

'add a function to file a.ts` - it MIGHT occasionally add foo to the existing file.

---

<div class="post-metadata">

**Author:** ![condor](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/condor/32/73148_2.png) [@condor](https://forum.cursor.com/u/condor)\
**Post date:** [March 26, 2025, 3:38am UTC](https://forum.cursor.com/t/modified-rules-bugs-and-auto-select-rarely-works-on-existing-files-almost-never-on-new-files-in-0-48/70047/2 "2025-03-26T03:38:01Z")

</div>

Thats a very good find. Hope the Cursor Team can reproduce it and adjust. I was wondering why some of my rules dont get picked up or Agent forgets on 2nd message. Will have to check if its related to my case as well.

---

<div class="post-metadata">

**Author:** ![bmadcode](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/bmadcode/32/23874_2.png) [@bmadcode](https://forum.cursor.com/u/bmadcode)\
**Post date:** [March 27, 2025, 5:36am UTC](https://forum.cursor.com/t/modified-rules-bugs-and-auto-select-rarely-works-on-existing-files-almost-never-on-new-files-in-0-48/70047/3 "2025-03-27T05:36:13Z")

</div>

It could be - I expect it will get fixed, as it seems like this used to work a bit better at one point. The modified rule thing, that should be the easiest to resolve - or for now just remember to always clear the cache of the project.

Good luck 🙂

---

<div class="post-metadata">

**Author:** ![Tof](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tof/32/39481_2.png) [@Tof](https://forum.cursor.com/u/Tof)\
**Post date:** [March 27, 2025, 9:05am UTC](https://forum.cursor.com/t/modified-rules-bugs-and-auto-select-rarely-works-on-existing-files-almost-never-on-new-files-in-0-48/70047/4 "2025-03-27T09:05:10Z")

</div>

adding `.cursor/rules/` in `.cursorindexingignore` work for me

---

<div class="post-metadata">

**Author:** ![tomasz\_szer](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tomasz_szer/32/41304_2.png) [@tomasz\_szer](https://forum.cursor.com/u/tomasz_szer)\
**Post date:** [March 27, 2025, 1:47pm UTC](https://forum.cursor.com/t/modified-rules-bugs-and-auto-select-rarely-works-on-existing-files-almost-never-on-new-files-in-0-48/70047/5 "2025-03-27T13:47:51Z")

</div>

> [@Rules not being applied automatically?](https://forum.cursor.com/t/rules-not-being-applied-automatically/50113/10):
>
> You can track any rule is called and taken into account by Cursor. In the attached screenshot is the end result of prompt: “what the date is today” As you can see, the rules are called in the following order: User Rules ./cursorrules Project Rules: cursor-rule-1.mdc Project Rules: cursor-rule-2.mdc private rule in my project folder ./private-rules/private-rule.md notepad with the rule I added only Cursor’s notepad with “Architect Mode” and a file with my private rule to the…

---

<div class="post-metadata">

**Author:** ![bmadcode](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/bmadcode/32/23874_2.png) [@bmadcode](https://forum.cursor.com/u/bmadcode)\
**Post date:** [March 28, 2025, 1:28pm UTC](https://forum.cursor.com/t/modified-rules-bugs-and-auto-select-rarely-works-on-existing-files-almost-never-on-new-files-in-0-48/70047/6 "2025-03-28T13:28:34Z")

</div>

Oh gah good point, I forgot to do that in the new repo! Thanks @Tof 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 27, 2025, 1:29pm UTC](https://forum.cursor.com/t/modified-rules-bugs-and-auto-select-rarely-works-on-existing-files-almost-never-on-new-files-in-0-48/70047/7 "2025-04-27T13:29:18Z")

</div>

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