Skip to content

feat: add durable memory and natural preference learning - #13

Open
Mouhand-Kaddo wants to merge 6 commits into
mainfrom
feat/hybrid-memory
Open

Mouhand-Kaddo wants to merge 6 commits into
mainfrom
feat/hybrid-memory

Conversation

@Mouhand-Kaddo

@Mouhand-Kaddo Mouhand-Kaddo commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add durable, source-linked facts with revisions, recall, correction, and safe forgetting.
  • Share project memory across worktrees while keeping session state isolated.
  • Make compaction incremental and refresh memory in the active context.
  • Learn preferences from natural messages without requiring a special phrase or standalone message.
  • Add extraction diagnostics and /memory facts autocomplete.

Validation

  • 1,529 tests passed locally.
  • Ruff lint, formatting, and whitespace checks passed.
  • Live testing confirmed that a preference within a multiline message is stored as a valid source-linked fact.

Behavior

  • Automatic learning is opt-in with [memory] auto_learn = true and runs after successful compaction.
  • Learned preferences must quote the original user message exactly and retain source evidence.
  • Conflicting candidates are surfaced for review rather than silently replacing facts.
  • Forgetting removes managed facts without deleting original transcripts or manually authored notes.
  • Preference classification remains model-assisted.

@Mouhand-Kaddo Mouhand-Kaddo changed the title feat: add source-linked hybrid memory and natural preference learning feat: add durable memory and natural preference learning Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant