My entire rules was deleted

My entire rules was deleted after latest Cursor update. How can I recover it?
I use a macbook and it took me months to create those rules and get used to them. I entered the rules and it looks empty.

There are many people experiencing this problem, why doesn’t anyone explain? If you had put a warning saying that your rules may be lost, I would have backed it up. What should I do now? Did 4 months of work go to waste?

Hey, sorry about that. Try rolling back to the previous version — that should restore your Cursor rules. Also, make sure to save them somewhere safe for future recovery.

Thank you so much :folded_hands: it didn’t come to my mind in panic. Thank you again :folded_hands:

1 Like

can you share your 2month of worth rules ?

I wrote a blog post on how to recover those lost rules - How To Restore Cursor User Rules - meirg

The gist of it:

brew install sqlite

Then:

sqlite3 "/Users/$(whoami)/Library/Application Support/Cursor/User/globalStorage/state.vscdb" \
"SELECT value FROM ItemTable WHERE key = 'aicontext.personalContext';"

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