Docs index
Concepts
Sources, Compiled Worlds, candidate and active versions, and evidence.
Sources
A source is an immutable document version. Uploading the same file twice produces two documents with two source records that share one content digest; nothing merges them, each citation names one of the documents carrying those bytes, and editing the file produces a second version without rewriting the first.
Compiled Worlds
A Compiled World is what a set of sources compiles into: semantic objects, relations between them, and the evidence each one rests on. It is addressed by a collection id and a manifest digest, and the digest is computed over the whole artifact, so two Worlds with the same digest are the same World.
Candidate and active versions
A candidate version is a compile result nobody has accepted yet. An active version is the one answers are served from. Activation is an explicit human action in a signed-in session — no API key can activate a candidate, and no compile activates itself.
Evidence
Evidence is a page and a region on that page, bound to a source version by digest. An object with no evidence is not published, and an answer that cannot cite one abstains rather than guessing.
Objects, and what an Object is not
An Object is one thing the compiler found in your sources — a policy, an obligation, a party, a figure — with a stable key derived from its content rather than from where it appeared, and with the evidence it rests on underneath it. The key is what a later compile of the same content resolves to, which is why an object id is worth storing. What the key does not do is reach across separate compiles: two parts of one run compile to two Worlds, and deciding that an entity in one and an entity in the other are the same thing is identity resolution with its own evidence requirements. Nothing here does that on your behalf, and joining them without it would manufacture duplicates.
Activation, and the World Gate
Activation is the act of making a candidate version the active one. It happens in a signed-in browser session, by a person holding the workspace owner or admin role, and there is no scope that grants it — you will not find one in the scope table, because none exists. The World Gate is the filter every retrieved region passes before it can reach an answer: it admits a region only if the region belongs to your tenant, belongs to the active World version, and is bound to evidence. A region that fails any of the three is reported in retrieval.gateRejections with its reason rather than quietly dropped.
Manifest digest, lens, ContextPacket
A manifest digest is the sha256 over the whole compiled artifact, written sha256: followed by 64 hex characters. It is the version identifier: two Worlds with the same digest are the same World, and a digest is what you pass to read a specific version or to ask whether the copy you hold is still current. A lens is one slice of the World read model — objects, relations, evidence, history, files or review — readable on its own so a consumer that needs one does not fetch the whole graph. A ContextPacket is what retrieval returns: the evidence-bound regions it selected, each with its source version, page and region, plus the ranks and the reranker score that put it there. It is the same runtime contract Ask, Search, the MCP server and the CLI all share, which is why an answer and a search result cite the same way.
Ontology output
The Ontology output is the RDF and JSON-LD projection of a compiled World, shipped in the signed package as ontology/knowledge.ttl and ontology/knowledge.jsonld. It is a projection of the objects and relations that were compiled, not a hand-authored schema: a predicate is in it because an engine emitted it, and predicates the vocabulary could express and no engine emits are published as absent, so a query for one returns empty rather than wrong.
The life of a Compiled World
- Source — an immutable document version. Uploaded or collected. Addressed by the document plus the sha256 of its sanitized bytes; the same file uploaded twice is two sources, and nothing merges them.
- Candidate — a compile result nobody has accepted. What a compile produces. Readable, reviewable, downloadable — and no answer is ever served from it.
- Active — the version answers come from. A person activates a candidate in a signed-in session. No API key can activate, and no compile activates itself.
- Evidence — a page and a region, bound by digest. Under every object in the active World. An object with no evidence is not published, and an answer that cannot cite one abstains.
Source, candidate, active, evidence. The two transitions that are not automatic are the two that matter: a compile turns sources into a candidate, and a person turns a candidate into the active version. Nothing is served from a candidate, and no key can activate one.
What each identifier changes with
| Term | Identified by | Changes when |
|---|---|---|
| Source version | the document plus the sha256 of its sanitized bytes | the file changes |
| Compiled World | collection id + manifest digest | any input or the compiler changes |
| Object | stable key derived from its content | its label or bindings change |
| Evidence | source version + page + region | the region moves or the source is replaced |
API version 2026-09-02.1 · reviewed 11 September 2026
Something here out of date or wrong? Report an issue with this page.