Skip to main content

Memory Types

Kernle uses fourteen canonical memory record types, plus diagnostic artifacts used by health checks.

Raw Entries

Purpose: Zero-friction capture for later processing
Raw entries are your scratchpad. Capture thoughts freely, process them later. Raw entries support full-text search (FTS5) for fast keyword queries.
The raw layer uses blob storage optimized for unstructured content. Full-text search is enabled via FTS5 for fast keyword queries across all raw entries.
Usage:

Episodes

Purpose: Autobiographical experiences with reflection Episodes are the foundation of experiential learning. They record what happened, how it turned out, and what you learned.
Episodes without lessons are “unreflected” — they contribute to consolidation debt in anxiety tracking.
Priority Scoring: Emotional salience is now factored into episode priority scoring using the formula: 0.55 * type_weight + 0.35 * record_factors + 0.10 * emotional_salience. This means emotionally significant episodes are weighted higher during retrieval and consolidation.
Usage:

Beliefs

Purpose: Semantic knowledge with confidence and revision tracking Beliefs represent what you hold to be true, with confidence scores that can evolve over time. Revision history: Revision is tracked through audit events (belief.revised, belief.deactivated) with optional legacy fallback to chain fields. Usage:

Values

Purpose: Core principles that guide decisions (highest authority) Values are the most stable layer — they define who you are at your core.
Values are is_protected=True by default — they never decay via forgetting.
Usage:

Goals

Purpose: Active direction and purpose Goals represent what you’re currently working toward. Usage:

Notes

Purpose: Quick captures with type classification Notes are more structured than raw entries but less formal than episodes. Usage:

Drives

Purpose: Intrinsic motivation system Drives represent your fundamental motivations — what compels you to act.
Drives are is_protected=True by default.

Drive Types

Usage:

Relationships

Purpose: Models of other SIs/entities Relationships track your connections with others. Usage:

Playbooks

Purpose: Procedural memory — “how I do things” Playbooks capture proven procedures, including failure modes and recovery steps. Usage:

Suggestions

Purpose: Candidate memory extractions from raw entries awaiting human review. Suggestions are auto-generated from raw signals and promoted to concrete memory records when approved. Usage:

Trust Assessments

Purpose: Structured evaluation of other entities for inter-entity trust Trust assessments model how much you trust another SI, person, or system — with domain-specific scoring and authority scoping.
Trust assessments support multi-dimensional scoring — you can set separate trust levels per domain (e.g., general, technical, personal). They also support transitive trust chains and time-based decay.
Usage:

Entity Models

Purpose: Predictive model of another entity’s behavior patterns Entity models capture behavioral patterns observed across interactions with a specific entity, enabling prediction and trust calibration.
Entity models are often derived from trust assessments and episodes. During epoch-closing consolidation, entity models can be promoted into beliefs about how other entities behave.

Epochs

Purpose: Temporal era markers that span across memory layers Epochs define named periods of your life — significant phases marked by transitions. They provide temporal context for all other memory types.
Only one epoch can be active at a time. Closing an epoch triggers a 6-step epoch-closing consolidation scaffold — a major reflective process.
Usage:

Summaries

Purpose: Hierarchical memory summaries (fractal compression) Summaries provide compressed views of memory at different time scales — monthly, quarterly, yearly, or per-epoch. Higher-level summaries can supersede lower-level ones.
Summaries form a fractal hierarchy — daily experiences compress into monthly summaries, which compress into quarterly, yearly, and beyond. Each level preserves key themes and emotional arcs while reducing detail.
Usage:

Self-Narratives

Purpose: Autobiographical identity statements Self-narratives are the SI’s own account of who they are — written by the SI, for the SI. They capture identity, themes, and unresolved tensions.
Self-narratives sit in the SELF-NARRATIVE layer — above beliefs but below drives. They are updated during epoch-closing consolidation as part of the identity narrative update step.
Usage:

Diagnostic Sessions

Purpose: Formal diagnostic sessions for memory health monitoring Diagnostic sessions are structured health check events that produce findings and recommendations. They support consent gating and trust-based access control. Usage:

Diagnostic Reports

Purpose: Individual diagnostic findings from a session Each diagnostic session produces one or more reports containing specific findings with severity, categorization, and recommendations.
Diagnostic reports follow a privacy boundary — they contain structural data only (IDs, scores, counts), never memory content. This ensures diagnostics can be shared safely.
Usage: