Decay & Reinforcement
What makes Memory Module different: Memories that matter stay strong through reinforcement, while noise fades away through natural decay.Memories naturally fade over time (decay). Access them or manually reinforce them to keep them strong. Different memory types fade at different rates.
Understanding Salience
Salience = importance score (0.0-1.0)| Range | Status | Effect |
|---|---|---|
| 1.0 | Brand new | Maximum importance |
| 0.7-0.9 | Strong | Easily accessible |
| 0.3-0.6 | Medium | Still useful |
| 0.1-0.2 | Weak | Fading |
| Under 0.1 | Candidate | Auto-pruning |
- Whether memory appears in search
- How it ranks when it does appear
- When it gets auto-pruned
Natural Decay: Forgetting Curve
Every memory decays exponentially, just like human memory.| Sector | Decay Rate (λ) | Half-Life | Example |
|---|---|---|---|
| Reflective | 0.001 (slowest) | ~693 days (~2 years) | “Why we chose microservices” |
| Semantic | 0.005 | ~139 days (~4.6 months) | “JWT tokens expire after 30 days” |
| Procedural | 0.008 | ~87 days (~2.9 months) | “How to deploy to production” |
| Episodic | 0.015 | ~46 days (~1.5 months) | “Sprint planning meeting” |
| Emotional | 0.020 (fastest) | ~35 days (~1.2 months) | “Customer frustrated” |
Decay Examples
- Reflective (Slow)
- Emotional (Fast)
Strategic decision:Still strong after 2 years!
Reinforcement: Strengthening Memories
Automatic Reinforcement
Happens every time you access a memory:- Searching and finding it
- Retrieving by ID
- Traversing via waypoints
- Viewing in admin panel
Manual Reinforcement
4 Reinforcement Profiles:Quick Refresh (+0.05)
When: Light reminder, brief reviewExample: “Customer prefers email over phone”
Maintenance (+0.10)
When: Keep reference accessibleExample: Weekly reinforcement of API docs
Deep Learning (+0.15)
When: Actively studying/learningExample: Learning new technology weekly
Emergency (+0.25)
When: Critical info must persistExample: Production incident procedures
Reinforcement Strategies
- Critical Info
- Reference Materials
- Active Learning
- Temporary Context
Goal: Never let it fadeStrategy:
- Store as Reflective (slowest decay)
- Emergency profile (+0.25) immediately
- Monthly reinforcement schedule
Access Patterns: Hot, Warm, Cold
System automatically categorizes memories based on access:🔥 Hot
Definition:
access_count ≥10 AND last_accessed <7 daysEffect:- Surfaces first in searches
- High ranking boost
- Auto-reinforcement
- Current feature docs
- Active customer context
- Sprint code patterns
🌡️ Warm
Definition:
access_count ≥3 AND last_accessed <30 daysEffect:- Good search ranking
- Available when needed
- Decaying slowly
- Last month’s retrospective
- Recent customer issues
- Occasional code patterns
❄️ Cold
Definition: All other memoriesEffect:
- Lower search ranking
- Natural decay continues
- Pruning candidate if salience less than 0.1
- Old meeting notes
- Resolved bugs (months ago)
- Outdated temporary notes
Pruning: Automatic Cleanup
Trigger: Salience less than 0.1 after 90 days inactivity Process:- Nightly job scans candidates
- Checks salience threshold (default: 0.1)
- Checks last accessed (>90 days)
- Soft deletes (recoverable 30 days)
- Hard deletes after grace period
Configuration
Default (recommended):- Threshold: 0.1 salience
- Inactivity: 90 days
- Grace period: 30 days
- Lower threshold (prune more)
- Higher threshold (keep more)
- Disable auto-pruning (manual only)
- View candidates before deletion
- Manual prune with custom thresholds
- Recover soft-deleted within 30 days
Manual Pruning
Via AI assistant:Real-World Strategies
- Set It & Forget It
- Curated Knowledge Base
- Learning-Focused
- Customer Context Master
Approach: Minimal intervention
- Store naturally as you work
- Let sectors handle decay
- No manual reinforcement
- Trust access patterns
FAQ
Can I disable decay entirely?
Can I disable decay entirely?
No, but you can make memories effectively permanent:
- Use Reflective (693-day half-life)
- Emergency reinforcement (+0.25) regularly
- Result: ~5-10 year lifespan
Forgot to reinforce something important?
Forgot to reinforce something important?
Don’t worry! Automatic reinforcement from access keeps it alive.Admin panel shows memories approaching pruning threshold.
How often to manually reinforce?
How often to manually reinforce?
- Weekly: Critical docs, active learning
- Bi-weekly: Reference materials, conventions
- Monthly: Strategic decisions, long-term docs
- Never: Most memories! Let automatic handle it.
See decay curves?
See decay curves?
Yes! Admin panel shows salience over time for each memory. Visualize decay curve and reinforcement events.
Next Steps
Cognitive Sectors
5 memory types and decay rates
Best Practices
Effective memory management
Workflows
Real-world decay & reinforcement
Admin Panel
Monitor memory health visually
Memories that matter stay strong. Noise fades away. Trust the system.