116 Commits
Author SHA1 Message Date
Ryan VogelandKit Langton 8bc6e45a6b Set up Hex Mobile internal TestFlight releases (#1997)
* iOS: move Hex for iPhone to Anomaly's Apple team

(cherry picked from commit 09061502ff)

* Cut Hex Mobile TestFlight betas with a dedicated release tag

Connect the Anomaly app record and pin the mobile package graph. Cut ios-beta prereleases from dev at the scheduled windows or on dispatch, skipping unchanged mobile inputs instead of creating desktop releases or allocating build numbers locally. Prepare the generated project for the Cloud archive after clone.

Verified actionlint, duplicate and desktop-only skips, strict SwiftPM resolution, and an unsigned Release device archive containing the app, keyboard, and widgets. First Xcode Cloud onboarding and signed distribution are still pending.

---------

Co-authored-by: Kit Langton <kit.langton@gmail.com>
2026-11-19 11:48:49 -05:00
Dax 538d16f668 windows: sign the setup engine so smart app control can run setup (#1987)
* windows: sign the setup engine so smart app control can run setup

Setup extracts a copy of its engine to %TEMP% at launch and writes the
installed uninstaller from the same bytes. Signing only the outer
hex-setup-*.exe left both unsigned, and Windows 11 Smart App Control
blocked the extracted copy ("Unable to execute file in the temporary
directory", error 4551).

SignedUninstaller embeds the engine's signature, but the signature has to
exist before the compile that uses it, and the compile job holds no
credentials. So the release signs it in two passes: the new
windows-setup-engine.yml compiles once with SignedUninstaller=yes and keeps
the unsigned uninst-*.e32 ISCC asks to be signed (ISCC leaves it and aborts
as a compile failure, exit 2); sign-windows-engine signs and verifies it in
the release environment; windows-installers.yml then compiles with the
signed engine and asserts the installed uninstaller's signature.

Test builds and runs without the Azure values keep the unsigned single
compile. Inno Setup is pinned to 6.7.1, read from the compiler's own banner
(ISCC.exe's version resource is 0.0.0), so both passes use one compiler.

* windows: harden the setup engine passes

Review fixes for the signed setup engine:

- sign-windows-engine requires sign-windows to have succeeded, and its
  steps are unguarded like sign-windows-installers, so it can never upload
  an empty digest.
- setup-engine runs only when Windows is signed (it waits for
  sign-windows), so unsigned runs really do a single compile with no
  engine pass at all.
- the Inno re-pin uses choco upgrade --allow-downgrade, because choco
  install --version treats a preinstalled package as already installed.
- Invoke-Iscc collects native stderr safely under Windows PowerShell 5.1
  and pwsh with $PSNativeCommandUseErrorActionPreference on, and echoes
  the compiler's lines so build logs stay readable.
- the version probe compiles a minimal script from standard input into a
  throwaway OutputDir, so it never touches the caller's -OutDir.
- only .e32 exists for the engine; drop the unused .e64 handling.
- the uninstaller signature test also checks the release publisher, and
  the test-builds doc warns that Smart App Control cannot be turned back
  on without resetting Windows.

* windows: correct the setup engine comments
2026-11-19 02:38:03 -05:00
Dax 77b474d7ab ci: key the windows target cache on the msvc toolset (#1863) 2026-11-15 13:17:53 -05:00
Dax 5f122bb6fe key the windows test-build cache on the msvc toolset (#1853) 2026-11-15 09:13:49 -05:00
Dax db338045f3 fix: find build output under cargo 1.100's new build-dir layout (#1734) 2026-11-12 14:37:40 -05:00
Dax a049e3f290 deploy dev to the anomaly-dev account (#1706) 2026-11-11 18:10:50 -05:00
Dax 7a21e6680b ci: run macos build jobs on blacksmith (#1702)
github team caps us at 5 concurrent macos jobs, so macos jobs queue behind
each other. blacksmith has no concurrency cap and the same arm64 macos images.

converted: compile macos, check-macos test, release build-macos/verify-macos,
test-builds macos, release homebrew-stage.

sign-macos stays on github-hosted macos-26, like sign-windows: it holds the
release signing identity.
2026-11-11 16:21:42 -05:00
Dax Raad 7476ecf30f ci: dispatch hex releases from dev 2026-11-11 13:23:54 -05:00
Dax Raad 9e7d5d1d8d ci: deploy from the dev and production environments 2026-11-11 01:52:06 -05:00
Dax Raad 1b82cc0127 ci: harden release and deploy workflows 2026-11-10 10:58:00 -05:00
Dax Raad 23ae5a1f3a ci: deploy the site from infra environments
The site deploy job ran in the release environment and assumed role/github/hex-release, whose token could write every Worker on the account. It now runs in infra-dev or infra-production (picked from the mode, each admitting only its own branch) and assumes role/github/hex-infra-<mode>, which mints a token for that mode's Worker only. Release jobs stay in release.
2026-11-10 10:16:12 -05:00
Dax 5a2009e16f site: deploy with a short-lived cloudflare token from the issuer (#1642)
The deploy job assumed role/github/hex-release and then read the long-lived
hex/release/CLOUDFLARE_API_TOKEN from Secrets Manager. It now mints a
15-minute token from the token issuer after assuming the role, masks it
before writing $GITHUB_OUTPUT, and passes it only to the Deploy step.
2026-11-10 08:37:26 -05:00
Dax 8201a4ce1c ci: read release secrets from aws secrets manager (#1606)
* ci: read release secrets from aws secrets manager

* ci: read the linux signing key from hex/release/RELEASE_SIGNING_KEY

* ci: hex's own aur and homebrew keys; the signing cert has no password

* ci: the signing certificate has no password

* ci: use the shared aur and homebrew keys

* docs: the shared homebrew deploy key is anomaly-release

* docs: the shared homebrew deploy key is anomaly-release

* site: own /hex/files, drop the r2 write credential (#1611)

* site: own /hex/files for installers, appcast, and dev notes

The site build now copies install-linux.sh, install-windows.ps1, and
packaging/macos/legacy-appcast.xml into its Worker assets, so the same
Worker serves them at /hex/files with the Content-Type and Cache-Control
the bucket objects had. The Installers and Legacy appcast workflows,
r2-put.sh, and their R2 write credential are gone.

The dev notes move to the one-commit dev-notes branch, published by
Release's dev-notes job with GITHUB_TOKEN only; the Worker proxies that
file at /hex/files/dev-notes.json (falling back to the bucket copy until
the first dev release creates the branch) and renders /hex/dev from it.

Both site Workers now bind hex-production-files, read-only in code, for
the frozen 2.3.1 feeds and artifacts, which lets hex-dev-files go. The
Site build runs the installer test and appcast check the removed
workflows ran, and the verify job compares the served bytes.

* docs: the site owns /hex/files and needs no R2 write credential

Hosting, secrets, old clients, and Linux packages describe the built
installers and appcast, the dev-notes branch, and the read-only bucket.
2026-11-09 15:18:26 -05:00
Dax 3d87d0d7de fix(nix): truncate Cargo.lock stanzas in the pin check (#1408)
Stop a package stanza at the next table header, so a sourceless workspace
crate cannot borrow a following [[patch.unused]] Git source.

Assert the exact multi-crate problems instead of a string the script never
prints, and cover a sourceless package and a trailing patch table. Match the
test file in the compile path filter and the agent policy.
2026-11-05 14:52:49 -05:00
Dax b07b1a2083 fix(nix): follow Cargo.lock fragments in the pin check (#1405)
Read the resolved commit from the fragment, so branch, tag, short-rev, and
bare Git sources all work. Parse Cargo.lock's package stanzas with re so the
check runs on macOS's Python 3.9, reject lib.fakeHash, and normalize a .git
suffix when grouping repositories.

Add tests for each source form, a multi-crate repository, a stale revision,
and a fake hash. Flag the pin check itself in the agent policy.
2026-11-05 14:15:57 -05:00
Dax 83dcd3943b fix(nix): hash Rune's current revision and guard git pins (#1399)
The Rune 7d3ee6ca bump updated the Nix pin but not its output hash, so
nix build failed with a fixed-output mismatch.

cargoGitDependencies now records each Git dependency's revision beside its
output hash, and scripts/check-nix-git-pins.py fails when Cargo.lock names a
different revision. compile.yml runs it for Cargo.lock and nix changes.

Fixes #1397.
2026-11-05 13:03:19 -05:00
Dax a3edf83818 macOS DMG: retry hdiutil create, which intermittently fails on hosted runners (#1375) 2026-11-05 07:12:12 -05:00
Dax 6958927696 Windows: hex.com console entry point beside the GUI hex.exe (#1374)
* Windows: ship hex.com, a console entry point beside the GUI hex.exe, on PATH

* lock, fmt, legacy adoption

* clippy

* build hex-console in its own cargo run: -p hex is ambiguous with the hex crate

* hex.com returns once the app starts; Ctrl+C only; install script and Setup replace a running hex.com; hex-console checks in Compile

* fmt

* installer test: exit 0 once every check passed
2026-11-05 06:52:51 -05:00
Dax 6cfefd3cd1 Windows: open with no console window or white flash (#850) (#1373)
hex.exe is now a GUI program. Commands run from a terminal join it
(AttachConsole) and print there; the app leaves it after startup errors
have had their chance to print. Rune 31dbcad cloaks a window until its
first frame presents. Release checks assert the GUI subsystem.
2026-11-05 05:42:29 -05:00
Dax 9193c40ac0 windows: start without a Vulkan 1.2 driver (#1240) (#1249)
* windows: delay-load vulkan-1.dll and fall back to CPU without a Vulkan 1.2 driver (#1240)

* windows: note vulkan-1.dll is delay-loaded in restrict_dll_search
2026-11-04 03:51:13 -05:00
Dax 2626560c84 Legacy appcast: tell 2.3.1 Macs about Hex 3.3.0 (informational, no enclosure) (#1059) 2026-11-02 14:23:40 -05:00
Dax 1c70d227b5 Linux releases run on Debian 12 (glibc 2.36) (#1043)
* Linux releases run on glibc 2.36 (Debian 12) (#1026)

* Linux installer works with Debian 12's curl

* Linux build image: shaderc 2026.1 and Vulkan headers 1.4.341; fresh test-build cache

* Address review: capped stable probe, apt update, toolchain path, cache key
2026-11-02 11:45:38 -05:00
Dax fbd05ffdf7 GitHub's Latest release is the stable app release, never the SDK (#1004) (#1007)
* GitHub's Latest release is the stable app release, never the SDK (#1004)

* docs/releasing.md: the stable app release is Latest
2026-11-02 08:40:49 -05:00
Dax a8e00135d8 CI is minimal: pull requests compile, dev pushes run no checks, full suites in Release's check and stable (#923) 2026-11-01 16:11:07 -05:00
Dax c782f5e39e Onboarding gates stable releases: scene goldens and a clean first run (#864)
* Onboarding gates stable releases: scene goldens and a clean first run (scripts/check-onboarding.sh), wired into Release

* Onboarding check: hero drawn, mic scenes, no false passes, locale pinned, dispatchable Check macOS

* Onboarding goldens: dark found scenes after #865

* Onboarding walkthrough: say what the fixture window doesn't do
2026-11-01 13:44:03 -05:00
Dax 47efc1a661 Dev builds say what's new: notes from PR titles in the dev feed, /hex/dev, and Restart to update (#763) (#774)
* Dev builds say what's new: notes from PR titles in the dev feed, /hex/dev, and Restart to update (#763)

* Dev notes: keep ReadyToRestart's wire format; canonical upload; script and refetch fixes from review

* Sidebar update in its own module (code-shape)
2026-11-01 01:56:38 -05:00
Dax 476c4bbb0c Release: skip brew audits that don't fit the content-addressed hex cask (#730) 2026-10-31 21:48:41 -04:00
Dax 46c3c76260 Linux: ship Hex's icon as anomaly.hex everywhere (#652) (#655)
* Linux: ship Hex's icon as anomaly.hex everywhere (#652)

* Linux icons: mark Hex-written PNGs, keep the user's own, tidy autostart Icon (review)

* AGENTS: icon mark

* Installer: touch hicolor best-effort
2026-10-31 15:33:04 -04:00
Dax 8a130e63e5 Lowercase release file names; README downloads by channel (#456) (#601)
* Lowercase release file names; README downloads by channel (#456)

Release builds and the GitHub release mirror now name files hex-<version>-macos-arm64.{zip,dmg}, hex-<version>-windows-<arch>.exe and hex-setup-<version>-windows-<arch>.exe (Linux was already lowercase), as @vixalien asked in #456. Already-published files and the frozen 2.3.1 feeds keep their names; the release service's published names (hex, Hex.dmg, Hex.zip, hex.exe, HexSetup.exe) and the bundle (Hex.app) are unchanged, so the updater, installers, Homebrew cask, AUR and Nix are unaffected.

The README downloads table has Stable and Dev columns for every target, including the updater files. The site Worker serves /hex/download/dev/<target> (the dev alias) beside /hex/download/<target> (stable, or dev while there is none), and both now cover the bare updater files.

* Lowercase names in two remaining examples

* Lowercase the Windows executable in the CPU check step
2026-10-31 12:51:09 -04:00
Dax 34b74d3e42 x86_64 releases: build ggml for the Ivy Bridge floor; guard against BMI2/AVX2/FMA (#592) (#595)
* x86_64 releases: build ggml for the Ivy Bridge floor and fail on BMI2/AVX2/FMA (issue #592)

GGML_NATIVE=OFF alone leaves ggml's GGML_AVX2/BMI2/FMA/F16C on, so Hex 3.0.0 on Windows x64 died with 0xc000001d (illegal instruction) on an Ivy Bridge Xeon E3-1220 V2 once transcription started (reported by @Hc-Web-Dev). Linux and Windows x86_64 release builds now pin SSE4.2 + AVX + F16C and turn AVX2, BMI2, FMA, AVX-VNNI, AVX-512 and AMX off (scripts/ggml-x86-baseline.txt), the floor transcribe.cpp already uses on Intel Macs. Runtime dispatch (GGML_BACKEND_DL + GGML_CPU_ALL_VARIANTS) needs shared ggml libraries, which our single static executable can't ship. CPU transcription on newer x86 CPUs loses AVX2/FMA kernels; Vulkan is unaffected.

.github/release/check-x86-baseline.sh guards both build jobs: the executable may hold no BMI2 instruction (3.0.0's Linux build holds 100; Rust crates that use AVX2/FMA/AVX-512 behind run-time detection use none), and the ggml static libraries no AVX2, BMI2, FMA or AVX-512. No crate sets target-cpu; the only rustflags are +crt-static; no other C/C++ dependency builds with -march=native or AVX2 (Moonshine/ONNX are gone).

* check-x86-baseline: fail on missing inputs or empty disassembly; match llvm-objdump's suffixed BMI2 mnemonics
2026-10-31 12:21:26 -04:00
Dax 1018aecdbb Linux: ship the desktop entry as anomaly.hex.desktop (#582)
* Linux: ship the desktop entry as anomaly.hex.desktop (#579)

* Linux desktop entries: keep symlinks, tidy fallbacks at startup, address review

* fmt
2026-10-31 09:00:45 -04:00
Dax b2034d5bc0 Release: trust anomalyco/tap before checking the cask (Homebrew 6) (#528)
Homebrew 6 refuses to load casks from untrusted third-party taps, so the Hex 3.0.0 release's Homebrew check failed. The secretless check job now trusts our own tap after rendering the cask, guarded for Homebrew versions without brew trust. Second review: console-google/gemini-4-carbon-eap approved (session ses_e7096ffdfffeiCEi7ni1qQSPeP).
2026-10-30 20:48:48 -04:00
Dax 934b0d69aa Release: stop expecting libmoonshine in Hex.app; a failed macOS signing no longer blocks dev publishing (#496)
#424 removed Moonshine (and #430 Smart Turn's onnxruntime), but sign-macos.sh still required libmoonshine.dylib, so every Release since 0.0.0-dev-249 failed at sign-macos and nothing published. The bundle's code allowlist now requires only hex, scrawl-helper, and the microphone driver, and accepts libonnxruntime only if a build still bundles it. On the dev channel, publish no longer waits on macOS: when signing or verification fails, Linux and Windows still publish (only a verified macOS build is ever included), and the run still fails visibly. Stable still requires every platform.
2026-10-30 12:58:57 -04:00
Dax 5f0170e47b Site: a push to production deploys the production site; the mode follows the branch (#403)
site.yml runs on pushes to dev and production (site/ and the installers it copies) and derives the mode from the ref: production -> production, dev -> dev; dispatch follows the ref too, with no mode input. site-deploy.yml refuses a deploy whose mode doesn't match its branch.
2026-10-29 16:30:16 -04:00
Dax 3f1582985b Add hex-agent-policy check for issue-pipeline pull requests (#371)
Deterministic gate for agent/* pull requests: Dax-only paths always fail, flagged patches need the pipeline's strict reviewer. The script lives under .github so changing it needs Dax.
2026-10-29 11:06:51 -04:00
Dax f9ab7b5a9c Security: sign Linux releases, lock the installers, vendor the release client, pin actions and download hosts (#370)
From the 2026-10-29 security review:
- H1: Release signs each Linux executable with Anomaly's ed25519 key (HEX_RELEASE_SIGNING_KEY, .github/release/sign-linux.sh, which refuses a key that does not match linux-signing.pub) and publishes the signature as the linux-<arch>-sig target. The updater (updater/linux.rs SIGNING_KEY) and install-linux.sh refuse an executable without a valid signature over its SHA-256, before downloading it. Installed builds that predate this ignore the extra target, so the transition needs nothing from them.
- H3: the installers move to the locked .github/release/ (CODEOWNERS @thdxr); the Installers workflow publishes them from a sparse checkout of that directory.
- M1: the release service client is vendored as .github/release/release-client.sh instead of piping anoma.ly/release/client.sh into bash.
- M2: check-windows.yml gets permissions: contents: read; every third-party action is pinned by SHA.
- M3: resolve_url accepts only URLs on the manifest's host.
2026-10-29 11:06:30 -04:00
Kit Langton a619374faf Release: lay out the DMG window from packaging/macos/dmg (t423) (#304)
build-macos ships the background TIFF and Finder's .DS_Store beside Hex.app.zip; sign-macos.sh checks both by magic number and size and copies them into the DMG as data.
2026-10-28 20:59:45 -04:00
Dax 2962074bfa Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320)
* Captures on Linux: portal, PipeWire and VA-API behind the engine's platform seam; capture compiled into macOS and Linux builds

The capture engine's OS adapter gains capture/linux.rs: the screen-cast
portal (zbus) picks the screen (remembered with its restore token) or a
window, libpipewire and libva are loaded at run time, frames are imported
as DMA-BUFs and scaled and H.264-encoded on the GPU, and ffmpeg muxes and
reads movies back. Software x264 is the fallback.

capture_host, the capsule, the pane, routing and the CLI are shared; the
Linux listener feeds a ListenerTimeline, its portal or X11 grabs bind the
capture shortcut, and the summary goes through Hex's Linux clipboard.
The capture feature flag is gone: macOS and Linux always compile the
experiment, off by default.

* Docs: captures on Linux, the experiment in every macOS and Linux build; token path from Hex

* Capture portal: register Hex's app id so the desktop keeps its screen choice

* Fix macOS test build after the capture seam

* Linux: size X11 shortcut state for the capture shortcut; keep macOS-layout capsule tests on macOS

* Windows: the capture word timestamps field is Linux's
2026-10-28 20:58:27 -04:00
Dax f89fcd5199 Rune-only desktop: drop glib/gio, tray-icon and Hex's own file dialogs (#319)
* Drop glib/gio and tray-icon: Rune tray and file dialogs, zbus for the portal and MPRIS

* Drop glib from packaging, Nix, CI and docs; Rune tray and dialogs in the docs

* fmt; Nix hash for Rune 07520d0
2026-10-28 19:39:50 -04:00
Dax 93ebefcaef Release: dev releases never cancel each other (#307)
cancel-in-progress is now false for every channel: a running release finishes, and GitHub keeps only the newest pending run in the channel's group, replacing older pending ones. Before, each push to dev cancelled the release in progress, so with frequent merges nothing published (the QuickJS release was cancelled at its last step). Stable was already false; the reusable workflows and .github/release/ set no concurrency; installers.yml already queues.
2026-10-28 15:27:29 -04:00
Dax 6b988c493c Run personal commands in embedded QuickJS instead of Bun (#300)
* Run personal commands in embedded QuickJS instead of Bun

Hex now runs ~/.config/hex/hex.config.ts in-process: rquickjs on one worker
thread, TypeScript erased to same-position JavaScript with oxc's parser,
per-call time limits and a runtime memory limit, and no filesystem, network,
process, or timer API. Handlers return actions that Hex validates and runs on
its native executor. The Bun host, managed SDK provisioning, bun update, the
sdk/commands workspace, and their scripts and CI steps are gone; Hex writes
hex.d.ts typings instead, and hex commands check replaces bun run check.

Plan and measurements: docs/plans/quickjs.md.

* Spell out a range check that a new dependency's impls made ambiguous
2026-10-28 15:06:45 -04:00
Dax 25c9be7185 Installers: serve the current install scripts at the production URLs; default to dev until there is a stable release (#298)
https://anoma.ly/hex/files/install-linux.sh and install-windows.ps1 still served the 2.3.1 installers (Kit's frozen feed, ~/.local/share/voice-control). A new Installers workflow tests scripts/install-linux-release.sh and install-windows.ps1 without secrets and uploads them over those keys with .github/release/r2-put.sh, on every change to them on dev. Nothing else reads those keys: the 2.3.1 updaters read the frozen feeds and appcast. With HEX_INSTALL_CHANNEL unset, the installers now install the stable release, or the newest dev build (on the Dev update channel, with a message) while the release service has none, so the README's command works today.
2026-10-28 13:48:03 -04:00
Dax 3434eb5f35 Rename voice-control to hex everywhere, without migrations (#293)
* Rename voice-control to hex everywhere, without migrations

The Cargo package and binary are now hex, every OS keeps its data in a
hex folder, and VOICE_CONTROL_* variables are HEX_*. Hex is a fresh
app: the macOS voice-control rename, its symlink, and the Windows and
Linux beta settings imports are gone. The Windows installer gets a new
AppId so it never takes over an old voice-control install's entry.

* Format

* Drop the Windows paste-last default only the beta import used
2026-10-28 13:08:44 -04:00
Dax 180be36beb Release: fix the AUR job's ownership and hidden .SRCINFO (#288)
* Release: build hex-bin in builder's home instead of chowning the runner's files

The AUR job chowned RUNNER_TEMP to builder, taking the runner's own files
(step summary, event.json) with it, so the summary, upload and post-checkout
would fail with permission denied on the first stable release. builder now
stages and runs makepkg on copies in /home/builder; the workspace and
RUNNER_TEMP keep their owner.

* Release: upload hidden files so build-aur keeps its .SRCINFO
2026-10-28 11:33:35 -04:00
DS d29ffcfdc5 ci: build the Nix check on every core, skip draft PRs, keep every dev run (#285)
The Nix job built the release package and ran its tests on one core, taking
25-40 minutes; every other check finishes in 6-12. It now uses all of the
runner's cores. The derivation and the tests it runs are unchanged.

Draft pull requests no longer run the checks; marking one ready runs them.

Pushes to dev no longer cancel each other's runs, so every dev commit gets a
result. A new push to a pull request still cancels its stale run.
2026-10-28 09:51:33 -04:00
Dax 197ea1883c Linux ARM64, .deb, and .rpm releases (#239)
* Linux ARM64, .deb, and .rpm releases

Both Linux architectures build natively on Ubuntu 24.04 runners (glibc 2.39
floor, Vulkan on both), publish linux-arm64 plus linux-<arch>-deb and -rpm
(hex.deb, hex.rpm) built with nfpm and installed on Ubuntu and Fedora in the
build job. hex-bin gains aarch64. Package installs report deb-<arch> or
rpm-<arch> through dpkg/rpm ownership and get the stable update command.

* build-linux.sh prints only the executable's path

* Linux releases link no system BLAS, as the Arch build shipped

* Linux build: keep libopenblas-dev for build.rs's dropped -lopenblas
2026-10-27 21:50:19 -04:00
Dax 562549172f fix(site): write the release data before checking download links (#251) 2026-10-27 21:23:35 -04:00
Dax e75016f0d5 fix(site): drop Vite's hidden build manifest before uploading the Build Output (#250) 2026-10-27 21:22:07 -04:00
Dax 55ee0b43bb fix(site): build through bun run so vite is on PATH (#249) 2026-10-27 21:20:50 -04:00
Dax 4d804b8fb7 fix(site): deploy the site from a secretless build through a locked script (#248)
Security finding #528: Site ran site/ code (bun install, build.ts, vite)
in the release environment with a Cloudflare token that can write every
Worker. Site deploy now builds without an environment or secret, uploads
the Build Output with its SHA256SUMS digest, and deploys it from a job
that checks out only .github/release/, verifies the digest, and runs
deploy-site.sh: it refuses any Worker, route, or binding other than the
mode's site Worker and deploys with the cf CLI locked in
.github/release/cf/. Legacy appcast checks out only .github/release/ and
the appcast, and r2-put.sh moves under the boundary.

The deploy token is now hex-site-deploy (Scripts + anoma.ly Routes, no
R2) and the appcast key hex-r2-production-files (one bucket).
2026-10-27 21:19:57 -04:00