Expand description
§agent-policy
Schema-first generator for coding-agent repo policies and compatibility files.
§Usage
use camino::Utf8Path;
let (policy, warnings) = agent_policy::load(Utf8Path::new("agent-policy.yaml"))
.expect("failed to load policy");
for w in &warnings { eprintln!("warning: {w}"); }
println!("Project: {}", policy.project.name);§Command-line interface
See the README for CLI documentation.
Re-exports§
Modules§
Functions§
- load
- Load, validate, and normalize an
agent-policy.yamlfrom a file path.