Runtime tool-call authority: policy from findings, decisions, tamper-evident records.
keryn authority compile <policy.json>Options
Section titled “Options”Usage: keryn authority <subcommand> [options] propose <seceng-report.json> [--out <policy.json>] [--enforce] [--min-blast-radius <n>] [--policy-version <v>] staged runtime policy proposed from a scan report with cross-file analysis, at the authority each finding's sink proves decide --policy <policy.json> --request <request.json> [--now <unix-seconds>] one tool-call verdict (exit 0 allowed, 1 blocked or held for approval); budgets use --now, never the clock verify <records.json|.jsonl> verify a hash-chained decision log (exit 1 on any break) compile <policy.json> lint, rule counts and the digest an operator can pin vocabulary capabilities, guards, trust labels and the embedded sink registry The logic is the keryn-authority family (savvy-cli: keryn-policy, keryn-policy-gen, keryn-decision, keryn-pdp) compiled to WebAssembly; not the AI-BOM policy of 'keryn scan --policy'. Nothing here reads the network.Examples
Section titled “Examples”# Digest to pin.keryn authority compile policy.jsonExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
| 0 | success |
| 2 | usage error or unreadable input |