Skip to content

tarnover/TrustVer

Repository files navigation

TrustVer

Provenance-aware versioning for AI-era software.

TrustVer combines EffVer effort semantics with an authorship tag and a signed Provenance Attestation Document (PAD) to answer: how much effort does this update require, who or what wrote it, and what verification was applied?

2.4.0+hrai

That's a TrustVer version. Effort level 2.4.0. Authorship: AI-generated, human-reviewed.

Full Specification

CLI Tool

The trustver CLI implements the spec's tooling requirements. Install from source:

cargo install --path trustver-cli

Version & Commit Operations

# Initialize a project
trustver init --name mylib

# Validate a version string
trustver validate "2.4.0+hrai"

# Validate a commit message
trustver check-commit "feat(auth): add OAuth2 PKCE flow [hrai]

Authorship: hrai
Model: claude-opus-4-6
Reviewer: jascha@tarnover.com"

# Bump version with auto-derived authorship from commit history
trustver bump meso

# Provenance audit for a release range
trustver audit v1.0.0..v2.0.0

# Install commit-msg git hook
trustver hook install

PAD Operations

# Generate a signing keypair
trustver key generate

# Generate a PAD from current project state
trustver pad generate --artifact dist/mylib-2.4.0.tar.gz --scope stable

# Sign the PAD
trustver pad sign mylib-2.4.0+hrai.pad.json \
  --key .trustver/keys/trustver-private.pem \
  --public-key .trustver/keys/trustver-public.pem \
  --signer jascha@tarnover.com

# Append an attestation
trustver pad attest mylib-2.4.0+hrai.pad.json \
  --type test-verified \
  --attester ci@github.com \
  --detail '{"suite":"cargo test","passed":84,"failed":0}' \
  --sign-key .trustver/keys/trustver-private.pem

# Validate PAD structure and verify signatures
trustver pad validate mylib-2.4.0+hrai.pad.json \
  --verify --public-key .trustver/keys/trustver-public.pem

Authorship Tags

Tag Meaning
h Human-authored
ai AI-generated (no human review)
hrai Human-reviewed AI
aih AI-assisted human
auto Autonomous agent
mix Mixed/indeterminate

Commit Convention

TrustVer extends Conventional Commits with an authorship tag:

feat(auth): add OAuth2 PKCE flow [hrai]

AI-generated implementation reviewed by human.

Authorship: hrai
Model: claude-opus-4-6
Reviewer: jascha@tarnover.com

License

Specification: CC-BY-SA 4.0 Tooling: MIT

Copyright 2026 Tarnover, LLC / ThirdKey AI

Comments, ideas, and PRs welcome.

Packages

 
 
 

Contributors

Languages