Function load
Source pub fn load(path: &Utf8Path) -> Result<Policy>
Expand description
Load, validate, and normalize an agent-policy.yaml from a file path.
This is the main entry point for the entire load pipeline.
ยงErrors
Returns an Error if the file cannot be read, the YAML is invalid, the
document fails schema validation, or normalization encounters invalid values.