Skip to content

Release Requirements

The Go core, language Core implementations, optional adapters, and the shared specification have independent version lines. A release must document its scope and compatibility impact.

Required Evidence

  • Update the applicable version file, changelog, and user-facing release notes.
  • Pass build, tests, API checks, and security checks for the affected artifact.
  • Core implementations pass their declared conformance vectors and parity checks.
  • Review dependency licenses and generate applicable SBOMs and checksums.
  • Publish a release manifest with the tag, commit SHA, version, spec version, Go toolchain, SBOM scope, and every attachment hash. Checksums cover the archive, SBOM, and manifest; the checksum file does not list itself.
  • Verify release tags; signed tags are preferred and exceptions are documented.
  • Verify installation from the artifact users will actually consume.

Automated Checks

The ci workflow is layered. Push and pull-request runs execute the Go core gate plus jobs for changed language/<lang> paths; shared spec/, scripts/, or workflow changes force the full matrix. The complete matrix runs nightly and on manual dispatch; release workflows run their own gates on language tags. Skipped language jobs are intentional for unaffected paths.

The core release workflow requires successful ci and docs push workflows for the tagged commit's exact SHA on main, before a separate job receives release-write permissions. Missing, unfinished, skipped, cancelled, or failed runs block publication; an older successful attempt cannot mask a newer failed attempt. Checks from another commit, branch, repository, or pull request do not satisfy this requirement.

Documentation builds run for every push to main, including source-only changes, so the same-commit requirement is attainable. Pull-request documentation builds remain path-filtered. These checks observe GitHub Actions state at verification time; they do not lock later reruns or replace compatibility, artifact-installation, signature, and release-scope review. A green workflow is not by itself a reason to create a new version tag.

Before creating a tag, run the local metadata check:

python -m scripts.release.check_release_metadata

It checks that VERSION, api/<version>.txt, both release-note pages, the changelog, both release indexes, the Go module major, and the coding-agent package map agree. It also rejects a Behavior Lab matrix without a full revision and any CI job label that presents a recorded run as current. This check is structural; it does not replace the same-commit CI requirement.

Manual dispatch runs only the read-only prerequisite for the selected commit. The publication job additionally requires a v* tag push and is skipped on manual runs, allowing live gate validation without creating a tag or release.

Tag-Push Verification and Fallback

After pushing a language tag, verify that a push-triggered release run exists:

gh run list --workflow=release-ruby.yml --limit 3

On 2026-11-21, four language tags (ruby/v0.9.2, powershell/v0.8.1, perl/v0.7.1, and lua/v0.8.1) were pushed successfully, but GitHub created no tag-push release runs. The workflow files, tag patterns, and tag targets were valid; dispatching the same workflows on the tag refs built and published successfully. Treat tag-push delivery as best-effort and verify it every time.

If the run is missing, dispatch on the tag ref so the build still uses the tagged commit:

gh workflow run release-ruby.yml --ref ruby/vX.Y.Z -f target=publish

Use -f target=build-only when validating a tag without publishing. Do not move an existing tag after a failed build; fix the source and create a new patch tag.

Artifact Evidence

release-manifest.json records the release version, tag, full commit SHA, spec version, reported Go toolchain, SBOM scope, and the size and SHA-256 of each attachment. SHA256SUMS covers the source archive, sbom.json, and the manifest. The SBOM scope is currently the root Go module's dependencies only; it is not a combined SBOM for every independent adapter, language Core, or native dependency. Record that distinction instead of presenting the root SBOM as a complete archive inventory.

Tag Names

GitHub Latest Release is reserved for stable Go Reference Core vX.Y.Z releases. The root workflow explicitly uses gh release create --latest. Language, specification and adapter GitHub releases must explicitly use --latest=false (REST make_latest: "false"); do not rely on legacy ordering. Registry-only workflows do not create GitHub releases and need no Latest flag. The manual release-language-source.yml workflow publishes notes for an existing language tag with --verify-tag --latest=false; it does not run package gates or publish to registries. Only dispatch it after the language's release evidence is complete. Discover independent versions through the Language Release Index.

Artifact Tag
Go core vX.Y.Z
Shared specification spec/vX.Y.Z
Language Core <language>/vX.Y.Z
Optional Go adapter adapters/<name>/vX.Y.Z

Tags and VERSION files use plain X.Y.Z versions. Do not add pre-release suffixes such as -rc.1, -beta, or -alpha. Existing tags are immutable.

Language Release Notes

Each language Core keeps its release notes in language/<language>/CHANGELOG.md next to the implementation. The language README.md links that file, and the public language page includes the README, so one file serves source consumers and the documentation site.

  • Keep the package version, SDK_VERSION, source tag, and notes in agreement.
  • Use patch versions for fixes, minor versions for additive functionality under 1.0.0, and a major version for breaking changes.
  • Separate source-tag releases from package-registry publication and state which one the notes describe.
  • Record Added, Changed, Fixed, and Compatibility sections when applicable.
  • Do not move language notes into the root changelog or a shared release page; the root changelog remains the cross-language summary. Core releases declare their supported contract version. The root release workflow handles only v* core tags; a source tag for a Core implementation or adapter does not by itself publish a package-registry artifact.

Python publication uses PyPI Trusted Publishing through .github/workflows/release-python.yml. A python/vX.Y.Z tag must match pyproject.toml, praxo.__version__, and praxo.SPEC_VERSION. Manual dispatch defaults to build-only; TestPyPI or PyPI publication requires an explicit selection. TestPyPI needs its own trusted publisher. Configure the PyPI trusted publisher for owner, repository, workflow filename, and environment before creating the first tag. The PyPI workflow field must be exactly release-python.yml; a generic workflow.yml value will not match this repository.

TypeScript has a separate npm workflow, .github/workflows/release-typescript.yml. It verifies the package name, repository URL, version, and typescript/v* tag; a tag stages the package for maintainer approval by default. Direct npm publish is an explicit manual target and requires that action in the npm trusted-publisher configuration. The first npm package was published as 0.1.2 with a short-lived bypass token because staged approval was unavailable; that release has no provenance claim. npm trusted publishers require an existing package, so configure the trusted publisher before the next release. Do not use a long-lived automation token for routine publication. Java publication uses .github/workflows/release-java.yml. A java/vX.Y.Z tag must match language/java/pom.xml; the tag workflow compiles, runs conformance and self-tests, and uploads the package artifact without deploying. Maven Central publication is a manual dispatch with target publish, because the account has a limited monthly deployment quota; use it only after the Java source tag has stabilized. Configure environment maven-central and secrets MAVEN_CENTRAL_USERNAME, MAVEN_CENTRAL_PASSWORD, and MAVEN_GPG_PRIVATE_KEY. Manual dispatch defaults to build-only.

Rust publication uses crates.io Trusted Publishing through .github/workflows/release-rust.yml. A rust/vX.Y.Z tag must match the Cargo.toml package version. The build job runs tests, conformance, and the API snapshot, then a cargo publish --dry-run; the publish job obtains a temporary token with rust-lang/crates-io-auth-action and skips a version that is already published. Configure the crates.io trusted publisher with workflow filename release-rust.yml and environment crates-io before the first tag. Manual dispatch defaults to build-only.

Ruby publication uses RubyGems Trusted Publishing through .github/workflows/release-ruby.yml. A ruby/vX.Y.Z tag must match language/ruby/VERSION. Configure the pending trusted publisher with workflow filename release-ruby.yml and environment rubygems; the workflow runs conformance, the API snapshot, the native tests, builds the gem, and pushes it with a short-lived RubyGems token. Manual dispatch defaults to build-only.

Lua publication uses .github/workflows/release-lua.yml. A lua/vX.Y.Z tag must match language/lua/VERSION and the praxo-core-X.Y.Z-1.rockspec. The build job runs conformance, the API snapshot, and native tests, then packs the source rock, installs it into a clean tree, and runs the installed smoke before uploading the artifact. Configure environment luarocks and repository secret LUAROCKS_API_KEY; the publish job skips an already published revision. Manual dispatch defaults to build-only.

Perl publication uses .github/workflows/release-perl.yml. A perl/vX.Y.Z tag must match language/perl/VERSION and Makefile.PL. The build job runs the gates, builds and tests the distribution, and uploads the CPAN tarball. Configure environment cpan and secrets PAUSE_USER and PAUSE_PASSWORD.

Haskell publication uses .github/workflows/release-haskell.yml. A haskell/vX.Y.Z tag must match language/haskell/praxo-core.cabal; the build job runs the native tests and cabal sdist. Configure environment hackage and secret HACKAGE_TOKEN.

Elixir publication uses .github/workflows/release-elixir.yml for both the Hex package and HexDocs. A elixir/vX.Y.Z tag must match language/elixir/VERSION; configure environment hex and secret HEX_API_KEY.

Julia registration uses .github/workflows/release-julia.yml for tag validation and tests, then JuliaRegistrator for the General Registry pull request. No repository secret is required.

R uses .github/workflows/release-r.yml for R CMD build and R CMD check. r-universe builds from the GitHub repository and language/r subdirectory; CRAN submission is a separate manual review after the same checks pass.

Nim publication uses the nim-lang/packages pull-request list with "subdir": "language/nim"; Nimble derives versions from Git tags. PowerShell Core publication builds the C# Core, bundles Praxo.Core.dll, runs wrapper and API snapshot checks, and publishes praxo-core-ps through .github/workflows/release-powershell.yml with environment powershell-gallery and secret PSGALLERY_API_KEY. The bridge package praxo-core-ps-br is built by .github/workflows/release-powershell-bridge.yml with bundled cmd/praxo-bridge binaries for Linux, Windows, and macOS. Objective-C publication uses .github/workflows/release-cocoapods.yml with environment cocoapods and secret COCOAPODS_TRUNK_TOKEN. Swift, V, and bridge packages require the split-repository or package-format steps recorded in each implementation's PUBLISHING.md.

A source tag or successful build does not establish that PyPI publication occurred.

Consumer Guidance

Use release notes to review changes, then follow the artifact's documented installation method. Check compatibility and Core support before upgrading. Product release versions are independent from framework versions.