I found the small Bug in Cursor🐞

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Hi, Cursor team.
Hope you are doing well, and thank you for your kind support.

I am a developer who very love Cursor and uses Cursor every day.

I worked on a project, but I changed the local path of the project folder; in this case, all previous agent chat history was removed. So you can only use the previous agent history on same path of the folder.

E.x:

Previous path of the project folder: G:\FrontDesk-Nexus\development
I changed the path like that: G:\FrontDesk-Nexus\new version\development

So don’t work the last agent’s history.

I hope the Cursor team solves this problem.

Thank you.

Steps to Reproduce

You can solve this problem like that.

Cursor always remembers specific projects, and when I change the path, can use all last agent’s history.

Operating System

Windows 10/11

Version Information

Version: 3.9.16 (user setup)
VS Code Extension API: 1.105.1
Commit: 042b3c1a4c53f2c3808067f519fbfc67b72cad80
Date: 2026-06-27T06:41:01.941Z
Layout: editor
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: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi, @Esoft_Peak, thanks for the post.

This is how Cursor currently works, rather than something broken. Chat history in the editor sidebar is tied to the project folder. On Windows that includes the folder path and the folder’s creation time. Moving G:\FrontDesk-Nexus\development to G:\FrontDesk-Nexus\new version\development makes Cursor treat it as a new project, so the old chats stop showing in that sidebar. The chats are still on your disk. Nothing was deleted.

Two ways to get to them:

  1. Move the folder back to G:\FrontDesk-Nexus\development and reopen it. If the move stayed on the same drive, the old chats should show in the sidebar again. Try this first.
  2. In the title bar, click Agents Window (top right). That window lists chats from your project folders, including the old path, so you can open those chats there. They stay attached to the old path. They will not automatically follow the folder to the new location. If you do not see that button, use File > New Agents Window.

There is already a request to keep history attached when a folder is renamed or moved. You can follow and vote here: Preserve / migrate Agent chat history when renaming or moving the project folder . Let me know any follow-up questions!

Thank you, Kevin