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
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 astrength 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.Run Promotion
- Identify patterns across episodes
- Find repeated lessons
- Detect contradictions with existing beliefs
- 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 bykernle export --format json):
Interactive Mode
[y]es / [n]o / [e]dit / [s]kip all / [a]ccept all
Stack Management
Manage multiple stack identities:List Stacks
Delete Stack
Python API
Maintenance Workflow
A healthy maintenance routine:1
Check anxiety
Run
kernle anxiety to assess memory health2
Review raw entries
Process unprocessed raw entries with
kernle raw list --unprocessed3
Promote
Run
kernle promote to extract patterns from episodes4
Review forgetting candidates
Check
kernle forget candidates and protect important memories5
Checkpoint
Save state with
kernle checkpoint save "description"