Lost my rules in the latest beta update

I appear to have lost my custom rules in the latest beta update. Is this a known issue?

Cheers

Version: 0.51.0 (user setup)
VSCode Version: 1.96.2
Commit: adaabf32700c570904618df5bd7166988f3d0790
Date: 2025-05-29T21:35:42.471Z
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

1 Like

Following, likely not known issue as its a new beta.

@deanrie

1 Like

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.

1 Like

Keep rules in GIT

Thanks. Yep I had a backup, was just reporting it for others.

1 Like

Has 0.51.1 solved this?

The 0.51.1 upgrade didn’t wipe them, so I think we’re good :ok_hand:

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';"
2 Likes