Feature request: store conversation history by project identity, not file path

Resolved 💬 2 comments Opened Apr 25, 2026 by zalim-khan Closed Apr 25, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Feature request: store conversation history by project identity, not file path

Currently, conversation history is tied to the absolute path of the working directory. If a user moves or renames a project folder, all history is lost — even though the project itself hasn't changed.

It would be great if Claude Code could identify projects by something more stable, like a unique ID stored in .claude/ when the project is first created. That way, moving or renaming a folder wouldn't break the conversation history.

Proposed Solution

It would be great if Claude Code could identify projects by something more stable, like a unique ID stored in .claude/ when the project is first created. That way, moving or renaming a folder wouldn't break the conversation history.

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

File operations

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗