Expand description
Soma policy layered over provider-core’s transport-neutral validation.
soma-provider-core (shared layer) validates manifests generically and
must stay product-agnostic. The extra policy here — reserved Soma CLI
verbs, SOMA_/LAB_-prefixed env rejection — is Soma-specific, so it
lives in soma-domain instead of being folded into the shared crate.
Structs§
Functions§
- validate_
manifest_ schema - Validates a manifest JSON value against the provider-core schema.
- validate_
provider_ manifest - Validates a manifest through provider-core, then applies Soma-specific
policy: reserved CLI verbs and rejection of
SOMA_/LAB_-prefixed env. - validate_
provider_ manifest_ value - Validates a raw manifest JSON value against schema and Soma policy,
returning the deserialized [
ProviderManifest] on success.