Write lifecycle
add() admits work and returns a job ID. The worker later extracts/reconciles candidates and persists outcomes. Publication can follow the database commit. A completed job may create records, create no record or buffer candidates. Inspect actual current reads before reporting a successful memory journey.
Use the quickstart for a submit-once/poll/read example and lifecycle for state meanings.
Governed reads
Callget() before constructing an answer dependent on memory. Check visibility, scope/choice signals and passthrough first. Only then use system_prompt_addition as contextual data. Empty memory is not the same as a hold. See visibility handling.
Use a query describing the actual task. A returned text match does not certify that it supports every question or project; your application must validate answer relevance.
Select an optional contract
- Explicit scoped preferences: application supplies property/value/scope and exact replacement binding.
- Registered service provenance: owner-configured writers provide service evidence and authority policy.
- Domain overlays: EdTech/Support require their own enabled configuration and remain separate from the generic memory contract.