pub fn validate_and_normalize_archive(
bytes: &[u8],
) -> Result<ValidatedMem, ValidationError>Expand description
The single ingress entry point. Callers (registry publish, CLI
install, MCP read-mem attach, macOS drop-to-install) hand in
bytes and receive either a ValidatedMem with canonical bytes
to install, or a typed ValidationError.
Runs every check with ValidatorLimits::DEFAULT. Use
validate_and_normalize_archive_with_limits to supply custom caps
(the registry may allow larger archives; the CLI keeps defaults).