Skip to content

Release Checklist and Versioning

Joe Curlee (w4ffl35) edited this page Feb 19, 2026 · 8 revisions

Release Checklist and Versioning

This page defines Curlee’s release process and tag/versioning policy.

It exists to make releases repeatable and confidence-building.


1) What “out of MVP” means

The first non-MVP release is about stability + product shape, not a large feature expansion.

Curlee is considered “out of MVP” when:

  • The supported fragment is clearly defined and treated as stable:
  • The CLI surface is stable enough for automation:
    • curlee check, curlee run, --help, exit codes
    • curlee --version is stable and script-friendly
  • Execution is deterministic and resource-bounded (fuel): see Running Programs.
  • Capability/interop boundaries are explicit and tested (see Stdlib and Capabilities and Running Programs).
  • CI runs an end-to-end confidence loop (smoke harness) on PRs.

2) Versioning and tag naming

Curlee uses git tags for releases.

MVP tags

During MVP, release tags may use an explicit suffix:

  • vMAJOR.MINOR.PATCH-mvp

This makes it obvious that the release is still in the MVP stabilization phase.

Non-MVP tags

The first non-MVP release tag must not include -mvp:

  • vMAJOR.MINOR.PATCH

2.1 SemVer compatibility contract (v1+)

Starting at v1.0.0, Curlee follows strict compatibility boundaries for production upgrades.

Guaranteed compatible across minor/patch releases in the same major:

Not guaranteed stable (can change in minors/patches):

  • Exact diagnostic wording/formatting (span precision remains required)
  • Internal IR/bytecode implementation details not declared as bundle format contract
  • Features/pages explicitly marked (Future) or experimental

When to bump

Curlee is currently 0.x (pre-1.0). We still aim to follow a semver-like discipline:

  • Patch (0.x.PATCH): bugfixes and internal changes that do not break the supported fragment.
  • Minor (0.MINOR.x): new features and improvements; may include breaking changes while pre-1.0.
  • Major (MAJOR.x.y): reserved for the eventual 1.0+ era.

Any change that breaks the supported fragment must be documented as a breaking change (see Stability and Supported Fragment).

For v1+ specifically:

  • Patch (1.x.PATCH): bug fixes only; no breaking user-visible compatibility changes.
  • Minor (1.MINOR.x): additive features only; backward compatibility is preserved.
  • Major (MAJOR.x.y): breaking changes are allowed with migration guidance.

2.2 Deprecation and migration policy (v1+)

When deprecating a stable user-facing behavior (syntax/CLI/bundle field):

  1. Mark it deprecated in release notes and relevant wiki pages.
  2. Provide a migration path and example.
  3. Keep it available for at least two minor releases.
  4. Do not remove before the next major version.

Every release that contains deprecations must include a Migration section in release notes.

Current exercised cycle

Curlee currently tracks an exercised migration cycle for dependency workflow UX:

  • Deprecated behavior (soft deprecation): using curlee deps lock as the update path for existing lockfiles.
  • Replacement behavior: curlee deps update for lockfile refresh.
  • Policy window: introduced in 0.3.0, not removable before 0.5.0.

Machine-readable record: .github/migration-exercises.json.


3) Minimal release checklist

3.1 Preflight

3.2 Local verification (recommended commands)

From a clean checkout:

cmake --preset linux-debug
cmake --build --preset linux-debug
ctest --preset linux-debug --output-on-failure

# End-to-end smoke (runs a fast CLI workflow + key goldens)
bash scripts/smoke.sh --both

# Coverage quality gate (line/function/branch)
bash scripts/coverage.sh --fail-under 100 --fail-under-branch 100 --fail-under-function 100

3.3 Tag workflow gate (enforced)

Tag-triggered releases (v*) are blocked unless the release preflight passes in GitHub Actions.

The preflight validates:

  • ctest --preset linux-debug --output-on-failure
  • bash scripts/smoke.sh --both
  • bash scripts/coverage.sh --fail-under 100 --fail-under-branch 100 --fail-under-function 100

If any preflight step fails, artifact packaging/publication does not run.

3.4 Cut the release

  • Merge develop → master via PR.
  • From master, create and push the release tag:
git checkout master
git pull --ff-only

git tag -a vMAJOR.MINOR.PATCH -m "Curlee vMAJOR.MINOR.PATCH"
git push origin vMAJOR.MINOR.PATCH
  • Create the GitHub release notes.

4) Release notes template

Release notes should include:

  • Highlights (supported fragment / key fixes)
  • Breaking changes (if any)
  • Deprecations (if any)
  • Migration guidance (required when deprecations or breaks exist)
  • Verification commands (copy/paste):
    • cmake --preset linux-debug
    • cmake --build --preset linux-debug
    • ctest --preset linux-debug --output-on-failure
    • bash scripts/smoke.sh --both
    • bash scripts/coverage.sh --fail-under 100 --fail-under-branch 100 --fail-under-function 100
  • Issues included (links)

5) Artifacts (optional)

Curlee can be released as:

  • Source-only (always supported)
  • With Linux artifacts (optional): binaries built from the linux-release preset

If publishing artifacts, include checksums in the release notes.

5.1 Release integrity model (v1)

Curlee v1 release integrity uses two machine-verifiable signals:

  • SBOM (SPDX JSON) published as a release asset (SBOM.spdx.json).
  • Signed provenance attestation via GitHub Artifact Attestations for published release artifacts.

Attestation subjects include the released binary, tarball, checksums file, and SBOM.

5.2 Consumer verification commands

After downloading release assets:

# Verify checksums
sha256sum --check SHA256SUMS.txt

# Optional: inspect SBOM format quickly
python3 - <<'PY'
import json
doc = json.load(open("SBOM.spdx.json", encoding="utf-8"))
print(doc.get("spdxVersion"), doc.get("name"))
PY

# Verify signed provenance attestations (GitHub CLI)
gh attestation verify curlee --repo w4ffl35/curlee
gh attestation verify curlee-vMAJOR.MINOR.PATCH-linux-$(uname -m).tar.gz --repo w4ffl35/curlee

If attestation verification fails, treat the artifact as untrusted.


6) Production support matrix

This section defines the v1 production target support matrix (what Curlee intends to support as a production baseline once exit-alpha criteria are met).

6.1 Platforms

  • Release matrix target platforms:
    • Linux x86_64
    • macOS (Apple Silicon and/or runner-native architecture)
    • Windows x86_64

Stable CLI operations (curlee --help smoke at minimum) are validated per release-matrix job before publication.

6.2 Toolchain baseline

  • CMake: 3.23+
  • C++ compiler: GCC (Ubuntu CI baseline)
  • Build system: Ninja
  • Solver: Z3 via libz3-dev (or vendored build where configured)

6.3 Release artifact guarantees

For every tagged release (v*):

  • Source tag is published.
  • Linux release binary artifact is built from linux-release preset.
  • macOS release binary artifact is built and published.
  • Windows release binary artifact is built and published.
  • Checksums are published (SHA256SUMS.txt).
  • Release preflight gate passes before artifact publication:
    • ctest --preset linux-debug --output-on-failure
    • bash scripts/smoke.sh --both
    • bash scripts/coverage.sh --fail-under 100 --fail-under-branch 100 --fail-under-function 100

7) Exit-alpha criteria

Curlee can move from “production-readiness stabilization” to a non-alpha production declaration only when all items below are true:

  1. CI quality gates are enforced and green
  • Build/test/smoke/coverage gates pass on default branch.
  • Workflow contract checks for release and quality gates are present and passing.
  1. Release process is reproducible
  • Tag pipeline blocks artifact publication on preflight failure.
  • Release notes include verification commands and checksums.
  1. Docs and implementation are aligned
  • README and wiki support/stability claims match tested behavior.
  • Drift-sensitive anchors are guarded by lightweight tests.
  1. Runtime safety model is explicit
  • Deterministic VM execution + fuel bounds + capability gating are documented and tested.
  1. Open production-blocker issues are resolved
  • No unresolved P1 readiness blockers remain for declared production scope.

8) RC validation campaign matrix (v1.0.0-rc1)

The GA sign-off run for v1.0.0-rc1 uses this deterministic matrix.

Axis Target Duration / Volume Pass criteria
Platform Linux x86_64 (linux-debug) full run All matrix rows pass on same commit
Fuzz regression corpus lexer + parser + verification + VM paths full corpus replay No crashes; deterministic completion
Soak success loop run_success.curlee (plain + JSON profile) 300 iterations Stable exit code/output shape across all iterations
Soak failure loop run_infinite_loop.curlee with low fuel (plain + JSON profile) 150 iterations Stable non-zero exit with out of fuel triage marker
Pilot application examples/pilot_budget_gate.curlee one end-to-end chain check, run, bundle build, bundle verify, bundle run all pass

Reference automation: scripts/rc_validation.sh.

Current runbook output: RC Validation Report v1.0.0 rc1.

8.1 Failure triage criteria

Treat the campaign as failed (GA no-go) if any of these occur:

  • Non-deterministic exit codes across repeated identical runs.
  • Parser/verifier/VM crash, hang, or unbounded execution outside configured fuel.
  • Missing or malformed structured profile output when --profile-format=json is requested.
  • Pilot end-to-end chain failing at any step (check/run/bundle build/verify/run).

Any failed row must produce a linked follow-up Issue before GA sign-off.

8.2 GA go/no-go checklist update

Before declaring GA, record an explicit outcome for each row:

  • Matrix executed on release-candidate commit.
  • Fuzz regression replay passed (lexer/parser/verification/VM).
  • Deterministic soak loops passed at target iteration counts.
  • Pilot application passed full end-to-end chain.
  • Any defects discovered are filed and linked from release notes/issue thread.

Clone this wiki locally