Skip to content

feat(retrieval): add fresh memory boost for recently stored memories#654

Open
raw34 wants to merge 1 commit intoCortexReach:masterfrom
raw34:feat/fresh-memory-boost
Open

feat(retrieval): add fresh memory boost for recently stored memories#654
raw34 wants to merge 1 commit intoCortexReach:masterfrom
raw34:feat/fresh-memory-boost

Conversation

@raw34
Copy link
Copy Markdown
Contributor

@raw34 raw34 commented Apr 18, 2026

Memories stored within 30 minutes (configurable) get an additional score boost (+0.15), with an extra +0.05 for reflection/preference categories. This ensures corrections from ongoing conversations outrank stale high-access memories in auto-recall ranking.

Configurable via retrieval.freshMemoryBoostMinutes (default: 30,
set 0 to disable) and retrieval.freshMemoryBoostWeight (default: 0.15).

Memories stored within 30 minutes (configurable) get an additional
score boost (+0.15), with an extra +0.05 for reflection/preference
categories. This ensures corrections from ongoing conversations
outrank stale high-access memories in auto-recall ranking.

Configurable via retrieval.freshMemoryBoostMinutes (default: 30,
set 0 to disable) and retrieval.freshMemoryBoostWeight (default: 0.15).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@raw34 raw34 force-pushed the feat/fresh-memory-boost branch from 163d5c4 to 9a6bf0f Compare April 18, 2026 14:07
@raw34
Copy link
Copy Markdown
Contributor Author

raw34 commented Apr 18, 2026

CI failures are pre-existing on master — not introduced by this PR. See #657 for the fix. Once that's merged, this PR will pass CI after a rebase.

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