Skip to content

Latest commit

 

History

History
468 lines (428 loc) · 29.4 KB

releasing.md

File metadata and controls

468 lines (428 loc) · 29.4 KB

Releasing Deadbolt

One run of the Release workflow (.github/workflows/release.yml) builds, signs, verifies, and publishes the CLI, Deadbolt.app and the browser extension from one commit to the Anomaly release service (anomalyco/release, https://anoma.ly/release). It is Hex's release pipeline, which follows OpenCode's.

Branches and channels

Work lands on dev (pull requests target it). production holds what was released and moves only by fast-forward from dev.

Channel Runs on Version Publishes
dev every push to dev (not docs/site/Markdown-only); dispatch from dev 0.0.0-dev-<run> (.<attempt> on a full rerun) release service dev channel
check dispatch (channel: check) from dev or production as dev from dev, as stable from production nothing: builds, signs and verifies only
stable push to production, push of tag v<version>, dispatch from production [workspace.package] version release service stable, GitHub release v<version> (Latest), Homebrew

Releases never cancel each other, as in Hex: the running one finishes, and of the pushes that land meanwhile only the newest waits (GitHub replaces an older pending run), so a busy dev still publishes, about once per release run. .github/release/plan.sh decides all of this from the event and ref. Versions are display text: each channel has one current release, and installs follow it. Release builds stamp the version into Cargo.toml (scripts/set-crate-version.sh, never committed) and the channel into the binary (DEADBOLT_BUILD_CHANNEL, shown by deadbolt --version, e.g. deadbolt 0.0.0-dev-42 (dev)), which deadbolt update follows (Updater).

The pipeline

Release (push dev | production | v*, or workflow_dispatch: channel)
├─ plan               plan.sh: channel, version, tag, notes                               [build]
├─ build-linux-*      deadbolt-<v>-linux-{x64,arm64}.tar.gz (glibc 2.28+, deadbolt-ui beside) [build]
├─ build-linux-*-musl deadbolt-<v>-linux-{x64,arm64}-musl.tar.gz (static, no app)         [build]
├─ build-extension    deadbolt-extension-<v>.zip (manifest version stamped)                [build]
├─ build-enclave      deadbolt-enclave for arm64 + x86_64, ad hoc                           [build]
├─ sign-enclave       Developer ID-signs the two helpers; decides "signed"                  [release]
├─ build-macos        deadbolt + deadbolt-ui pinned to those helpers; universal Deadbolt.app
│                     (ad hoc); deadbolt-<v>-darwin-{arm64,x64}.tar.gz (headless)           [build]
├─ sign-macos         sign-macos.sh: CLI + app inside-out, notarize, staple, zip + DMG       [release]
├─ verify-macos       Gatekeeper, staple, update requirement, Touch ID pin, launch            [build]
├─ build-npm          signed only: @deadbolt/cli + 6 platform packages (scripts/package-npm.sh),
│                     the CLI's signatures and an install checked                           [build]
├─ publish            OIDC: cli, desktop, extension to the release service; provenance      [release]
├─ publish-attestations  build provenance for the npm tarballs                             [id-token]
├─ publish-npm        OIDC trusted publishing: npm, dist-tag dev / latest                   [release]
├─ github             stable: tag v<v>, GitHub release with every file + SHA256SUMS        [contents: write]
├─ homebrew-stage     stable: render formula + cask, brew style/audit/install/test          [build]
├─ homebrew           stable: push deadbolt.rb and Casks/deadbolt.rb to the tap             [release]
└─ record-brew        OIDC: the tap serves <v> (cli and desktop distributions)                [release]
  • Build jobs ([build]) run repository code (cargo, build.rs, swiftc, bun, brew) with no environment, secret or id-token, and make unsigned files. Release builds use no cache.
  • Sign and publish jobs ([release]) run in the release environment, check out only .github/release/ (sparse), and run only those scripts and SHA-pinned actions on artifacts they treat as data. They never build, install dependencies, or run repository code or the artifacts, and their credentials come from AWS Secrets Manager through GitHub OIDC.
  • Artifacts each carry a SHA256SUMS; the job that made one reports that manifest's digest as an output, and every job that downloads it checks the digest and every file (.github/release/upload, download, verify-artifacts.sh). assemble.sh accepts only this version's release file names.

.github/workflows/release.yml and .github/release/ are the security boundary. Protect .github/ with CODEOWNERS and a ruleset on dev and production (pull requests with code-owner review), as Hex does.

Linux

Two builds per architecture. deadbolt itself is headless in both; the desktop app is the separate deadbolt-ui:

  • glibc, with the app (linux-x64, linux-arm64): deadbolt and deadbolt-ui beside it, built in quay.io/pypa/manylinux_2_28 (AlmaLinux 8, glibc 2.28), pinned by tag and digest, so it runs on glibc 2.28 and later (Debian 10, Ubuntu 18.10, RHEL 8 and newer). The runner's own Ubuntu 24.04 would require glibc 2.39, as Hex's builds do; 2.28 is the manylinux baseline Python wheels use. Rune loads Wayland, X11 and the GPU drivers when a window opens, so the job fails unless every NEEDED library of either binary is glibc's (libc, libm, libdl, libpthread, the loader) or libgcc_s, no symbol needs a glibc newer than 2.28, and deadbolt has no wgpu in it. It then runs --version, --help, init, debug daemon status, new, ls and app (which must say there's no graphical session) in AlmaLinux 8 minimal, which has no display and no desktop libraries.
  • musl, static, without the app (linux-x64-musl, linux-arm64-musl): deadbolt alone, for Alpine, containers and glibc older than 2.28. The job checks it's static and that deadbolt app says the app isn't installed.

macOS and the Touch ID helper

deadbolt and deadbolt-ui pin the exact bytes, signature included, of the deadbolt-enclave they ship with (DEADBOLT_ENCLAVE_SHA256, from crates/enclave, touch-id.md), so the helper is signed before they are compiled: build-enclave → sign-enclave → build-macos (DEADBOLT_ENCLAVE_PREBUILT) → sign-macos, which signs deadbolt and the app around the helper and fails if the helper's bytes change. verify-macos checks every architecture slice's pin.

  • The app is universal (arm64 + x86_64, macOS 12+, like bundle.sh --universal): one signing and notarization, one DMG and one cask for every Mac, at about twice the size. The service lists the same files under both macos-arm64 and macos-x64, so an updater looks up its own target as Hex's does.
  • Contents/MacOS/Deadbolt is deadbolt-ui, the app, and Contents/Helpers/deadbolt the headless deadbolt, signed apart, so the daemon tells the app from the CLI (app.md). verify-macos checks both pin the helper and that the CLI links no Metal.
  • Code identities: anomaly.deadbolt (the app), anomaly.deadbolt.cli (deadbolt, in the app and the tarballs), anomaly.deadbolt.enclave (the helper), all Developer ID team 5NZ4Q7NXJ4 with the hardened runtime and a secure timestamp. sign-macos.sh refuses any Mach-O in the app other than Contents/MacOS/Deadbolt, Contents/Helpers/deadbolt and Contents/Helpers/deadbolt-enclave.
  • The CLI tarballs hold the headless deadbolt and deadbolt-enclave, and nothing of the app (verify-macos checks); both are notarized (bare executables cannot be stapled). The app and DMG are notarized and stapled. crates/app/update-requirement.txt is what an updater must require of a new Deadbolt.app (identifier, team, Developer ID, notarized).
  • Without the Apple values dev and check go on unsigned: the macOS CLI tarballs carry the ad-hoc helper and deadbolt, and no app is built into the release. stable fails.

The release service

.github/release/registry-deadbolt.json is Deadbolt's entry for anomalyco/release (registry/deadbolt.json, listed in registry/index.ts): repository anomalyco/deadbolt (id 1421127274, owner 66570915), workflow .github/workflows/release.yml, environment release:

refs/heads/production, refs/tags/v*   channels stable, beta
refs/heads/dev                        channel  dev

Deadbolt has three artifacts, each with a manifest at https://anoma.ly/release/deadbolt/<artifact>/<channel>.json:

Artifact Targets File
cli macos-arm64, macos-x64, linux-x64, linux-arm64 (glibc, with deadbolt-ui) deadbolt-<v>-{darwin,linux}-<arch>.tar.gz
linux-x64-musl, linux-arm64-musl (static, no app) deadbolt-<v>-linux-<arch>-musl.tar.gz
desktop macos-arm64, macos-x64 Deadbolt-<v>-macos-universal.zip (root Deadbolt.app, for an updater)
macos-arm64-dmg, macos-x64-dmg Deadbolt-<v>-macos-universal.dmg
extension chromium deadbolt-extension-<v>.zip (unpacked MV3 build with its fixed key)

publish uploads each file with its SHA-256, posts each release, then downloads every published URL and compares it with the local bytes (release-service.sh); rerunning a publish that already went through is safe. Distributions: cli lists brew (formula anomalyco/tap/deadbolt), desktop lists brew (cask anomalyco/tap/deadbolt); each gains a version only after the tap serves it (record-brew). site/public/install reads the cli manifest for ${DEADBOLT_CHANNEL:-stable} and checks size and SHA-256. On Linux it installs the glibc build unless the system is musl (/lib/ld-musl-*, or ldd --version says musl) or its glibc is older than 2.28, which get the -musl build (DEADBOLT_LIBC=gnu|musl overrides); DEADBOLT_VERSION installs a pinned stable version from its GitHub release.

npm

As OpenCode publishes @opencode/cli: npm i -g @deadbolt/cli (stable, dist-tag latest) or @deadbolt/cli@dev. Seven packages, all UNLICENSED with repository anomalyco/deadbolt (provenance requires it):

Package Holds os / cpu / libc
@deadbolt/cli bin/deadbolt (a placeholder), postinstall.mjs; every platform package as an exact-version optionalDependency darwin, linux / arm64, x64
@deadbolt/cli-darwin-arm64, -darwin-x64 bin/deadbolt and bin/deadbolt-enclave, signed and notarized (the release's CLI tarball; the app is Deadbolt.app, apart) darwin / its cpu
@deadbolt/cli-linux-x64, -linux-arm64 bin/deadbolt and bin/deadbolt-ui, glibc linux / its cpu / glibc
@deadbolt/cli-linux-x64-musl, -linux-arm64-musl bin/deadbolt, static without the app linux / its cpu / musl

The wrapper's postinstall (packaging/npm/postinstall.mjs, as OpenCode's) links bin/deadbolt to the installed platform package's deadbolt, checking its version and that it runs, and installs the package itself when the package manager skipped it. Where install scripts don't run (pnpm, bun, npm with scripts disallowed), the placeholder runs the postinstall on first use, then the command. On glibc it links only the glibc package (with the app), never the static build in its place; on musl it prefers the -musl package, else the glibc one; on glibc older than 2.28 only -musl, as the install script picks. The postinstall never fails the install (a package manager would remove the package and the user's deadbolt with it): when it can't link (npm doesn't serve the platform package yet, say), it says so in one line, exits 0 and leaves the placeholder, whose next run tries again and otherwise says why and exits 1, deleting nothing. A link replaces the placeholder only once it runs. It links rather than copies, since Deadbolt knows its files by real path: Touch ID's helper (macOS) and the app, deadbolt-ui (glibc Linux), sit beside the package's deadbolt. On macOS deadbolt app opens a Deadbolt.app installed in Applications (the DMG or the cask); the darwin packages used to carry one, at about 166 MB unpacked, and now carry only the CLI. deadbolt update updates an npm, pnpm, bun or yarn install by running that manager (see Updater).

  • build-npm (macOS, no secrets) packs from the verified Linux tarballs and the signed macOS CLI tarballs, so a run without the Apple values publishes no npm. It checks the packed binaries with codesign --verify --strict and that deadbolt links no Metal, then installs the darwin-arm64 package and the wrapper into a temporary prefix and runs deadbolt --version.
  • publish-attestations signs build provenance for every tarball; publish-npm (release environment) verifies it with gh attestation verify, reads each tarball's package.json as data and requires exactly the seven names at DEADBOLT_VERSION, no publishConfig beyond access, no install script but the wrapper's, and exactly the CLI tarball's files in each platform package's bin/. It publishes with a clean npmrc, --tag <dev|beta|latest> --access public --ignore-scripts --provenance, platform packages first and the wrapper last, skipping versions the registry already has. The registry shows large platform packages minutes after publishing them, so the wrapper waits (up to 10 minutes, else the job fails and a rerun resumes) until npm view shows all six. Dev versions (0.0.0-dev-<run>[.<attempt>]) are valid semver prereleases.
  • Trusted publishing: each of the seven packages trusts repository anomalyco/deadbolt, workflow release.yml, environment release. There is no npm token; the job's OIDC token is the credential (npm 11.5+, Node 24.11 here).

Updater

deadbolt update [--check] [--channel dev|beta|stable] [--yes] [--allow-rollback] [--json] (crates/cli/src/update.rs) follows the release service's client rules (anomalyco/release docs/protocol.md, src/protocol/decide.ts): versions are display text, tested only for equality, so an install updates whenever its channel's current release isn't the build it runs, a rollback included.

  • Channel: the build's (DEADBOLT_BUILD_CHANNEL). Builds from source have none and need --channel. Another channel than the build's is a switch: it asks on a terminal, else needs --yes, and ignores the rollout.
  • Rollout: required installs at once; otherwise the install's bucket (0–99, drawn once from a local random number and kept in $XDG_STATE_HOME/deadbolt/rollout-bucket, never sent) must be under rollout_percent.
  • What it updates depends on where the running deadbolt is, symlinks resolved:
    • Deadbolt.app/Contents/Helpers/deadbolt (or ~/.local/bin/deadbolt linked to it): the desktop artifact's macos-arm64/macos-x64 zip. Before ditto -x -k unpacks it, every entry must be under Deadbolt.app/ (or ditto's __MACOSX/), with no symlink pointing out of the bundle and nothing written through one, at most 2 GiB; after, every symlink in the bundle is checked again. It must pass codesign --verify --deep --strict against crates/app/update-requirement.txt (compiled in) and spctl --assess --type execute; then the app is quit, the daemon stopped, the old bundle renamed aside within its directory and moved to ~/.Trash/Deadbolt-<old version>.app, the new one renamed into place, quarantine cleared if present, and the daemon restarted from whichever bundle is in place, even if the swap failed and the old one was put back (the vault comes back locked). An app on a disk image or under App Translocation is refused, and one whose cask record exists (<brew prefix>/Caskroom/deadbolt) gets the manifest's brew upgrade --cask instead.
    • Anything else (the install script, a tarball, a build): the cli artifact's tarball for this OS and architecture (linux-<arch>-musl for the static build), read in-process: only regular files named deadbolt, deadbolt-enclave and deadbolt-ui are written, never links, devices, other names or owners, into the 0700 staging directory beside the install. On macOS a release without deadbolt-enclave doesn't replace a deadbolt that has one beside it (the new one pins its own helper). A deadbolt-ui in the release (glibc Linux) is written beside deadbolt. The running files are moved into the stage, the new ones renamed in, and on any failure the old files come back. If the running daemon is this binary it is stopped and started again from the new one.
    • npm's package (checked before the bundle, as older darwin packages carried Deadbolt.app): a path under node_modules whose package (the directory under node_modules/@deadbolt/) is @deadbolt/cli or one of its platform packages, and whose @deadbolt/cli (beside it or above it) has a bin resolving to this deadbolt. As OpenCode's updater does, update asks npm list -g --depth=0 @deadbolt/cli, pnpm list -g --depth=0 @deadbolt/cli, bun pm ls -g and yarn global list at once (15 s each; a missing manager or a failure is a no), those named in the path first (bun's install/global/node_modules counts as bun), and takes the first that lists @deadbolt/cli. The version is the manifest's npm distribution when Release carries one (Release is the source of truth, so the registry isn't asked), else what the registry serves for the channel (registry.npmjs.org/-/package/@deadbolt/cli/dist-tags, latest for stable), which trails the release service by minutes; without a distribution entry the registry must also have the platform package this system's postinstall links (registry.npmjs.org/@deadbolt/cli-<platform>/<v>: darwin-<arch>, linux-<arch>, or linux-<arch>-musl on musl or glibc older than 2.28), which can trail the wrapper by minutes more: until both equal the manifest's release (under the manifest's rollout rules), the update is pending, for update, --check and the daemon's check alike. Then, asked on a terminal unless --yes, it runs, pinned to that version: npm install --global @deadbolt/cli@<v>, pnpm add --global --allow-build=@deadbolt/cli @deadbolt/cli@<v>, bun install --global --trust --cache-dir <temp> @deadbolt/cli@<v> (--trust runs the wrapper's postinstall; the fresh cache, deleted after, because bun never prunes its own) or yarn global add @deadbolt/cli@<v>. The manager is found on PATH (bun also in $BUN_INSTALL/bin, ~/.bun/bin and beside the global install). Afterwards it runs the new deadbolt --version through the user's link (~/.bun/bin/deadbolt, <prefix>/bin/deadbolt, else the wrapper's bin/deadbolt), which also lets the wrapper link itself, checks the version, and restarts the daemon from it (locked) if it ran from this install. On failure it prints the manager's last 12 lines of output, the command it ran and what to do next. It never removes or links files itself; the manager and the postinstall do. A package no manager claims gets the command to run by hand.
    • Homebrew's Cellar (or a cask record) runs brew upgrade anomalyco/tap/deadbolt (--cask for the app) when the manifest's brew distribution has a new version, then checks <prefix>/bin/deadbolt --version.
    • /nix/store, /usr (not /usr/local) or ~/.cargo/bin belongs to that package manager: update prints its command and changes nothing.
    • Commands update runs are always these fixed ones, never a command from a manifest.
  • Signatures: a release build (published on a channel) on macOS always requires its replacement to satisfy the update requirement with identifier anomaly.deadbolt.cli (and anomaly.deadbolt.enclave for the helper), without notarized, as bare executables aren't stapled. That's fixed when it's built: nothing on disk turns it off, so an unsigned dev build can't update itself until dev builds are signed. Only builds from source rely on the checksum alone, as the install script does. codesign, spctl, ditto, xattr, osascript and open run from /usr/bin (/usr/sbin/spctl), and one that can't run is an error, never "unsigned".
  • Older manifests: the highest sequence seen for each artifact and channel is kept in $XDG_STATE_HOME/deadbolt/release-sequences.json, and a lower one is refused unless --allow-rollback, which never lowers the remembered maximum. Only manifests with valid shape and matching app, artifact and channel can advance it. A missing or zero-byte state file starts empty; unreadable or nonempty malformed state stops the update, even with --allow-rollback, rather than discarding trusted floors. The error names the exact path: restore it from a trusted backup, or correct its read permissions. Deleting it loses all remembered replay floors; Deadbolt never deletes it automatically. A persistent update.lock in the same state directory gives update (including --check) exclusive access for the whole transaction, through installation. A competing invocation fails and must be retried after the first finishes; separate state directories are not coordinated. A real rollback is a new write with a higher sequence, so installs still follow it. The protocol's revoked_versions is always [] and clients ignore it, so update does too.
  • Root: as euid 0, update only changes an install in a root-owned directory with a root-owned HOME.
  • Extension: deadbolt browser install --extension-dir <dir> records an absolute path as an [[extensions]] entry in config.toml; the directory must be new or empty. Several can be registered (one per browser profile, say), and deadbolt browser uninstall --extension-dir <dir> unregisters one, leaving its files. An older config's single extension_dir is read as one entry and rewritten the next time the config changes; the retired standalone build's build and extension_build keys are ignored. For each directory, update compares its manifest.json version_name with the extension manifest and replaces the directory from its chromium zip (regular files and directories only, at most 64 MiB and 4096 entries, staged beside it and renamed into place), writing .deadbolt-extension with the names it installed. It never replaces a directory holding anything else. Then it says to reload Deadbolt in chrome://extensions. Without a registered directory it prints the channel's download link. Deadbolt.app doesn't update extensions.
  • Checks: manifests come only from https://anoma.ly/release (no redirects, 30 s, at most 1 MiB, polled with If-None-Match so an unchanged one costs a 304); file URLs are resolved against the manifest URL and must stay under its origin's /release/deadbolt/files/; a download stops past the manifest's size and must match its size and SHA-256 before it's unpacked, run or moved. Nothing needs the vault, so it works locked. --check prints what's available and exits 10 if anything is, else 0; --json prints a structured {current, latest, channel, available, method, action} object on stdout (with optional reason, command, and notes_url). Requests send User-Agent: deadbolt/<build channel or source>/<version>/cli.
  • Background checks: the daemon checks ten seconds after it starts, then every ten minutes on dev and every hour on stable and beta, whether update would install something, with the same manifest rules, limits and User-Agent, npm's version for npm's package and Homebrew's for Homebrew; each manifest's ETag is sent as If-None-Match next time. It never downloads or installs anything, nor writes the sequence floors, and ignores a manifest older than them; it works locked. A failed check is logged and retried in a minute on dev or five on stable and beta, doubling each time but never waiting more than an hour, and a success resets it. Release builds that know their channel check; builds from source, Nix, Cargo and system installs, and an app that can't be replaced where it is don't. DEADBOLT_NO_UPDATE_CHECK=1 in the daemon's environment turns it off, as does macOS's DisableUpdates preference in the anomaly.deadbolt or anomaly.deadbolt.cli domain (read with defaults, so a managed Mac's administrator setting counts).
  • Notifications: what the check found is in the daemon's status reply, deadbolt debug watch emits {"change":"update"} when it changes, and the desktop app's Settings show a quiet "Deadbolt is out" row. Interactive commands (stdin and stderr terminals, no --json; not debug watch, update, run, the app or the daemon) end with one stderr line, at most once a day per version (update-notice in the state directory): deadbolt <version> is out (installed with bun): run deadbolt update. The CLI only reads the daemon's answer; with no daemon running it says nothing and never asks the network. Nothing installs until the user runs deadbolt update; the lock above keeps two from installing at once.
  • Tests point it at a fake service with DEADBOLT_RELEASE_URL and a fake registry with DEADBOLT_NPM_REGISTRY_URL, which only debug builds read and only for a URL on 127.0.0.1 or [::1]. DEADBOLT_UPDATE_CHECK_CHANNEL (debug builds only) makes the daemon check that channel at once and every second.
  • Install receipt: site/public/install writes install.json beside deadbolt ({"app":"deadbolt","artifact":"cli","channel":"...","method":"direct","root":"..."}). deadbolt update checks a trusted install.json receipt first (regular non-symlink file, user-owned and not group/world-writable, matching app, artifact, and canonicalized root) before falling back to path heuristics.

Homebrew

Both live in anomalyco/homebrew-tap, rendered from packaging/homebrew/ by scripts/release-homebrew.sh from the stable manifests:

  • Formula deadbolt.rb (tap root, brew install anomalyco/tap/deadbolt): the CLI tarballs from the release service; installs deadbolt, and on macOS deadbolt-enclave beside it.
  • Cask Casks/deadbolt.rb (brew install --cask anomalyco/tap/deadbolt): the DMG, plus binary linking Contents/Helpers/deadbolt as deadbolt, so the command is always the same build as the daemon the app starts (the app treats that link as its own). The formula and the cask both own bin/deadbolt, so brew installs only one of them; Homebrew's cask conflicts_with formula: is not functional, so it is left out. zap removes the vault (~/.local/share/deadbolt), config, state, the browser native messaging manifests and the app's preferences.

Secrets and settings (release environment)

Release secrets live in AWS Secrets Manager (account anomaly-secrets, managed from anomalyco/secrets). A job that needs one runs in the release environment and assumes role/github/deadbolt-release with its GitHub OIDC token, fetching only the secrets it uses; the role's trust requires that environment, and it can read deadbolt/release/* and the shared Apple and Homebrew secrets. Set a value with bun set deadbolt release <NAME> in that repo; no release secret is stored in GitHub.

  • macOS: shared/APPLE_SIGNING_CERTIFICATE (base64 .p12, no password, with the Developer ID Application identity for team 5NZ4Q7NXJ4), shared/APPLE_NOTARY_KEY (the App Store Connect API .p8), and variables APPLE_NOTARY_KEY_ID and APPLE_NOTARY_ISSUER_ID. macos-credentials.sh imports them into a throwaway keychain and prints nothing secret.
  • Homebrew: shared/HOMEBREW_TAP_DEPLOY_KEY, the anomaly-release write deploy key on anomalyco/homebrew-tap, shared by every Anomaly app.
  • The environment has no required reviewer (every push to dev publishes); its deployment policy admits dev, production and v* tags.
  • Publishing needs no secret: the service authorizes the publish and record-brew jobs by their OIDC token, and npm authorizes publish-npm by its OIDC token (trusted publishing, see npm).

Cutting a stable release

  1. On dev, set [workspace.package] version in Cargo.toml (and run cargo update -w for Cargo.lock) and add docs/releases/<version>.md.
  2. Let the push publish its dev build and try it (curl -fsSL https://deadbolt.pw/install | DEADBOLT_CHANNEL=dev sh).
  3. git push origin <commit>:production (fast-forward only). The push runs the stable release. Push to production or the tag, not both. plan refuses a version that is already tagged elsewhere, already current, or has no notes.
  4. If a later job fails, use Re-run failed jobs; a full rerun stops at plan once the version is published.

A push to production that only changes docs/, site/ or Markdown starts no release (paths-ignore applies to every branch). Deploy the site separately (cd site && bun run deploy, with explicit approval).

Follow-ups

  • deadbolt browser install writes its own executable as the native messaging host. After installing the app, the host should point at /Applications/Deadbolt.app/Contents/Helpers/deadbolt (or the cask's link), not at a moved binary (deadbolt update replaces files in place, so the path stays valid).
  • Update offers in the app itself (it can run deadbolt update, which updates a registered extension directory too), and a Chrome Web Store listing for the extension.