Skip to main content

Module slice

Module slice 

Source
Expand description

RegistrySlice — the reply type of the introspect procedure (RFC 08 §6).

Every producer’s registry file has declared reply = "RegistrySlice" since the convention was ratified, and every sensor has answered introspect with the raw registry TOML — but the type it named did not exist, so no consumer could read the answer. This is that type.

A slice is what one build says it serves. The point of having it is the diff: compare a host’s served slice against the slice this build compiled in (the application’s zenkey-build-generated REGISTRIES table) and a disagreement is a finding — a version skew, a subject the fleet serves that we cannot name, or a subject we expect that nothing out there publishes. RFC 08 §6 is explicit that this is a finding and not an ambiguity, which is why the parser below is strict about the header and forgiving about nothing.

Structs§

DeprecationDecl
One [[deprecated]] entry — RFC 08 §3’s append-only retirement ledger.
ProcedureDecl
One [[procedure]] entry of a served registry slice.
RegistrySlice
What one build says it serves: the payload of an introspect reply.
SliceError
Why a slice would not parse.
SubjectDecl
One [[subject]] entry of a served registry slice.

Enums§

SliceFinding
A disagreement between a served slice and the slice this build compiled in.

Functions§

diff
Diff a served slice against the slice this build compiled in.
parse_slice
Parse an introspect reply — the raw registry TOML a build serves.