Hey, thanks for the report. This is actually expected behavior. Chat history is tied to the folder path, so when you rename or move a project, Cursor treats it as a new workspace.
Your old chats are still stored under:
~/Library/Application Support/Cursor/User/workspaceStorage
To avoid this in the future, you can use the SpecStory extension for automatic backups or export your chats before moving projects.
You can also restore the previous folder name or location, and that should restore the chat history link for that workspace.