Skip to the content.

Verahelm Decision Envelope

An authorization for one revision must not authorize another.

Verahelm verifies whether a signed authorization record is valid for the exact pull request or agent change under review.

Inspect a fictional blocked pull request · Inspect a fictional passing pull request · Install the verification Action

Five-minute quick start

Requires Git and Node.js 20 or later.

git clone --depth 1 https://github.com/Verahelm/verahelm-decision-envelope.git && cd verahelm-decision-envelope && node cli/verahelm.mjs demo

Expected fictional output:

{"status":"demo_complete","results":[{"fixture":"pass","status":"pass"},{"fixture":"blocked","status":"blocked"},{"fixture":"expired","status":"expired"},{"fixture":"tampered","status":"tampered"}]}

Successful verification proves that a supplied fictional envelope matches the published schema, signature, lifecycle, and expected bindings at verification time. It does not prove the truth or quality of underlying evidence, authorize production use, execute Verahelm’s private engine, or discover a later revocation without a sufficiently fresh signed status.

Trust can be configured as one pinned Ed25519 public key or a pinned offline multi-key bundle with issuer, key-identifier, and validity-window constraints.

Evaluate a pull-request gate

The bounded pilot starts in one private, non-production repository and measures review time, setup cost, binding failures, stale reuse, and willingness to pay. It uses the existing agent_change_gate profile; no additional endpoint or disclosure of repository content is required.

Request a non-production testing key after the fictional local demo succeeds. Eligible testing keys currently provide 21 lifetime units—up to seven base three-unit pull-request or agent-change gates. No card is required.

Verahelm Decision Envelope: signed, subject-bound, expiring change authorization

Test results, security findings, policy decisions, and review notes show what was checked. They do not by themselves record who authorized a particular change, the scope of that authorization, or when it expires.

Verahelm’s hosted API can issue a signed Decision Envelope for an exact subject version. The envelope records authority, scope, conditions, issuance, expiry, revocation, and supersession in a portable object. The first supported workflow is change gating for pull requests and agents; the API documents thirteen gate profiles under the same contract.

The public contract accepts structured summaries and digests. It defines no fields for repositories, source code, prompts, traces, files, datasets, or raw records. The fictional quick start runs locally without network access after the repository is cloned.

Tested digest-only example mappings are available for Promptfoo, OPA, SARIF, Sigstore/in-toto, and SLSA. They bind public artifacts to digests and coarse status references; they do not upload raw evidence or claim native verification by Verahelm.

Run without cloning

npm exec --yes --ignore-scripts --package=https://github.com/Verahelm/verahelm-decision-envelope/releases/download/v0.10.3/verahelm-decision-envelope-0.10.3.tgz -- verahelm-envelope demo

The version-pinned package is dependency-free and attached to an immutable, checksummed, attested GitHub release. Retrieval uses the network; verification does not. See the package security and verification guide.

Add the verifier to a pull request

Install the verification-only Action from GitHub Marketplace. For a required gate, copy the canonical base-controlled workflow into .github/workflows/ and review its trusted variables before enabling it. The canonical file is tested as executable workflow source so GitHub expressions cannot be altered by documentation rendering. It pins the verifier to Verahelm/verahelm-decision-envelope@63590721d2c518e42ced1edb34bde754cf126d0a.

The Action verifies a supplied envelope; it does not call the hosted API or issue a decision. Configure VERAHELM_PUBLIC_KEY_SHA256 as a repository Actions variable containing sha256: followed by the SHA-256 fingerprint of the trusted key file. Pull-request content must not control this value. Generate the value with node cli/verahelm.mjs fingerprint PUBLIC_KEY. Also configure the expected authority and environment as protected repository variables. The signed scope.change must match pull-request-<pull-request-number>. Use the complete base-controlled workflow in template/verahelm-change-gate.yml; it does not execute pull-request code.

For a gate that relies on current lifecycle status, supply a signed status file and status-max-age-seconds. Without a sufficiently fresh status, offline verification cannot discover a later server-side revocation or supersession. The Action matches expected subject, version, authority, environment, and change. The consuming workflow must still enforce every signed condition.

Local commands

node cli/verahelm.mjs demo
node cli/verahelm.mjs validate fixtures/pass.json
node cli/verahelm.mjs verify fixtures/pass.json --key fixtures/fixture-public-key.pem
node cli/verahelm.mjs explain fixtures/pass.json
node cli/verahelm.mjs fingerprint fixtures/fixture-public-key.pem

All five commands run without network or subprocess access. Command behavior and exit codes are documented in docs/CLI.md.

Result handling

A valid pass envelope exits zero. Blocked, expired, revoked, superseded, and tampered envelopes exit nonzero. An optional expected subject and version bind verification to the pull request under review. The public demonstration shows an intentionally blocked pull request and an intentionally passing pull request. Both use prebuilt fictional envelopes and a base-controlled workflow; neither result came from the private engine. The local explanation describes the same lifecycle transition.

Hosted API profiles

The hosted API groups pull-request gating, agent-change gating, tool admission, migration readiness, retesting, failure coverage, and related checks under one contract. Inputs are caller-supplied summaries. Verahelm does not represent that caller-supplied evidence as independently verified and does not issue certification, compliance approval, safety findings, or production authorization.

Role in the toolchain

Evaluation, observability, security, governance, policy, provenance, and repository tools produce evidence. Verahelm records how selected evidence is bound to a subject version, customer authority, scope, conditions, and lifecycle. The sourced comparison describes the boundary between these jobs.

Published components

This repository contains the public schemas, offline verifier, verification-only GitHub Action, fictional fixtures, and conformance tests. It does not contain Verahelm’s hosted decision engine or its private implementation.

Do not submit source code, prompts, outputs, logs, datasets, credentials, personal data, customer material, or third-party confidential information. See PRIVACY_BOUNDARY.md.

Verifier properties

Pricing

Plan Price Included units Limits
Developer $49/month 300/month; 30/day 5 requests/10 seconds; 30/minute; concurrency 2; 1 key; 12,288 bytes; 6 seconds
Professional $149/month 1,500/month; 150/day 13 requests/10 seconds; 90/minute; concurrency 5; 5 keys; 16,384 bytes; 8 seconds; metadata export

Base profile cost is 1, 2, or 3 units. Each additional started 4,096-byte request block adds one unit; boundary stress adds one unit per sample after the first. Units do not roll over, and there is no automatic overage. Email support is best effort with no response-time SLA. At the base request size, the plans cover up to 100 and 500 three-unit pull-request or agent-change gates per billing period, respectively, subject to daily and rate caps.

Documentation

The public distribution is Apache-2.0 licensed. NOTICE identifies the private-engine, confidential-material, and trademark boundary.