Worktree agents disappeared

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

All of my agents connected to worktrees seem to have disappeared. And agents in the non-agent window are stuck in “New Agent loading”.

Steps to Reproduce

Not sure it just randomly happened one day.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.11.19 (Universal)
VS Code Extension API: 1.125.0
Commit: bf249e6efb5b097f23d7e21d7283429f0760b740
Date: 2026-07-12T21:39:24.175Z
Layout: Agent Window
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.256
OS: Darwin arm64 25.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi there! Thanks for flagging this.

First, your data is safe. The Agents Window builds its sidebar from a session index in your workspace storage, not directly from the transcript files, and that index can fall out of sync (usually after an update), so the linked agents drop off even though the worktrees themselves are untouched. This is a known issue we’re tracking.

For the agents stuck on “New Agent loading,” try Cmd+Shift+P → Developer: Reload Window. If any are still stuck, fully quit with Cmd+Q and reopen - that clears the stuck state in most cases.

Your past worktree sessions are still on disk under ~/.cursor/projects/<project>/agent-transcripts/, so nothing’s lost. There isn’t a built-in way to rebuild the sidebar from those files yet, so older worktree agents may stay missing from the panel even after a reload.

Did this start right after a Cursor update? That’ll help us narrow down which variant you’re hitting.