Expand description
Memory type — a single memory entry stored in LMDB.
Structs§
- Memory
- A complete memory entry: metadata + content.
- Memory
Metadata - Metadata for a memory entry.
Enums§
- Memory
Type - Classification of memory kind, inspired by cognitive science memory systems.
- Tier
- Lifecycle tier (V8 S5,
MEMORY_TYPOLOGY_V8.md§6) — how a memory is served as it ages.
Functions§
- content_
hash - Compute SHA-256 content hash, returned as hex string.
- corroboration_
boost - Corroboration ranking boost — monotone, bounded, saturating.
- corroboration_
weight - Corroboration knob (bridging consensus counter, Lucas ruling 2026-09-04).
- decode_
embedding - Decode raw bytes back into an f32 embedding vector.
- encode_
embedding - Encode an f32 embedding vector as raw bytes for LMDB storage.
- trust_
weighted_ score - Retrieval trust factor (V8.1, evidence-gated via
WM_TRUST_WEIGHT). - validity_
enforced - Validity enforcement knob (V8 Slice B, D1+D2).
Type Aliases§
- Memory
Id - Unique identifier for a memory.