Memory Types¶
shared.memory_types ¶
Typed memory — 13 categories with per-type retention/decay/boost policy.
13 types: instruction, fact, decision, goal, preference, commitment, relationship, observation, rule, todo, question, hypothesis, context.
Each type has its own: - default_importance (auto-fill on save) - decay_rate (0 = never decays) - never_archive flag - requires_expires_at flag - boost_on_keywords for retrieval
MemoryKind ¶
Bases: str, Enum
Source code in shared/memory_types.py
get_policy ¶
Get policy for a kind. Unknown kinds fall back to FACT.
Source code in shared/memory_types.py
kind_for_text ¶
Best-effort heuristic for auto-classification. Returns FACT if nothing matches.