@quality-sh/provenance-win32-x64-msvc
v0.4.0
Published
Platform engine for @quality-sh/provenance
Maintainers
Readme
Provenance
Never lose the why behind your decisions.
Provenance is a tool for building requirements traceability, from source to requirement to rule. A Rule is an atomic behavioural obligation that can exist before its implementation; #[rule("rule_id")] binds production code to it, and #[verifies("rule_id", method)] binds evidence.
Installation
Install and initialize Provenance in a TypeScript project:
npx --yes @quality-sh/create-provenanceThe initializer detects npm, pnpm, Yarn, Bun, Deno, or Nub. It installs
@quality-sh/provenance as an exact development dependency, creates the
default scope, validates the state, and ignores .provenance/cache/.
Install and initialize Provenance in an existing Rust project:
cargo install provenance-cli
cargo provenance initThe Cargo initializer finds the current workspace, adds provenance-sdk at the
CLI version, creates the default scope, validates the state, and ignores
.provenance/cache/. In a workspace with multiple packages, use cargo
provenance init --package <name>.
For a TypeScript project, run:
npx --yes @quality-sh/create-provenanceThe TypeScript initializer detects npm, pnpm, Yarn, Bun, Deno, or Nub.
To build the CLI from this source tree:
cargo build --release -p provenance-cli --features scannerThe binaries land at target/release/provenance and
target/release/cargo-provenance. Put them on your PATH.
Development builds and tests retain file and line information for backtraces.
For full variable inspection in a debugger, use
CARGO_PROFILE_DEV_DEBUG=2 cargo build or
CARGO_PROFILE_TEST_DEBUG=2 cargo test. See the
operation generation guide before a workspace build.
For parallel test execution, install cargo-nextest
and run cargo nextest run --workspace --all-features. Run
cargo test --workspace --all-features --doc for doctests. The repository
configuration serializes PDF onboarding and limits tests that invoke Cargo.
CI uses the ci profile with eight test slots. Ordinary cargo test
continues to work.
Quick start
# install the development dependency and set up the repository
npx --yes @quality-sh/create-provenance
# put something in the graph
npx provenance req_exports create --type requirement --scope default \
--statement "The system must complete each export in one minute."
# see where things stand
npx provenance primeEssential commands
| Command | What it does |
| --- | --- |
| provenance prime | Introduces Provenance domain concepts and agent actions |
| provenance check | Validate the state files |
| provenance materialize | Rebuild the SQLite query cache |
| provenance <requirement> get --view children | Show the records below a requirement |
| provenance <rule> trace | Walk a Rule back to its Requirement, any producing Resolution, and its Sources |
| provenance api proposals --scope default --query exclude_terminal=true | List proposals that do not have a terminal disposition |
| provenance review --repo . --repository-id local --scope default | Serve the review page for the working-copy graph on a local host |
| provenance check --bindings | Check bindings and report active Rules with no implementation or verification |
| provenance statement-checks create --statement "<statement>" --format json / provenance api authoring-changes --method post --input - / provenance api verification-runs | ASD-STE100 statement preflight, typed desired state, and callback evidence protocol |
| provenance api rules --query query=stale --query base=main | Report Rules with evidence paths that changed after main |
| provenance skills install | Install the bundled agent skills (provenance-shaping, provenance-fork-tournament, provenance-swarm-backtrace, provenance-grounded-writing) |
The repository uses the skills/<name>/SKILL.md layout, so the bundled skills can also
be installed through the skills.sh ecosystem with npx skills add quality-sh/provenance.
Each bundled skill has one tracked source in skills/. Crate-local copies are
package outputs. Before Cargo package or publish commands, run
node tools/skills/prepare.mjs. The shared generation command also prepares
these files. See bundled skill preparation.
Documentation
- Shaping, the refinement method and how agent sessions run it
- CLI, the full command surface
- State format and cache, how storage works
- TypeScript SDK POC, typed declarations, Node verification, and findings
Licensed under BUSL-1.1.
ASD-STE100 is owned by ASD and maintained by STEMG. Provenance implements its own checks against the standard and makes no affiliation, endorsement, certification, or compliance claim. See the notice section in LICENSE.

