Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

docs(release): drop the approval pause; only the release bot creates v* tags (#469)

Ruben Lütkecae79d9c203d
diff --git a/.github/workflows/sign-installer.yml b/.github/workflows/sign-installer.yml
index 09cce7f13a..f782798101 100644
--- a/.github/workflows/sign-installer.yml
+++ b/.github/workflows/sign-installer.yml
@@ -56,8 +56,9 @@ on:
# Wave 4 (ML-DSA-65) read their PRIVATE KEYS from the WAVE2_OFFLINE_KEY_B64
# and WAVE4_MLDSA65_KEY_B64 secrets (base64 of the PEM); the keys never live
# in the repo, not even encrypted. Those secrets belong to the
-# `release-signing` environment, which only `v*` tags may deploy to and which
-# waits for the maintainer's approval, so no branch workflow can read them.
+# `release-signing` environment, which only `v*` tags may deploy to (and only
+# the release bot or an admin may create one), so no branch workflow can read
+# them.
# id-token=write is required by both Sigstore Fulcio (Wave 1) and by the
# slsa-github-generator reusable workflow (Wave 3 — it mints its OWN OIDC
# token inside the isolated `provenance` job, but the caller workflow must
@@ -182,7 +183,7 @@ jobs:
sign:
needs: cross-runner-hash
# The only job that reads the offline signing keys. The environment admits
- # `v*` tags only and pauses the release for the maintainer's approval.
+ # `v*` tags only; the `release tags` ruleset limits who may create one.
environment: release-signing
permissions:
contents: read
diff --git a/AGENTS.md b/AGENTS.md
index 0050c2b855..2539726983 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -198,9 +198,9 @@ tag + CHANGELOG + published GitHub Release) happens ONLY when explicitly
asked — an ordinary push is not a release. A release is ONE command:
`gh workflow run release-cut.yml -f bump=patch|minor|major` (pick the bump from
the commits since the last tag), then watch the run and report the Release URL.
-The PyPI and signing jobs then wait for the maintainer's approval in the
-Actions tab (environments `pypi`, `release-signing`); tell them, never bypass.
-That workflow bumps, writes the CHANGELOG, tags, waits for CI and publishes;
+There is no approval pause: only the release bot (and admins) may create a
+`v*` tag, and the signing keys and PyPI (environments `release-signing`,
+`pypi`) are reachable only from `v*` tag runs. That workflow bumps, writes the CHANGELOG, tags, waits for CI and publishes;
never bump, tag or `gh release create` by hand.
Every frontend change works in BOTH light and dark mode, and on the terminal
diff --git a/docs/ci-pipeline.md b/docs/ci-pipeline.md
index 30d01471bc..71c878947b 100644
--- a/docs/ci-pipeline.md
+++ b/docs/ci-pipeline.md
@@ -277,27 +277,24 @@ Steps:
signed manifests and the attestations all point at them. Add a short note
to the release body instead.
-**Release approval.** Two GitHub environments guard the irreversible steps:
-`pypi` (the PyPI upload in `release.yml`) and `release-signing` (the `sign`
-job of `sign-installer.yml`, the only job that reads the offline Ed25519 and
-ML-DSA-65 private keys, `WAVE2_OFFLINE_KEY_B64` and `WAVE4_MLDSA65_KEY_B64`).
-Both admit deployments from `v*` tags only, never from a branch, and both
-require the maintainer's approval; administrators cannot bypass it. A
-release therefore pauses twice after tag admission: open the two waiting runs
-("Release to PyPI" and "Sign installer (Sigstore keyless)") in the Actions
-tab, choose **Review deployments**, tick the environment and approve. The
-desktop installers do not wait. Approve within the release-cut publisher's
-150-minute window; a later approval still finishes the release, because
-`release-finalize.yml` runs when the last publisher completes. Rejecting a
-deployment leaves the release a draft.
+**Release environments.** Two GitHub environments guard the irreversible
+steps: `pypi` (the PyPI upload in `release.yml`) and `release-signing` (the
+`sign` job of `sign-installer.yml`, the only job that reads the offline
+Ed25519 and ML-DSA-65 private keys, `WAVE2_OFFLINE_KEY_B64` and
+`WAVE4_MLDSA65_KEY_B64`). Both admit deployments from `v*` tags only, never
+from a branch, and administrators cannot bypass that policy. Neither has
+required reviewers: a release runs from `release-cut.yml` to the published
+GitHub Release without an approval pause or a **Review deployments** click.
+The signing keys and the PyPI upload are therefore reachable only from a
+workflow run on a `v*` tag.
**Release tags.** The `release tags` repository ruleset protects
-`refs/tags/v*` against update and deletion; only the repository admin role
-may bypass it. Creation stays open because `release-cut.yml` pushes the tag
-with `GITHUB_TOKEN`, and GitHub does not accept the GitHub Actions
-integration as a bypass actor on this repository's rulesets. A stray `v*` tag
-still publishes nothing on its own: release admission and both environment
-approvals stand between it and a published release.
+`refs/tags/v*` against creation, update and deletion. Only the release bot
+GitHub App (the `release-cut` job's installation token, app id in
+`RELEASE_APP_ID`) and the repository admin role may bypass it, so only a
+release cut or an administrator can create a `v*` tag. A tag created that way
+still passes release admission (`release-gate.yml`) before anything is
+published.
PyPI publishing retains a separate OIDC-only job and can run only after tag
admission. Manual branch runs build packages without publishing or signing.
diff --git a/docs/supply-chain/wave2-key-ceremony.md b/docs/supply-chain/wave2-key-ceremony.md
index 8853e04193..2219c953f3 100644
--- a/docs/supply-chain/wave2-key-ceremony.md
+++ b/docs/supply-chain/wave2-key-ceremony.md
@@ -119,7 +119,7 @@ Custody model:
| Property | Value | Why |
|---|---|---|
-| At-rest location | GitHub Actions secret `WAVE2_OFFLINE_KEY_B64` of the `release-signing` environment | GitHub encrypts secrets at rest and injects them only into the tag-only, maintainer-approved signing job; the private key never appears in the repo tree, not even encrypted. |
+| At-rest location | GitHub Actions secret `WAVE2_OFFLINE_KEY_B64` of the `release-signing` environment | GitHub encrypts secrets at rest and injects them only into the signing job of a `v*` tag run; the private key never appears in the repo tree, not even encrypted. |
| Encoding | base64 of the PKCS#8 PEM | Lets a multi-line PEM travel as a single secret value; the workflow base64-decodes it into a runner tempfile at sign time. |
| Passphrase | none | There is no encrypted key file to unlock, so there is no passphrase to store, disclose, or rotate. |
| Backup | maintainer's password manager | A single offline copy so the key can be re-set if the GitHub secret is ever lost. |