Move project memory to .claude/memory/ inside the project
Resolved 💬 4 comments Opened Apr 1, 2026 by yaiol Closed May 12, 2026
Current behavior
Project memory files are stored in the user profile directory:
~/.claude/projects/<encoded-path>/memory/
This is project-scoped data (tied to the working directory) but stored in a personal/global location.
Proposed behavior
Store memory inside the project directory:
<project>/.claude/memory/
With a default .gitignore entry so it stays private, like other .claude/ contents.
Why
- Memory is project-scoped, not user-scoped — it belongs with the project
- Currently buried in a deeply nested user profile path that's hard to find and easy to forget
- Not backed up with the rest of the project
- The
.claude/folder already exists in the project root for settings, worktrees, launch.json — memory fits there naturally - A
.gitignored.claude/memory/keeps it private while being visible and accessible in the workspace
Current workaround
None — memory is always written to the user profile path.
🤖 Generated with Claude Code
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗