> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hex65.com/llms.txt
> Use this file to discover all available pages before exploring further.

# proving run

> Run laps: the selected cases of a set, many times each, inside containment against the twin

## Usage

```text theme={null}
Run laps: the selected cases of a set, many times each, inside containment against the twin

Usage: proving run [flags]

Flags:
      --set <set>                    practice or regression (default practice)
      --task <task>                  Only this task (default: every task)
      --cases <ids>                  Only these cases, by id, separated by commas
      --laps <n>                     Laps per case (default 5, or run.laps_per_case)
      --parallel <n>                 Laps at once, at most (bounded by your plan)
      --sampling <plan>              proportional, equal or focused (default: focused once an earlier run of the set has rates)
      --seed <n>                     The run seed, a whole number: the same seed plans the same laps in the same order
      --agent-version <fingerprint>  The agent version the run is meant to test (its fingerprint, or its first 8 or more digits): the run refuses when the agent is another version
      --require-enforced             Refuse to run when only unenforced containment is available (the default in CI)
      --fail-on-fail                 Exit with code 30 when a lap fails
      --dry-run                      Start the agent once on a trivial case and check the handshake

Global flags:
      --project <path>  The project file (default: the nearest proving.yaml upward)
      --json            Print a single JSON document
      --quiet           Print errors only
      --verbose         Print more detail
      --no-color        Print without color
      --workspace <id>  The workspace to act on
  -h, --help            Show help for the command
```

## Flags

| Flag | Value | What it does |
| - | - | - |
| `--set` | `<set>` | practice or regression (default practice) |
| `--task` | `<task>` | Only this task (default: every task) |
| `--cases` | `<ids>` | Only these cases, by id, separated by commas |
| `--laps` | `<n>` | Laps per case (default 5, or run.laps\_per\_case) |
| `--parallel` | `<n>` | Laps at once, at most (bounded by your plan) |
| `--sampling` | `<plan>` | proportional, equal or focused (default: focused once an earlier run of the set has rates) |
| `--seed` | `<n>` | The run seed, a whole number: the same seed plans the same laps in the same order |
| `--agent-version` | `<fingerprint>` | The agent version the run is meant to test (its fingerprint, or its first 8 or more digits): the run refuses when the agent is another version |
| `--require-enforced` | none | Refuse to run when only unenforced containment is available (the default in CI) |
| `--fail-on-fail` | none | Exit with code 30 when a lap fails |
| `--dry-run` | none | Start the agent once on a trivial case and check the handshake |

## Global flags

| Flag | Value | What it does |
| - | - | - |
| `--project` | `<path>` | The project file (default: the nearest proving.yaml upward) |
| `--json` | none | Print a single JSON document |
| `--quiet` | none | Print errors only |
| `--verbose` | none | Print more detail |
| `--no-color` | none | Print without color |
| `--workspace` | `<id>` | The workspace to act on |
| `--help` (`-h`) | none | Show help for the command |

## Exit codes

The command exits with one of the [exit codes](https://docs.hex65.com/reference/exit-codes.md). Each has a page with its fixes under [Troubleshooting](https://docs.hex65.com/troubleshooting/exit-codes.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.