Release Readiness

  • Status: Living report against RFC-0010, as amended by RFC-0036 from RC2 on. It records evidence, not approval.

  • Owner: Release engineering and security.

  • Last updated: 2026-12-01

Summary

The engineering evidence for the alpha and beta stages is complete. RFC-0036 replaces the gates that needed money (an independent audit, a design-partner soak, an independent approver) with gates that need people: a public review period of at least 60 days, at least one external review, an external trial, an independent rebuild, and continuous fuzzing. 4.0.0 then ships with the assurance level community-reviewed, stated as not independently audited wherever users decide to install it. The independent audit remains open as the separate audited level.

Status

Meaning

Met

Evidence exists in the repository and runs in CI.

Partial

Some of the gate is evidenced; the rest is named.

Open

Work not yet done.

External

Needs a person or organization outside the project.

Staged sequence

Stage

Entry criteria

Status

Evidence

4.0.0a1

Canonical skeleton; root API and error drafts

Met

15-name root (tests/contract/test_root_api.py), typed error families

4.0.0a2

Normative envelope specification, parser, vectors

Met

docs/v4/spec/, vectors checked against an independent reader

4.0.0a3

Streaming and atomic paths; initial provider conformance

Met

Transactional sinks with failure injection; providers.conformance

4.0.0b1

Provider and policy contracts functional; migration dry run

Released 2026-11-30

Published to PyPI through Trusted Publishing with PEP 740 and build-provenance attestations. Contracts are functional; migrate_legacy and cryptosuite migrate dry-run and publish verified migrations of every v3 content format (RFC-0033), and inventory v3 key stores and import v3 keys under the policy (RFC-0034).

4.0.0b2

Supported provider candidates, cross-language vectors, rollback and fault tests

Released 2026-12-01

The core and all five provider distributions on PyPI, with build provenance and PEP 740 attestations. Four providers tested through their real SDKs; JavaScript implementation and 248-case conformance corpus; fault injection; failed migrations publish nothing and never touch the source. The five provider distributions are released with the core, at one version, each from its own protected PyPI environment. Live-service tests are not part of this stage; they remain a stable gate (Provider live-tier tests, below).

4.0.0rc1

API, CLI, JSON, and format frozen; review guide and call for review published

Partial

The core and the five provider distributions are at 4.0.0rc1; the frozen surface is tests/contract/snapshots/public-surface.txt, which tools/api_snapshot.py --check enforces; the review guide is published. Open: the tag, and the call for review in three public venues, which starts the review period.

4.0.0rc2

Critical and High findings so far fixed; continuous coverage-guided fuzzing running

Open

4.0.0rc3

Review period of 60 days ended; an external review and an external trial published; runbooks exercised

External

Stable release gates (RFC-0036)

Gate

Status

Evidence or gap

1. Public review period of at least 60 days from the RC1 announcement, call for review in three public venues

Open

Starts at RC1.

2. At least one external review, published with scope, commit, and findings

External

3. No unresolved Critical or High finding; accepted risks with owner, rationale, expiry, compensating control

Met

Every finding of both internal reviews (RFC-0031, and the blind review of RFC-0035 with 2 High and 10 Medium) is fixed with a regression test. Their eleven residual risks are in the risk register, each with an owner, a rationale, a compensating control, and a review date; tests/contract/test_risk_register.py checks that none is missing, and the release workflow refuses to publish while one has expired. Findings of the external review join it the same way.

4. Continuous coverage-guided fuzzing of every untrusted-input parser

Met

ClusterFuzzLite with atheris (fuzz/, .github/workflows/fuzzing.yml) fuzzes the envelope readers, both CBOR decoders, the COSE-HPKE decoders, the JSON documents, audit-chain verification, the HPKE, PEM, and v3 key readers, and the four v3 file readers, on every pull request that touches the code and nightly on main, with the corpus kept between runs. Property tests at 25 times the budget still run weekly.

5. Independent rebuild of the tagged release, digests published

External

Builds are byte-for-byte reproducible across Linux, Windows, and macOS in CI (tools/reproducible_build.py); nobody outside the project has rebuilt a release yet.

6. External trial with a real key service on a release candidate

External

7. CodeQL, OpenSSF Scorecard, pip-audit, and Bandit clean on the release commit

Partial

All four run in CI (codeql.yml, scorecard.yml, quality-gate.yml); CodeQL, pip-audit, and Bandit are clean. Scorecard’s vulnerability and fuzzing checks are resolved, and every pip install in CI is pinned by hash or installs a local package without dependencies (tools/update_locks.py). The single-maintainer review and branch protection alerts were dismissed on 2026-12-01 as accepted risks RR-12 and RR-13 in the risk register. Open: the OpenSSF Best Practices badge (alert 21).

8a. Cross-language vectors

Met

Python and JavaScript agree on every vector and all 248 corpus cases.

8b. Malformed corpora

Met

Exhaustive bit-flip and truncation tests.

8c. Provider conformance

Met

verify_provider passes through the real AWS, Google Cloud, Azure, and Vault SDKs. The providers ship as Tier 2 Preview until live-service tests exist.

8d. Installed-wheel matrix

Met

The full suite runs against an installed wheel on Linux, Windows, and macOS, Python 3.11 and 3.15; Linux also runs 3.12 to 3.14.

8e. Migration rollback

Met

A migration publishes only a verified envelope, atomically, and never modifies its source; every failure, including cancellation, leaves nothing behind (tests/integration/test_legacy_migration.py). Rollback after promotion is the caller’s backup, as RFC-0008 specifies.

8f. API and CLI snapshots

Met

tools/api_snapshot.py --check in the test suite.

8g. Redaction

Met

tests/unit/test_security_contracts.py, tests/unit/test_hardening_regressions.py

8h. Failure-atomic file tests

Met

Phase 4A failure-injection matrix on all three platforms.

8i. Full-SHA action pins; no mutable fetched executable

Met

Every workflow action is pinned to a commit SHA (RFC-0031 supply-chain review).

8j. Locked and audited build inputs

Met

Hashed locks for every CI install: requirements-dev.txt, requirements-release.txt, requirements-build.txt, requirements-docs.txt, fuzz/requirements.txt, .github/requirements-oldest.txt; pip-audit in the quality gate.

8k. Trusted publishing, attestations, SBOM, provenance

Met

.github/workflows/release.yml: Trusted Publishing, PEP 740 and build-provenance attestations, CycloneDX SBOM, for the core and every provider distribution.

8l. Protected release environments and tags

Met

The workflow requires a tagged commit of main and verifies artifact digests before attesting and publishing. Applied 2026-11-30: each PyPI trusted publisher is bound to its own protected environment (pypi for the core, pypi-<provider> for each provider distribution), each with a required reviewer, no administrator bypass, and v* tags only; only administrators can create, move, or delete tags; main accepts changes only through pull requests and refuses force pushes and deletion; releases are immutable.

8m. No labs, demo, or fake provider in artifacts

Met

tests/artifact/test_artifact_contract.py

8n. Documentation matches evidence

Met

tests/contract/test_trust_claims.py; documentation code runs in tests/contract/test_documentation.py.

8o. Incident runbooks exercised before RC3

Partial

Every runbook is exercised as an executable drill on every change (tests/integration/test_runbooks.py, exercise record); the first exercise corrected four steps. Open: a rehearsal with a real key service, its logs, and people, which the external trial can include.

9. Assurance level stated in README, SECURITY, installation guide, PyPI description, release notes

Partial

Every one of them says the code is not independently audited; the term community-reviewed is introduced at 4.0.0.

Open beyond 4.0.0

Goal

Status

Evidence or gap

Independent design and code audit (the audited level)

External

Audit scope and threat model ready; internal audit with mutation testing (RFC-0031) and blind review (RFC-0035) done. Funding applications prepared.

Provider live-tier tests (Tier 1 providers)

Open

Needs test accounts in each service.

Second maintainer: two-person review and approval

External

CODEOWNERS names one maintainer.

Next steps, in order

  1. Freeze the format and the public surface at RC1, publish the call for review, and start the review period.

  2. Find an external reviewer, a rebuilder, and a trial user during the review period; rehearse the runbooks with a real key service, which the trial can include (the drills already run on every change).

  3. Keep applying for audit funding; the audited level follows whenever an audit is funded.