Compatibility promise
Compatibility promise
Section titled “Compatibility promise”This page records the compatibility guarantees around Provenance Receipt
v1 as they are stated in the specification and its changelog, with links
to the governing documents. Every change to the receipt format is
recorded in the spec first: the
spec directory
in the raucle repository is where conformance is defined and argued.
Frozen as of the spec version
Section titled “Frozen as of the spec version”Provenance Receipt v1 is frozen as of the spec version. Per the spec process, a spec at a given version is immutable except for non-breaking clarifications, and breaking changes are issued as the next major version (v2, v3, …) and should include a migration path from the previous version.
The v1 changelog is the governing record of what has changed. Every recorded entry since first publication is either clarifications only, with no wire-format change to receipts, or the addition of a companion profile or extension to the v1 format. All of them keep the same property: receipts signed before the change still verify, byte-for-byte, with an up-to-date implementation.
The frozen surfaces within v1 include:
- the canonical JSON rules and the JWS envelope (Ed25519 signatures,
typprovenance-receipt/v1, the mandatorycritentry); - the
sha256:content addressing of receipts (see below); - the published test vectors, which an implementation MUST reproduce byte-for-byte. Vectors live in the repository; pin a release tag for a stable snapshot.
Receipt IDs are content-addressed and stable
Section titled “Receipt IDs are content-addressed and stable”A receipt’s own identifier is content-addressed: the receipt hash is
"sha256:" + lowercase_hex(sha256(ASCII(compact_jws_string))), that is,
the SHA-256 of the receipt’s full compact-JWS wire form (spec §7). It is
the value descendant receipts cite in their parents field, so a
receipt chain is a hash-linked DAG over the signed bytes themselves.
Because the identifier is a function of the bytes, it is stable. A receipt persisted today keeps its ID and MUST still verify years later using only the published spec and the issuer’s public key. The same content addressing is the tamper check: any modification to a receipt’s payload after signing invalidates its signature or its hash.
Cross-language stability is checked mechanically rather than trusted: five interoperable reference implementations (Python, TypeScript, Go, Rust, C#) are pinned to a shared test vector and cross-verified to produce byte-identical receipt IDs, so canonicalisation drift is caught by the conformance suite instead of hiding inside an implementation.
What is additive
Section titled “What is additive”Each recorded addition to the v1 format rides as an OPTIONAL block or a companion profile: receipts that do not use it are byte-identical to v1, and the old test vectors stay published. The additions recorded so far:
- PQ1 hybrid post-quantum signatures: receipts signed by both Ed25519 and ML-DSA-65 (FIPS 204), valid only when both signatures verify, with downgrade-stripping rejected by design. Additive: all v1 receipts verify unchanged.
- Delegated-authority binding
(Receipts v1.1): an OPTIONAL
x_gate.authorizationblock binding the presented capability id, issuer, key id and nullable parent id, with a SHA-256chain_digestover its canonical form. Absent fields produce byte-identical receipts to v1, so every existing verifier and conformance vector is unaffected. - Conformance re-verification layer: a companion design document letting a third-party verifier re-check committed call arguments without the operator disclosing them (field-level commitments with selective disclosure). No normative wire-format changes.
- The v1.2 extension set:
- Task-intent binding: an OPTIONAL intent block; tokens without an intent are byte-identical to v1.1.
- Credential-lease extension: an
OPTIONAL
x_leaseblock recording that a gate-minted lease granted, redeemed or revoked a vault reference by hash. Receipts without the extension are unaffected. - Bilateral outcomes: a signed outcome block read by both the caller and the target. Additive by construction: receipts without the block are untouched.
- Code authorship: signed session-stop receipts binding a working session’s file hashes and tool runs. The format, the offline verifier and the test vectors are public.
- Harness findings: signed receipts for security-harness findings that cite the gate receipt covering the tested request, so the claim is replay-verifiable offline.
Deprecations and change governance
Section titled “Deprecations and change governance”- The spec changelog governs. Every change to a spec document goes
through the same pull-request flow as code, carries the
speclabel, and substantive changes take a 14-day public comment period before merge. - Within the v1 line, changes are additive-only: clarifications and OPTIONAL blocks, recorded in the changelog, with the byte-identical guarantee for receipts that do not adopt them. An existing field’s meaning is immutable within v1; anything that changes it needs a new spec version.
- Breaking changes are issued as the next major version and should include a migration path from the previous version, so a verifier can target an old version exactly while a deployment migrates.
Where to check
Section titled “Where to check”- Provenance Receipt v1 spec, the format itself.
- Conformance, the machine-checkable record of which published vector suites pass a given build.
- Reference implementations, the five cross-verified ports and their vectors.
- The spec process and changelog in the repository.