Release Verification
The release verifier assembles evidence; it does not turn a skipped test or missing dependency into a pass.
Run from a clean checkout:
./scripts/ci-all
./scripts/demo --assert
./scripts/release-poc --verify
Before announcement, run the core artifact conformance checks against the archive, image, and signed first-party driver distribution from the same clean revision. Framework integration tests are owned by their adapter repositories or an external playground and consume the core behavior contract. Their evidence completes the five-track rehearsal; the main RiffDB build does not import or test those adapter packages. Anonymous asset downloads and image pulls remain a separate gate after publication.
Before changing any release-significant identity, classify it and update the
machine-readable topology described in Versioning and
Retirement. Release review runs
./scripts/check-version-topology; it rejects source-identity drift, incomplete
reader/writer or lifecycle metadata, and disagreement with the durable-format
manifest. A retirement also requires the prior-notice, frozen-fixture,
typed-refusal, operator-action, and permanent-reservation evidence in that
policy. The current baseline retires no decoder.
scripts/demo --assert verifies the candidate requirement map and writes a
revision-specific demo_verified report to target/wp200/demo-report.json
only after its live and process-level suites pass. POC-010 remains
requires_release_verification in that intermediate report. The demo consumes
the performance comparison report with the exact
supported_application_mutation_surface qualifier and rejects any attempt to
mark the unsafe variants benchmark eligible.
The same evidence check pins the checked crash-recovery report hash, command list, case
order, coverage counts, and production-gap inventory. Any unresolved
production-gap row rejects POC-009; a partial executed-case report is never
treated as complete crash coverage.
scripts/release-poc --verify:
- rejects a dirty checkout or missing repository ownership or license notice;
- reruns
./scripts/demo --assertto replace all ignored target evidence at the exact clean revision, then runs./scripts/ci-alland validates checked evidence, systemd units, closed-stdin/SIGTERM behavior, authenticated MCP bridge framing, generated artifacts, and dependency policy; - builds exactly
riffdbd,riffdb,riffdb-driverd, andriffdb-mcpwith the Git revision embedded in two independent Cargo target directories and compares every binary byte-for-byte, then bootstraps the release server and verifies its reported semantic version, Git revision, Rust version, feature set, storage format, contract IR version, and MCP protocol baseline; - produces deterministic CycloneDX 1.5 SBOMs and dependency trees from the product, nested budget-comparison, and isolated Fjall-comparison lockfiles;
- assembles documentation, the installed-binary demo, the tracked budget
comparison sources, service units, release notes, known limitations, and
the final
locally_verifiedrequirement report with onlyPOC-010promoted from the demo report; - installs the staged bundle into a private root, compares every required asset and mode, checks the extracted layout, and runs the installed demo;
- writes and verifies SHA-256 checksums; and
- creates the release tarball twice, compares it byte-for-byte, and only then
atomically publishes the private staging directory as
target/wp200/release.
No locally_verified report is published under target/wp200/release/ after a
failed run. The private staging directory is removed on normal failure. Outputs
are local artifacts until a maintainer signs the release verification
requirements. The source and bundle are offered under MIT OR Apache-2.0 and
include the canonical ownership notice and both license texts.
Copyright © 2026 Kevin O’Shea and O’Shea & Sons, LLC.
The systemd check combines systemd-analyze verify, exact hardening-directive
checks, direct daemon lifecycle execution, and the bridge’s newline-delimited
socket framing. An unprivileged release job does not launch the units in the
host manager; installation verification on the target host remains required
for manager-enforced sandboxing and Unix-socket ownership.
The CycloneDX files conservatively inventory each locked resolved workspace. The adjacent dependency text files narrow each normal/build graph. The budget comparison source in the binary bundle retains repository-relative development dependencies; run it from the matching full source revision rather than treating it as a standalone installed product. The Fjall workspace remains an engine-review harness and is not linked into or shipped as a product binary.
Human Sign-Off
The final review must record:
- source revision and clean-tree proof;
- the three acceptance command results;
- the release gate result report;
- benchmark hardware/methodology and raw artifacts;
- dependency, advisory, license, and SBOM review;
- backup/restore rewind acknowledgment;
- security posture and known limitations; and
- one decision: proceed with the release, revise and repeat a gate, or stop.
Full Application Release Gate
The final installed gate is intentionally a coordinator, not another semantic implementation:
./scripts/deployable-alpha-acceptance \
--all-domains --all-languages --remote
The passing receipt at
release/evidence/deployable-application-alpha-v1.json binds the exact Git
revision and command inventory plus SHA-256 references to the durable-format,
comparator performance, bound 72-hour endurance, six-run agent campaign, and every
adapter conformance/export/disaster-recovery artifact used by the run. A
generated artifact that is absent, empty, oversized, or a symlink prevents the
receipt from being published even when every phase exited successfully.
It preflights the entire closed phase inventory before running anything, then executes application-binding and durable-format checks, retained performance verification, Compose and Kubernetes deployment checks, four-language driver and adapter conformance, bulk/query/workflow/row-policy behavior, symbolic export/reimport, destructive recovery, retained 72-hour endurance evidence, installed bootstrap, and the sealed independent-agent evaluation. Missing component scripts or evidence fail before an expensive partial gate.
Each phase result stores only its symbolic name, exit status, elapsed time,
and a SHA-256 of the reviewed argument array; the outer passing receipt also
stores the exact evidence references described above. A failed run remains under
target/deployable-alpha-gate/; only a complete pass publishes
release/evidence/deployable-application-alpha-v1.json. The coordinator cannot
waive a phase, shorten endurance, substitute a diagnostic benchmark, or print
command arguments into the receipt.
The retained comparator corpus is verified separately with:
./scripts/check-alpha-performance-evidence --verify
That verifier checks both content hashes and the semantic 90-second, three-repetition, idle-host, safe-app durability, stability, correctness, and concurrency matrix. It does not rerun the benchmark during routine release verification.
Signed Tag Release Automation and Consumer Verification
Tagging a release revision (v<major>.<minor>.<patch>) triggers
.github/workflows/release.yml. Before building or publishing any artifact, the
version-gate job requires a clean checkout and runs:
./scripts/check-version-topology --release-tag v0.2.5
./scripts/check-durable-format-manifest
./scripts/check-driver-distribution
./scripts/check-driver-conformance-manifests
./scripts/check-generated
A tag whose semantic version, transition class (VER-004), topology record
(VER-001), or durable-format manifest (AFC-001) disagrees with the source
tree fails closed before any binary bundle, container image, or driver package
is built or published.
After the version gate passes, the release workflow:
- executes
./scripts/release-poc --verifyon the clean revision; - builds and verifies the
x86_64andaarch64four-ecosystem driver distributions (Rust,Go,TypeScript, andPython), embedding each language’s exactDRV-014conformance-manifest-v1.jsonin the published package archive as well as underconformance/<language>-v1.json; - builds the container image from the tracked
release/container/Dockerfileusing the verified release binaries, runs./scripts/check-container-startup, and pushes the digest-pinned image (:v<version>,:<version>, and:latestwhen the tag is the highest SemVer release tag) toghcr.io; - runs
./scripts/publish-release-artifacts assembleand./scripts/publish-release-artifacts verifyto bind the release bundle, packaged Helm chart (riffdb-<version>.tgz), consumer verification receipt (consumer-verification-v1.json), CycloneDX SBOM (sbom.cdx.json), durable-format manifest (durable-format-manifest-v1.json), version topology (version-topology-v1.json), container image digest, and fourDRV-014conformance manifests intorelease-provenance-v1.jsonandSHA256SUMS, signed withssh-keygen -Y signunder namespaceriffdb-release-v1and attested with SLSA build provenance; and - runs
./scripts/publish-release-artifacts publish-registriesto verify cross-architecture package determinism and publish the release to all six target registries:- GitHub Releases: immutable binary bundle, driver distribution bundles,
Helm chart archive, consumer verification receipt, SBOM, provenance,
SHA256SUMS+.sig, allowed signers, Go proxy assets, andDRV-014conformance manifests; - GHCR: container image tags and OCI Helm chart
(
oci://ghcr.io/riffdb/riffdb/charts); - npm:
@riffdb/cli-linux-x64,@riffdb/cli-linux-arm64,@riffdb/cli, and@riffdb/client(authenticated viaNPM_TOKENor GitHub Actions OIDC Trusted Publishing with--provenance); - PyPI:
riffdb-application(x86_64andaarch64abi3wheels plus source distribution),riffdb, andriffdb-cli(authenticated viaPYPI_TOKENor GitHub Actions OIDC Trusted Publishing); - crates.io: the topological Rust SDK runtime closure (
riffdb-types,riffdb-errors,riffdb-config,riffdb-contract-ir,riffdb-proto,riffdb-client-rust, andriffdb-application); and - Go: annotated submodule tag
clients/go/runtime/v<version>plus Go module proxy assets (v<version>.{info,mod,zip}) forriffdb.dev/application.
- GitHub Releases: immutable binary bundle, driver distribution bundles,
Helm chart archive, consumer verification receipt, SBOM, provenance,
Version bumps across all workspace, Helm, distribution, Python, TypeScript, and editor manifests are synchronized and checked with:
./scripts/bump-version --check
./scripts/bump-version --to 0.2.5 --sync
The public documentation site (docs.riffdb.com, built by
.github/workflows/handbook.yml) runs verification builds on main, pull
requests, and weekly schedules, and deploys GitHub Pages on main, manual
workflow_dispatch, and when a release tag (v<major>.<minor>.<patch>)
matching the highest SemVer tag is pushed.
A consumer verifies a downloaded release publication using only an
out-of-band trusted riffdb-release-allowed-signers file and standard
operating-system tools before extracting or executing any binary:
ssh-keygen -Y verify \
-f /protected/riffdb-release-allowed-signers \
-I riffdb-release \
-n riffdb-release-v1 \
-s SHA256SUMS.sig < SHA256SUMS
sha256sum --strict --check SHA256SUMS
Once SHA256SUMS is verified, release-provenance-v1.json pins the exact Git
revision, bundle archive digest, CycloneDX SBOM digest, durable-format manifest
digest (alpha_epoch, writer, record_registry_digest, and
compatibility_fixture_digest), container image @sha256:... digest, and the
four DRV-014 driver conformance manifest digests.