34 Recipe: Adopt a release from the staged ladder (alpha → rc → GA)
| Field | Value |
|---|---|
| Tool | kailash (releases / nixos-rebuild) |
| Section | Administrator |
| Level | medium |
| Time | ~30 min review + rebuild |
| Layer/Category | admin (whole-system) |
| Tags | admin, release, versioning, YYYY.NN, rollback |
34.1 Problem
Kailash releases move along a staged ladder — 2026.01-alpha.1 → 2026.01-rc.1 → bare 2026.01 (GA) → dotted re-cuts. The operator decides which rung the host should pin. A lab VM tolerates an alpha. A published-results machine (attestations, assessments, the book’s verification legs) should ride rc or GA. The bare name carries a meaning (“general availability, full review posture”). So the WRONG rung, or a staged cut misread as GA, silently weakens what the operator can state about the system.
34.2 Solution
Read the ladder honestly (git tag -v shows the stage). Adopt the tag that matches the posture. Keep the escape hatch (generation rollback) one reboot away:
# 1. See the ladder as tags, with signatures verified
git ls-remote --tags https://github.com/kailash-os/kailash-os | tail
git tag -v 2026.01-rc.1 # stage + increment visible in the verified tag
git tag -v 2026.01 # bare name = GA (full artefact matrix posture)
# 2. Pick the rung per posture:
# lab/experiment VM .......... latest -alpha.N (iterate freely,
# documented gaps are the deal)
# published-work machine ..... latest -rc.N (the GA-readiness gate:
# the standing release checklist filled in
# FULL, artefact matrix + SHA256SUMS
# complete at the tag)
# anything you must be able to state plainly . bare YYYY.NN (GA)
# 3. Adopt it — pin the flake at the tag, then rebuild
# (host configuration or flake input, per your setup):
# inputs.kailash-os.url = "github:kailash-os/kailash-os/2026.01-rc.1";
sudo nixos-rebuild switch --flake .#<host>
# 4. Prove what you got (the truthfulness chain from
# [Boot a verified release image](../getting-started/first-image.html)):
nix flake metadata github:kailash-os/kailash-os/2026.01-rc.1 | head -5
nix build github:kailash-os/kailash-os/2026.01-rc.1 \
#kailash-images-qemu-full --no-link --print-out-paths
kailash manifest validate
# 5. Version sanity: the lock tells you which train you are on
nix flake metadata github:kailash-os/kailash-os/2026.01-rc.1 \
| grep -A1 '"rev"' # the locked packages rev == what the release notes stateExpected output shape (abridged):
$ git tag -v 2026.01-rc.1
object ... type commit
tag 2026.01-rc.1
Tagger: Kailash Release <releases@kailash.os>
<gpg: Good signature from ...>
<release-notes text>
# (a staged cut says so in its own verified tag text — an alpha/rc
# NEVER reads as GA)
What success looks like:
git tag -vverifies a good signature on every considered rung- the staged cuts carry
-alpha.N/-rc.Nsuffixes — the bare2026.NNdoes NOT appear until GA - the adopted tag’s release notes carry the checklist evidence the rung promises
- rc: full checklist; alpha: the reduced §7.9 artefact set with stated gaps
kailash manifest validateis green on the rebuilt system- the previous generation is still in the boot menu
34.3 Discussion
- The three stages differ by commitment, not by form. An
-alpha.Ncut iterates freely — the reduced artefact set may ship with explicitly-documented gaps and punctual attestations.-rc.Nis the GA-readiness gate: the standing release checklist filled in full. The train’s backlog disposition is recorded (ride with evidence or explicit re-scope). The artefact matrix is complete at the tag, with SHA256SUMS covering every artefact. GA is the bare tag after an rc. A material change in between makesrc.N+1first. A rushed GA is what the ladder exists to prevent. - Names are load-bearing. Bare
YYYY.NNis RESERVED for GA. A material re-cut of a shipped GA postsYYYY.NN.1only when a shipped artefact actually changes. Changelog-notes-only re-cuts keep the tag. NN is the release index within the year’s train — not the calendar month (2026.02may GA in January 2027). No gaps, no renames: a slipping RC renumbers nothing. - Adoption is one of the two ways to move forward in the update model. The operator rebuilds against a newer lock at the operator’s own cadence, or adopts a released lock bump as-is. This recipe is the second way. Its lock-review mechanics are the first — see Ride a release without breaking pinned tooling.
- Generation rollback is the safety net, not a version pin: an adoption that disappoints is restarted, not untangled. Boot the previous generation, then re-decide the rung. Backups of anything outside the store (lab data mounted the normal way) sit in the operator’s own lane. The system itself is a generation.
- Name the rung in every result report: findings, scan reports and attestations name the tag. A published claim with an unspecified ladder rung is not reproducible. The CLI’s per-tool provenance report (manifest-informed
kailash doctor) is the roadmap verb. The landed slice: list/search/info/profile list/manifest validate. The tag plus the lock delta are the provenance records that exist today. The adopted tag is the version every page in this book verifies against.
34.4 See also
- Ride a release without breaking pinned tooling — the lock-review half of moving forward
- Boot a verified release image — the verification chain for the artefact itself
- Release model chapter (user-facing ladder): https://docs.kailash.tools/governance/release-model.html · https://github.com/kailash-os/kailash-os/blob/master/docs/guide/releases.md
- The release-cut checklist (what each rung promises): https://github.com/kailash-os/kailash-os/blob/master/docs/guide/release-checklist.md
- Gate lab-mode and exp-classified tools — the posture that travels with whatever rung you adopt
- Recipe directory
ref: release ladder + version scheme (guide releases.md; spec §7.6) + release-cut checklist - verified 2026-10-14. worked adoption of a real rc tag on hardware: PENDING — the ladder rules are the verified contract; the worked host run lands with the upkeep lane.