interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / docs / release / RELEASE_SIGNING.md

82 lines · 5690 bytes Raw Blame History Source

Release signing

Where things stand (Drake ruling 1, 2026-10-10, sc#385 and arch#190)

The three stages of a release (offline-signing handoff)

  1. CI builds and publishes checksums, unsigned. A v* tag push runs .github/workflows/release.yml: build the reproducible archive, run the release gate, write SHA256SUMS.txt, and create a draft release holding the archives and SHA256SUMS.txt. The draft is not public. CI holds no signing key.
  2. The operator signs offline. Carry SHA256SUMS.txt (only that file) to the offline machine on a USB stick and run scripts/key-ceremony.sh sign <key> <allowed_signers> SHA256SUMS.txt. It shows the files the signature vouches for, signs, and verifies the signature before anything leaves the machine. Carry SHA256SUMS.txt.sig back and attach it to the draft release (GitHub release page, "Edit", drop the file in; or `gh release upload <tag> SHA256SUMS.txt.sig`). Human only.
  3. CI verifies, then publishes. Run .github/workflows/release-publish.yml by hand with the tag. It checks out the tagged commit, downloads the draft, and runs scripts/release-publish-gate.sh against that commit's allowed_signers. It publishes only if the signature is valid for the pinned release key, every asset matches its checksum, and nothing is a dry run. Unsigned, mismatched, dry-run, internal-test-key and placeholder-key releases are refused.

The release key is pinned in allowed_signers (and install.sh) before the tag is cut, so the key a release is checked against is fixed in the same commit the release is built from.

What install.sh records

install.sh release mode (AIEN_RELEASE_TAG=vX.Y.Z) verifies SHA256SUMS.txt.sig with ssh-keygen -Y verify, then the archive checksum, then every file in the package's release.toml. The class is decided by which key verified, never by what the artifact claims, and is written to installed.toml (signature-check) and to install-receipt.json (signature_check, plus artifact_sha256, files_verified, cli_sha256, daemon_sha256):

signature_checkverified bymeaning
releaseAIEN_RELEASE_SIGNER = allowed_signersa public release (impossible until the ceremony)
internal-test-keyAIEN_INTERNAL_TEST_SIGNER = internal_test_signersinternal test release, never public
dry-run-keya throwaway signer file named in AIEN_DRY_RUN_SIGNERSdry run or test, never a release

A package whose release.toml says dry-run = true (or candidate NOT-RELEASABLE) is refused if it ever verifies as release. A missing signature, a one-byte change, an edited checksum list and a wrong key are each refused by name and install nothing (scripts/test-install-release.sh).

Install a dry-run artifact (the dry-run-signed-assets workflow artifact of a manual release.yml run, unzipped into a folder):

AIEN_RELEASE_TAG=dry-run AIEN_RELEASE_BASE_URL="file:///path/to/folder" \
AIEN_DRY_RUN_SIGNERS=/path/to/folder/dry-run-signers bash install.sh

Verify a download by hand

sha256sum -c SHA256SUMS.txt
ssh-keygen -Y verify -f docs/release/allowed_signers -I aien-release -n aien-release \
  -s SHA256SUMS.txt.sig < SHA256SUMS.txt

A GB10 release also carries release_golden_path.json, the artifact the release_golden_path_records_whether_gb10_ran test prints on the Spark. A release is only a GB10 release when that file says "skipped": false; it is listed in SHA256SUMS.txt and therefore covered by the signature.

Tests (all offline, throwaway keys only)