Fact integration
Runtime fact extraction/resolution is asynchronous backend work under memory.extract and facts.resolve. It retains current source revision/hash and authority provenance and advances the contiguous facts watermark.
Use governed recall to retrieve authorized indexed facts. A published strict Agent can require facts through a captured cutoff. Pending-context mode can include eligible approved sources before extraction completes.
Independent structured imports use the explicit facts API. Maintain current scope, source attribution and lifecycle; do not attach imported facts to a remote turn by duplicating its extraction in the app. Model output remains content, never authority.
See facts versus conversations and fact extraction.
Explicit imports and changed knowledge
For an independent administrator import, facts.storeWithDedup can use exact normalized text, structural subject/predicate/object matching or semantic matching with a supplied embedding callback (threshold 0–1, default 0.85). false disables matching. A higher-confidence duplicate updates the existing fact and merges supplied tags; an equal/lower-confidence match returns it unchanged. Read deduplication.matchedExisting as well as wasUpdated to distinguish those outcomes.
Belief revision handles changed assertions: configure the explicit service, preview with checkConflicts, then inspect revise's action, superseded facts, reason and pipeline stages. A post-commit history failure requires receipt repair rather than a new fact mutation. See the deduplication/revision examples and contracts. Runtime Agent extraction already owns this process for its turns.