Registry stack documentation: machine-readable Markdown.
Index of all pages: https://docs.registrystack.org/llms.txt
Full corpus: https://docs.registrystack.org/llms-full.txt

# evidence check-policy command reference

> Generated syntax and options for evidence check-policy.

{/* Generated from crates/registry-cli-docs/catalog.json and the workspace version in Cargo.toml by scripts/generate-cli-reference.mjs. Run npm run generate. */}

Check one relying-procedure verification policy offline, and report every problem found with its line and column.

## Contract status

This page is generated from the public Clap command tree for Registry Stack source version `0.41.0` and catalog SHA-256 `6218baa1f09ca0316bbe78f6bbe0fde53ecc5ff57f7217a4a80ea4adbaa3378b`. Hidden implementation commands are omitted.

## Description

Check one relying-procedure verification policy offline, and report every problem found with its line and column. `verify` and `verify-presentation` read the policy exactly this way but report only their closed `malformed` class; this command says where the policy is wrong. No diagnostic repeats a value written in the policy.

## Usage

```text
evidence check-policy [OPTIONS] <--verification-policy <FILE>|--holder-bound-policy <FILE>>
```

## Constraints

| Condition | Requirement |
| --- | --- |
| Command invocation | Exactly one of `--verification-policy <FILE>`, `--holder-bound-policy <FILE>` is required. |
| Command invocation | `--holder-bound-policy <FILE>` and `--verification-policy <FILE>` cannot be used together. |

## Options

| Option | Always required | Default | Values | Environment | Description |
| --- | --- | --- | --- | --- | --- |
| `--verification-policy <FILE>` | No | n/a | n/a | n/a | A Version 1 policy, as `verify --policy` reads it |
| `--holder-bound-policy <FILE>` | No | n/a | n/a | n/a | A holder-bound policy, as `verify-presentation --policy` reads it |
| `--format <FORMAT>` | No | `human` | `human`, `json` | n/a | Emit the selected command's report in this format |
| `--deny-warnings` | No | n/a | n/a | n/a | Exit 1 when a warning is reported |
| `-h, --help` | No | n/a | n/a | n/a | Print help (see a summary with '-h') |

## Generation contract

After changing a public command, argument, option, default, environment binding, or help description, run `cargo run --locked -p registry-cli-docs -- --write`, commit `crates/registry-cli-docs/catalog.json`, then run `npm run generate` from `docs/site`.