Release checklist (40a)

A release is cut only when every box below is checked. The automated part is one command:

tools/release_check.sh            # stops at the first failure

Automated (tools/release_check.sh)

  1. cargo build --release with no warnings.
  2. cargo test --release: every golden, safety, engine, LSP, FFI, Python, self-hosting and spec test.
  3. python3 tools/conform.py: every example, error test and generated program agrees on all six tiers (interpreter, VM, VM + reuse, native, native debug, release).
  4. trine fuzz --cases 300 and trine fuzz --native --cases 100: no panics, hangs, disagreements, ownership or verifier bugs.
  5. python3 tools/bench.py: no confirmed slowdown against bench/baseline.json.
  6. Every examples/*.tr is formatted (trine fmt --check) and lint-clean (trine lint --strict).
  7. python3 tools/site.py: the docs site builds with no dead internal links; python3 tools/gallery.py --check: the example gallery is current.

By hand

  1. ROADMAP.md: every item in the release is ticked and has a log row; nothing ticked is unfinished.
  2. docs/CARD.md still fits on one page and its examples run (checked by a test; reread it for anything newly surprising).
  3. docs/SPEC.md covers every new syntax and rule (the test only checks names).
  4. SECURITY.md: any new authority (grant, capability, extern) is described, with what it lets a program do, and each way it could be escaped is a case in sandbox_escapes_are_refused.
  5. Version: bump Cargo.toml, tag vX.Y.Z, write the release notes in CHANGELOG.md from the log rows since the previous tag (what changed for users first, internals after).
  6. The tarball contains no build output (target/, .trine/, site/).
  7. Publish the GitHub release for the tag (title "Trine X.Y.Z", notes from CHANGELOG.md). The release workflow builds, attests and attaches the binaries, then installs them on every platform: check that its verify jobs pass (docs/INSTALL.md).
  8. Homebrew and winget: commit the release's trine.rb to the tap, and submit its winget manifests (docs/INSTALL.md).