Provenance
Every document records where it came from, so later readers — human or agent — can trace and trust what they find.
What provenance tracks
Section titled “What provenance tracks”github— the document is backed by a connected repo. The file in your repo is the source of truth, and edits commit back to it.manual— the document was created directly through the API or dashboard, not tied to a repo file.- Each write also records an actor (which human or agent) and, for agent sessions, session metadata.
Keep provenance intact
Section titled “Keep provenance intact”- Editing a
githubdocument withedit_sectionpreserves its provenance. - Re-ingesting a
githubdocument withingest_documentresets it tomanualand drops the repo link. Don’t re-ingest repo-backed docs to modify them — useedit_sectioninstead. See Editing.
Cite your sources
Section titled “Cite your sources”When you record something learned from external material (a URL, a conversation, a
commit), pass a sources list on the write. Unsourced claims show up in audit_links
so you can find and fix them — and cited sources are what make a search answer
trustworthy instead of an unattributable assertion.