Skip to content

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

Merged
wowi42 merged 11 commits into
mainfrom
feat/hybrid-memory
Sep 25, 2026
Merged

wowi42 merged 11 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
… flush)

Keep both intents where the sides overlap: PR runtime.close() cleanup alongside main herdr lifecycle reports in cli loop/chain modes and the TUI run finally; refresh stale feed assertions for the intentional post-stream Markdown flush.
Worker control events can arrive during a model call. Exclude those events from the runner source version while retaining conversation and memory checks. Keep edited custom prompts exact and align tests with persisted child activity and current request size.
Only the context-overflow case needs a larger window after resume. The other cases retain their default window and output reserve.
@wowi42
wowi42 merged commit 320e0ff into main Sep 25, 2026
4 checks passed
@wowi42
wowi42 deleted the feat/hybrid-memory branch September 25, 2026 04:01
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.

2 participants