# Standards CLI

The standards resolver family is a separate argparse command tree beside the Click CLI, so its commands do not appear on the CLI reference pages. This page is generated at assembly time from `python -m benchweave.standards --help`; the in-repo quick reference is the operator guide's section 10.

| Command | What it does |
|----|----|
| `export` | write the SDK-facing bundle |
| `check` | verify the pinned SDK against a fresh export |
| `matrix` | write or verify docs/compatibility-matrix.md |
| `versions` | print main, standard, SDK lock and submodule versions |
| `repin` | recompute corpus-manifest sha256 rows from the on-disk corpus |
| `list` | print per-standard range, retained/carried/served sets, yanks, retirements |
| `pin` | resolve a package's constraints into its contracts/lock.json |
| `upgrade` | move exactly one standard's lock row to a precise version |
| `why` | explain the current resolution: per standard, the rung that fired |


# The captured `--help` output

``` text
usage: __main__.py [-h] {export,check,matrix,versions,repin,list,pin,upgrade,why} ...

Command line: python -m benchweave.standards. Subcommands: export | check | matrix | versions |
repin | list | pin | upgrade | why.

positional arguments:
  {export,check,matrix,versions,repin,list,pin,upgrade,why}
    export              write the SDK-facing bundle
    check               verify the pinned SDK against a fresh export
    matrix              write or verify docs/compatibility-matrix.md
    versions            print main, standard, SDK lock and submodule versions
    repin               recompute corpus-manifest sha256 rows from the on-disk corpus
    list                print per-standard range, retained/carried/served sets, yanks, retirements
    pin                 resolve a package's constraints into its contracts/lock.json
    upgrade             move exactly one standard's lock row to a precise version
    why                 explain the current resolution: per standard, the rung that fired

options:
  -h, --help            show this help message and exit
```
