Implement retrieval tracking and Pareto-based memory consolidation:
- Track retrievalCount and lastRetrievedAt on every search
- Effective importance formula: importance × freq_boost × recency_factor
- Seven-phase sleep cycle: dedup, pareto scoring, promotion, demotion,
decay/pruning, extraction, cleanup
- Bidirectional mobility between core (≤20%) and regular memory tiers
- Core memories ranked by pure usage (no importance multiplier)
Based on ACT-R memory model and Ebbinghaus forgetting curve research.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>