Expand description
Delivery of a place’s knowledge into an agent’s context (SPEC-ENGINE §3.5): which folded nodes a host session may see, in which bucket, and a deterministic rendering (#498) — the same replica and query give the same bytes, whatever the clock, the scores or the trust revision say.
Modules§
- knowledge_
state - Knowledge states (Cloud v5 CHECKLIST 2.2.1; C0 2.0
enums/knowledge-states.json,vectors/knowledge_state.vectors.json):verified | provisional | outdated | conflicting | rejected, derived from the folded replica on every read, never stored. Cloud derives the same state from its projection, so the web and the agent see one answer.
Structs§
- Item
- One deliverable node.
Enums§
- Bucket
- Bucket a delivered node is shown in (§3.5.2), in delivery order. The last two hold knowledge that is not current truth (v5 2.2.1): it is delivered after everything else and labelled, never as a plain item.
Constants§
- CITE_
HINT - How an agent cites a delivered item (once per section, ~15 tokens).
- MAX_
SECTION_ TOKENS - Knowledge section budget per call (SPEC-ENGINE §3.5.1: hard max).
Functions§
- bucket_
of - Bucket of a node for a session of the owning workspace, from its provenance and the trust bucket (absent until the trust job publishes one).
- for_
project - The vault section a recall in
project_rootdelivers (§3.5.1): the bound vault’s replica, deterministic and within budget.Nonewhen the checkout is not bound or has no replica yet (nothing is created here), and for a folder the person unlinked (rc4-6, bd 39936). - items
- The deliverable items of
graphforquery(all when empty), in the order of §3.5.3: bucket → node type → relevance tier → node id. - items_
in itemswith the knowledge states ofstates(e.g. an index that also resolves fact links from the save history).- render
- Render items for the agent within
budget_tokens(an item that does not fit is skipped whole). Headervault @<ns>/<name> · <d>,da digest of the delivered (node id, bucket) pairs; other members’ text is fenced as data.