Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Validating policies

Arbitraitor uses TOML policy files to define rules for verdict computation. Before running artifacts, verify your policy is well-formed.

Validate a policy file

arbitraitor policy my-policy.toml

Output shows the policy version, rule count, and digest:

Policy valid
  Version: 1
  Rules: 5
  Digest: sha256:abc123...

What happens on invalid policy

If the policy TOML is malformed or contains unknown fields, the command exits with a non-zero code and prints the validation error.

See the CLI reference for full flag details.