What Cursor leaves on your Mac.
Agent worktrees, transcripts, chats and caches. Devbroom finds and shows them; since Cursor's file format isn't verified yet, it cleans none of them for now.
Every folder has its own rule.
Devbroom handles every place the way Cursor itself behaves. What the agent cleans itself it leaves to the agent; what has its own command it leaves to that command.
Agent transcripts
Agent transcripts left behind when chats are deleted in the interface.
~/.cursor/projectsCache and logs
A separate cache folder for every version, never pruned; the newest two should stay. Logs are only logs.
~/Library/Application Support/Cursor/CachedData~/Library/Application Support/Cursor/logsChat and agent database
Should be cleaned with “Developer: Delete Old Chats” or “Developer: GC Agent KV Blobs” in Cursor; never edited while Cursor is open.
~/Library/Application Support/Cursor/User/globalStorage/state.vscdbCLI chats
Kept only on this Mac, with no backup; should be deleted from the CLI.
~/.cursor/chatsCursor worktrees
Cursor keeps 25 on this Mac and may also delete other worktrees in this folder.
~/.cursor/worktreesCLI versions
The updater prunes unused versions.
~/.local/share/cursor-agent/versionsYour account and settings stay untouched.
These files and folders are protected. No verdict ever opens them to cleaning; they stay where they are whatever their size.
state.vscdb · -wal · -shm~/.cursor/mcp.json~/.cursor/cli-config.json~/.cursor/hooks.jsonRecognizes Cursor's worktrees by their traces.
It tells a worktree belongs to Cursor from these traces. Since Cursor's data is only read, these worktrees don't count as ready to clean for now.
- LikelyInside the
~/.cursor/worktreesfolder - PossibleA branch name starting with
cursor/
- Read only for now. Until Cursor's format is verified these worktrees don't count as ready to clean.
Checks Cursor's files first.
Before trusting an agent's data, Devbroom checks that its files are in the expected format. If they aren't, that data is only read; none of it counts as ready to clean.
A version outside this range still works if the format holds, and shows as “not tested yet”.
Cursor's files haven't been verified on a real install yet, so its data is only read.
If its folders live elsewhere, it follows CURSOR_CONFIG_DIR.