Openclaw openclaw-release-maintainer
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/openclaw
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/openclaw "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/openclaw-release-maintainer" ~/.claude/skills/openclaw-openclaw-openclaw-release-maintainer && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/openclaw "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/.agents/skills/openclaw-release-maintainer" ~/.openclaw/skills/openclaw-openclaw-openclaw-release-maintainer && rm -rf "$T"
manifest:
.agents/skills/openclaw-release-maintainer/SKILL.mdsource content
OpenClaw Release Maintainer
Use this skill for release and publish-time workflow. Keep ordinary development changes and GHSA-specific advisory work outside this skill.
Respect release guardrails
- Do not change version numbers without explicit operator approval.
- Ask permission before any npm publish or release step.
- This skill should be sufficient to drive the normal release flow end-to-end.
- Use the private maintainer release docs for credentials, recovery steps, and mac signing/notary specifics, and use
for public policy.docs/reference/RELEASING.md - Core
publish is manualopenclaw
; creating or pushing a tag does not publish by itself.workflow_dispatch - Normal release work happens on a branch cut from
, not directly onmain
. Usemain
for the branch name.release/YYYY.M.D - If the operator asks for a release without saying stable/full, default to beta only. Continue from beta to stable only when the operator explicitly asks for the full release or an automated beta-and-stable train.
- Before release branching, pull latest
and confirm currentmain
CI is green. Then branch from that commit so regular development can continue onmain
while release validation runs.main - Before release branching, commit any dirty files in coherent groups, push,
pull/rebase, then run
on/changelog
and commit/push/pull that changelog rewrite immediately before creating the release branch.main - Do not delete or rewrite beta tags after they leave the machine. If a
published or pushed beta needs a fix, commit the fix on the release branch and
increment to the next
.-beta.N - For a beta release train, run the full pre-npm test roster before publishing each beta. After a beta is published, run the smaller published-install roster focused on install/update/Docker/Parallels. If anything fails, fix it on the release branch, commit/push/pull, increment beta number, and repeat. Operators may authorize up to 4 autonomous beta attempts; after 4 failed beta attempts, stop and report.
- Use
before version/tag preparation so the top changelog section is deduped and ordered by user impact./changelog - Do not create beta-specific
headings. Beta releases use the stable base version section, for exampleCHANGELOG.md
usesv2026.4.20-beta.1
release notes.## 2026.4.20 - When any beta or stable release is live, make a best-effort Discord
announcement using Peter's bot token from
; do not block or roll back the release if the announcement fails..profile - When asked to announce on X, use
and follow the release tweet style below.~/Projects/bird/bird
Keep release channel naming aligned
: tagged releases only, published to npmstable
by default; operators may target npmbeta
explicitly or promote laterlatest
: prerelease tags likebeta
, with npm dist-tagvYYYY.M.D-beta.Nbeta- Prefer
; do not mint new-beta.N
or-1
beta suffixes-2
: moving head ondevmain- When using a beta Git tag, publish npm with the matching beta version suffix so the plain version is not consumed or blocked
Handle versions and release files consistently
- Version locations include:
package.jsonapps/android/app/build.gradle.ktsapps/ios/Sources/Info.plistapps/ios/Tests/Info.plistapps/macos/Sources/OpenClaw/Resources/Info.plistdocs/install/updating.md- Peekaboo Xcode project and plist version fields
- Before creating a release tag, make every version location above match the version encoded by that tag.
- For fallback correction tags like
, the repo version locations still stay atvYYYY.M.D-N
.YYYY.M.D - “Bump version everywhere” means all version locations above except
.appcast.xml - Release signing and notary credentials live outside the repo in the private maintainer docs.
- Every stable OpenClaw release ships the npm package and macOS app together. Beta releases normally ship npm/package artifacts first and skip mac app build/sign/notarize unless the operator requests mac beta validation.
- The production Sparkle feed lives at
, and the canonical published file ishttps://raw.githubusercontent.com/openclaw/openclaw/main/appcast.xml
onappcast.xml
in themain
repo.openclaw - That shared production Sparkle feed is stable-only. Beta mac releases may
upload assets to the GitHub prerelease, but they must not replace the shared
unless a separate beta feed exists.appcast.xml - For fallback correction tags like
, the repo version still stays atvYYYY.M.D-N
, but the mac release must use a strictly higher numericYYYY.M.D
/ Sparkle build than the original release so existing installs see it as newer.APP_BUILD
Build changelog-backed release notes
- Changelog entries should be user-facing, not internal release-process notes.
- When cutting a mac release with a beta GitHub prerelease:
- tag
from the release commitvYYYY.M.D-beta.N - create a prerelease titled
openclaw YYYY.M.D-beta.N - use release notes from the stable base
version section (CHANGELOG.md
), not a beta-specific heading## YYYY.M.D - attach at least the zip and dSYM zip, plus dmg if available
- tag
- Keep the top version entries in
sorted by impact:CHANGELOG.md
first### Changes
deduped with user-facing fixes first### Fixes
Write release tweets
Use the OpenClaw account's existing release-post style:
- Format:
orOpenClaw YYYY.M.D 🦞
, blank line, then 3-4 emoji-led bullets, blank line, one short punchline, then the release link.🦞 OpenClaw YYYY.M.D is live - For beta: say
orOpenClaw YYYY.M.D-beta.N 🦞
; keep it clearly beta and avoid implying stable promotion.OpenClaw YYYY.M.D beta N is live - Lead with user-visible capabilities, then important integrations, then reliability/security/install fixes. Compress "lots of fixes" into one readable bullet.
- Tone: high-signal, slightly cheeky, confident, not corporate. One joke is enough. Avoid punching down, insulting users, or promising what was not verified.
- Length: release tweets are always standard tweets under 280 characters. Trim to 3-4 bullets and count the final text before posting.
- Links/media: include the GitHub release or changelog link at the end. Add a short docs follow-up reply only when there is a standout feature that needs setup instructions.
- Hotfix/correction: be direct and accountable. State what slipped, what is fixed, and the new version. Keep jokes out of incident-style posts.
Examples to adapt:
OpenClaw 2026.4.20-beta.1 🦞 🐳 Docker install/update smoke 🖥️ Parallels upgrade checks 🔧 Package verification tightened Beta first. Stable after the gauntlet. <release link>
OpenClaw 2026.4.20 🦞 🚀 Faster install + update 🐳 Docker + Parallels verified 🍎 macOS signed + notarized 🔧 Channel/plugin fixes Good boring release. Best kind. <release link>
Packaging issue in 2026.4.20-beta.1. 2026.4.20-beta.2 fixes install/update verification. No tag rewrites; beta moves forward. Upgrade with the beta channel. <release link>
Run publish-time validation
Before tagging or publishing, run:
pnpm check:architecture pnpm build pnpm ui:build pnpm release:check pnpm test:install:smoke
For a non-root smoke path:
OPENCLAW_INSTALL_SMOKE_SKIP_NONROOT=1 pnpm test:install:smoke
After npm publish, run:
node --import tsx scripts/openclaw-npm-postpublish-verify.ts <published-version>
- This verifies the published registry install path in a fresh temp prefix.
- For stable correction releases like
, it also verifies the upgrade path fromYYYY.M.D-N
toYYYY.M.D
so a correction publish cannot silently leave existing global installs on the old base stable payload.YYYY.M.D-N - Treat install smoke as a pack-budget gate too.
now fails the candidate update tarball when npm reports an oversizedpnpm test:install:smoke
, so release-time e2e cannot miss pack bloat that would risk low-memory install/startup failures.unpackedSize - Keep direct npm global coverage enabled in install smoke. It exercises plain
fresh installs and npm-driven update installs, because many users install with npm even when docs prefer pnpm.npm install -g <candidate> - Use
for bounded video-provider smoke when video generation is in release scope. The default video smoke skipspnpm test:live:media video
, runs one text-to-video attempt per provider with a one-second lobster prompt, and caps each provider operation withfal
(OPENCLAW_LIVE_VIDEO_GENERATION_TIMEOUT_MS
by default).180000 - Run
only when FAL-specific proof is required. Its queue latency can dominate release time.pnpm test:live:media video --video-providers fal - Set
only when intentionally validating the slower image-to-video and video-to-video transform lanes.OPENCLAW_LIVE_VIDEO_GENERATION_FULL_MODES=1
Check all relevant release builds
- Always validate the OpenClaw npm release path before creating the tag.
- Source Peter's profile before live release validation so OpenAI and Anthropic
credentials are available without printing secrets:
.set -a; source "$HOME/.profile"; set +a - Release QA and Parallels validation for this train must use both
andOPENAI_API_KEY
. If either is missing after sourcingANTHROPIC_API_KEY
, stop before starting the long lanes and report the missing key..profile - Default release checks:
pnpm checkpnpm check:test-typespnpm check:architecturepnpm buildpnpm ui:buildpnpm release:checkOPENCLAW_INSTALL_SMOKE_SKIP_NONROOT=1 pnpm test:install:smoke
- Full pre-npm beta test roster:
- default release checks above
- all Docker tests:
, plus standalone Docker live lanes not covered by the aggregate when operator says "all docker tests":pnpm test:docker:all
,pnpm test:docker:live-acp-bind
, andpnpm test:docker:live-cli-backendpnpm test:docker:live-codex-harness - all Parallels install/update tests:
plus any needed individual rerun lanes frompnpm test:parallels:npm-update -- --jsonopenclaw-parallels-smoke - all QA release validation:
OpenAI live suite with
in fast mode, Anthropic live suite withopenai/gpt-5.4
, and the repo-backed character evalsanthropic/claude-opus-4-6
- Post-published beta verification roster:
node --import tsx scripts/openclaw-npm-postpublish-verify.ts <beta-version>- install/update smoke against the published beta channel
- Docker install/update coverage that exercises the published beta package
- Parallels published beta install/update coverage with both OpenAI and Anthropic provider keys available
- targeted QA reruns only for areas touched by fixes after the full pre-npm roster, unless the operator requests the full QA roster again
- Check all release-related build surfaces touched by the release, not only the npm package.
- For beta-style full e2e batteries, hard-cap top-level long lanes instead of letting them run indefinitely. Use host
/timeout --foreground
caps such as:gtimeout --foreground
for45mOPENCLAW_INSTALL_SMOKE_SKIP_NONROOT=1 pnpm test:install:smoke
for90mpnpm test:docker:all
each for standalone Docker live lanes60m
for the full QA live OpenAI + Anthropic roster180m- Parallels caps from the
skill If a lane hits its cap, stop and inspect/fix the affected lane before continuing; do not continue to wait on the same process.openclaw-parallels-smoke
- Actual npm install/update phases are capped at 5 minutes. If
, installer package install, ornpm install -g
takes longer than 300s in release e2e, stop treating the run as healthy progress and debug the installer/updater or harness.openclaw update - Serialize host build/package mutations ahead of VM lanes. Finish
,pnpm build
,pnpm ui:build
, install smoke, and any Docker/package-prep lanes before starting Parallelspnpm release:check
lanes; otherwisenpm pack
can disappear during VM pack prep and produce false failures.dist - Include mac release readiness in preflight by running the public validation
workflow in
and the real mac preflight inopenclaw/openclaw
for every release.openclaw/releases-private - Treat the
update onappcast.xml
as part of mac release readiness, not an optional follow-up.main - The workflows remain tag-based. The agent is responsible for making sure preflight runs complete successfully before any publish run starts.
- Any fix after preflight means a new commit. Delete and recreate the tag and matching GitHub release from the fixed commit, then rerun preflight from scratch before publishing. Exception: never delete or recreate a beta tag that has already been pushed or published; increment to the next beta number instead.
- For stable mac releases, generate the signed
before uploading public release assets so the updater feed cannot lag the published binaries.appcast.xml - Serialize stable appcast-producing runs across tags so two releases do not
generate replacement
files from the same stale seed.appcast.xml - For stable releases, confirm the latest beta already passed the broader release workflows before cutting stable.
- If any required build, packaging step, or release workflow is red, do not say the release is ready.
Use the right auth flow
- OpenClaw publish uses GitHub trusted publishing.
- Stable npm promotion from
tobeta
uses the privatelatest
workflow becauseopenclaw/releases-private/.github/workflows/openclaw-npm-dist-tags.yml
management needsnpm dist-tag
, while the public npm release workflow stays OIDC-only.NPM_TOKEN - Direct stable publishes can also use that private dist-tag workflow to point
at the already-publishedbeta
version when the operator wants both tags aligned immediately.latest - The publish run must be started manually with
.workflow_dispatch - The npm workflow and the private mac publish workflow accept
to run validation/build/package steps without uploading public release assets.preflight_only=true - Real npm publish requires a prior successful npm preflight run id so the publish job promotes the prepared tarball instead of rebuilding it.
- Real private mac publish requires a prior successful private mac preflight run id so the publish job promotes the prepared artifacts instead of rebuilding or renotarizing them again.
- The private mac workflow also accepts
for branch-safe workflow smoke tests that use ad-hoc signing, skip notarization, skip shared appcast generation, and do not prove release readiness.smoke_test_only=true
on the npm workflow is also the right way to validate an existing tag after publish; it should keep running the build checks even when the npm version is already published.preflight_only=true- npm validation-only preflight may still be dispatched from ordinary branches
when testing workflow changes before merge. Release checks and real publish
use only
ormain
.release/YYYY.M.D
in.github/workflows/macos-release.yml
is now a public validation-only handoff. It validates the tag/release state and points operators to the private repo. It still rebuilds the JS outputs needed for release validation, but it does not sign, notarize, or publish macOS artifacts.openclaw/openclaw
is the required private mac validation lane foropenclaw/releases-private/.github/workflows/openclaw-macos-validate.yml
; keep it green before any real stable mac publish run starts.swift test- Real mac preflight and real mac publish both use
.openclaw/releases-private/.github/workflows/openclaw-macos-publish.yml - The private mac validation lane runs on GitHub's standard macOS runner.
- The private mac preflight path runs on GitHub's xlarge macOS runner and uses a SwiftPM cache because the build/sign/notarize/package path is CPU-heavy.
- Private mac preflight uploads notarized build artifacts as workflow artifacts instead of uploading public GitHub release assets.
- Private smoke-test runs upload ad-hoc, non-notarized build artifacts as
workflow artifacts and intentionally skip stable
generation.appcast.xml - For stable releases, npm preflight, public mac validation, private mac validation, and private mac preflight must all pass before any real publish run starts. For beta releases, npm preflight plus the selected Docker, install/update, Parallels, and release-check lanes are sufficient unless mac beta validation was explicitly requested.
- Real publish runs may be dispatched from
or from amain
branch. For release-branch runs, the tag must be contained in that release branch, and the real publish must reuse a successful preflight from the same branch.release/YYYY.M.D - The release workflows stay tag-based; rely on the documented release sequence rather than workflow-level SHA pinning.
- The
environment must be approved bynpm-release
before publish continues.@openclaw/openclaw-release-managers - Mac publish uses
for private mac preflight artifact preparation and real publish artifact promotion.openclaw/releases-private/.github/workflows/openclaw-macos-publish.yml - Real private mac publish uploads the packaged
,.zip
, and.dmg
assets to the existing GitHub release in.dSYM.zip
automatically whenopenclaw/openclaw
is present in the private repoOPENCLAW_PUBLIC_REPO_RELEASE_TOKEN
environment.mac-release - For stable releases, the agent must also download the signed
artifact from the successful private mac workflow and then updatemacos-appcast-<tag>
onappcast.xml
.main - For beta mac releases, do not update the shared production
unless a separate beta Sparkle feed exists.appcast.xml - The private repo targets a dedicated
environment. If the GitHub plan does not yet support required reviewers there, do not assume the environment alone is the approval boundary; rely on private repo access and CODEOWNERS until those settings can be enabled.mac-release - Do not use
or the plugin OTP flow for the OpenClaw package publish path; package publishing uses trusted publishing.NPM_TOKEN - Use
only for explicit npm dist-tag management modes, because npm does not support trusted publishing forNPM_TOKEN
.npm dist-tag add
plugin publishes use a separate maintainer-only flow.@openclaw/*- Only publish plugins that already exist on npm; bundled disk-tree-only plugins stay unpublished.
Fallback local mac publish
- Keep the original local macOS publish workflow available as a fallback in case CI/CD mac publishing is unavailable or broken.
- Preserve the existing maintainer workflow Peter uses: run it on a real Mac with local signing, notary, and Sparkle credentials already configured.
- Follow the private maintainer macOS runbook for the local steps:
to build, sign, notarize, and package the app; manual GitHub release asset upload; thenscripts/package-mac-dist.sh
plus thescripts/make_appcast.sh
commit toappcast.xml
.main
now fails closed for release builds if the bundled app comes out with a debug bundle id, an empty Sparkle feed URL, or ascripts/package-mac-dist.sh
below the canonical Sparkle build floor for that short version. For correction tags, set a higher explicitCFBundleVersion
.APP_BUILD
first usesscripts/make_appcast.sh
fromgenerate_appcast
, then falls back to the SwiftPM Sparkle tool output underPATH
.apps/macos/.build- For stable tags, the local fallback may update the shared production
.appcast.xml - For beta tags, the local fallback still publishes the mac assets but must not
update the shared production
unless a separate beta feed exists.appcast.xml - Treat the local workflow as fallback only. Prefer the CI/CD publish workflow when it is working.
- After any stable mac publish, verify all of the following before you call the
release finished:
- the GitHub release has
,.zip
, and.dmg
assets.dSYM.zip
onappcast.xml
points at the new stable zipmain- the packaged app reports the expected short version and a numeric
at or above the canonical Sparkle build floorCFBundleVersion
- the GitHub release has
Run the release sequence
- Confirm the operator explicitly wants to cut a release.
- Choose the exact target version and git tag.
- Commit any dirty files in coherent groups, push, pull/rebase, and verify the worktree is clean.
- Pull latest
and confirm currentmain
CI is green.main - Run
for the stable base target version on/changelog
, commit the changelog rewrite immediately, push, and pull/rebase. For beta releases, keep the changelog heading asmain
, not## YYYY.M.D
.## YYYY.M.D-beta.N - Create
from that post-changelogrelease/YYYY.M.D
commit.main - Make every repo version location match the beta tag before creating it.
- Commit release preparation changes on the release branch and push the branch.
- Run the full pre-npm beta test roster from the release branch before any npm preflight or publish.
- For beta releases, skip mac app build/sign/notarize unless beta scope or a release blocker specifically requires it. For stable releases, include the mac app, signing, notarization, and appcast path.
- Confirm the target npm version is not already published.
- Create and push the git tag from the release branch.
- Create or refresh the matching GitHub release.
- Start
from the release branch with.github/workflows/openclaw-npm-release.yml
and choose the intendedpreflight_only=true
(npm_dist_tag
default;beta
only for an intentional direct stable publish). Wait for it to pass. Save that run id because the real publish requires it to reuse the prepared npm tarball.latest - For stable releases, start
in.github/workflows/macos-release.yml
and wait for the public validation-only run to pass.openclaw/openclaw - For stable releases, start
with the same tag and wait for the private mac validation lane to pass.openclaw/releases-private/.github/workflows/openclaw-macos-validate.yml - For stable releases, start
withopenclaw/releases-private/.github/workflows/openclaw-macos-publish.yml
and wait for it to pass. Save that run id because the real publish requires it to reuse the notarized mac artifacts.preflight_only=true - If any preflight or validation run fails, fix the issue on a new commit, delete the tag and matching GitHub release, recreate them from the fixed commit, and rerun all relevant preflights from scratch before continuing. Never reuse old preflight results after the commit changes. For pushed or published beta tags, do not delete/recreate; increment to the next beta tag.
- Start
from the same branch with the same tag for the real publish, choose.github/workflows/openclaw-npm-release.yml
(npm_dist_tag
default,beta
only when you intentionally want direct stable publish), keep it the same as the preflight run, and pass the successful npmlatest
.preflight_run_id - Wait for
approval fromnpm-release
.@openclaw/openclaw-release-managers - Run postpublish verification:
.node --import tsx scripts/openclaw-npm-postpublish-verify.ts <published-version> - Run the post-published beta verification roster. If any lane fails after the beta tag/package is pushed or published, fix, commit/push/pull, increment to the next beta tag, and restart at the full pre-npm beta test roster for the new beta. If a pre-npm lane fails before any tag/package leaves the machine, fix and rerun the same intended beta attempt. Repeat up to the operator's authorized beta-attempt limit, normally 4.
- Announce the beta/stable release on Discord best-effort using Peter's bot
token from
..profile - If the operator requested beta only, stop after beta verification and the announcement.
- If the stable release was published to
, start the privatebeta
workflow after beta validation passes to promote that stable version fromopenclaw/releases-private/.github/workflows/openclaw-npm-dist-tags.yml
tobeta
, then verifylatest
now points at that version.latest - If the stable release was published directly to
andlatest
should follow it, start that same private dist-tag workflow to pointbeta
at the stable version, then verify bothbeta
andlatest
point at that version.beta - For stable releases, start
for the real publish with the successful private macopenclaw/releases-private/.github/workflows/openclaw-macos-publish.yml
and wait for success.preflight_run_id - Verify the successful real private mac run uploaded the
,.zip
, and.dmg
artifacts to the existing GitHub release in.dSYM.zip
.openclaw/openclaw - For stable releases, download
from the successful private mac run, updatemacos-appcast-<tag>
onappcast.xml
, and verify the feed. Merge or cherry-pick release branch changes back tomain
after stable succeeds.main - For beta releases, publish the mac assets only when intentionally requested;
expect no shared production
artifact and do not update the shared production feed unless a separate beta feed exists.appcast.xml - After publish, verify npm and the attached release artifacts.
GHSA advisory work
- Use
for GHSA advisory inspection, patch/publish flow, private-fork validation, and GHSA API-specific publish checks.openclaw-ghsa-maintainer