[Memory P4] Cross-tier deduplication #254

Open
opened 2026-04-09 00:42:12 +00:00 by Rockachopa · 0 comments
Owner

Context

The same fact could exist in MEMORY.md (built-in), fact store (holographic), and mempalace files. Duplicates waste tokens and can cause stale data when one copy is updated but not the other.

Task

  1. Define clear ownership: each fact lives in exactly one tier
  2. Migration path: move overflowing MEMORY.md entries to fact store
  3. Detect duplicates between MEMORY.md entries and fact store facts
  4. Resolve: keep the version in the appropriate tier, remove the other
  5. Prevent future duplication in on_memory_write bridge

Acceptance Criteria

  • No duplicate facts across MEMORY.md and fact store
  • Clear documentation: which facts belong in which tier
  • on_memory_write bridge prevents new duplicates

Part of: [EPIC] Unified Memory Architecture

## Context The same fact could exist in MEMORY.md (built-in), fact store (holographic), and mempalace files. Duplicates waste tokens and can cause stale data when one copy is updated but not the other. ## Task 1. Define clear ownership: each fact lives in exactly one tier 2. Migration path: move overflowing MEMORY.md entries to fact store 3. Detect duplicates between MEMORY.md entries and fact store facts 4. Resolve: keep the version in the appropriate tier, remove the other 5. Prevent future duplication in on_memory_write bridge ## Acceptance Criteria - No duplicate facts across MEMORY.md and fact store - Clear documentation: which facts belong in which tier - on_memory_write bridge prevents new duplicates Part of: [EPIC] Unified Memory Architecture
Rockachopa added this to the Unified Memory Architecture milestone 2026-04-09 00:42:12 +00:00
Rockachopa added the phase:4-hygieneepic:memory labels 2026-04-09 00:42:13 +00:00
ezra was assigned by Timmy 2026-04-10 23:38:37 +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#254