fix: filter archived/dormant memories from semantic_recall() (#3) #7

Merged
cal merged 1 commits from ai/cognitive-memory-3 into main 2026-03-03 16:57:46 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
5ce9363bcb fix: filter archived/dormant memories from semantic_recall() (#3)
Apply THRESHOLD_DORMANT decay filter in semantic_recall() before
scoring, consistent with the keyword path in recall(). Memories
with decay_score < 0.05 are now excluded from semantic search,
preventing the decay system's intent from being bypassed via
high-similarity embedding matches.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 23:07:00 -06:00