Expand description
The daemon-shaped memory storage contract: facts (with privacy, channel provenance and the extraction graph), episodes, exact history and people. A store implements the slices it supports; every method has a conservative default.
Structs§
- Decay
Policy - How unrecalled memory fades. Facts not recalled for
fact_idle_dayslose1 / fact_decay_divisorof their recall count per pass (at least one); episodes not recalled forepisode_idle_dayslose one; behavior patterns not seen forpattern_idle_dayslosepattern_stepconfidence (down to 0.1). Background-extracted facts never recalled and untouched forunused_automated_fact_daysare archived (0 keeps them). - Graph
Edge Upsert - Graph
Entity Upsert - An entity to create or merge in the memory graph.
- Graph
Neighbor - Graph
Search Scope
Enums§
- Overlap
Review Verdict - A reviewer’s verdict on two facts the overlap detector paired. Stored with both facts’ content hashes: an edit to either one voids it.
Traits§
- Episode
Store - Episodic memory storage and retrieval.
- Fact
Store - Layer-2 facts storage and retrieval (including privacy + channel provenance).
- History
Search Store - Exact-history operations exposed to the search tool through a domain port.
- Memory
Decay - Fading of unrecalled memory, applied by the store.
- Memory
Graph Store - The memory graph: entities and the relations between them, each edge backed by the claim (fact) that asserts it, so retracting the claim invalidates the edge.
- Memory
Stores - Every store behind the daemon-shaped memory contract, as one handle.
- People
Store - People persistence (social graph).
Functions§
- decay_
memory - One maintenance pass: archive expired facts, merge restated facts,
retire superseded numeric values, archive unused automated facts, then
let unrecalled memory fade, so decay sees one active row per piece of
knowledge. Runs every step each call; a caller that must not repeat a
daily pass (a restart) checks
FactStore::job_last_run_atfirst.