Skip to content
Back to skills

Releasing Codevisor

ASecurity

Use when the user asks to publish, release, promote, or cut a new Codevisor version, to check which Alpha can become Stable, to verify a published release, or to submit the Chrome extension or an iOS beta.

  • 29 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 20, 2026
developmentgonodegit

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add 851-labs/codevisor --skill releasing-codevisor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Releasing Codevisor?

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

Security grade badge for Releasing Codevisor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/851-labs-releasing-codevisor/badge)](https://www.skillsdirectory.com/skills/851-labs-releasing-codevisor)

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: releasing-codevisor
description: Use when the user asks to publish, release, promote, or cut a new Codevisor version, to check which Alpha can become Stable, to verify a published release, or to submit the Chrome extension or an iOS beta.
---

# Releasing Codevisor

Stable is a promotion, never a rebuild. Three workflows produce every release:

- `Build` (`build.yml`) runs on pushes to main. It runs the checks in `CI`
  (`ci.yml`) first, then builds and signs the app, server, and iOS artifacts
  only if they pass. While one Build runs, later pushes wait and only the
  newest one runs next, covering every commit since the last Build that
  passed. Build never contacts Apple's distribution services.
- `Release alpha` (`release-alpha.yml`) runs every 30 minutes or on dispatch
  and ships the newest successful build: it notarizes the app, publishes the
  Alpha Sparkle and server feeds, then creates the `vVERSION-alpha.BUILD`
  prerelease with every artifact plus `release-provenance.json`. That
  prerelease is the release record. Its TestFlight job then uploads iOS to the
  internal group and attaches `ios-testflight-build.json`; a missing marker is
  retried on the next run. Builds superseded between runs are never published
  and cannot be promoted.
- `Release stable` (`release-stable.yml`) takes a published Alpha tag, verifies
  it, and ships the same bytes as Stable: tag, Stable Sparkle and server feeds,
  Homebrew, and a versioned Chrome extension package. After that it calls
  `Release browser extension` with `only_if_changed`, which submits the
  extension to the Chrome Web Store only when
  `packages/automation/resources/browser-extension` changed since the newest
  `browser-extension-v<version>` tag, then tags the submitted version.

After publication verification passes, `Release stable` marks the release as
GitHub `latest`. Alpha releases remain prereleases and never advance `latest`.

Public iOS TestFlight publication uses the separate, manually triggered
`Release beta` workflow. Do not dispatch it as part of a normal
macOS/server release; submit an iOS beta only when requested.

Do not create, move, or push a version tag manually. The workflow owns the tag.

## Prepare

Require a clean release scope and find the Alpha to promote:

```sh
git status --short
git fetch origin main --tags
git tag --points-at origin/main --list 'v*-alpha.*'
```

If main HEAD has no published Alpha yet, dispatch `release-alpha.yml` (it
publishes the newest successful Build run) and monitor it, or promote an older
published Alpha instead: `gh release list --limit 10` lists them. Record the
Alpha's commit as `source_sha`:

```sh
source_sha="$(git rev-parse 'vVERSION-alpha.BUILD^{commit}')"
```

Generate the prospective Stable notes locally:

```sh
node scripts/release/generate-release-notes.mjs \
  --channel stable \
  --version VERSION \
  --commit "$source_sha" \
  --output /tmp/codevisor-release-notes.md
```

Read the notes. Every non-merge commit since the previous Stable tag must
appear exactly once. Fix the generator or commit subjects before releasing if
coverage is incomplete; never substitute GitHub's automatic notes.

## Promote

Confirm the numeric version and ensure its immutable tag is unused:

```sh
git ls-remote --tags origin refs/tags/vVERSION refs/tags/vVERSION^{}
gh workflow run release-stable.yml --ref main -f version=VERSION
```

Without `alpha_tag`, the workflow promotes the Alpha published for current main
HEAD. To promote an older published Alpha, pass its tag; the workflow tags that
Alpha's commit, not HEAD:

```sh
gh workflow run release-stable.yml --ref main -f version=VERSION -f alpha_tag=vVERSION-alpha.BUILD
```

Monitor the resulting `Release stable` workflow through completion.

## Verify

Verify all of the following before reporting success:

- `vVERSION` points to the original Alpha source SHA (the promoted Alpha's
  commit, which may be behind main HEAD when `alpha_tag` was given).
- The Stable macOS ZIP (`Codevisor-macOS-arm64.zip`, the only architecture
  built) has the same SHA-256 as the Alpha ZIP it was promoted from.
- The GitHub release body equals the generated changelog and is non-empty.
- The arm64 Sparkle appcast contains the promoted build without an Alpha
  channel, and its enclosure has a valid Ed25519 signature.
- `https://updates.codevisor.dev/server/stable.json` reports `VERSION` and all
  four server targets.
- macOS artifacts are Developer ID signed, notarized, and stapled.
- Homebrew points to the same Stable artifacts and keeps `auto_updates true`.
- The versioned Chrome extension ZIP and checksum are attached to the Stable
  release, and the `submit-browser-extension` job either logged why it skipped
  or pushed `browser-extension-v<VERSION>`. Dispatch `Release browser extension`
  (`release-browser-extension.yml`) by hand only to re-run a submission the
  user asks for; `dry_run` checks the package and Google sign-in without
  submitting.
- GitHub `latest` points to the promoted Stable release, and the download
  URLs under `releases/latest/download` resolve to that release.

If publication fails before tagging, fix `main`, wait for the new HEAD's Alpha
to be published, and dispatch the next unused version. If it fails after tagging, repair the
same release idempotently without moving the tag or rebuilding artifacts.

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.