Problem Statement
When Cursor’s AI composer makes changes to .mdc rule files:
- Changes frequently vanish without warning
- Requires closing Cursor completely to save changes
- Forces “Override” on “Unsaved Changes” popup
- Needs app restart to see changes take effect
Proposed Solution
Change Management
- Live Change Preview
- Show diff view when AI suggests rule changes
- Allow review before applying changes
- original rule content + proposed AI changes
- Atomic Save System
- Save changes without requiring app restart
- Preserve change history for rollback
save_system: atomic_writes: true backup: previous_version reload_without_restart: true
User Impact
“Having to close and reopen Cursor every time the AI updates a rule file breaks workflow and risks losing changes”
References:
- [Bug Report: Issues with saving .mdc rule files](https://forum.cursor.com/
My Best Practices for MDC rules and troubleshooting