Repository navigation
Release Checklist and Versioning
This page defines Curlee’s release process and tag/versioning policy.
It exists to make releases repeatable and confidence-building.
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:
- Stability and Supported Fragment (syntax + runnable subset + stability promises)
- Verification Scope (decidable logic fragment)
- The CLI surface is stable enough for automation:
-
curlee check,curlee run,--help, exit codes -
curlee --versionis 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.
Curlee uses git tags for releases.
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.
The first non-MVP release tag must not include -mvp:
vMAJOR.MINOR.PATCH
Starting at v1.0.0, Curlee follows strict compatibility boundaries for production upgrades.
Guaranteed compatible across minor/patch releases in the same major:
- Supported language surface defined in Stability and Supported Fragment and Verification Scope
- CLI command names/required positional arguments/exit-code semantics for stable commands
- Bundle manifest format compatibility contract in Bundles
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
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.
When deprecating a stable user-facing behavior (syntax/CLI/bundle field):
- Mark it deprecated in release notes and relevant wiki pages.
- Provide a migration path and example.
- Keep it available for at least two minor releases.
- Do not remove before the next major version.
Every release that contains deprecations must include a Migration section in release notes.
Curlee currently tracks an exercised migration cycle for dependency workflow UX:
- Deprecated behavior (soft deprecation): using
curlee deps lockas the update path for existing lockfiles. - Replacement behavior:
curlee deps updatefor lockfile refresh. - Policy window: introduced in
0.3.0, not removable before0.5.0.
Machine-readable record: .github/migration-exercises.json.
- Ensure
developis green and ready to merge. - Ensure wiki pages are in sync with behavior:
- Stability and Supported Fragment
- Verification Scope
- Running Programs
- Bundles (if bundle behavior changed)
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 100Tag-triggered releases (v*) are blocked unless the release preflight passes in GitHub Actions.
The preflight validates:
ctest --preset linux-debug --output-on-failurebash scripts/smoke.sh --bothbash 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.
- Merge
develop→mastervia 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.
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-debugcmake --build --preset linux-debugctest --preset linux-debug --output-on-failurebash scripts/smoke.sh --bothbash scripts/coverage.sh --fail-under 100 --fail-under-branch 100 --fail-under-function 100
- Issues included (links)
Curlee can be released as:
- Source-only (always supported)
-
With Linux artifacts (optional): binaries built from the
linux-releasepreset
If publishing artifacts, include checksums in the release notes.
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.
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/curleeIf attestation verification fails, treat the artifact as untrusted.
This section defines the v1 production target support matrix (what Curlee intends to support as a production baseline once exit-alpha criteria are met).
- 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.
- CMake: 3.23+
- C++ compiler: GCC (Ubuntu CI baseline)
- Build system: Ninja
- Solver: Z3 via
libz3-dev(or vendored build where configured)
For every tagged release (v*):
- Source tag is published.
- Linux release binary artifact is built from
linux-releasepreset. - 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-failurebash scripts/smoke.sh --bothbash scripts/coverage.sh --fail-under 100 --fail-under-branch 100 --fail-under-function 100
Curlee can move from “production-readiness stabilization” to a non-alpha production declaration only when all items below are true:
- 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.
- Release process is reproducible
- Tag pipeline blocks artifact publication on preflight failure.
- Release notes include verification commands and checksums.
- Docs and implementation are aligned
- README and wiki support/stability claims match tested behavior.
- Drift-sensitive anchors are guarded by lightweight tests.
- Runtime safety model is explicit
- Deterministic VM execution + fuel bounds + capability gating are documented and tested.
- Open production-blocker issues are resolved
- No unresolved P1 readiness blockers remain for declared production scope.
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.
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=jsonis 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.
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.