V1.2.1 - Rule content vanishes - Seriously bad situation right now

Describe the Bug

When changing the state type of a newly /Generated rule created by the LLM - when I go to set the “state” of the rule (and this is where the bug is because its all new logic now) - the content vanishes

Steps to Reproduce

create a new rule and try to change its state

Expected Behavior

come on this is a major F-up

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.1 (user setup)
VSCode Version: 1.99.3
Commit: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0
Date: 2025-07-03T06:16:02.610Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

yes rules are a bit broken from my personal experience (Not speaking for all users). Hard to know if they work or not either when there is zero indication or context in reference to them etc. They never “auto” apply themselves in the context windows regardless. No file extension type changes it either .md .mdc .txt .rules etc. location doesn’t seem to matter either.

If anyone has insight feel free to share the secret sauce.

Edit: I also have experienced the same as OP, glad to see it isn’t just me.

I am a heavy Cursor rules user. Presently I have 65 rules comprised of a total of 11,172 lines. I need my rules to govern a very complex project. They work extremly well for me. This is why I am panicking about new rule content vanishing when I change their state.

I am now also afraid to change state of any existing rules. I cannot afford to lose any rules.

I personally suggest not editing or changing the rules. Any time they’re “referenced” in context, it seems they get auto-deleted or over shadowed by empty rules/files?

Not sure what’s happening but be careful!

Edit: It would seem my rules now work magically. Not exactly what went different but they’re now working for me. Haven’t tested to see if they remove/delete themselves but I can now see them in the context window etc.

You can rollback to previous Cursor versions here: downloadcursor.app

@FinDevAI thank you for the bug report. I understand that this issue can be frustrating.

When i tried to reproduce the issue it does not fail when changing the rule type.
Could you provide more information, check the console log in Developer tools for issues?

@Xernive would also appreciate more detalis from your experience so this can be analyzed, reproduced and fixed. Is your issue related to editing or using the rules? OP has issue with editing them.

Steps: Chat Box → @ Add context → Add new rule → “Give it name in above search bar once prompted” → Check rules in .cursorrules folder (root dir).

Once I have created my rules via this method, I would “check” them to either edit/modify some things here and there or to just “apply” the “always” attached option will remove or “leave a empty file” upon closing & opening my project. Until then the file is un-modified or touched. It seems to be more random than consistant in terms of replicating this issue.

This also I believe is an underlying issue also affecting them being applied, however my LLM (Claude 3.7 Thinking) does listen to what I have told it (rules, memories, repetitive reminders) to where now it just does it right for example all files snake_case instead of ThisFile etc.

Sorry my debugging skills are vague, It’s hard when it’s not consistant and I can’t seem to do it guaranteed every time.

Edit: To extend on this matter, after two days of the rules “Not appearing” in the context window to be selected (they remained in root either randomly blank or untouched), they now are showing and have had zero issues. Can’t say if the Beta had something to help or if me refreshing casted magic but it does work now.

Oh, thanks for the details. Usually I do it right from settings. Cant seem to reproduce right now. Yes its easier if its consistent to reproduce.

Hmm will need to check about the not appearing, its the first I’ve heard. Wish I could reproduce it somehow.

1 Like

Yea technology either works perfectly the way you want or gives you the ring around for hours haha. I’ll continue using cursor and if I see any changes in the rules I will follow up with more comprehensive feedback on the matter. Hopefully just a cache error on my end or a conflict in settings and/or rules.

the bug report says “upon new rule creation” changinig the state causes the rule contents to vanish

let me clarify the opening post - “When changing the state type of a new rule - the content vanishes” a rule is created with the /generate rule inside a prompt response by the LLM - at this point the rule has just begun its existence - it is not being edited - I try to change the state and save the rule, and thats where the problem is, the content vanishes before it can be saved - the new method of assinging “state” to rules has a flaw in it

It seems if I save a new cursor /Generated rule first before doing anything to it, it does not vanish. This was not the case before - you can mark this reply as the solution - though I have not changed the “State” of the rule …

This was always about /Generated Rules in a chat Prompt - i should have made that clear

@FinDevAI thank you for the details. I will check this further with the details. Any bug should be fixed so if its still breaking I would appreciate an update.