Goal
Persist cross-session personal and project context so Claude doesn't restart from zero each time, enabling continuity of relationship and accumulated understanding.
Requirements
-
Extract durable facts from conversation logs - Parse transaction logs and chat history to identify person-shaped facts (identity, goals, anxieties, preferences), project context (why it exists, architectural decisions), and conversational continuity (recurring topics, insights that shaped decisions). Update existing memories rather than append duplicates. Err on the side of no update being the correct answer. The definition of durable fact needs to be in the project such that it can easily be changed. There is also likely multiple valid definitions (definition of an identity durable fact, might be different than that of a goal durable fact, etc).
-
Store as injectable context - Write memories to structured markdown files (likely ~/.claude/rules/memory.md for global context, with vault-specific memories for project-scoped identity). Format must be readable by humans, but directed at Claude, and easily injected into Claude's context window at session start.
-
Support manual curation - Provide a way to review, edit, and remove extracted memories. Automated extraction gets you 80% there; human refinement ensures quality and prevents drift into noise.
Goal
Persist cross-session personal and project context so Claude doesn't restart from zero each time, enabling continuity of relationship and accumulated understanding.
Requirements
Extract durable facts from conversation logs - Parse transaction logs and chat history to identify person-shaped facts (identity, goals, anxieties, preferences), project context (why it exists, architectural decisions), and conversational continuity (recurring topics, insights that shaped decisions). Update existing memories rather than append duplicates. Err on the side of no update being the correct answer. The definition of durable fact needs to be in the project such that it can easily be changed. There is also likely multiple valid definitions (definition of an identity durable fact, might be different than that of a goal durable fact, etc).
Store as injectable context - Write memories to structured markdown files (likely
~/.claude/rules/memory.mdfor global context, with vault-specific memories for project-scoped identity). Format must be readable by humans, but directed at Claude, and easily injected into Claude's context window at session start.Support manual curation - Provide a way to review, edit, and remove extracted memories. Automated extraction gets you 80% there; human refinement ensures quality and prevents drift into noise.