pub fn load_file(path: &Utf8Path) -> Result<RawPolicy>Expand description
Load and validate an agent-policy.yaml from a file path.
ยงErrors
Returns crate::Error::Io if the file cannot be read, crate::Error::Yaml on YAML
parse failure, or crate::Error::Schema if the document does not conform to
the bundled JSON Schema.