Skip to main content
Kernle provides sophisticated memory management including intentional forgetting, belief consolidation, and memory health monitoring.

Overview

Forgetting

Graceful decay with protection and recovery

Promotion

Extract patterns from episodes into beliefs

Import

Migrate from flat files to structured memory

Intentional Forgetting

Not all memories deserve eternal storage. Kernle implements principled forgetting based on continuous strength (0.0–1.0).

View Candidates

Strength Scores

Every memory has a strength value (0.0–1.0) that determines its visibility and decay behavior:

Check Specific Memory

Protect Important Memories

Protected memories never decay, regardless of age or access patterns.

Run Forgetting

Recover Forgotten Memories

Forgotten memories are tombstoned (strength set to 0.0), not deleted. Recovered memories return at strength 0.2 (Weak tier):

Continuous Strength (v0.10.0)

Every memory has a strength field (0.0 to 1.0) that replaces binary forgetting. New memories start at strength 1.0.

Strength Tiers

What Changes Strength

  • Time decay: Periodic maintenance reduces strength based on half-life
  • Access reinforcement: record_access() boosts strength (diminishing returns)
  • Verification: verify_memory() boosts strength toward 1.0
  • Emotional weight: High-arousal episodes decay slower
  • Explicit weakening: weaken_memory() reduces strength by a specified amount
  • Forgetting: forget_memory() sets strength to 0.0

Recovery

Recovered memories return at strength 0.2 (Weak tier), not full strength. They must be verified or accessed to regain full strength.

Consolidation

Consolidation extracts patterns from recent episodes to form or update beliefs.
Renamed Command: The consolidate command has been removed. Use kernle promote instead.

Run Promotion

This outputs a reflection prompt with your recent episodes and current beliefs, guiding you to:
  1. Identify patterns across episodes
  2. Find repeated lessons
  3. Detect contradictions with existing beliefs
  4. Decide what new beliefs to form

Sample Output


Belief Management

List Beliefs

Revise from Episode

Check for Contradictions

Reinforce Belief

Supersede Belief


Import from Flat Files

Seed an empty stack from MEMORY.md, JSON exports, or CSV files.
Import is a one-shot, empty-stack-only operation. It is designed for initial stack seeding — not incremental ingestion. If the stack already has content, import will refuse to run (dry-run mode still works for previewing).

Format Behavior

Preview Import

Actually Import

JSON Import with Provenance

For structured imports with full type support, use JSON (the format produced by kernle export --format json):
JSON imports validate provenance chains — every belief must trace back through episodes/notes to raw entries.

Interactive Mode

Prompts for each item: [y]es / [n]o / [e]dit / [s]kip all / [a]ccept all

Stack Management

Manage multiple stack identities:

List Stacks

Delete Stack

Deletion is permanent. The SI cannot be recovered.

Python API


Maintenance Workflow

A healthy maintenance routine:
1

Check anxiety

Run kernle anxiety to assess memory health
2

Review raw entries

Process unprocessed raw entries with kernle raw list --unprocessed
3

Promote

Run kernle promote to extract patterns from episodes
4

Review forgetting candidates

Check kernle forget candidates and protect important memories
5

Checkpoint

Save state with kernle checkpoint save "description"