Skip to main content

Module bounded_closure

Module bounded_closure 

Source
Expand description

Bounded structural dependency closure over exact original artifact bytes. This module does not authenticate issuers, evaluate policy or mint rights. Declared-edge completeness needs a separately authenticated manifest.

Structs§

ClosureCandidate
Complete structural coverage of the SUPPLIED graph and matching original bytes. This is NOT AuthenticatedClosure, policy admission or proof that a producer declared every dependency. An authenticated manifest must establish that later. All originals remain immutably borrowed; no source clone or secret is retained.
ClosureEdge
Explicit required dependency: dependent -> dependency. Both endpoints use complete security digests, never compact Quin identifiers.
ClosureNode
Borrowed untrusted artifact. Kind reuses the existing semantic model. Digest is SHA384 of EXACT original bytes, not a legacy textual lock digest. Labels/issuer roles/versions must be bound by the later authenticated manifest.

Enums§

ClosureError

Constants§

MAX_CLOSURE_EDGES
MAX_CLOSURE_NODES
MAX_CLOSURE_ORIGINAL_BYTES

Functions§

verify_closure
Validate one explicit required-edge graph and its immutable original bytes. Every supplied node must be reachable from root. Duplicate nodes are refused even when bytes agree; manifest adapters must supply one row per digest. Kinds are retained unchanged and are NOT authenticated by this operation.