Files
OBLITERATUS/docs/RELEASE_PROCESS.md
T

10 KiB

Pull-request acceptance and release process

OBLITERATUS separates contributor feedback, maintainer acceptance, canonical integration, and release certification. A green pull-request check is necessary, but it is not by itself an acceptance or release decision.

The enforced workflows and machine-readable policies remain authoritative. This document explains how maintainers apply them.

Pull-request states

  1. Reviewable: the exact pull-request head is signed, conflict-free, and green in the contributor-facing checks. Relevant behavior has focused coverage and the description identifies tests not run, risk surfaces, and evidence limits.
  2. Accepted: a maintainer audits that immutable head SHA for correctness, research integrity, security, compatibility, documentation, and applicable policy/risk-map changes. New commits invalidate the audit and require the new head to be checked.
  3. Integrated: the accepted head is merged with the repository's configured merge-commit method. Squash and rebase merges are not used. The resulting canonical main commit must have a forge-verified signature, and its post-merge CI must pass before it can become a release candidate.
  4. Release-certified: an exact signed v* tag on a clean canonical commit has passed every required release gate and its emitted source snapshot and evidence have been independently verified.

Maintainers may add test depth or hardening in separately attributable signed commits before acceptance. Thresholds, assertions, required jobs, or risk mappings must never be weakened merely to merge a pull request.

Acceptance criteria

A pull request cannot be accepted while any of these conditions applies:

  • its reviewed head SHA differs from the current head;
  • a commit lacks a verifiable signature;
  • required checks are pending, failing, stale, or attached to another SHA;
  • relevant behavior has no meaningful test or contract coverage;
  • review threads, conflicts, unexplained generated files, unrelated changes, or unaddressed trust-boundary risks remain;
  • research or performance claims exceed the supplied reproducible evidence;
  • dependency, workflow, policy, documentation, or compatibility effects are not included in the same reviewable change.

The fast pull-request lane is deliberately narrower than the release suite. It establishes review readiness without shifting release-depth work to contributors.

Readiness rehearsal without a release

A cleanup or readiness review can stop before versioning, tagging, or publishing. The existing CI workflow supports workflow_dispatch on a branch and runs the release-depth checks and package job without requiring a version tag. This is readiness evidence for the recorded commit, not exact-tag release certification.

  1. Reconcile the issue and pull-request queues, verify the canonical merge signatures, and wait for post-merge CI to finish.
  2. Record the full candidate SHA and use a clean, separate checkout for validation. Preserve unrelated operator files and environments. Dispatch CI on the candidate's branch, verify the run's head SHA and attempt, and keep that branch fixed until the run finishes: another push or dispatch on the same ref can cancel the running CI workflow.
  3. Run the available local checks and the applicable Conditional tests software gates. Supply the same SHA as candidate_sha and verify the selected workflow ref resolves to it. Record unsupported or unavailable hardware gates as pending; a tiny-fixture pass on one GPU does not qualify a larger model or another host.
  4. Retain the original package-job source ZIP, checksums, SBOM and attestation bundles. Authenticate their repository and workflow identity as well as their digests, then smoke-test that exact ZIP in a fresh noneditable environment. Locally built wheels and source distributions may be checked as packaging diagnostics; they are not the published release artifact.
  5. Reconcile code and documentation, report every failed, skipped or deferred gate, and retain the commands, runtime identities and evidence locations. Stop here when the task is readiness only. No version change, signed tag, draft release, or publication is required.

Evidence from different commits or workflow attempts must remain distinguishable. A later code, dependency, policy or documentation change produces a different source snapshot; do not relabel an earlier package or its attestations as the new candidate. Preserve earlier results as historical evidence and validate the changed candidate before making a release claim.

flowchart LR
    M[Signed main commit] -->|freeze SHA| R[Readiness rehearsal]
    R -->|retain exact bytes and results| E[Candidate evidence]
    E -->|cleanup task complete| S[Stop without release]
    E -->|separate release decision| T[Version and signed tag]
    T -->|run exact-tag gates| C[Release certification]
    C -->|verify retained assets| P[Publication]

Release candidate preparation

When a release is authorized, after all accepted work is merged, maintainers:

  1. reconcile the hosted pull-request and issue queues;
  2. reconcile merged branches and confirm the validation checkout of main is clean and synchronized;
  3. verify the canonical merge signatures and post-merge CI results;
  4. run the exhaustive local or hosted readiness suite against the exact candidate;
  5. update the project version and create a new signed annotated version tag.

Tags are immutable audit records. A failed candidate is not moved, deleted, or reused. It remains unpublished, and the corrected candidate receives a new patch version and a new signed tag.

Test environment and partition evidence

Release-depth CPU tests run in disjoint core and Gloo partitions. Acceptance checks the collected inventory, exact candidate and comparison-base identities, complete partition coverage, JUnit outcomes and combined coverage before applying the unchanged coverage and duration policies. A successful partition is insufficient when the aggregate gate fails or required evidence is missing. Expected environment skips must stay visible in the retained results.

The core/Gloo partition and independent-collection environments are freshly owned and disposable. Their bootstrap installs locked dependencies without the project, verifies and preserves eligible wheel-supplied bytecode outside import roots, and compiles the dependency sources from a cache-free state. The retained receipt binds source and cache hashes, interpreter, uv, lock and helper identities. Unknown, duplicate, changed or foreign cache inputs fail preparation; they are not silently deleted to pass a check.

The project is then installed noneditably without compiling its source. The startup policy prevents ordinary imports, including -E and -I children, from writing project bytecode. Dependency receipts are verified after project installation. The partition runner checks checkout and installed-package identities and the effective startup policy before and after execution. A local validation recipe may additionally verify dependency receipts after its tests; retain that result separately instead of attributing it to the hosted partition runner. Do not install or synchronize packages between identity checks, reuse a receipt for another environment, or modify the tested checkout. This import policy is evidence hygiene, not a security sandbox.

The canonical implementation is in the CI workflow and the scripts/release_* helpers; preserve bootstrap diagnostics and failed attempts when investigating a problem.

Exact-tag release certification

Pushing a v* tag runs the exhaustive release workflow against the tagged commit:

  • Python 3.11 and 3.12 tests, import/CLI smoke checks, repository and branch coverage floors, critical-file floors, mature CPU-scope policy, and touched-module no-regression comparison;
  • deterministic order and hash-seed repeats plus the bounded selective mutation score gate. The Quality depth job has a 90-minute ceiling and requires a mutation score of at least 85%. A timed-out Quality depth job leaves release certification incomplete;
  • Windows checkpoint contracts;
  • lock, workflow, package, secret, vulnerability, license, and supply-chain policy;
  • creation of exactly one deterministic git archive source ZIP, a digest-bound CycloneDX SBOM, SHA256SUMS, SLSA provenance, and Sigstore bundles.

The package job creates the source ZIP once. Downstream validation and publication must reuse those exact bytes; rebuilding an equivalent archive is not acceptable. OBLITERATUS releases do not publish wheels, source distributions, executables, or compiled libraries.

This restriction describes OBLITERATUS's own release assets. The source ZIP includes one explicitly reviewed third-party dependency wheel: the Gradio Pillow security backport listed in vendor/gradio/manifest.json. Its upstream license/notice bytes, deterministic rebuild, local version, exact digest and immutable first-party dependency URL are retained for review. Verify that the embedded payload and manifest agree with the lock and the Gradio SBOM component; the outer ZIP checksum alone does not establish this binding. No standalone dependency asset or new release publication is implied by preparing the backport.

Conditional evidence and publication

Before publication, maintainers manually run the applicable hosted software gates against the exact tagged commit, including the pinned model/evaluation, disposable network-service, and operator-UI gates. Hardware or credential-bound gates run only when their trusted prerequisites are available. An unselected gate is not positive support evidence, and an approved waiver blocks the associated support claim.

Publication occurs only after:

  • the complete exact-tag workflow succeeds;
  • the source ZIP checksum, SBOM binding, archive contents, and repository attestations are independently verified;
  • applicable conditional evidence is successful and fresh;
  • a draft release contains only the tested source ZIP and its checksum, SBOM, and attestation evidence, with matching digests.

Publishing triggers the conditional workflow again. That release-event run must also finish successfully and is retained as the final release record.

See Supply-chain policy for artifact verification and Conditional test operations for selection, freshness, runner isolation, and waiver semantics.