2026-11-27 16:23 UTC

Provenance links requirements, code rules and verification evidence

state: expiredheat: lowuncertainty: mediumrelevance: mediumsoftware-specifications code-provenancequality-sh

What is this?

Provenance is a requirements-traceability tool from the GitHub project quality-sh, introduced by its builder in a Show HN post on November 3, 2026. The project describes a graph linking sources and requirements to behavioral rules, code implementations, and verification evidence. Its repository documents TypeScript and Rust setup, agent-oriented workflows, and a coverage scan that reports missing implementation or verification links. The tool is presented as early-stage; the available evidence is the developer’s post and project documentation, not independent evaluation or adoption data. It is distinct from software-supply-chain provenance tools, despite sharing the term “provenance.” The repository lists a BUSL-1.1 license.

Why it matters

This is a practical attempt to make software requirements and behavioral rules traceable through implementation and tests, including in agent-assisted development. If the links stay useful as code changes, teams could more readily see which intended behaviors are implemented, verified, or uncovered—and preserve the rationale behind changes. That is a concrete workflow idea, not evidence yet of broad impact: the project says it is early-stage, and no independent usage or effectiveness evidence is supplied.

Current assessment

New: Provenance’s builder announced the project on Show HN on November 3, 2026; the linked GitHub repository provides installation instructions for TypeScript and Rust. The documented model connects requirements, atomic behavioral rules, code annotations, and verification evidence. The repository also describes agent-supported shaping and review, ticket creation from rules, and coverage and staleness checks. These are project-described capabilities; the supplied sources do not independently establish their reliability, adoption, or results. The potential value is a more continuous link between what software is meant to do and the code and tests that support it, which could help developers and coding agents maintain specifications as projects evolve. Uncertainties include how well this works in real repositories and teams, how burdensome the annotations and upkeep are, and how the BUSL-1.1 license affects prospective users. Search results mainly concern the separate, established meaning of software supply-chain provenance and do not corroborate this project’s claims.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

11-03 04:49⭐ origin directly observedShow HN: Provenance – A Spec That Evolves with Your Code
xScrubghetti on hacker news
—
11-03 04:49amplified on hacker news 👑hn.story.50348211
xScrubghetti
peak 1 · 0 comments · 104% of case engagement
11-03 05:21our radar first saw it · +0.5hdiscovery anchor: hn.story.50348211—

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐Show HN: Provenance – A Spec That Evolves with Your Code
Retrieved article excerpt

Open article · Retrieved 2026-11-03T05:22:39.475533+00:00

# 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.

[Demo of Provenance: project documents become a graph of Requirements and Rules, the agent asks questions, the person approves each Rule in the review pane, the Rules become tickets, rule and verifies annotations link the code to the Rules, and the coverage scan reports what is implemented, what is verified, and the gaps](https://raw.githubusercontent.com/quality-sh/provenance/main/docs/media/demo.mp4)

### Installation

Install and initialize Provenance in a TypeScript project:

```
npx --yes @quality-sh/create-provenance
```

The 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 init
```

The 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-provenance
```

The 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 scanner
```

The 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](https://github.com/quality-sh/provenance/blob/main/tools/operation-codegen/README.md) before a workspace build.

For parallel test execution, install [cargo-nextest](https://nexte.st/docs/installation/)
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 prime
```

### Essential 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 graph <requirement>` | Show the neighbourhood of a requirement |
| `provenance graph-reference issue|show|verify|exact-export` | Hand off an immutable pinned graph |
| `provenance traceability <rule>` | Walk a Rule back to its Requirement and any producing Resolution |
| `provenance api proposals --scope default --query exclude_terminal=true` | List proposals that do not have a terminal disposition |
| `provenance review` | Serve the review page for the working-copy graph on a local host |
| `provenance coverage scan --path . --validate-rules` | Check bindings and report active Rules with no implementation or verification |
| `provenance check --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 <owner/repo>`.

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](https://github.com/quality-sh/provenance/blob/main/tools/skills/README.md).

### Documentation

- [Shaping](https://github.com/quality-sh/provenance/blob/main/docs/shaping.md), the refinement method and how agent sessions run it
- [CLI](https://github.com/quality-sh/provenance/blob/main/docs/cli.md), the full command surface
- [State format](https://github.com/quality-sh/provenance/blob/main/docs/state-format.md) and [cache](https://github.com/quality-sh/provenance/blob/main/docs/cache.md), how storage works
- [TypeScript SDK POC](https://github.com/quality-sh/provenance/blob/main/docs/typescript-sdk-poc.md), 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](https://github.com/quality-sh/provenance/blob/main/LICENSE).
xScrubghetti10

Interpretation history

Decision trace