Skip to content
Back to skills

Release

BSecurity

Cut and ship an Ardia release end to end, stable or nightly — write the Dia-style release notes from git log, bump the version, build/sign/package with scripts/release.sh, smoke-test the build in a hidden instance, publish the GitHub release (a prerelease for a nightly) + Sparkle appcast, and deploy ardia.dev with the release-notes entry, the new download link and the landing page's claims and screenshots brought up to date. Use this whenever the user asks to ship, release, cut/push a new ver...

  • 3,684 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
developmentpythongobashreactnodeawstestinggitapisecurity

Works with

  • cli
  • api

Security analysis

B85/100
  • mediumUses curl or wget to download content
  • highPerforms destructive filesystem operations

Pro scans all 20 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add ardia-browser/ardia --skill release --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Release?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Release
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/ardia-browser-release/badge)](https://www.skillsdirectory.com/skills/ardia-browser-release)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: release
description: Cut and ship an Ardia release end to end, stable or nightly — write the Dia-style release notes from git log, bump the version, build/sign/package with scripts/release.sh, smoke-test the build in a hidden instance, publish the GitHub release (a prerelease for a nightly) + Sparkle appcast, and deploy ardia.dev with the release-notes entry, the new download link and the landing page's claims and screenshots brought up to date. Use this whenever the user asks to ship, release, cut/push a new version, a nightly or an update, publish a build, "ship it as a nightly", "get this to me", bump the version, or write release notes for Ardia — even if they only say "ship it", "nightly" or "new release" after a batch of fixes.
---

# Releasing Ardia

The GPUI release workflow runs on `main`. The legacy React Native and WebUI gate, JS ratchet, and packaging instructions refer to the legacy desktop release sources.

A release is: notes → version bump → `scripts/release.sh` → smoke test → GitHub release → site deploy.
The build and the publishing run in GitHub Actions: the **Release** workflow (`.github/workflows/release.yml`,
`.agents/guides/releasing-reference.md` › CI releases) runs `release.sh`, signs, notarizes and publishes.
Locally you write the notes, bump the version, publish the engine when `engine/` changed, smoke-test, run the
stable perf gate and the site's Ardia-only benchmarks, and update the site.
Users get it through Sparkle (Ardia › Check for Updates…), and the first launch of the new version
opens `https://ardia.dev/release-notes#<version>`. So the release isn't done until the site is
deployed with the new entry — otherwise that tab opens on a page that doesn't mention the update.

There are two channels (`.agents/guides/releasing-reference.md` › Channels):

- **Nightly** (`0.2.37-nightly.1`): fast iteration, one fix at a time. Only the focused checks for what changed run,
  plus the quick perf gate (5 rows against the previous nightly, step 5); no perf ratchet, no stable perf gate, no
  landing-page refresh. It's a GitHub prerelease, so the site's download,
  the README and fetch-engine (all on `releases/latest`) keep pointing at stable.
- **Stable** (`0.2.37`): everything below. From the candidate to publish, the checks take about 45 min: the smoke
  test, the update test, the ratchet and the perf gate's preparation side by side (about 5 min), then the gate's two
  timed rounds (about 19 min each), all in `apps/browser/scripts/perf/gate.sh` under one perflab lock.
  The site's benchmarks run on the Mac mini beside them or after publishing, never in front of it. Its perf is
  compared with the previous **stable** release, never a nightly.

When the owner asks for a nightly, or asks for a release without saying stable, run the nightly loop. A fix being
ready is not a request: never start a nightly or a stable unless the owner asks for a release in that request.

## The nightly loop

For each fix:

1. **Reproduce** it in a hidden instance (or the test that shows it) before touching code.
2. **Fix** it; commit straight to `main` (only your hunks).
3. **Verify** the fix the same way you reproduced it, once before and once after.
4. **Run the adjacent tests**: the checks for what changed (its acceptance checks, `packages/core` tests, the shortcut
   test, a smoke.mjs check), not the full suite.
5. **Build and release it as a nightly**:
   ```bash
   prev="$(git describe --tags --abbrev=0 --match 'v*')"                          # the previous release, either channel
   stable="$(git describe --tags --abbrev=0 --match 'v*' --exclude '*-nightly*')"  # the previous stable
   ```
   - Version: `<next stable>-nightly.<n>`, where the next stable is `$stable` with the patch bumped and `<n>` counts up
     from 1 since `$stable` (`git tag -l "v<next stable>-nightly.*"`). The build number goes up by one, as always.
   - Notes: `apps/site/src/content/release-notes/<version>.md` with the usual frontmatter and headline
     (`apps/site/src/content/release-notes/README.md` › Nightlies). Source: `git log $prev..HEAD -- apps/browser packages engine`.
   - Bump and build: step 3 below, with `scripts/release.sh <version>` (the `-nightly.<n>` version makes it a nightly).
   - Smoke test: `.claude/skills/release/scripts/smoke.sh <version> ${prev#v}`. Its update test runs the nightly's own
     appcast item twice: a copy of the previous build on Stable must not be offered it, one on Nightly must install it.
     All of it must pass, as for stable. To test CI's own build instead of a local one, see "Smoke-testing CI's build"
     in step 5.
   - Quick perf gate: commit and push the bump and notes, dispatch a dry run
     (`gh workflow run release.yml -R ardia-browser/ardia -f version=<version>`, "Smoke-testing CI's build" below), and
     as soon as its `release` artifact exists start, with `run_in_background`:
     ```bash
     .claude/skills/release/scripts/nightly-gate.sh <version> <dry-run id>    # about 15 min on mini
     ```
     It runs `scripts/benchmarks/desktop/quick-gate.sh` on mini under the perflab lock: CI's signed candidate against
     the previous published nightly (its DMG from GitHub), two interleaved rounds, five rows (launch → window with
     its content, tab switch → shown, idle wakeups at 1 tab in the browser process, profile swipe → main-thread turn
     p99, new window → on screen; `scripts/benchmarks/perf/README.md` › The quick nightly gate). The smoke test of the same
     candidate runs beside it. Exit 0 passes; 1 is a FAIL: don't publish, report the failing rows with both medians
     and the per-round deltas, and find the cause like any regression; 2 is an invalid round: run it again. Publish
     over a FAIL only when the owner says so in the thread ("publish over the gate"), and say in the report which rows
     failed and that the owner overrode them.
   - Publish: only after the quick gate passed (or the owner overrode it),
     `gh workflow run release.yml -R ardia-browser/ardia -f version=<version> -f dry_run=false` and
     watch it (`gh run watch <id> --exit-status`, in pieces under 10 minutes). It builds, tags, and runs
     `.claude/skills/release/scripts/publish.sh <version>` (a prerelease with the DMG, zip, appcast and CLI
     tarball, plus the Linux and Windows files when their jobs passed; the merged feed onto the latest stable release;
     `Ardia-Nightly.dmg` behind https://ardia.dev/nightly; it checks all of them), then refreshes the Windows update
     feed (step 5e), and the Homebrew tap's `ardia@nightly` cask when the `HOMEBREW_TAP_TOKEN` secret is set
     (otherwise run `update-tap.sh <version>` yourself, step 5c). Locally the same is `git tag v<version> && git push
     origin main v<version>` and `publish.sh <version>` after `release.sh`.
   - Site: pushing the notes redeploys it (`.github/workflows/deploy.yml`), so the after-update tab finds the nightly's
     entry; check the deploy run finished (no claims or screenshots). The Mac nightly link and the Windows installers
     (`windows-alpha`) never change. The Linux download is versioned: once the release is published, run
     `.claude/skills/release/scripts/site-version.mjs <version>`. It points `release.json`'s `linux` at the nightly when
     the release carries `Ardia-<version>-linux-x64.tar.xz` and leaves it on the last one that did otherwise; commit it
     as "Site: Linux download <version>" and push (another deploy).
   - Report in two lines: the version, the fix, the smoke result and the quick gate's verdict.

**Batches, cut lines and freezes.**
- When the owner sets a cut line for a nightly, estimate every running task on a waterfall, ship whatever is finished
  by the line, and pull in anything that finishes earlier.
- In the last fix rounds before a cut, only data-loss, security or crash findings block. The rest go into one linked
  follow-up issue, each with why it doesn't block. A frozen release branch takes only blocker and red-CI fixes; new
  work goes on a side branch that merges after the release.
- When the owner wants to try a fix before the cut, put the candidate on `mbp1` on a fresh copy of their real profile
  (cookies included, its own bundle id; never the live profile) (Mac first),
  say which build it is, and cut only after their go.
- Never cancel, re-run or dispatch over a live Release run, and never push to its branch or tags while it runs.
- Never run Sparkle's `generate_keys`, `sign_update` or `generate_appcast` locally without `--ed-key-file` pointing at
  a throwaway key: without it they use, or create, the signing key in the login keychain.

**The Mac app is the GPUI app** (`.agents/guides/releasing-reference.md` › The GPUI app as the nightly): dispatch the loop above with
`version` and `dry_run`; `gpui_ref` defaults to the dispatched commit, whose checks must be green. CI builds
`crates/ardia-app` as `com.ardia.browser`, refuses an engine older than the newest release's Chromium, signs and
notarizes it, and its `gpui-smoke` job (`gpui-smoke.sh`: Sparkle and, on CI, the delta from the newest published
nightly, entitlement parity, then `carryover.sh --gpui`) must pass before publish. Locally:
`RELEASE_PROVISIONING_PROFILE=<Developer ID profile> scripts/release.sh <version>`, then `gpui-smoke.sh dist/<version>
<version>` (`SPARKLE_SDK=<folder with the Sparkle release's Sparkle.framework>`, else `scripts/release/sparkle.sh`
fetches it; `SMOKE_SIGNING_IDENTITY=<hash>` without an Apple Development identity). `release.sh` refuses a stable until
a GPUI perf gate exists (#5188). The rollback for everyone is the React Native app released again as the next nightly
from a branch off the `mac-rn-final` tag, with a higher build number.

Batch nightlies when fixes land close together; never hold a fix back for a stable. A stable release's notes cover
everything since the previous stable, nightlies included.

`.agents/guides/releasing-reference.md` is the reference for the machinery (keys, notarization, what release.sh checks);
`apps/site/src/content/release-notes/README.md` is the notes style guide. Read the style guide before writing notes.

## Ground rules (why they exist)

- **Never touch the Chromium build cache.** release.sh only reads the engine framework from
  `~/chromium-build/chromium_git/chromium/src/out/Release_GN_arm64` (and refuses one older than the tree's ArdiaCore
  sources: rebuilding it is an incremental `chrome_framework` build under the chromium lock). Never delete or clean
  `~/chromium-build/chromium_git/chromium/src/out`, run `gclient sync` or `gn clean`: a full Chromium
  rebuild costs ~5 hours and the user has been emphatic about it.
- **Never launch or touch `/Applications/Ardia.app`** (`Netnyahoo.app` until the owner updates past the rename) —
  the user is using it. Test only the exported
  build in `dist/`, only hidden (`ARDIA_BACKGROUND=1`, throwaway `ARDIA_DATA_DIR`), never with
  plain `open`. The smoke script does this for you.
- **Build from a clean tree.** release.sh archives the working tree, so another agent's half-finished
  edit would ship. Check `git status` first (below).
- **Commits** go to `main` with no attribution lines: no `Co-Authored-By: Claude…`, "Generated with …" or session
  links (`AGENTS.md` › No attribution lines).

## 1. Check the tree

```bash
git status --short
git log --oneline v<previous>..HEAD
```

Anything modified or untracked under `apps/browser`, `packages/`, `engine/` or `scripts/dmg` that isn't committed
would end up in the build (release.sh refuses to run with it). If it belongs to a running agent, wait for it or ask; don't commit
someone else's work in progress. Untracked files under `apps/videos`, `apps/site` or `output/` don't
affect the app.

For a stable release `<previous>` is the last stable tag (`git describe --tags --abbrev=0 --match 'v*' --exclude
'*-nightly*'`); nightlies in between don't count, for the notes range, the smoke test or the perf gate. The next version
bumps the patch (0.1.5 → 0.1.6) unless the user says otherwise.

## 2. Write the notes

Create `apps/site/src/content/release-notes/<version>.md` following `apps/site/src/content/release-notes/README.md`: frontmatter `date`
(today, `YYYY-MM-DD`) and `headline` (30–60 chars, one sentence, the only witty line: the most noticeable
change said dry and calm, true, no pun and no politics, with an open-country touch only where it fits, per
the README's Voice section), then `## New` / `## Faster` (the
perf-gate table, step 4c) / `## Fixed` / `## Smaller` bullets written from the user's side.

Source material: `git log --format='%h %s%n%b' v<previous>..HEAD -- apps/browser packages`. The commit
bodies already describe the user-visible symptom; translate them, don't paste them. Leave out the site,
the videos, docs and version bumps. Each bold lead says what the user can do or what stopped being
broken; no file names, flags or commit hashes. Items that came from an outside contributor's PR, or a
commit co-authored by one, end with `Thanks, [@handle](<PR url>).` (README step 5); check
`git log --format='%h %an %(trailers:key=Co-authored-by)' v<previous>..HEAD` and the merged PRs
(`gh pr list --state merged --search "merged:>=<previous release date>"`) so nobody is missed.

Check it renders: `pnpm -C apps/site build` and grep the headline in
`apps/site/dist/release-notes/index.html` (or preview it on port 4321, the "site" launch config).

## 3. Bump and build

First bring the content blocker up to date. uBlock Origin is bundled as a component extension, which
never updates itself, so its code is only as fresh as the last release that moved the pin (its filter lists
update themselves from the network, as uBO's do everywhere):

```bash
scripts/update-ubo.sh     # "uBO <x> is the latest release", or "uBO <old> -> <new> (sha256 …)"
git add packages/ardiacore/scripts/ubo.sh && git commit -m "Content blocker: uBlock Origin <new>"   # only if it moved
scripts/update-ubol.sh    # WebKit pages: uBlock Origin Lite's Safari rulesets, converted to WebKit content rules
git add packages/ardiacore/scripts/ubol.sh && git commit -m "WebKit content blocker: uBlock Origin Lite <new>"   # only if it moved
```

WebKit pages block with uBlock Origin Lite's rulesets (its Safari build), which, like uBOL everywhere, change only
with a new uBOL release, so they are as fresh as the last Ardia release that moved `UBOL_VERSION`.

It checks the zip against GitHub's SHA-256 digest and the manifest's version, rewrites the pin in
`packages/ardiacore/scripts/ubo.sh` and installs it into `packages/ardiacore/vendor/ubo`. Verify after release.sh
that the export carries it: `python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["version"])'
dist/<version>/export/Ardia.app/Contents/Resources/Extensions/ublock/manifest.json` prints the
pinned `UBO_VERSION` followed by ubo.sh's patch level as a fourth part (`1.75.0.8`: uBO refreshes its cached
scriptlets when that version changes, so our patches reach existing profiles), and the smoke test's "uBlock blocks an ad script" check passes. An error means
the release is odd (no digest, a version mismatch): keep the old pin and say so in the report.

```bash
sed -i '' 's/^ARDIA_VERSION=.*/ARDIA_VERSION=<version>/; s/^ARDIA_BUILD=.*/ARDIA_BUILD=<n+1>/' version.env
git add apps/site/src/content/release-notes/<version>.md version.env
git commit -m "Release <version>"
scripts/release.sh <version>     # ~15–25 min with notarization; run it in the background and wait
```

For a nightly, set `ARDIA_VERSION` in `version.env` to `<version>` (`0.2.37-nightly.1`) the same way, commit as "Nightly <version>",
and run `scripts/release.sh <version>`: the version alone makes it a nightly.

Before any of that, check the commit in about a second:

```bash
scripts/release/preflight.mjs <version>    # --mode dry-run as the CI dry run checks it
```

It reads the published appcast once and fails on everything that would stop the release later: a version that fits
no channel, missing, empty or unreadable notes, `ARDIA_VERSION`, `ARDIA_BUILD` or `ARDIA_MIN_MACOS` set more than
once in `version.env` or a version that isn't `<version>`, a GPUI `Info.plist` template that stopped taking them from
the build (`@VERSION@`, `@BUILD@`), an Arch `pkgver` that `update-pkgbuild.sh` wouldn't derive from `<version>`, a stable
that isn't above the latest stable in the feed, and a build number that isn't above every build in it (stable and
nightly share one feed). `release.sh` and the
Release workflow's `preflight` job run it first, so a stale build number fails in seconds instead of after the engine
fetch and the build.

`release.sh` checks everything first, then runs the stages in `scripts/release/` in order: `archive.sh`,
`export-sign.sh`, `verify.sh`, `launch-check.sh`, `notarize.sh`, `package.sh`, `notes.sh`, `appcast.sh`. When one
fails, read its log in `dist/<version>/` and rerun that stage alone (each prints its usage); `notes.sh` prints the
GitHub notes without touching anything.

To release from CI instead, push the commit and dispatch the Release workflow (step 5): it runs this same `release.sh`
on GitHub's runner, so everything below about what it checks holds there too.
When `engine/` changed since the last published engine, publish the engine you built first, or CI has nothing to link:

```bash
scripts/publish-engine.sh --dry-run    # packs into dist/engine-<tree>, prints what it would upload
scripts/publish-engine.sh              # the engine-<tree> prerelease, never latest; appends prebuilt-engines.tsv's line
git add packages/ardiacore/prebuilt-engines.tsv && git commit -m "Prebuilt engine: <tree>" && git push origin main
```

`ARDIA_BUILD` in `version.env` is the build number Sparkle compares — it must go up every release, nightlies included
(release.sh refuses one that isn't above every build in the published feed; read the current value with `grep ARDIA_BUILD version.env`). release.sh refuses to run
if `ARDIA_VERSION` doesn't match, the notes file is missing, the tree has uncommitted app or engine
changes, or the engine framework is stale (`.agents/guides/releasing-reference.md` lists what it checks). It notarizes the app and the DMG with the
`ardia` notarytool profile (an App Store Connect API key in the login keychain, set up 2026-09-26) and
ends with "Notarized and stapled." If it says "NOT notarized.", the profile is gone or invalid
(`xcrun notarytool history --keychain-profile ardia` shows why): stop and tell the user rather than
shipping an unnotarized build. Never store or re-create the credential yourself; that's the user's step.
Notarization adds a few minutes per submission.

## 4. Smoke test the build

For a stable, run the gate script as soon as the candidate exists (`run_in_background`; it ends in about 45 min):

```bash
apps/browser/scripts/perf/gate.sh <version> <previous>    # --out $HOME/ardia-scratch/gate-<version> by default
```

It takes the perflab lock for the whole run, so no other agent's timing shares the Mac. While another job holds it,
it waits up to `GATE_LOCK_WAIT` seconds (default 3600), then gives up with exit 75 without starting anything. Inside
the lock it runs this step's smoke test, 4b's ratchet and 4c's preparation side by side (none of them is a timing;
logs in `<out>/smoke.log`, `ratchet.log`, `prep.log`), then 4c's two timed rounds and the verdict. Its exit status is
0 pass, 1 a row fails, 2 a round is invalid, or the step that failed: 10 smoke, 11 ratchet, 12 prepare, 13 and 14 the
rounds, 15 the verdict didn't run, 71 an app instance it launched is still running after cleanup, whatever the
verdict (`gate.sh --help` lists them all; each step's own status is in its output). A ^C, a
TERM to it or its process group, or a timeout stops every job it started and waits for them; the lock stays held
until they've exited. Fix what failed and run the script again. When the fix means a new candidate (a rebuild, a new
`--rc`), the next run prepares it afresh: `--prepared` refuses copies made from an older build of the same path, and
the templates are keyed by the copy's code signature. A new candidate also means running 4d again on it: the site's
benchmarks must be the build that ships. Start 4d on the Mac mini at the same time. A nightly runs only the smoke
test:

```bash
.claude/skills/release/scripts/smoke.sh <version> <previous>     # --rc for dist/<version>-rc
```

First it checks the update from `<previous>` (its export in `dist/<previous>/export`):

- the engine is ArdiaCore (Chrome's framework, no CEF);
- the identity Sparkle, the keychain and TCC compare: same bundle id, executable, feed and EdDSA key, the build
  satisfies `<previous>`'s designated requirement, and its build number is higher;
- the appcast's EdDSA signature of the zip verifies with the app's key, and the zip holds this very app, sealed and
  stapled; Gatekeeper accepts the app and the DMG as notarized;
- `update-test.sh`: `<previous>`'s own Sparkle updates a scratch copy of it to this build, through a local feed made of
  the appcast's item (test bundle id and key; no relaunch, no UI);
- `carryover.sh`: `<previous>`'s data, made where an installed copy keeps it (two profiles: tabs, cookies including
  session ones, localStorage, passwords, bookmarks, history, an address, a site permission, zoom, an extension),
  opens in this build started without `ARDIA_DATA_DIR` (test copies in a fake home; never the real data).

Then it launches `dist/<version>/export/Ardia.app` hidden with a data dir that says `<previous>` ran last,
and a session whose window was left on its second profile, and checks, over CDP and the window list:

- the engine and chrome://version are the Chromium version `engine/patches/build/env.sh` names, and the after-update release-notes tab opened exactly once;
- the browser's child processes are the bundle's own helpers (Chrome's process checks pass under Developer ID);
- a fresh profile is offered the built-in Command Line plugin and gets no `ardia`; an installed one gets `ardia` from
  the signed copy, at the pinned version (`scripts/release/cli-bootstrap-smoke.sh`);
- `ardia browse read <url>`, `open <url>` and `read` work over the real token connection, with the app's built-in
  `ardia` (`scripts/release/token-smoke.sh`, in a second hidden instance with no DevTools port);
- pages load, uBlock blocks an ad script, H.264/AAC/WebGL2;
- no hidden full-size Chrome window (since 0.2.0 the app window is Chrome's own; before, a hidden "ghost"
  sat behind it), and the window restores as the Work profile's Chrome window, alone on screen, its pages
  in the Work context;
- a passkey dialog comes in front, directly over the visible window it belongs to, and closes when the
  page navigates (the 0.1.2–0.1.4 regressions);
- the autofill dropdown accepts a suggestion (0.1.3), the offline page is Where's the lamb?, chrome://version;
- right-click shows the native context menu (0.1.5);
- with Chrome's last-used profile left at Work (as quitting with Work's window in front does), Personal's pages
  still run in Personal's profile (0.2.19 and earlier ran them in Work's);
- a page that stops responding is reported (Chrome's hang monitor reaches the app; 0.2.20 attached a DevTools client to
  every tab it showed, and Chrome ignores hangs while one is attached);
- quitting the way ⌘Q and Sparkle's update do (the quit Apple event, sent to this instance's pid only) exits
  within 15 s with status 0 and no crash report (0.2.6 and 0.2.7 crashed on every quit, so every update
  ended in "Ardia quit unexpectedly");
- the bundle's signature is still valid after running (0.1.0 wrote into its own bundle);
- the feed in the build's Info.plist (`SUFeedURL`, `https://ardia.dev/appcast.xml` since the rename) answers
  with an appcast (`.claude/skills/release/scripts/feed.sh --before-publish`). A 404 means ardia.dev is running a deploy without
  the feed endpoint (`infra/site/nginx.conf`): deploy the site first, or copies of this build never update.
  0.2.14 to 0.2.32 poll `https://netnyahoo.com/appcast.xml`, which the same site serves: across the rename smoke.sh
  checks that both lead to the same appcast.

Everything must pass before publishing. One known exception: the two passkey window-order checks read
CGWindowList, which isn't reliable while the Mac's screen is locked (window animations freeze). smoke.sh
detects the lock (`CGSSessionScreenIsLocked`) and prints them as SKIP; publish when the release doesn't
touch window ordering, and say so in the report. Before 0.2.0 the builds had three such checks (the
ghost's order), so a pre-0.2.0 export isn't a control for these. The window-list checks also fail, with an empty or
shrunken list, when the user switches Spaces or opens Mission Control during the run (the hidden instance's
windows leave the on-screen list): run it again. A failure is either a real regression (fix it, commit, rebuild —
don't publish) or the check itself going stale after an intended change (fix the check in
`.claude/skills/release/scripts/smoke.mjs`, and say so). When a release fixes a new class of bug that can be observed over CDP or
the window list, add a check for it to `smoke.mjs` so the next release guards it.

**After a fix mid-release, test only the fix, except for the perf gate.** When the smoke test or the ratchet fails and
you fix it, rebuild and re-run only what covers that fix: the failed checks (the ratchet for counts), plus the smoke
test when the fix touches what it checks. Don't repeat the checks that already passed on the earlier candidate. A
perf-gate failure is different: its verdict is read from two whole rounds pooled, so no partial run (a launch-only
native-bench, say) stands in for it. Rerun `gate.sh` in full, both rounds and the verdict, and publish only on its
pass. A launch-only native-bench is for finding the cause, not for clearing the gate. Any fix that rebuilds the
candidate also needs the full `gate.sh` before publishing, because its rounds measured the old build.

### 4b. Perf ratchet (stable only)

Check the candidate's counts against the ceilings before publishing, beside the smoke test (about two minutes, four
with a retry; no perflab lock needed: they are counts, not timings):

```bash
node apps/browser/scripts/perf/ratchet.mjs run --own --app dist/<version>-rc/export/Ardia.app   # dist/<version>/export without an rc
```

`--own` runs the app's own `main.jsbundle`, so it checks what ships. It must print `ratchet: ok`. It runs the launch,
idle, command bar, tab switch, navigate, scroll, hover and native-node churn scenarios in one hidden instance and a
one-tab launch in a second one beside it (report `ratchet-small.json`). A count over its ceiling gets one more run of
the journeys up to that scenario, and a one-tab count gets its own one-tab rerun (a stray window event isn't a
regression; a count over in both is). Native nodes left behind by the churn are never rerun: one run with any left
fails. To check its verdict again from the saved reports, use the `check` line it prints last (the reports, `--retry`
for a retry, `--micro` for the Node counts), not the retry report listed as a plain one: that drops the scenarios it
didn't rerun. A failure is a real regression
(find the commit that added the commit, render, store update or timer, and fix it) or an intended increase: raise that
one ceiling by hand in `apps/browser/scripts/perf/ratchet.json` and say why in the commit and the release report. When
the release made counts go down, run `ratchet.mjs lower` with the arguments of the `check` line the run printed last: both
sessions' reports (`ratchet.json` and `ratchet-small.json` in `$TMPDIR/ac-ratchet`), a `--retry` for each retry report it
produced, and `--micro` (under `gate.sh`, `TMPDIR` is the gate's scratch folder, `/tmp/ac-gate.XXXXXX`, named in its
output). Then commit
the lowered ceilings, and say which counts dropped. The wall-clock gate is a separate step: `scripts/benchmarks/perf/README.md`.

### 4c. Perf gate: the RC against the previous stable release (stable only)

Every stable release is timed against the previous stable one before it publishes (never against a nightly: the
control is `dist/<previous stable>/export/Ardia.app`), and ships only when every row passes
(`scripts/benchmarks/perf/README.md` › Gating a release). The copies and both templates were made beside the smoke test (step 4);
the timed part is two rounds of native-bench on the prepared copies, interleaved, launch x6, session x2 and windows x2
each, about 19 minutes a round, both run by `gate.sh` (step 4) under its lock. Each round gets a new empty folder, and
the verdict runs only when both rounds exited 0, so a retry never scores an earlier round or build.
`gate-verdict.mjs` reads the two rounds pooled: a row fails when the pooled ranges separate, or when it's worse in
both rounds by more than the previous release's own round-to-round spread. It exits 1 on a failed row, and 2 on an
invalid round, before scoring anything: a phase, run or sample missing, samples left out with the screen locked or
the display asleep, or the rounds measuring different builds (version, build or code signature hash). Rerun the gate
for a 2.

js-bench is triage, not a gate step, when the ratchet passed: run its alternating loop (`scripts/benchmarks/perf/README.md`) only
when a gate row fails or needs explaining. Afterwards read `scripts/agent/cpu-cap`'s log (`cpu-cap.log`): a pause of
the bench or its instances during the run invalidates it, so rerun. Put the verdict table and both rounds' tables in
`scripts/benchmarks/perf/<previous>-to-<version>.md`.

The notes get a `## Faster` section only when the release is measurably faster: a short table of the rows that
moved (old, new, change) and one sentence naming the biggest win. A release that's the same within noise has no
Faster section. (0.2.28 and 0.2.29 were also timed against 0.2.17, the last CEF release, with
`scripts/release-compare-0.2.17.sh`, now in git history: `scripts/benchmarks/perf/README.md`.)

### 4d. The site's benchmarks: Ardia again, rivals kept (stable only)

Measure the same build against the stored Dia and Helium rows, so ardia.dev's Benchmarks section and `/benchmarks`
show this release. Only Ardia runs; the rivals' figures, versions and dates come from `apps/site/src/data/bench.json`
(`scripts/benchmarks/perf/vs-browsers.md` › Running it). Nightlies skip it, as they skip the perf gate.

It never blocks the binary: publishing (step 5) doesn't wait for it. It has to run on the Mac mini, the machine
bench.json was measured on (xbench refuses any other), and it's a timing run, so it takes the mini's perflab lock
itself and never runs beside another timing on the same Mac. When the gate runs on the MacBook, start it on the mini
as soon as the candidate exists. When the gate is on the mini, run it there after publishing. Its template is cached
in `$X/apps/.templates` (`--template-cache`), so a rerun after exit 75 or a `clean` skips the 90 s settle. Step 6's site
deploy ships bench.json with the release notes when it's ready by then; otherwise deploy the notes without it and
ship it with the next site deploy. Never hold the notes for it.

```bash
V=<version>; A=dist/$V-rc/export/Ardia.app   # dist/$V/export without an rc
X=$HOME/ardia-scratch/xbench-$V-$(plutil -extract CFBundleVersion raw $A/Contents/Info.plist)-$(codesign -dvvv $A 2>&1 | sed -n 's/^CDHash=//p' | cut -c1-12)
mkdir -p $X/apps/ardia && { [ -e $X/apps/ardia/Ardia.app ] || cp -Rc $A $X/apps/ardia/; }
codesign --force --deep --sign - $X/apps/ardia/Ardia.app   # ad hoc, as the stored rows' Ardia and Helium ran
node scripts/benchmarks/desktop/xbench.mjs run --out $X/out --apps $X/apps --browsers ardia --rounds 3 --launches 2 \
  --gate off --deadline 60   # run_in_background, about 35 min; exit 75 means items are left: run it again
node scripts/benchmarks/desktop/xbench.mjs report --out $X/out --apps $X/apps --browsers ardia \
  --rivals-from apps/site/src/data/bench.json --json apps/site/src/data/bench.json --md $X/table.md
node scripts/benchmarks/desktop/xbench.mjs clean --out $X/out --apps $X/apps --browsers ardia && rm -rf $X
```

- The folder is named after the candidate's version, build and code signature hash, so running it again after exit 75
  resumes only that same candidate. A rebuilt candidate gets a new folder and starts over, never reusing the old
  build's samples.
- **Refused** (exit 65, bench.json untouched): this Mac's model or chip, or xbench's harness revision, differ from the
  stored file. Leave the site's numbers as they are and tell the owner a full rerun is needed; don't `--force` it.
- **`full rerun due: …`** in the report's output: a stored rival is over 60 days old, or Dia or Helium in
  `/Applications` is a new major or minor version (1.53 → 1.54, 0.19 → 0.20). Put the line in the release report so
  the owner can schedule the full rerun (`scripts/benchmarks/perf/vs-browsers.md` › Every browser: it needs Dia's sign-in). It
  never blocks the release.
- Check `git diff apps/site/src/data/bench.json`: Ardia's figures, `date`, `machine` and `best` change; no rival's
  figure, version or `measured` date does (the first merge also stamps `measured` on every entry). Read `$X/table.md` against the perf gate's numbers; a row that moved by more than the ranges deserves a look before
  it goes on the site.
- Commit it as "Site bench: <version> against the stored rivals", and step 6's `pnpm -C apps/site run deploy` ships it
  with the rest of the site.

## 5. Publish

Both channels publish with `publish.sh` (`.agents/guides/releasing-reference.md` › Cutting a release, step 4). From CI, after the smoke test
and, for a stable, the perf gate passed:

```bash
gh workflow run release.yml -R ardia-browser/ardia -f version=<version> -f dry_run=false
gh run list -R ardia-browser/ardia -w release.yml -L 1        # its id; then gh run watch <id> --exit-status, in pieces
.claude/skills/release/scripts/feed.sh <version>           # with a local dist/<version>/export, or curl ardia.dev/appcast.xml
```

`publish.sh` runs in the workflow's last job: it tags nothing itself (the job pushes `v<version>`), merges the appcast
onto the published feed, creates the release as latest with the DMG, zip and appcast (the `ardia` command is released from ardia-browser/plugins, `spec/cli.md`), checks
`releases/latest/download/appcast.xml` and `https://ardia.dev/appcast.xml` list the version, and updates the tap when it has `HOMEBREW_TAP_TOKEN` (else run `update-tap.sh <version>`). Locally:
`git tag v<version> && git push origin main v<version>`, then `.claude/skills/release/scripts/publish.sh <version>`.
The release also ships up to three Sparkle deltas (`Ardia<build>-<earlier build>.delta`) that `appcast.sh` builds
from the newest earlier zips; when none come out the sign job warns and the release goes on, so mention it in the
report (`.agents/guides/releasing-reference.md` › Deltas). `publish.sh` stops when the live feed is listed but won't download, and when the
latest stable has no `appcast.xml` unless `PUBLISH_NEW_FEED=1`. If it stops on a missing feed, re-upload the last good
`appcast.xml` (the last publishing run's `release` artifact) to the latest stable release with
`gh release upload <tag> --clobber`, then re-run the publish (`.agents/guides/releasing-reference.md` › Feed recovery).
`PUBLISH_NEW_FEED=1`, with a local `publish.sh`, is only for a genuinely new feed. A dry run only notes a missing feed.
It holds the `release-lock` branch while it publishes, so
it refuses to run alongside another publish, local or CI, naming the holder; `--break-lock` clears a lock older than
2 h left by a publish that died. The build job has no secrets; a separate sign job, which installs nothing, holds the
keys and deletes them before the launch check (`.agents/guides/releasing-reference.md` › CI releases).

**Smoke-testing CI's build.** Commit the bump and the notes first, then dispatch with `dry_run=true` (the default):
the same build as a release candidate (`release.sh --rc`, signed and notarized), published nowhere. Its preflight
fails on everything a real run would, except a nightly that's already released at the checkout's build and still the
newest build (the feed must list it; a published tag alone fails), which
only warns (`publish.sh --dry-run` refuses an already released stable anyway). Download it and run the smoke test
on it:

```bash
gh run download <id> -R ardia-browser/ardia -n release -D dist/<version>-rc
mnt="$(mktemp -d)" && hdiutil attach -nobrowse -readonly -mountpoint "$mnt" dist/<version>-rc/Ardia-<version>.dmg
mkdir -p dist/<version>-rc/export && ditto "$mnt/Ardia.app" dist/<version>-rc/export/Ardia.app && hdiutil detach "$mnt"
.claude/skills/release/scripts/smoke.sh <version> <previous> --rc
```

The release itself is then a second run with `dry_run=false` on the same commit.

**iPhone TestFlight.** Add `-f iphone=true` to both desktop runs only when the owner asks for TestFlight as part of the
release. Both use the iPhone version pinned in `ios-release.yml`, and the real run uploads to Internal. Use the
separate `public-link` run for public testers. A request to get a build on the owner's phone means installing a local
Xcode development build or the iOS Release `device` IPA over USB or Xcode's paired wireless connection. See
`apps/phone/ARCHITECTURE.md` for both paths.

The engine is never packed by a release: when engine/ changed since the last prebuilt engine, release.sh stops and
asks for `scripts/publish-engine.sh` first, which publishes `engine-<tree:12>` (with the Helium source and the unstripped
symbols that `scripts/symbolicate-crash.sh` reads) and appends its line to `packages/ardiacore/prebuilt-engines.tsv`;
commit that line before the release. Every release's notes end
with a Source section linking its tag, so never delete or move a published tag (`.agents/guides/releasing-reference.md` › Source and
licenses).

`appcast.py merge` puts this release's item onto the feed as it's published right now, so nightlies that shipped while
this release was being tested stay listed (it rewrites `dist/<version>/appcast.xml`, keeping `appcast.built.xml`).
Both must show the new version. Copies from 0.2.13 and earlier poll GitHub's URL directly; 0.2.14 to 0.2.32 poll
netnyahoo.com/appcast.xml and later ones ardia.dev/appcast.xml, both served by the site, which counts the check
(version, day, first check or not) and redirects to the same GitHub file. feed.sh reads the URL from the built
Info.plist, so it checks what this build will poll; the copies from before the rename poll the other host
(`curl -sI https://netnyahoo.com/appcast.xml` must redirect to the same file).

### 5b. Staged rollout (an ArdiaCore-sized or risky release)

Three steps, in this order. Nothing here publishes by itself; each needs the owner's go-ahead (the first is the standing
rule that a release which changes the engine or something users would notice publishes only after the owner has tested
the final RC and said ship).

1. **The owner tests the RC first.** Build `scripts/release.sh <version> --rc`, hand it over, and wait for "ship". Not
   for a JS-only fix that passed the smoke test.
2. **Phased appcast.** Build the release with `scripts/release.sh <version> --phased 86400`. The new appcast item then
   carries `<sparkle:phasedRolloutInterval>86400</sparkle:phasedRolloutInterval>` (check with
   `grep -c phasedRolloutInterval dist/<version>/appcast.xml`, which must print 1): Sparkle gives each copy a random
   group on that Mac (no ID, nothing sent) and offers the update to the first seventh of copies at once, a seventh more
   every interval, so everyone has it after a week. Someone who clicks Check for Updates… gets it at once. Publish as in
   step 5 and watch a day or two: `crash.log`, new `$exception`s in `telemetry.events` and errors in
   `telemetry.logs` (`.claude/skills/stats/queries.md`, Errors), `update_check` counts by version
   (`apps/site/growth.md`). A problem found: flip the release's kill switch (`.agents/guides/kill-switches.md`) if it has one, and
   publish a fixed build with a higher build number: copies that haven't updated yet go straight to it.
3. **Everyone.** Remove the interval from the published appcast, so every copy sees the update:
   ```bash
   .claude/skills/release/scripts/rollout-everyone.sh <version> --dry-run   # the diff it would upload
   .claude/skills/release/scripts/rollout-everyone.sh <version>
   ```
   It holds the publish lock (`release-lock`, the same one `publish.sh` takes), so a nightly published meanwhile can't
   be overwritten. It edits the feed on the latest stable release as it is at that moment (`appcast.xml`), drops the
   interval from `<version>`'s item only, uploads it and checks what GitHub serves. (The appcast isn't signed as a whole, only its zip's `edSignature`, so editing the line keeps it
   valid.) The next release's `release.sh` starts from this published appcast, so it doesn't bring the interval back.

A release without `--phased` goes to everyone at once, as before.

### 5c. Homebrew tap

https://github.com/ardia-browser/homebrew-tap holds `Casks/ardia.rb` (stable) and `Casks/ardia@nightly.rb`, so
`brew install ardia-browser/tap/ardia` installs the latest DMG. `update-tap.sh <version>` clones the tap into a temp dir,
sets the matching cask's `version` and `sha256` (GitHub's digest of the published DMG, checked against
`dist/<version>/`), and pushes; `--dry-run` prints the diff instead. It refuses a version older than the cask's and
does nothing when the cask is already there. `publish.sh` runs it for both channels (in CI only with the
`HOMEBREW_TAP_TOKEN` secret; otherwise run it yourself after the workflow). The casks have `auto_updates true`: Sparkle updates installed copies and `brew upgrade`
skips them, so a late tap push only delays new installs. Lint after a cask edit by hand (never `brew install` it: that
writes `/Applications/Ardia.app`): `brew audit --cask --online ardia-browser/tap/ardia` and `brew style ardia-browser/tap`.

### 5d. Linux package

The Release workflow builds it in its `linux` job (`scripts/linux/release.sh <version> --engine exact`, smoke gate
included, then the `.deb` installed and purged on Debian 13 and Ubuntu 24.04, the `.rpm` installed, upgraded and
removed on Fedora 43, AlmaLinux 9 and openSUSE Tumbleweed, and the Flatpak installed and run on Ubuntu 24.04 and Fedora 43), and
`publish.sh` attaches `Ardia-<version>-linux-x64.tar.xz`, `.deb`, `.rpm`, `.AppImage` and `.flatpak`,
`ardia-bin-<version>.src.tar.gz` (the Arch PKGBUILD), `ardia-cli-<version>-linux-x64.tar.gz` (the pinned `ardia`
command, renamed for this version) and their `.sha256` files to the release, nightly or stable. A `.deb`, `.rpm` or
Flatpak that fails its install test (or, for the `.rpm`, its build or smoke gate, and for the Flatpak, its build) is dropped (`deb dropped`, `rpm dropped`,
`flatpak dropped` in `provenance.txt`) and the rest still ships. That needs the Linux engine for the release commit's engine
key (`engine/engine-key.sh --platform linux`) published in ardia-browser/ardia. Without it the `linux` job fails, the Mac release
still ships, and `publish` warns that Linux was skipped. After a stable release the `aur` job moves the AUR package
`ardia-bin` to it (`scripts/linux/arch/publish-aur.sh`) when the `AUR_SSH_PRIVATE_KEY` secret is set; a dry run, or a
missing secret, only shows the commit it would push.

Linux engines are built in `msi`'s WSL 2 Ubuntu (never in GitHub Actions). On `msi`'s WSL, at the commit whose engine
key needs one:

```bash
scripts/linux/build.sh --apply
source engine/patches/build/env.sh
scripts/linux/publish-engine.sh --out "$CB/chromium_git/chromium/src/out/$GN_OUT_CONFIGS" --source <ardia checkout> --upload
```

`--upload` creates the `engine-<key12>` prerelease in ardia-browser/ardia and adds the row to
`packages/ardiacore/prebuilt-engines-linux.tsv` without committing it. Commit that row on `main` (stage it, then a
bare `git commit`) before dispatching the release; fetches also read the table on `main`, so older commits find it.

To add Linux to a release that shipped without it: publish the engine, then on a Linux machine at the release commit
run `scripts/linux/release.sh <version>` and the `gh release upload` line it prints, then for a stable
`scripts/linux/arch/publish-aur.sh <version> --package <tarball>`. `--engine nearest` or
`--allow-dirty` make test builds, never releases (`scripts/linux/linux-ci.md` › Linux releases).

### 5e. Windows installers

None until Windows runs on the GPUI app (#5416): the Release workflow has no Windows job, and installed Windows apps
stay on the last `windows-alpha` build. Say so in the report.

## 6. Deploy the site

The download buttons and the root `README.md` (the landing page on GitHub) link the DMG of one tag
(`releases/download/v<VERSION>/Ardia-<VERSION>.dmg`), so they keep working after a publish and only point at the
older version until this step. After a stable publish, point both at it:

```bash
.claude/skills/release/scripts/site-version.mjs <version>
```

It reads the published DMG's size from GitHub, writes `apps/site/src/data/release.json` (`VERSION` and `DMG_SIZE`
in `release.ts` come from it, and `linux`, the Linux download, when the release has its tarball) and rewrites the README's links, labels and sizes. Commit both. If a release changes a
claim on the landing page (below), change the README's matching line too.

**Bring the landing page's claims up to date.** The home page makes specific promises; a release can make
one of them stale or earn a new one. Read the new notes against:
- `Faq.astro` (Q&A), `Hero.astro` and `Closing.astro` (the fine print: macOS version, Apple Silicon,
  Notarized), and `Footer.astro`.

Then:
- **Something the page claims changed** (a new import source, a new requirement): fix the line.
- **Bug fixes and small changes:** leave the page alone.
- **Never claim anything the release doesn't do.** Anything unverified or behind a setting says so.

**Bring the landing page's pictures up to date too.** Every screenshot on the site claims "a screenshot,
not a mockup", so it has to look like the app people download today. Here is what shows which part of the
app (listed in `apps/site/README.md` › Screenshots):

| Asset | Shows |
|---|---|
| `src/assets/shots/window.webp` | the whole window: sidebar, pinned tiles, tabs, a page (Fig. 2, `Showcase.astro`) |
| `shots/address-sidebar.webp` | the address bar in the sidebar |
| `shots/split.webp`, `extensions.webp`, `privacy.webp` | split view, the Web Store, Settings › Privacy & Security |
| `src/assets/app-icon.png` | the header, the favicon source |
| `src/assets/game/crowd.webp` | the offline game; its hotspot is in `Game.astro` |
| `public/og.png` | the share card |

- **When:** if the release visibly changes something a shot shows (the sidebar, the tiles, the New Tab page,
  the logo or mark, the icon, a Settings pane, the window chrome), retake the affected shots from **this
  release's export** (`dist/<version>/export/Ardia.app`).
- **How:** use a hidden instance with the smoke test's rules (`ARDIA_BACKGROUND=1`, a throwaway
  `ARDIA_DATA_DIR`, never plain `open`, never `/Applications`).
  - Set up the same state as the old shot (the same sites, profiles, light or dark).
  - Take a real window capture at 2× with a transparent outside: `screencapture -l <windowID> -o`.
- **Screen locked:** WindowServer captures fail. Leave the old shot, and tell the user which shots are stale.
  An in-process snapshot is not a substitute: it drops glass and Metal views.
- **Replace in place:** save the new capture over the file with the same name, since Astro makes the sizes.
  Update the shot's `alt` text if what it shows changed, and check its phone crop (`focus` where the shot is used).
- **Don't touch the rest:** leave the painted logo (`ardia-mark.png`, from `assets/brand/ardia`) alone unless
  the brand changed.

Keep to the site's bar: few words, witty over wordy (see the existing lines). Build with `pnpm -C apps/site build`
and check the changed sections and shots render, on a phone width too (the "site" launch config, port 4321).

```bash
pnpm -C apps/site run deploy   # the upload can drop on a weak connection: rerun it until it succeeds
```

Then verify live: `https://ardia.dev/release-notes/` contains the new headline, the home page links
`Ardia-<version>.dmg`, that URL returns 200, and any claim you changed shows. Commit `release.json`, the README
and the claim changes ("Site: download <version>", plus what changed) and push.

The SEO data follows `release.json` and the notes by itself, with no extra step; check that it did:
- The home page's JSON-LD `softwareVersion` is the new version.
- `https://ardia.dev/release-notes/<version>/` exists (every notes file gets its own page, built from the
  `releaseNotes` collection), and its description reads well: it comes from the intro paragraph, or else the
  headline plus the bold leads, so a clear first line pays off.
- `https://ardia.dev/sitemap.xml` has today's `lastmod` and lists the new stable page. Nightly pages exist too,
  but stay `noindex` and out of the sitemap.
- If the release changed what Ardia is (a new headline feature, a new platform), update the home page's
  `description` in `src/pages/index.astro`: ~150 characters, and it is also the share text.
- If `og.png` changes, its URL's `?v=` hash changes with it, so X and others fetch the new card.

Deploying makes things public. Never cut or publish a nightly or stable release unless the owner explicitly asks for
a release in that request; scheduled and background jobs open a PR with the `full-stop` skill and stop for the owner.
Once the owner has asked for the release, deploy the site as part of it; for site changes outside a release, ask
first.

### 6b. The before-and-after film (every release, nightlies included)

Each release gets a Remotion film of its fixes: the same clicks on the previous release and on this one, side by side
(composition `fixes-<id>`, like `fixes-0245n3`; footage in `apps/videos/public/footage/fixes-<id>`, filmed in hidden
instances, captured by pid). A film is data, never a copied folder. In `apps/videos/scripts/fixes`:

1. `sessions-<id>.mjs` writes the sessions the scenes start from, with `writeSession` and the shared tabs, profiles and
   titles from `sessions-lib.mjs`.
2. `fixes-<id>.json` lists the segments (scene, title, body, cam, lead, tail; `dropEvents` for recorded event kinds the
   film shouldn't draw). Scenes are `scenes/<name>.mjs`; `run.mjs <scene>…` films them on both builds.
3. `python3 gen.py fixes-<id>` writes `src/videos/fixes-<id>/segments.json`. A film that needs more than the shared
   overlays adds `hooks/fixes-<id>.py` with `clip(seg, side, clip, video_id)`.
4. `src/videos/fixes-<id>/index.tsx` is six lines: `fixesFilm({ id, release, before, channel, segments })` from
   `src/lib/fixes-film/Film.tsx`, which draws the intro, cards, panels, pointer, keycaps, dialogs, notes, banners,
   menus, overlays and outro from the segment data (`fixes-0245n3/index.tsx` is the model). New drawing goes in
   `src/lib/fixes-film`, driven by a segment field, so every film can use it.

Once the release is published:

```bash
pnpm -C apps/videos render fixes-<id>
ffmpeg -i apps/videos/out/fixes-<id>.mp4 -an -c:v libx264 -preset slow -crf 26 -pix_fmt yuv420p -movflags +faststart \
  apps/site/public/release-videos/fixes-<id>.mp4
ffmpeg -ss 1 -i apps/site/public/release-videos/fixes-<id>.mp4 -frames:v 1 -vf scale=1600:-1 -q:v 4 \
  apps/site/public/release-videos/fixes-<id>.jpg
```

Keep the web copy under about 8 MB. Add `video: fixes-<id>` to the frontmatter of `apps/site/src/content/release-notes/<version>.md`
(and of any nightly the film also covers), commit the composition, the two files and the notes, and push: the site
redeploys and plays it above the notes. `release.sh` links it in the GitHub body only when `video:` was set before
the build, so for a film made after publishing add the same section by hand:

```bash
gh release view v<version> -R ardia-browser/ardia --json body -q .body > /tmp/body.md
printf '\n## Before and after\n\nThe fixes, filmed on the previous release and on this one: https://ardia.dev/release-videos/fixes-<id>.mp4\n' >> /tmp/body.md
gh release edit v<version> -R ardia-browser/ardia --notes-file /tmp/body.md
```

The section goes before `## Install` when release.sh writes it; appended at the end is fine by hand. Keep the footage
until the film is on the site: without it the film can't be rendered again.

## 7. Report

Tell the user, briefly: the version and headline, what's in it (from the notes), any landing-page claims changed, the smoke result
(N/N), that it's live (release URL, appcast, site), how to get it (Check for Updates…), anything not
verified (real trackpad/mouse input, notarization), and what they need to try by hand. For a stable, also whether the
site's benchmarks were refreshed, and any `full rerun due` line from step 4d.

Files in this skill

  • SKILL.md51.9 KB
  • scripts/appcast.py9.3 KB
  • scripts/ax.swift3 KB
  • scripts/carryover.mjs19.2 KB
  • scripts/carryover.sh4.2 KB
  • scripts/channel-switch-test.mjs42.2 KB
  • scripts/channel-test.sh5.2 KB
  • scripts/child-stop.swift872 B
  • scripts/delta-test.sh3.5 KB
  • scripts/ed25519.swift1.4 KB
  • scripts/feed.sh1 KB
  • scripts/gpui-carryover.mjs9.4 KB
  • scripts/gpui-smoke.sh9.3 KB
  • scripts/gurl.swift947 B
  • scripts/handoff-race.sh15.3 KB
  • scripts/keys.swift735 B
  • scripts/lib/harness.sh5.5 KB
  • scripts/pages/ad.html223 B
  • scripts/pages/busy.html248 B
  • scripts/pages/clip.mp46.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.