Skip to content

fix(memory): extract clean declarative facts instead of raw messages in holographic auto_extract (#22907)#39667

Open
dusterbloom wants to merge 1 commit into
NousResearch:mainfrom
dusterbloom:fix/holographic-auto-extract
Open

fix(memory): extract clean declarative facts instead of raw messages in holographic auto_extract (#22907)#39667
dusterbloom wants to merge 1 commit into
NousResearch:mainfrom
dusterbloom:fix/holographic-auto-extract

Conversation

@dusterbloom

Copy link
Copy Markdown
Contributor

Fixes #22907

The old regex patterns (I like/love/want/need) matched common phrases and dumped the entire user message verbatim as a fact. "I like that, sounds good" became a stored fact.

Fix: Removed noisy like/love/want/need patterns. Remaining patterns extract captured groups into clean declarative statements: "prefers dark mode over light mode" instead of "I prefer dark mode over light mode, can you set it up?". 200 char cap, one fact per message, assistant messages skipped.

Tests: 8 tests — preference extraction, no raw dumps, decisions, habits, assistant messages ignored, short messages skipped, one fact per message, 200-char length cap.

This was originally part of #23221 — split into focused single-fix PRs for easier review.

…in holographic auto_extract (NousResearch#22907)

The old regex patterns (I like/love/want/need) matched common phrases
and dumped the entire user message verbatim as a fact. 'I like that,
sounds good' became a stored fact.

Fix: removed noisy 'like/love/want/need' patterns. Remaining patterns
extract captured groups into clean declarative statements: 'prefers dark
mode over light mode' instead of 'I prefer dark mode over light mode,
can you set it up?'. 200 char cap, one fact per message, assistant
messages skipped.

Closes NousResearch#22907
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/plugins Plugin system and bundled plugins tool/memory Memory tool and memory providers labels Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have tool/memory Memory tool and memory providers type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

holographic memory auto_extract saves raw user messages verbatim instead of extracting preferences

2 participants