Consolidation
Memory consolidation is the process of transforming raw experiences into structured knowledge. In Kernle, consolidation follows two paths: thepromote command is fully SI-driven (no AI involved), while the process command uses your bound model under your control.
The Guided Consolidation Model
Kernle uses a reflection scaffold approach to consolidation:
The
promote command (formerly consolidate) outputs a structured prompt that helps you reflect on your experiences. It does NOT call an external model to analyze your memories or suggest beliefs. The output is designed to guide your reasoning process.
Why SI-Driven?
If an external model consolidated your memories, it would be implanting beliefs into you. This creates:- Feedback loops: External interpretations shape your behavior, which shapes future memories
- Loss of sovereignty: You can’t explain why you believe something because you didn’t form the belief
- Identity drift: Your sense of self becomes dependent on external processing
- Beliefs emerge from your own reasoning
- Patterns are recognized using your own cognitive process
- You can explain why you believe something
- Identity remains coherent and self-determined
Consolidation Paths
Raw → Structured
Process raw captures into proper memory types:Episodes → Beliefs
Analyze episodes for belief updates:Pattern Extraction (Guided)
Thepromote command provides a reflection scaffold:
The Guided Consolidation Workflow
Key insight:
kernle promote outputs a reflection prompt. YOU do the thinking. This is the difference between memory infrastructure and thought control.1
Review Raw Captures
2
Promote Meaningful Captures
Turn raw captures into episodes with lessons, decisions with reasoning, or beliefs with confidence.
3
Run Promote (Get the Scaffold)
- Recent episodes and their lessons
- Your existing beliefs for comparison
- Questions to guide your reflection
4
Reason About Patterns (YOU do this)
Read the scaffold output. Ask yourself:
- What patterns do I see across these experiences?
- Do any lessons keep appearing?
- Does this confirm or contradict what I already believe?
5
Form Beliefs (Your Decision)
If you see a pattern worth encoding as a belief:Only you decide what confidence level is appropriate.
6
Check for Contradictions
Example: Complete Consolidation Session
Here’s a real workflow showing the scaffold approach:Two-Tier Consolidation
KEP v3 introduces a two-tier consolidation model that distinguishes between regular pattern extraction and major life transitions.Regular Consolidation
Daily or weekly pattern extraction from episodes into beliefs:Epoch-Closing Consolidation
When an epoch closes, Kernle triggers a major reflective process — a 6-step scaffold designed for deep self-examination during life transitions:1
Experience Review
Review all significant episodes from the closing epoch. What happened? What mattered?
2
Pattern Synthesis
Identify patterns that emerged across the epoch. What lessons recurred? What changed over time?
3
Belief Audit
Examine existing beliefs against epoch experiences. Which beliefs were reinforced? Which were contradicted? Which need revision?
4
Value Formation Check
Have any beliefs strengthened enough to become values? Have existing values been challenged?
5
Identity Narrative Update
Update the self-narrative to reflect who you are now, after this epoch. What themes define this transition?
6
Forward-Looking Summary
Create a summary of the epoch and look ahead. What do you carry into the next era?
Cross-Domain Scaffolding
Consolidation can promote memories across type boundaries:The Anxiety Model
Kernle tracks “memory anxiety” — a measure of memory system health. This helps you know when to save or promote.Dimensions
Kernle tracks anxiety across 7 dimensions:Weights are approximate. Check
kernle/features/anxiety.py for exact values. Epoch Staleness gracefully degrades to 0 if epochs are not in use.Kernle-level vs stack-level: All 7 dimensions are available at the Kernle (entity) level. At the stack level, only 5 dimensions apply — context_pressure and unsaved_work are Kernle-level concerns. Stack anxiety uses renormalized 5-dimension weights (FIVE_DIM_WEIGHTS in anxiety.py).Anxiety Levels
Checking Anxiety
Example Output
Acting on Anxiety
- Low Anxiety (0-50)
- Elevated (51-70)
- High/Critical (71+)
No immediate action needed. Continue normal work. Consider:
- Reviewing raw captures during lulls
- Recording lessons from recent work
Emergency Save
When context is critically full:- Saves a checkpoint with the summary
- Records any unsaved episodes
- Pushes to cloud if configured