Skip to main content

Module index

Module index 

Source
Expand description

The index: every declarative object the repository declares, read, validated and identified, plus every diagnostic about what could not be read. Built once per invocation from a discovery pass; the MCP surface is a projection of it.

Failure policy: a file that cannot become an object is excluded and reported with an error diagnostic, and the index is Degraded. The manifest and sources.yaml are different: without them nothing can be discovered, so they are errors, not diagnostics.

Structs§

AnswerObservation
When the state behind an answer was read: the freshness contract of a capability answer.
Index
The objects of the repository, their diagnostics, and the repository they came from.
RepositoryInfo
What the index knows about the repository it was built from.
RepositoryObservations
The two pictures a process takes of the repository, each with when it was taken.

Enums§

State
Whether every discovered file became an object.

Constants§

MAX_FILE_BYTES
A file larger than this is refused rather than read.
STALE_AFTER
How long a picture of the repository is trusted as current when nothing announced a change.