Documentation

Install StructTrace

Use a tagged archive once the first public alpha is published. Until then, the honest supported path is a locked source installation.

Install from source

Install stable Rust 1.87 or newer, then run:

git clone https://github.com/Vaibhav701161/structtrace.git
cd structtrace
cargo install --path crates/structtrace-cli --locked
structtrace --version
structtrace doctor

Verify the local product

structtrace demo invoice --open

The command materializes the checked-in 12-case invoice fixture, runs the real recorded-output engine, and opens its capability-protected report. The gate should report insufficient evidence because the fixture is intentionally below its 100-case threshold.

Open the browser workspace

structtrace open

If the browser cannot be opened, StructTrace keeps serving and prints the local capability URL. For scripted smoke checks use:

structtrace open --no-browser

Published archive verification

Once a release exists, compare the archive against its sibling SHA-256 file and verify its GitHub provenance attestation.

sha256sum -c <archive>.sha256
gh attestation verify <archive> --repo Vaibhav701161/structtrace