Docs · Engineering reference
Release process
docs/release-process.mdEdit on GitHub
How a Life Framework release is cut, shipped, and rolled back. It covers the
main and stable branches, tools\cli release, playtest builds, saves across
a game update, and the Workshop steps. Issue states are in
AGENTS.md ("What done means") and
worktrees.md ("Release gates").
Status: the commands below exist today. The Workshop upload is not yet run from tooling. It is maintainer-only, by hand in Workbench (#370).
Who does what
| Step | Agent | Maintainer |
|---|---|---|
Merge PRs to main |
Yes (wt ship) |
Reviews when asked |
tools\cli promote (list the checklist) |
Never | Yes |
tools\cli promote --confirm (move stable) |
Never | Yes |
tools\cli release <x.y.z> dry run |
Yes | Yes |
tools\cli release <x.y.z> --confirm [--push] |
Never | Yes |
tools\cli playtest release |
Never | Yes |
| Workshop upload of core and pack | Never. Not yet: maintainer-only. | Yes, by hand (#370), following release-first-upload.md |
tools\cli workshop boot-check <coreId> <packId> (clean server from Workshop ids, #371) |
Yes, once the ids are real | Yes |
tools\cli release chapter <x.y.z> (Workshop update of both items, the live 0grind server, Discord, tag) |
The lead, when a chapter or milestone is done; other agents only --dry-run |
Told afterwards |
tools\cli example-zip (draft zip) |
Yes | Yes |
Set the confirmed Workshop ids in tools/release/example-zip.json, then the --final zip |
Never | Yes (after #370) |
Host preflight and restore after a game update |
Never | Yes (the server owner too) |
Branches
mainis the integration branch. Agents branch from it and merge to it. Playtests run frommain.stableis the branch a human moves. The Workshop release, the flagship's 24/7 server, andtools\cli releaseall use it. Nothing editsstabledirectly.
Issue states
An issue moves through these labels. Only a human sets verified.
| Label | Meaning |
|---|---|
agent:working |
Being built. |
in-dev |
Merged to main, not verified. |
needs-playtest |
Merged, and the PR has a ## Manual testing section with real steps. |
verified |
A human signed it off. Only this closes an issue. |
regression |
A failed verification. |
promote --confirm sets verified and closes the issues the promoted PRs
reference. Reports say "merged, in-dev", never "done".
Names and versions
Two Workshop items (decision 2026-11-09, #367 and #375):
| Item | Project Name and .gproj TITLE |
Addon ID | Mod ID |
|---|---|---|---|
| Core | Life Framework (Core) |
LifeFramework |
4550A2B656E1B569 |
| Flagship pack | Life Framework: Everon 1989 |
LF_Everon1989 |
B1E84D5687E11724 |
- Versions are semver,
x.y.z. While both items are 0.x,tools\cli release <version>stamps one number into both.gprojfiles and both kit READMEs, so they publish together. - The first release is
0.1.0for both items (the maintainer's choice, 2026-11-14). Its upgrade page is upgrades/0.1.0.md. - The pack's kit README states the core version it needs in its
Requiresrow. - A schema or save-format bump is a major version. A change that keeps saves and configs readable is a minor or patch.
- Every Workshop publish takes a higher number than the last, even for a text-only change.
- Brand and copy for each page come from branding/core.md and
branding/everon-1989.md.
validate-release-readychecks the TITLEs against the kit Project Names, that each page names the other, and that the kit files exist.
Cut a release
-
List what is waiting.
tools\cli promotelists the PRs merged tomainsincestableand writestmp/promote/checklist-<sha>.md. It changes nothing. Each item carries its manual steps. -
Run the playtest pass if one is planned.
tools\cli playtest checklistwrites the walk-through for the openneeds-playtestandin-devissues (docs/worktrees.md, "One session, many issues"). Quorum sign-off applies whendocs/playtest/quorum.jsonhas"enabled": true(docs/playtest/quorum.md). -
Dry run the version. From a clean worktree on
main, or a detached HEAD atorigin/mainororigin/stable:tools\cli release 0.1.0The default is a dry run. It prints the plan, names every refusal (dirty tree, wrong branch, version not
x.y.z, tag taken), and runs the cheaprelease-ready --strictcheck. Nothing changes. -
Cut it (maintainer).
tools\cli release 0.1.0 --confirmdoes this in order:- stamps the version in
addons/LifeFramework/LifeFramework.gproj,addons/LF_Everon1989/LF_Everon1989.gproj, and both Workshop kit READMEs; - runs the gates:
validate --full,release-ready --strict, the full suite, the config harness with its game sessions (config-gate --full),audit placement --strict, and apackof each addon; - writes
tmp/release/notes-0.1.0.mdfrom the PR titles merged since the previousv*tag; - tags
v0.1.0on a release commit that no branch points at, and restores the stamped files.
A failed gate restores the files and tags nothing.
--pushalso pushes that one tag (refs/tags/v0.1.0). Without it nothing leaves the machine. - stamps the version in
-
Promote the commit (maintainer).
tools\cli promote --to <sha> --confirmfast-forwardsorigin/stableto the commit that passed step 4, tags itstable-<yyyymmdd>-<sha8>, and marks the issuesverified. It refuses a target that is not a descendant ofstable, and it never forces. -
Upload the Workshop items. Not yet: maintainer-only. The Workshop upload is by hand in Workbench from the tagged commit. The click path is in playtest/workshop-publish.md; the whole first upload, both addons and the boot check, is release-first-upload.md. The version scheme and names are settled in #367. Every publish takes a higher version number, even for a text-only change.
Chapter releases (since 2026-11-15)
Both Workshop items exist, so each later release is a headless update. When a chapter or milestone is done, the
lead runs tools\cli release chapter <x.y.z>. It checks the commit, packs both addons, publishes the core and
then the pack with the Workbench login saved on this PC, pushes the 0grind config, restarts the live server when
it is empty, verifies the log, posts to Discord and tags v<x.y.z>. The 0grind server is both the live alpha and
the playtest server. The maintainer is told afterwards. Runbook: release/chapter-release.md.
The first Workshop publish (D3)
Nothing is published before both addons exist. The first Workshop publish of the core and the pack comes after the whole pack move, batches 1 to 4 (decided 2026-11-14 in roadmap/m3-plan.md, D3). No host runs an old single-item build, so the header move strands nobody. The older 2026-11-12 entry in decisions.md is superseded by this one. Until batch 4 lands, a release is tagged and promoted, but not uploaded.
The example server download
Each release ships LifeFramework-ExampleServer.zip beside the Workshop items (#296): the folder
server/example/ a host copies to run the core and the 1989 Everon pack
on their own server.
tools\cli example-zip # a draft: LifeFramework-ExampleServer-DRAFT.zip in tmp/release/
tools\cli example-zip --final # the release zip; refuses while a Workshop id is a placeholder
tools\cli example-zip --out <dir>
The zip holds server.json, config.json, start.cmd, start.sh and README.md, nothing else (a draft
adds DRAFT.txt). start.sh keeps its executable bit. The command checks the template first
(server-template check), writes the Workshop ids into server.json, then reads the finished zip back: all five
files present, the core listed first, config.json free of config-check errors. --final also fails on any
PLACEHOLDER left in any file.
Where the ids come from. One file, tools/release/example-zip.json, holds the mod id and name of the core and
of the pack. An id is the addon's .gproj GUID, and validate checks that a real id matches its addon. The pack
id is a PLACEHOLDER-... value until the maintainer's first Workshop upload confirms it (#370); the core id is
the published M1 item. After that upload, replace the placeholder with the confirmed id and run
example-zip --final.
Attaching it. .github/workflows/example-server-release.yml runs on a pushed v<x.y.z> tag (the tag
release --confirm --push makes) or by hand with a tag. It runs the selftest, builds with --final and uploads the
zip to that tag's release, creating a draft release when none exists. While a placeholder remains the workflow
fails and attaches nothing, so no release carries a zip a server cannot start. The workflow is not run yet:
it first runs on the tag of the first real release. The selftest is tools/validation/example-zip-selftest.mjs.
Playtest builds
A playtest build is a pre-release zip that players download. It is not a Workshop item.
tools\cli playtest release # next tag: playtest-m2-1, then -2, ...
tools\cli playtest release --tag playtest-m2-2
Run it from a worktree at origin/main, with no uncommitted changes. The
command:
- refreshes
resourceDatabase.rdbin headless Workbench, then checks that every registered resource is fresh. The game refuses a zip whose rdb is stale; - creates a GitHub pre-release for the tag, with the rdb attached;
- starts
.github/workflows/playtest-release.yml, which packsLifeFramework-Playtest.zipfrom a clean checkout and makes the release the latest one.
Tags must match playtest-*, and an existing tag is refused. The download link
is releases/latest/download/LifeFramework-Playtest.zip. When you cut a
playtest, also update FALLBACK_RELEASE in website/src/ (see
website/README.md), so the site shows the right build
when GitHub cannot be reached.
Saves across a game update
Each save records the game build that wrote it and the save version it uses
(buildstamp, save version 32, #980). The current list of save versions and
their payloads is persistence.md. A save from another build
is loaded only after a preflight.
After a game update, run this before opening the server:
tools\cli host preflight
It backs the saves up, boots the host on the installed build, waits for the
save loaded: line, stops the server to write a shutdown save, and then
judges the log. On a failure it restores the backup, keeps what the failed
boot left, and says "do not open the server". tools\cli host start refuses a
save from another build until a preflight passes. tools\cli host restore [<backup>] puts a backup back by hand. The full routine, the log lines, and
the changelog table are in ops/game-updates.md.
Save reshapes follow D6 (decisions): one PR per reshape, each with its own version bump, and one announced reset at a release boundary. Pre-move saves must load after every move batch (D7). The release notes and the upgrade page for the release say which save version changed (see upgrades/README.md).
Rollback
There is no one-command rollback. Each path below is a documented way to go back, and the maintainer chooses which applies.
Code on main. Use a revert, not a force push.
tools\cli promote --revert <PR>opens a PR onmainthat reverts that merge, with auto-merge queued.tools\cli promote --fail N[,N]marks issuesregressionand reopens them without movingstable.- The
issue-stateworkflow marks the issues of a mergedReverts #PPR asregression.
stable. stable only moves forward. A promotion never goes to a commit
that is not a descendant of stable, so you cannot move it back. To take a bad
change out of stable, revert it on main and promote the fix forward. When a
regression blocks a promotion (--fail inside its range), pass an earlier
--to to promote a commit between stable and main that is still good.
A released tag. Tags are not moved. A bad v<x.y.z> gets a new number once
its revert or fix is promoted. tools\cli release refuses a tag that exists.
Playtest zip. Not yet automated. playtest release only goes forward, and
no command makes an earlier build the latest one. Doing it means changing the
GitHub release by hand: mark the bad build as a pre-release, and make an
earlier build the latest. Confirm that the earlier zip still loads with the
current game build before you do.
Workshop items. Not yet: maintainer-only. Rolling back means uploading the previous good commit's build again under a new version number. Whether the Workshop accepts a lower number has not been checked. Settle it before the first upload, and record the answer in #367.
Server saves. tools\cli host restore puts back the backup a preflight
or a restart took. Stop the server first. The save a failed boot left is moved
to backups/<time>-replaced-by-restore, never deleted.
Config. Keep the previous config.json before you change it. Run
tools\cli config-check <config.json> before a restart. A bad value is refused
and the shipped default stays, so a bad config degrades instead of stopping the
server (see config/owner-config.md). There are no
config migrations yet; schemaVersion is 1 (#302 to #304 add them).
Release checklist
-
tools\cli promotelists every PR, and each manual step has been run or scheduled. -
tools\cli release <x.y.z>dry run is clean onmainorstable. -
tools\cli release <x.y.z> --confirmpassed every gate; the notes are intmp/release/notes-<x.y.z>.md. -
promote --to <sha> --confirmmovedstable, and the issues readverified. - The upgrade page for the version is written and linked (upgrades/README.md).
- Save version changes are listed; a preflight is named for owners if the game build moved.
- Workshop upload: not yet, maintainer-only (after D3 batch 4).
- Example server zip: the ids in
tools/release/example-zip.jsonare the confirmed Workshop ids andtools\cli example-zip --finalbuilds (the workflow does it on the pushed tag). - Playtest zip, if one is cut:
playtest releaseran, the workflow finished, andFALLBACK_RELEASEis updated.
Related: worktrees.md, playtest/quorum.md, playtest/workshop-publish.md, ops/game-updates.md, persistence.md.