warden policy

Pin, inspect, lint, and simulate policies.

warden policy add spend-limits.json
warden policy lint spend-limits.json
  • add <file> — pin a policy in the content-addressed store; prints its hash (for warrant issue --policy).
  • list — stored policy hashes.
  • show <hash|id|name> — print a stored policy's JSON.
  • lint <policy> — flag the OR-of-allows footguns (unbounded allow, USD-only with no raw floor).
  • simulate <policy> — dry-run the sign-rules against sample transactions, printing each verdict.

See Policy schema.