Lifecycle states
From conversation to memory
add() is asynchronous. After a request passes the quality gate, extraction can produce:
Weak candidates protect the system from storing uncertain one-off statements as permanent memory.
An uncertain change does not supersede the current memory merely because a
later classifier calls it committed. A valid grounded clarification can ask
the user to choose in the existing chat; otherwise the change remains pending.
Repeated observations or high confidence alone are not permission to bypass
this governance decision.
Reinforcement
A weak candidate can later be promoted when MemoryOS sees stronger evidence, for example:- the same signal appears again in a later conversation
- retrieval feedback confirms the signal was useful
- a user correction produces a stronger replacement memory
Retrieval feedback
After retrieval, your agent can report whether returned memories were useful. Feedback can:- increment useful-memory signals
- mark a memory as ignored or not useful
- queue an async correction job when the user corrects the agent
- help operators see extraction quality problems in the dashboard
Lifecycle manager
When configured and running, the lifecycle manager can perform these jobs. Scheduling and installed tasks depend on the deployment:- Decay - reduce
importance_scorefor stale memories when appropriate. The original score stays inoriginal_importance_score. - Auto-archive - soft-remove stale low-value memories from search without deleting them from PostgreSQL.
- Hot promotion - move high-value, frequently used memories into Redis for faster retrieval.
- Score recompute - recalculate baseline importance when needed.
- Payload retention - redact old extraction payloads while preserving source hashes for audit.
is_archived = true and system_archived = true. They stay in the database and appear in GDPR exports. Hard delete is a separate explicit action.
Version history
Every meaningful change creates an append-only row inmemory_versions.
Version rows record change history. Explicit user/tenant deletion and configured retention can remove associated data; this is not a promise of permanent audit storage.
GDPR export
The export endpoint returns active memories, archived memories, and version history. Normal retrieval returns only currently searchable memories.Related pages
Pending visibility and recovery
A pending candidate is not active context. Retrieval can withhold the affected identity/category/scope withmemory_visibility, even though previous records remain stored. Show safe source-review cards separately and use the appropriate versioned decision path. restate is a request for a new statement, not activation. See visibility handling, scoped preferences and service correction.