Memory lifecycle states
| State | Meaning |
|---|---|
| Active | Memory is searchable and can appear in retrieval |
| Hot | Memory is frequently accessed and cached for fast retrieval |
| Archived | Memory is kept in PostgreSQL but removed from normal search |
| System archived | Memory was auto-archived by the lifecycle manager |
| Versioned | Memory has change history in memory_versions |
Weekly lifecycle manager
The lifecycle manager runs as an internal maintenance process during off-peak hours and reports results to the operator console. It performs four jobs:- Decay stale memories
- Auto-archive low-value inactive memories
- Promote high-value, frequently used memories to the hot tier
- Recompute baseline importance when needed
Decay
Decay reduces the liveimportance_score for memories that have not been accessed recently.
The original extraction score is kept in:
Auto-archive
Auto-archive removes stale low-value memories from search without deleting them from PostgreSQL. This matters because:- retrieval stays cleaner
- old low-value memories stop polluting prompts
- GDPR export can still include the historical record
- hard delete remains a separate explicit action
Hot tier
Frequently accessed high-importance memories can be promoted into Redis as hot memories. Hot memories are:- loaded before vector search
- included in retrieval results first
- refreshed by access patterns
- removed automatically when their Redis TTL expires
Version history
MemoryOS records append-only memory versions so teams can understand why a memory exists and how it changed. Version events include:| Change type | Meaning |
|---|---|
created | Memory was first extracted |
conflict_update | Memory was superseded or changed due to a conflict |
manual_edit | User or operator edited a memory |
importance_decay | Importance changed meaningfully due to decay |
importance_boost | Importance increased due to usage |
archived | Memory was archived or deleted from active search |
GDPR export
The GDPR export endpoint includes:- active memories
- archived memories
- version history for each memory
Dashboard surfaces
Tenant dashboard surfaces lifecycle data in:- Memory Explorer: live score, original score, hot badge, auto-archive badge
- Memory history slide-over: version timeline
- User detail: export before delete flow
- Playground: extraction job tracker and prompt context preview
- Lifecycle report
- All Tenants extraction and hot-memory columns
- Cost Monitor extraction metrics
- Dead Letter queue with full error and payload capture