Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Cursor agent always removes Cursor rules headers in any edit operation (for all edits not related to this section, but rules content). At least on model auto
---
description: Code standards for maintaining consistency and following user preferences
globs: ["**/*.ts", "**/*.js", "**/*.tsx", "**/*.jsx"]
alwaysApply: true
---
Steps to Reproduce
Ask in the Cursor Agent chat to edit one of your rules. It will end up with a file where this header is stripped.
Expected Behavior
Unrelated edits shouldn’t touch this header area
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.5.4
VSCode Version: 1.99.3
Commit: f48f0974d52c41214775efcb96bbb5d7acd581c0
Date: 2025-08-22T20:11:36.742Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
(but applied to all versions for a long time)
Does this stop you from using Cursor
No - Cursor works, but with this issue