feat(memory): Pillar C pt.1 — user preferences + per-session injection (0.17.0)#34
Merged
Merged
Conversation
… (P3.1, 0.17.0) Pillar C part 1 (bd claude-memory-ll4): user-level memory that persists across every project and session — the "remember me" parity with mem0/claude-mem. - tj-core::memory: a `preferences` table in the global index + add_preference (de-duplicated) / list_preferences. - tj-cli: `remember "<text>"` stores a preference; `preferences` lists them. - SessionStart injects standing preferences into every session's additionalContext — even in a fresh project with no events of its own — capped so it never floods the prompt. Preferences lead the bundle. Tests: preferences store/dedup/order (core), remember -> preferences -> SessionStart injection end-to-end (CLI). session_start regression green. Clean on default and --no-default-features. Next (P3.2): consolidation (dream Pass B: episodic -> semantic/procedural facts) + MCP memory_note. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Pillar C part 1 (
claude-memory-ll4): user-level memory — durable preferences that persist across every project and session. The "remember me" parity with mem0/claude-mem.task-journal remember "<text>"— store a preference ("respond in Russian, terse", "run the full test suite before tagging"). De-duplicated.task-journal preferences— list them.memory.sqlite(preferencestable), shared across all projects.Tests
Preferences store/dedup/order (core);
remember→preferences→ SessionStart injection end-to-end (CLI);session_startregression green. Clean on default and--no-default-features.Next
P3.2: consolidation (
dreamPass B — cluster episodic events into semantic/procedural facts) + MCPmemory_note.🤖 Generated with Claude Code