Skip to main content

Variable: DEFAULT_TRUST_POLICY_BY_SOURCE

const DEFAULT_TRUST_POLICY_BY_SOURCE: Record<MemorySourceType, MemoryTrustPolicy>

Defined in: packages/agentos/src/cognition/memory/core/types.ts:161

Default trust policies keyed by source type. Encoded into a new MemoryTrace.policy at creation time so a memory's policy reflects how it was originally produced, not how it was later retrieved.

Trust ranking summary: identity_provider / system_config / human_approval / tool_result → full trust (authorize + personalize + fact-claim). retrieved_document / fact_graph / external_api → fact-claim only; reverify periodically. user_statement / agent_inference / observation / reflection / typed_network / memory_summary → personalization only; never grant auth or stand as a fact. external → catch-all; conservative defaults (no auth, no fact-claim).