Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After updating Cursor to 3.16.29 on macOS (Darwin 25.6.0, arm64), my entire local agent chat history became unusable:
- Agents Window showed no (or almost no) past agents
- Opening old chats showed empty content
- SQLite DB
~/Library/Application Support/Cursor/User/globalStorage/state.vscdblost ~6 GB ofcursorDiskKVblob data (chat messages), shrinking from ~6 GB to ~10 MB - Index tables were corrupted too (
glass.localAgentProjectMembership.v1: 0 entries;composerHeaders: 7 instead of 200+)
Silent data loss with no warning, no migration, no in-app recovery. Attempting to restore the backup blobs crashes Cursor completely.
This is extremely user-unfriendly for anyone relying on agent history for long-running projects.
Steps to Reproduce
- Use Cursor Agents heavily over weeks/months (macOS)
- Auto-update to Cursor 3.16.x
- Open Agents Window (Cmd+Shift+P → Open Agents Window) → history empty or incomplete
- Inspect
state.vscdb:cursorDiskKVdropped from ~197,000 entries / 6 GB to ~400 entries / 10 MB - Try restoring
cursorDiskKVfrom pre-update backup → Cursor crashes
Expected Behavior
- Updates migrate local agent data, never delete it silently
- Clear warning if migration fails
- Built-in repair/export tool
- Chat history remains readable after updates
Operating System
MacOS
Version Information
Version: 3.16.29 (Universal)
VS Code Extension API: 1.128.0
Commit: 6246455961129c32969845e00aa25d87ae926ec0
Date: 2026-08-18T01:26:26.285Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin x64 25.6.0
Additional Information
- Path: ~/Library/Application Support/Cursor/User/globalStorage/state.vscdb
- Table: cursorDiskKV (composerData:, bubbleId:)
- Before: ~6.2 GB / ~197k entries
- After: ~12 MB / ~400 entries
- JSONL sidecars on disk: 151 files / 21.6 MB (partial recovery only)
Suggestions for Cursor team:
- Never delete cursorDiskKV without explicit consent
- DB migrations with rollback
- Use JSONL transcripts as source of truth; auto-rebuild UI index
- Add Help → Repair Agent History (safe, metadata-only)
- Document storage location and backup
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor