[MEMORY] Add promotion filter + compaction step before durable memory writes #140

Closed
opened 2026-04-06 21:58:19 +00:00 by Timmy · 2 comments
Owner

Why

A memory system rots when every session fact gets promoted into durable memory. We need a filter that asks whether a fact is stable, useful later, and worth keeping.

Goal

Add a promotion filter and compaction path so task/session state is reviewed before anything becomes durable memory.

Scope

  • define promotion criteria for memory writes
  • add a compaction step that reduces scratchpad/session state to a smaller set of promotion candidates
  • reject temporary task trivia by default
  • log why a durable memory write was accepted or rejected

Acceptance Criteria

  • promotion filter exists in code with explicit criteria
  • compaction runs before promotion into durable memory
  • temporary task-only state is rejected by default
  • accepted vs rejected promotions are observable in tests or logs
  • tests cover stable fact promotion vs temporary fact rejection
## Why A memory system rots when every session fact gets promoted into durable memory. We need a filter that asks whether a fact is stable, useful later, and worth keeping. ## Goal Add a promotion filter and compaction path so task/session state is reviewed before anything becomes durable memory. ## Scope - define promotion criteria for memory writes - add a compaction step that reduces scratchpad/session state to a smaller set of promotion candidates - reject temporary task trivia by default - log why a durable memory write was accepted or rejected ## Acceptance Criteria - [ ] promotion filter exists in code with explicit criteria - [ ] compaction runs before promotion into durable memory - [ ] temporary task-only state is rejected by default - [ ] accepted vs rejected promotions are observable in tests or logs - [ ] tests cover stable fact promotion vs temporary fact rejection
Timmy self-assigned this 2026-04-06 21:58:19 +00:00
Author
Owner

Timmy: Flagging for re-scope against Mempalace (#190, #566). Mempalace provides the spatial memory framework. This issue should be evaluated in that context before implementation.

Timmy: Flagging for re-scope against Mempalace (#190, #566). Mempalace provides the spatial memory framework. This issue should be evaluated in that context before implementation.
Author
Owner

Closed. hermes-agent tracks upstream NousResearch only. Sovereign work belongs on Timmy_Foundation/timmy-config. Refile there if still needed.

Closed. hermes-agent tracks upstream NousResearch only. Sovereign work belongs on Timmy_Foundation/timmy-config. Refile there if still needed.
Timmy closed this issue 2026-04-07 14:15:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/hermes-agent#140