assay-cli 3.31.0

Policy-as-code gate for MCP agent tool calls, with verifiable evidence and Linux kernel enforcement.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod fmt;
pub mod migrate;
pub mod validate;

use crate::cli::args::{PolicyArgs, PolicyCommand};

pub async fn run(args: PolicyArgs) -> anyhow::Result<i32> {
    match args.cmd {
        PolicyCommand::Generate(a) => super::generate::run(a),
        PolicyCommand::Record(a) => super::record::run(a).await,
        PolicyCommand::Validate(a) => validate::run(a).await,
        PolicyCommand::Migrate(a) => migrate::run(a).await,
        PolicyCommand::Fmt(a) => fmt::run(a).await,
    }
}