# If you: "add folder to workspace", your chat history gets cleared

**URL:** <https://forum.cursor.com/t/if-you-add-folder-to-workspace-your-chat-history-gets-cleared/159416>\
**Category:** Bug Reports\
**Tags:** chat\
**Created:** [April 29, 2026, 9:55pm UTC](https://forum.cursor.com/t/if-you-add-folder-to-workspace-your-chat-history-gets-cleared/159416 "2026-04-29T21:55:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miles\_Low](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Miles\_Low](https://forum.cursor.com/u/Miles_Low)\
**Post date:** [April 29, 2026, 9:55pm UTC](https://forum.cursor.com/t/if-you-add-folder-to-workspace-your-chat-history-gets-cleared/159416/1 "2026-04-29T21:55:47Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

If you: “add folder to workspace”, your chat history gets cleared if you open the same project again.

so if you have months of chat history associated with a folder A, and you use the VSCODE: "add folder to workspace " to add a folder B to this workspace. The history of all your chats with folder A are no longer visible.

Not sure if they move to be associated with the workspace file or something, but its quite annoying as all of my past chats were just deleted. (Replicable)

### Steps to Reproduce

1. open a folder
2. edit code or create a chat in some way
3. add a different folder to this folder’s workspace
4. close the chat
5. close cursor
6. Reopen cursor on the original folder, not the worskpace

All the chats from the original folder will be wiped

### Expected Behavior

Should have the previous chats from that folder

### Operating System

MacOS

### Version Information

Version: 3.2.14  
VSCode Version: 1.105.1  
Commit: 6e821a7fc68d5ce5b4ab821f73fe4137e0851e60  
Date: 2026-04-28T13:25:40.706Z (1 day ago)  
Layout: editor  
Build Type: Stable  
Release Track: Early Access  
Electron: 39.8.1  
Chromium: 142.0.7444.265  
Node.js: 22.22.1  
V8: 14.2.231.22-electron.0  
OS: Darwin arm64 24.2.0

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [April 30, 2026, 9:22am UTC](https://forum.cursor.com/t/if-you-add-folder-to-workspace-your-chat-history-gets-cleared/159416/6 "2026-04-30T09:22:40Z")

</div>

Hi @Miles_Low,

Thanks for the detailed repro steps. I tried reproducing this on the same version, but wasn’t able to reproduce it.

A couple of questions to help narrow this down:

1. When you reopen the original folder, are you opening it from **File \> Open Recent** , double-clicking the folder in Finder, or using the `cursor` CLI command? The method can affect which workspace identity Cursor loads.

2. Did you **save** the workspace as a `.code-workspace` file at any point (either when prompted on close or manually via File \> Save Workspace As)?

3. Could you share a **screen recording** of the issue happening? That would help pinpoint whether the chats are truly invisible or stored under a different workspace entry.

Your chats are almost certainly still on disk. You can check by looking for transcript files at `~/.cursor/projects/` (look for folders matching your project path that contain `agent-transcripts`).

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 21, 2026, 11:33am UTC](https://forum.cursor.com/t/if-you-add-folder-to-workspace-your-chat-history-gets-cleared/159416/8 "2026-06-21T11:33:40Z")

</div>

Closed on June 21, 2026, 11:33am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
