Documentation
CLI reference
The CLI is the reproducibility and automation interface behind the local browser product. Use `structtrace --help` and each subcommand's help for the exact installed version.
| Command | Purpose |
|---|---|
structtrace open | Start the capability-protected local browser product. |
structtrace init | Create a project from a template, preset, or existing output files. |
structtrace run | Execute or load both variants and finalize paired evidence. |
structtrace report | Serve, open, or export a verified completed report. |
structtrace gate | Evaluate the configured advisory, regression, or release gate. |
structtrace replay | Verify and recompute retained evidence without rerunning variants. |
structtrace runs | List, inspect, archive, and deliberately delete inactive runs. |
structtrace doctor | Check configuration and environment with explicit side-effect levels. |
structtrace demo | Run bundled invoice, support-ticket, or accepted-research fixtures. |
Project selection
structtrace --project-root ./my-project run
structtrace --project-root ./my-project report latest --openRun selectors
latest resolves only completed production runs. Bundled fixtures are isolated behind latest-demo, latest-research, and latest-any.
Machine-readable output
Commands that support structured output expose their exact options in --help. CI gate mode can emit annotations and a metrics table while retaining the stable process exit code.
Versioned reference
For every flag and configuration field, use the configuration reference and the installed binary's help. The website intentionally does not duplicate unstable flags.