lll Documentation Source
Browse documentation

Release checklist

  1. Prepare Version and final cut
  2. Deploy Green gate and matching image
  3. Rehearse Compatibility, restore and five agents
  4. Publish Tag the verified cut
  5. Verify Download and Homebrew install
Verify the cut before publication and the installed artifacts afterward.
On this page

A release publishes the CLI binary. Successful gated main builds deploy the server separately. Before tagging, verify the exact release commit, test its client against the live server, and complete the compatibility and agent checks below. After publication, verify the installed artifacts.

mise run release-check CUT=<sha> runs steps 2-4 and prints a table with one row per check. A FAIL row makes it exit non-zero; a WARN row does not. It only reads production: it never writes to the hosted board or to Fly. This file is printed at the end of every run. Do the manual steps below in order.

1. Declare the cut line

Declare the feature baseline on the release issue and in chat. Add only the requested release preparation (skills, version, changelog) and explicitly recorded release-blocking fixes. Later unrelated merges belong to the next version; a moving backlog must not keep moving the release scope.

The final CUT is the exact main commit after those preparation changes have merged, with a green gate and deployment. Record that SHA before tagging. An early release-check of the baseline is useful preparation, but does not replace the final mise run release-check CUT=<sha> before publication. Never tag the pre-bump baseline with the new version.

2-4. Automated

Run mise run release-check CUT=<sha>. It verifies that main is green and deployed at the cut and tests version skew in both directions. It checks for security-labelled issues in progress or review, and warns about open urgent or high-priority security issues. These board checks depend on issue labels and states; they do not inspect unfinished implementation work.

Client/server compatibility and migration rehearsal

Before tagging, follow the upgrade procedure. Run scripts/rehearse_upgrade.py with the published baseline and the candidate binary, and retain its JSON report with both hashes on the release issue. Publish which pairs and capabilities were actually checked, including safe unsupported-feature refusal. Confirm a pre-upgrade backup can be started with its matching old binary; a version-skew warning is not a compatibility test. This synthetic rehearsal is separate from the agent DX fleet below.

5. Agent DX fleet

Run a small agent-dx fleet: 5 workers over the cases that the release touched. Use a binary built from the cut. Follow docs/agent-dx-fleet/how-to-run.md for isolation, provisioning and judging.

It passes when the board check confirms every artifact and fewer than 2 workers hit a tool-owned failure. A repeated tool failure gets its own issue and a fix, then a fresh run.

6. Release order

  1. Bump the version in lisette.toml and the literal in src/buildinfo/version.lis, and merge the bump. The release workflow refuses a tag that disagrees with lisette.toml.
  2. Write the changelog last: move [Unreleased] in CHANGELOG.md to the new version. PRs keep landing while you write it, so re-read git log against the entry just before you tag.
  3. Tag the cut and push the tag: git tag v<version> <sha> && git push origin v<version>.

7. Verify the published artifact

A green release workflow is not proof that people can install the release.

  1. Download the released binary for your platform outside the checkout and run it: cd "$(mktemp -d)" && gh release download v<version> -R escherize/lll --pattern lll-<os>-<arch> && chmod +x lll-* && ./lll-* --version. It must print the new version.
  2. Run brew upgrade lll on a real machine, then lll --version.
  3. Smoke-test the installed binary against the hosted board: lll whoami and lll issue list --limit 1.

8. Rollback

  • CLI: never rewrite or move a published tag. Ship a patch release (v<version+patch>) through steps 6 and 7.
  • Server: stop the new server and restore a pre-upgrade backup with its matching old image. Do not assume the previous image can read migrated data. See docs/upgrading.md and docs/hosted-recovery.md.