Skip to main content

validate_bound_agent_snapshot

Function validate_bound_agent_snapshot 

Source
pub fn validate_bound_agent_snapshot(
    bound: &BoundAgent,
) -> Result<(), BindingProviderError>
Expand description

Validate one persisted BoundAgent before it is reused or explained.

The digest is recomputed from the snapshot body, then an attested snapshot is checked again against its declaration-only request. This detects store corruption and schema-inconsistent mutations without consulting a Provider, the current Blueprint, or any mutable execution-environment registry.