Skip to content
Reference
On this page
  1. Version and tag strategy
  2. Pre-release symmetry gate
  3. Release artifacts checklist
  4. Channel model
  5. Dry-run (not a live publish receipt)
  6. Live tag publish
  7. Honesty
  8. Next

Release channels

Maintainer notes for shipping arks binaries and language-registry packages. End users can install via the one-line installer, GitHub Release archives, or from source (see Getting started).

Version and tag strategy

Layer Rule
Workspace / crate version 1.2.0 on main (first public binary release v0.1.0, first GA v1.0.0, latest v1.2.0; all 18 workspace crates packaged and verified for crates.io, with only crates/arks declaring [[bin]])
Specification document versions Internal spec revisions only; never a crates.io or git-tag product release
Git tag Push an annotated tag matching v* (for example v1.2.0) when cutting a public release
Published artifact Single binary arks only (no separate arks-daemon, arks-hub, or arks-agent release binaries)

Do not bump crate version or cut a v* tag from specification revisions alone. See arks-dod-behavioral, release-symmetry-precheck, and external-distribution-and-registry-publishing.

Pre-release symmetry gate

.github/workflows/release.yml job dist requires symmetry-precheck (reusable .github/workflows/release-symmetry.yml with block_hub_missing: true). Missing rows across CLI, daemon, and forge client v1 plus untracked commands block packaging; documented partial rows stay advisory. A green precheck confirms inventory readiness and does not replace Docker clean-room receipts.

Release artifacts checklist

On a live v* tag (after symmetry-precheck):

  1. Cross-OS dist builds of arks only — 8 universal targets (x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu, x86_64-unknown-linux-musl, aarch64-unknown-linux-musl, x86_64-pc-windows-msvc, aarch64-pc-windows-msvc, aarch64-apple-darwin, x86_64-apple-darwin).
  2. Archives, SHA256SUMS, CycloneDX 1.5 SBOM (arks-<tag>-cyclonedx.sbom.json), Homebrew formula (arks.rb), Scoop manifest (arks.json), Arch Linux AUR recipes (PKGBUILD, arks-bin.SRCINFO), and GitHub Artifact Attestations (actions/attest-build-provenance).
  3. Draft GitHub Release with those assets, followed by multi-arch GHCR server container publish (ghcr.io/modootoday/arks, linux/amd64 + linux/arm64).
  4. Approve-gated OIDC registry jobs (crates, npm, pypi, rubygems), each enforcing tag policy v* and required reviewer myso-kr.

Channel model

All external registry channels use GitHub Actions OIDC (no long-lived registry tokens) plus per-registry Environments; downstream brand repos (modootoday/homebrew-tap, modootoday/scoop-bucket) sync via zero-secret pull-based workflows:

Channel / Environment Job / Workflow Packaging status Live registry status
GitHub Releases github-release in release.yml Verified (8-target dist + SHA256SUMS + CycloneDX SBOM + arks.rb + arks.json + PKGBUILD/.SRCINFO + attestations) Live (v1.2.0 — 22 assets published)
GitHub Pages .github/workflows/pages.yml (github-pages) Verified (docs/ Jekyll build + docs/CNAME) Live (arks.build)
Homebrew Tap packaging/homebrew/render_formula.py → modootoday/homebrew-tap Verified (brand-wide tap; checksummed unsigned release tarballs; macOS arm64/x64 + Linux x64/arm64) Live (1.2.0) (brew install modootoday/tap/arks)
Scoop Bucket packaging/scoop/render_manifest.py → modootoday/scoop-bucket Verified (brand-wide Windows bucket; checksummed unsigned release zips; 64bit + arm64) Live (1.2.0) (scoop bucket add modootoday https://github.com/modootoday/scoop-bucket && scoop install modootoday/arks)
Nix Flake Root flake.nix (Cargo.lock) Verified (packages.default, apps.default, devShells.default across Linux/macOS) Live on main (nix run github:modootoday/arks)
Arch Linux AUR packaging/aur/render_pkgbuild.py (PKGBUILD + arks-bin.SRCINFO) Verified (emitted on v1.2.0 for x86_64 + aarch64; no SSH key in repo) Ready (asset-emitted) — owner SSH push to aur.archlinux.org required before claiming AUR live
GHCR Container publish-ghcr in release.yml (deploy/Dockerfile.release) Verified (linux/amd64 + linux/arm64, non-root arks user + provenance attestation) Live (v1.2.0) (ghcr.io/modootoday/arks:latest)
crates (crates.io) publish-crates (scripts/bootstrap-crates-publish.sh) Verified (18/18 crates via cargo package --locked) Trusted Publishers bound; OIDC live (1.2.0)
pypi (PyPI, arks-cli) publish-pypi (packaging/pypi/build_wheels.py) Verified (8 PEP 427/600/656 wheels incl. Linux arm64 musl, macOS x64, Windows arm64 + Production/Stable) Trusted Publisher bound; OIDC live (1.2.0, 8 wheels)
npm (npm, @modootoday/arks) publish-npm (packaging/npm/build_packages.mjs) Verified (@modootoday/arks + 3 OIDC-bound scoped platform pkgs + offline smoke) Trusted Publishers bound on all 4 @modootoday/* pkgs; OIDC live (1.2.0)
rubygems (RubyGems, arks) publish-rubygems (packaging/rubygems/build_gems.rb) Verified (7 platform gems incl. Linux arm64 musl & macOS x64 + isolated gem smoke) Trusted Publisher bound (owner: "255203"); OIDC live (1.2.0, 7 platform gems)

Ungated on every v* tag: 8-target dist binaries, CycloneDX SBOM, Homebrew arks.rb, Scoop arks.json, Arch AUR PKGBUILD/.SRCINFO, build provenance attestations, a draft GitHub Release with SHA256SUMS, and the multi-arch GHCR server container. Paid/signing-constrained catalogs (winget, signed apt repositories, Authenticode, Apple notarization, Chocolatey) remain out of scope.

Trusted publishers must be configured in each registry UI; workflow YAML cannot register external accounts. Design details live in external-distribution-and-registry-publishing and .github/workflows/release.yml.

Dry-run (not a live publish receipt)

From the Actions UI, run the release workflow with dry_run enabled (workflow_dispatch):

  1. Builds the full dist matrix and checksums.
  2. Prints a readiness report (scripts/release-channel-readiness.sh).
  3. Does not create a GitHub Release and does not publish to external registries.

A green dry-run confirms release wiring is ready, not that crates.io, npm, PyPI, or RubyGems published.

Local structural check (no secrets required):

bash scripts/release-channel-readiness.sh

Live tag publish

  1. Push an annotated or lightweight tag matching v* (for example v1.2.0).
  2. Wait for cross-OS dist builds and draft Release assets.
  3. Approve each Environment job you intend to publish (crates, npm, pypi, rubygems).
  4. Confirm the matching trusted publisher on the registry is bound to workflow release.yml and that Environment name before approving.

Honesty

  • Dry-run success verifies packaging and workflow wiring only.
  • Live registry publication requires a v* tag and explicit owner approval in GitHub Environments.
  • Never commit registry tokens, signing keys, or credentials to the repository.

Next

Getting started Completeness Limits Contribute

Edit this page

Back to top