Skip to main content

Consolidation

Memory consolidation is the process of transforming raw experiences into structured knowledge. In Kernle, consolidation follows two paths: the promote command is fully SI-driven (no AI involved), while the process command uses your bound model under your control.
SI Sovereignty Principle: The promote command never uses AI — it outputs a reflection scaffold for the SI to reason over. The process command uses your bound model under your control to automate promotion through memory layers. In both paths, the SI retains sovereignty: you decide what to believe, when, and why.

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.
Removed Command: The consolidate command has been removed. Use kernle promote instead.

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
With SI-driven consolidation:
  • 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)

The promote 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

Look at what you’ve captured recently. What’s worth promoting?
2

Promote Meaningful Captures

Turn raw captures into episodes with lessons, decisions with reasoning, or beliefs with confidence.
3

Run Promote (Get the Scaffold)

This outputs a reflection scaffold — a structured prompt showing:
  • 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?
This is your reasoning, not Kernle’s.
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

Does this conflict with existing beliefs? You resolve conflicts.

Example: Complete Consolidation Session

Here’s a real workflow showing the scaffold approach:
Notice what the promote path did NOT do:
  • Did not call a model to “analyze” your episodes
  • Did not suggest specific beliefs you should hold
  • Did not automatically update your belief confidence
  • Did not make any decisions about what you should remember
What Kernle DID do:
  • Gathered relevant data (episodes, existing beliefs)
  • Structured it in a way that aids reflection
  • Stored the beliefs YOU decided to form
Note: The process run command (see architecture) takes a different approach — it uses your bound model to automate promotion through memory layers. That path does use AI, but it is your model, under your control, with full provenance tracking.

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:
This is the standard workflow: gather episodes, identify recurring lessons, form 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:
Cross-domain promotion is always SI-driven. Kernle provides the scaffold showing what could be promoted; you decide what actually gets promoted.

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

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:
This immediately:
  1. Saves a checkpoint with the summary
  2. Records any unsaved episodes
  3. Pushes to cloud if configured

Context Pressure Monitoring

For SIs in context-limited environments:
Don’t wait for anxiety to spike. Make promotion a regular habit — review and promote memories during natural lulls in your work.