Trust boundary¶
memd separates retrieval surfaces from canonical artifacts. Search and
digest helpers return candidates; only canonical artifacts commit to a
trust tier, and tier promotion requires an independent reviewer.
flowchart LR
candidates["Candidate retrieval surfaces"] --> artifacts["Canonical artifacts"]
artifacts -->|independent reviewer supports claim| verified["VerifiedRecord trust tier"]
artifacts -.single writer.-> canonical["CanonicalRecord trust tier"]
Rules¶
memory.search,task.search,artifact.search, and digest helpers are candidate-generation surfaces.- Canonical non-digest artifacts are the trust anchor.
- Persisted digests are compiled hints, not self-authenticating truth.
artifact.find_relatedretrieves canonical artifacts that overlap a claim; a retrieval hit is only supporting evidence, not trust.VerifiedRecordtrust requires an independent reviewer with a distinctagent_idsubmitting anartifact.verificationwithsupports_claim = true. A single agent cannot self-label as verified.
Why this matters¶
When agents commit to facts based on retrieval alone they can drift on
hallucinated context. The trust boundary makes the commitment explicit:
retrieval is for finding candidates; promotion to VerifiedRecord requires
distinct-writer review. Wiki, paper artifacts, and other downstream consumers
read the tier and decide what to surface.
See the task memory schema for the full canonical-artifact envelope and how trust tiers are persisted.