1.5 KiB
1.5 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dc9c2638-360e-4e15-990c-76fcd16672c0 | decision | Cognitive memory data dir moved to XDG-compliant path (~/.local/share/cognitive-memory/) |
|
0.85 | 0.8 | 2026-02-28T20:56:13.079823+00:00 | 2026-02-28T20:57:20.365199+00:00 |
|
Cognitive Memory: XDG Base Directory Compliance
Moved default data directory from hardcoded ~/.claude/memory/ to XDG Base Directory spec compliant location.
Resolution Order
COGNITIVE_MEMORY_DIRenv var$XDG_DATA_HOME/cognitive-memory/~/.local/share/cognitive-memory/(XDG default)
Rationale
Makes the system distributable as a plugin without assuming Claude Code-specific paths.
Details
GRAPHS_BASE_DIRis now a sibling:cognitive-memory-graphs/- All scripts updated:
memory-git-sync.sh,ensure-symlinks.sh,edge-proposer.py - Cal's data physically moved from
~/.claude/memory/to~/.local/share/cognitive-memory/ - Env var overrides removed from
bashrc, fish config, and MCP server config — XDG default resolves naturally