Preflight Checklist
Problem Statement
When working on the same project from multiple computers (e.g. a workstation and a laptop), Claude Code's project memory doesn't carry over. The ~/.claude/projects/ directory stores memories under paths derived from the absolute project path (e.g. -Users-xxx-Sync-Project-yyy), which means:
- Different usernames between machines = different memory subdirectory
- Different mount points for the same synced folder = different memory subdirectory
- Settings, plans, and session data are all local to one machine
For users who sync their project folders (via iCloud, Syncthing, Dropbox, etc.) and switch between machines daily, this means Claude Code loses all accumulated project context each time.
Proposed Solution
A few possible approaches:
- Project-relative memory: Allow storing .claude/memory/ inside the project directory itself (similar to how .claude/settings.json can be project-local), so it syncs naturally with the project.
- Project identity by name, not path: Resolve memory by a project identifier (e.g. git remote URL, or a .claude/project-id file) rather than the absolute filesystem path.
- Memory sync/export: A /memory export and /memory import command to make portability explicit.
Environment
- macOS, two machines (workstation + laptop)
- Projects synced via cloud sync
- Same user, same projects, same (or different) absolute paths
Alternative Solutions
Manually copying MEMORY.md into the project folder alongside CLAUDE.md. This works but loses the automatic memory management — you have to remember to keep it updated.
Priority
Medium - Would be very helpful
Feature Category
Configuration and settings
Use Case Example
No response
Additional Context
No response
Preflight Checklist
Problem Statement
When working on the same project from multiple computers (e.g. a workstation and a laptop), Claude Code's project memory doesn't carry over. The ~/.claude/projects/ directory stores memories under paths derived from the absolute project path (e.g. -Users-xxx-Sync-Project-yyy), which means:
For users who sync their project folders (via iCloud, Syncthing, Dropbox, etc.) and switch between machines daily, this means Claude Code loses all accumulated project context each time.
Proposed Solution
A few possible approaches:
Environment
Alternative Solutions
Manually copying MEMORY.md into the project folder alongside CLAUDE.md. This works but loses the automatic memory management — you have to remember to keep it updated.
Priority
Medium - Would be very helpful
Feature Category
Configuration and settings
Use Case Example
No response
Additional Context
No response