Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

release-captain

БесплатноБез исполняемых скриптовНе проверен

Run the weekly OpenShell release captain checklist. Monday checks the pre-release train, triages failures and the compatibility review, and drafts the…

ai-openshellот ai-openshell★ 22 101 звезда на GitHub

Об этом скилле

Release Captain

OpenShell publishes a stable release every Tuesday from a qualified pre-release (RFC 0014). The release captain keeps the week's pre-release train green, coordinates the last merges, cuts the release, and starts the next train.

How to use this skill

When Ask What happens
The week before your turn "I'm release captain next week. Is the train ready?" Checks that the next version's -pre.1 exists. If not, ask this week's captain to start the train (Tuesday step 6). Then check each weekday that Auto-Tag's pre-release ran and passed (gh run list --workflow release-prerelease.yml --limit 3), and fix failures as they happen (Monday step 3) instead of on Monday.
Monday "Run the release captain Monday checklist." Monday steps 1–4.
A pre-release failed "vX.Y.Z-pre.N failed, help me fix it." Monday step 3 and Recovery.
Tuesday "Cut the release." Tuesday steps 1–6, ending with starting the next train.

Guardrails

Get explicit approval, with the exact command and target SHA, before pushing a tag, dispatching, rerunning, or cancelling a workflow, merging or approving a PR, or posting in Slack or GitHub. Never repoint a stable tag, delete a -pre.N tag, or start a second Pre-release run for a tag; it has no concurrency guard.

How the train works

  • A train has one base version, such as v0.1.4, fixed by its -pre.1 tag. A patch train can't take breaking changes to Stable interfaces.
  • Release Auto-Tag runs on weekdays at 14:00 Europe/Zurich. If main has commits since the latest -pre.N, it tags the next one and dispatches Pre-release (release-prerelease.yml, about 45 minutes). It skips when the train has no -pre.1 or the base version is already stable.
  • Pre-release builds, then publishes and qualifies in parallel, and writes a release-notes preview artifact. Pushing a -pre.N tag by hand starts it.
  • Release (release.yml) is dispatched by hand with the stable version. It picks the highest -pre.N on main whose whole Pre-release run passed, creates the stable tag on that commit, and publishes without requalifying.
  • Stable releases publish public schemas to buf.build/openshell/core with the release tag as the label; prereleases skip Buf publication. The Buf repository must exist and Actions must have a BUF_TOKEN secret with write access. A failed Buf push fails the release run; follow Recovery before rerunning the failed publication job.
  • Pre-release and stable builds leave the experimental feature disabled. Release Dev enables it through experimental: true. Normal workspace builds, lint, and tests enable experimental without separate CI lanes for development features.

Setup

export GH_REPO=ai-openshell/openshell
git fetch origin main --tags --force
PREV=$(git tag -l 'v*' --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -1)
git tag -l 'v*' --sort=-v:refname | grep -E -- '-pre\.[0-9]+$' | head -5

Find the Pre-release run for a tag. A tag pushed by hand runs on the tag; an Auto-Tag run is dispatched on main:

TAG=vX.Y.Z-pre.N
gh run list --workflow release-prerelease.yml --branch "$TAG"
gh run list --workflow release-prerelease.yml --event workflow_dispatch --commit "$(git rev-parse "$TAG^{commit}")"

Preview the candidate Release would promote, read-only:

VERSION=vX.Y.Z
wt=$(mktemp -d)
git worktree add -q --detach "$wt" origin/main
(cd "$wt" && GITHUB_REPOSITORY=ai-openshell/openshell uv run -q --no-project python tasks/scripts/select-release-candidate.py "$VERSION" --branch main | jq .)
git worktree remove --force "$wt"

Monday: pre-flight

  1. Check the candidate. Run the preview. If the latest -pre.N isn't the candidate, its run failed; read why:

    RUN=<run-id>
    gh run view "$RUN" --json jobs --jq '.jobs[] | select(.conclusion == "failure" or .conclusion == "timed_out") | "\(.name)\t\(.url)"'
    gh run view "$RUN" --log-failed
    

    If the next version has no -pre.1, start the train (Tuesday step 6).

  2. Triage the compatibility review when enabled for the candidate's run. Both Codex review jobs are temporarily skipped pending fixes; skip this step while they are disabled. When enabled, the review is advisory, and a green job doesn't mean it found no breaks:

    ATTEMPT=$(gh run view "$RUN" --json attempt --jq .attempt)
    dir=$(mktemp -d)
    gh run download "$RUN" -n "compatibility-review-run-$RUN-attempt-$ATTEMPT" -D "$dir"
    jq '{status, verdict: .review.verdict}' "$dir/report.json"
    cat "$dir/report.md"
    

    Only complete with no_unaddressed_breaks is clean. A real break needs a fix, a revert, a minor train, or a maintainer-approved exception with upgrade steps in the release notes.

  3. Fix forward. A failed pre-release doesn't end the train. Find the cause, and let

Полный SKILL.md на GitHub

Установить release-captain в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл release-captain?

Run the weekly OpenShell release captain checklist. Monday checks the pre-release train, triages failures and the compatibility review, and drafts the coordination post. Tuesday promotes the qualified pre-release after approval, verifies publication, and starts the next train. Trigger keywords - release captain, weekly release, Tuesday release, cut the release, release checklist, pre-release status, release train, start next train, stable release.

Как установить скилл release-captain?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл release-captain запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить release-captain с