CAP never authorizes.
Validates the one positional extension envelope against the compiled registry, artifact placement, lifecycle state, and digest-bound schemas. Unknown optional bodies remain in the artifact and are named as quarantined; no extension body enters a facts record.
Summary
Functions
Validate one extension envelope using the compiled schema set.
Validate with an explicit schema view for digest-pinning and conformance probes.
Functions
@spec validate(term(), atom()) :: {:ok, CharterAgreementProtocol.Extension.Outcome.t()} | {:error, CharterAgreementProtocol.Error.t()}
Validate one extension envelope using the compiled schema set.
@spec validate(term(), atom(), map()) :: {:ok, CharterAgreementProtocol.Extension.Outcome.t()} | {:error, CharterAgreementProtocol.Error.t()}
Validate with an explicit schema view for digest-pinning and conformance probes.