On this page

On this page

Release process

Release policy

Choose a channel below; see Release channels to switch. Maintainer procedures are linked at the end.

Release channels

Channel Distribution
Stable Regular release on npm latest.
Beta Candidate on npm beta: prerelease or final awaiting promotion.
Extended-stable Trailing completed month's Gateway maintenance line on npm extended-stable.
Dev Moving main head.

Extended-stable includes Gateway, official npm plugins, and Docker—not native apps or ClawHub. It leaves regular stable unchanged; GitHub does not mark it Latest. Maintain only the trailing completed month relative to main's version; when main advances a month, the previous line and older .33+ lines retire. Retired-line publication requires an explicit maintainer decision recorded as retired_line_publication_reason in the human-approved npm-release receipt, bound to the exact tag, source, channel, and parent attempt. Empty/historical ordinary approvals do not qualify; never bypass guards or source, validation, and live-authority gates.

Version naming

Release Example
Regular final 2026.9.6
Beta prerelease 2026.9.6-beta.1
Regular correction 2026.9.6-1
Extended-stable 2026.8.33, then 2026.8.34
  • year.month.patch has no zero-padding; patch is a monthly release number, not a day. Regular patches are below 33; extended-stable starts at 33.
  • Tags add v (for example v2026.9.6) and must be annotated and signed. Shared publication verifies signatures before checkout/evidence download, including recovery/republishing; lightweight, unsigned, and unverified tags are ineligible. Recover historical unsigned releases with a new signed version.
  • Never replace published npm versions or tags; fixes get new versions. Retired alpha-only versions do not advance regular numbering.

Release cadence

Normally publish beta, validate, then promote stable. Core and every published official npm plugin must have beta at least as new as latest; preserve a newer beta. Prereleases precede their same-base final. Final versions normally require stable validation even when first published to beta.

Release validation

Normal releases follow these validation requirements.

  • Stable/final publication requires stable or full validation, longer soak, and blocking performance checks; beta-profile evidence is insufficient.
  • The release lead classifies every failed test as blocker or flake. Retain the failure, file a fix-in-parallel issue/PR on main, and rerun flakes on the same Release SHA at most twice. Never re-cut, change tooling, or restart FRV solely to clear a flake. An intentional release-tooling waiver is operator-approved Q grant data requiring a new qualification request with pinned Q, unchanged candidate, and reevaluation of eligible raw receipts.
  • Blocking coverage: CI coverage gate, seal/evidence, Build Artifacts, install smoke, survivor lanes, update-first-hop-compat*, pack/npm qualification, package integrity, and all Linux/Windows/macOS Gateway checks, including Windows packaged install/upgrade in Release Checks. All-group qualification includes all nine Gateway install/upgrade combinations.
  • Selected openclaw/ci-gate must succeed unless it is itself waived. A matching job waiver does not require a run; omit jobName to waive the entire child role and all descendants without a run or receipt. Optional step limits a job waiver to the first incomplete or failed step. Unwaived gaps block, and waived is not passed. FRV must conclude success.
  • Coverage spans source CI, packages, plugins, Gateway installs/upgrades, and selected app, UI, Telegram, QA, and live-provider checks. Inspect recorded profile/OS coverage; skipped or deferred is not passed.
  • Blocking live-cache: stable/full by default; beta with repo/live coverage. Prompt-cache regression coverage defines serialized-prefix/cache-reuse checks for Anthropic Messages, OpenAI Responses, and credential-available OpenRouter. Live agents exercise instruction refresh, activated hooks, and persisted projection rehydration with full-history cold-transport requests—not Gateway process restart or retained HTTP continuation. Offline proof separately compares authenticated chat, child completion, in-process server stop/start, and subsequent same-session chat (not OS-process restart). Focus: rerun_group=live-e2e, live_suite_filter=live-cache; provider/mode do not narrow it.
  • Selected official npm plugins qualify exact publishable tarballs with immutable descriptors; publication uses those bytes. Unpacked fixtures participate only if shipped in the tarball.
  • Dependency advisories never block CI, commits, or releases. Production audits run only for full-release-validation-/release-native-android- dispatch IDs, warning with exit 0; ordinary PR/push/scheduled CI skips them. The optional pre-commit audit agrees. Daily Dependency Audit stays strict for triage, not a required PR check. Record all severities; ship fixes through main after publication. pnpm deps:vuln:gate still blocks known malware.
  • Red main CI does not gate, delay, or justify re-cutting: release-branch validation/publication uses pinned tooling.

See Full release validation for profiles and evidence interpretation.

Operator capabilities

Repository write, organization membership, branch-policy reads, CI bypass, environment approval, and production deployment are separate authorities. Unavailable prior-CI exceptions neither block all release work nor imply unavailable environment approval; MAINTAIN/CI bypass does not authorize approval/deployment.

The checklist reports caller-specific pending approvals and prints an approval command only if GitHub says the caller may approve; otherwise use an eligible reviewer. Unreadable approval status is unknown, not none, and monitoring continues. Anonymous rate-limit fallback applies only to public evidence, not caller-specific approval reads.

Resume activation while ClawHub recovery is independent

For already-published core, recovery accepts defer_clawhub=true, openclaw_npm_resume_run_id=<original-successful-run> only with direct publish_openclaw_npm=true and no prepared_plugins. It authenticates original registry bytes/provenance, retains npm/source/artifact/approval/finalization gates, and neither republishes core nor plans/dispatches ClawHub work.

Normal ClawHub publication remains default. Deferral records clawHubDeferred in the authenticated dispatch receipt and incomplete ClawHub proof. GitHub, Docker, and platform activation may continue; full release remains incomplete until independent recovery verifies original artifacts. No repacking/replacement.

Explicit beta plugin authentication deferrals

Only original all-package core beta publication with prepared qualification may supply operator-reviewed corePluginDeferrals in prepared_plugins JSON—not stable or selected-package publication. An array-only object preserves normal publication; retain existing npm/clawhub descriptors unchanged when present. Each entry supplies packageName, version, sourceSha, reason, and original Actions job URL evidence. Allowed reasons: npm-eneedauth or npm-trusted-publisher-exchange-http-404 (verified token-exchange failure, not arbitrary registry 404). Human-approved parent receipts bind source/tooling run.

Verify the complete original roster/artifacts, including deferrals; publish all nondeferred packages before core. Readback retains failures and deferred status, never invented success. Already-public deferred versions require normal integrity/selector checks; remaining recovery needs separate authorization and original qualified bytes.

Beta.1 plugin trust closeout

After core npm, Docker, and GitHub activation complete, both the direct publisher and Release Button require Plugin NPM Trust Closeout for beta.1. It selects packages from successful token-bootstrap jobs in the original npm publication, not from current registry contents, and runs the existing trusted-publisher preflight in plugin-npm-release.yml with the original protected tooling ref. Releases without bootstrapped packages need no OIDC exchange.

A failed closeout leaves the release published but the overall release run red. Configure the listed packages' npm trusted publisher for openclaw/openclaw, workflow plugin-npm-release.yml, environment npm-publish, then rerun only the failed closeout job. If its linked preflight is waiting for environment approval, resolve that run first. Closeout does not publish versions, create placeholders, change npm trust, or automate npm login/2FA. A successful exchange proves current authentication only, not a subsequent publish or permanent trust activation. Native app and ClawHub publication remain independent.

Watch publication

After stable dispatch, keep the read-only watcher in a separate shell:

bash
pnpm release:stable YYYY.M.PATCH --watch

For any publish parent, including beta/resumes:

bash
pnpm release:watch --run <publish-parent-run-id>

release:stable --watch authenticates retained orchestrator state; release:watch derives protected tooling tag/SHA from the parent. Both correlate npm/ClawHub children by exact parent run, attempt, and tooling identity. They stop for pending parent/child approvals or failed runs/jobs (including continue-on-error Windows notification); otherwise wait for tree success. GitHub reads only: no approval, rerun, cancel, dispatch, or publication. Rate limits trigger extended backoff.

Exit Meaning
0 Observed tree succeeded, or --once found nothing needing attention.
1 Pending approval or failed publication run/job.
2 Usage, identity, transport, truncation, timeout, or observation failure.

--once --json returns contractVersion: 1, top-level state (active, attention, success), and exact parent/child/approval/failed-run/failed-job records. --poll-seconds overrides 60 seconds (release:stable) or 120 (release:watch); --timeout-seconds overrides 12 hours. Neither persists watcher state nor creates a daemon.

Plugin SDK evidence transport

SDK reports/evidence use openclaw.plugin-sdk-api-encoded/v1 JSON: encoding: "gzip+base64" plus a data string. It preserves the full logical report, comparison digests, and channel acknowledgement; Markdown remains readable. Inspect with decodePluginSdkApiArtifact in scripts/plugin-sdk-api-release-evidence.mjs.

Limits: 16 MiB serialized JSON; 64 MiB expansion per decode across concatenated gzip members—not process-wide memory. Buffers, text, objects, and concurrent consumers coexist. Archive/file/manifest limits, immutable hashes, producer identity, full diff validation, and acknowledgements still apply.

Upgrade producer and trusted qualification/publication readers together in the selected tooling cut, then regenerate/qualify evidence. Frozen older readers reject envelopes; moving main does not upgrade them. New readers accept historical unencoded receipts. Never rewrite authenticated receipts or reuse digests for changed bytes. This change authorizes no dispatch/publication.

Shared qualification validation

release-ci-summary.mjs authenticates qualification once for all consumers; validate-full-release-validation-evidence.mjs checks the release tag and publication selection, including plugin subsets, and rechecks live authority. Only authenticated direct admission qualifies evidence for publication. Unadmitted historical manifests, including v3, require new admitted qualification; ancestry alone is not admission. Use receipt-only recovery to reseal existing qualification without rerunning any wave. A separately admitted, signed ledger can add candidate-scoped job or whole-child waivers. Recovery cannot replace unwaived receipts or qualify unwaived failures. C, Q, and P may remain independent.

Frozen qualification identity

Identity Owns
C — candidate Exact tested/published commit, package bytes, version, upgrade baselines.
Q — qualification Complete qualification closure and pinned grant ledger; defaults to C. Executable tooling requires review and verified lineage; authorized grants are committed directly to Q.
P — trusted tooling Admission, aggregate validation, verification, publication, Q-grant evaluation, FRV verdict; independently trusted main revision or protected publication tag. May differ from C/Q; C need not precede P.

Dispatch defines P's immutable operator-attestation/input/coverage admission before Q's release-ci/* dispatch. release-publish/* belongs to P. Admission is not test success/publication approval.

pnpm release:candidate --workflow-sha <P> pins helper/publication, not Q; pnpm ci:full-release --trusted-workflow-ref candidate --workflow-sha <Q> selects reviewed Q through P. Follow qualification-tooling recovery: fresh request/admission/successful parent for changed Q, deliberate Q repair or backport for missing contracts, new bound evidence for changed C. P-only repairs may retain C/Q/artifacts. No moving-main fallback or relabeling old requests. Historical requests retain recovery semantics; new publication requires admitted C/Q/P, not diagnostic cross-revision evidence.

Stable npm-stable-v1/admitted stable/full include reusable mock-provider Telegram proof for exact FRV-qualified bytes; npm-beta-v1 is deferred, not passed. Historical separately packed/live-provider Telegram checks need their own C-byte proof. Supplemental checks require retained release-ci/* verified at Q and harness_ref pinned to Q; missing/moved refs require new candidate evidence. Keep run IDs in the candidate bundle, not optional publisher postpublish diagnostics. Local Parallels uses isolated Q harness/frozen dependencies against exact validated C tarballs when Q differs.

Reuse preserves producer/consumer identities, inputs, coverage, and provenance. Child evidence reuse can cross Q with an authenticated producer and reevaluation under current Q grants. Tooling changes alone do not force fresh runs; whole-parent reuse still requires exact Q/P. Root-request recovery owns read-only reconciliation and explicit pre-POST resume: intended Q, empty uncertain-ref inventory, revalidated admission/signer, final ref verification. Attempted/uncertain POSTs are observation-only, never redispatched. Publication, soak, performance, approval, and exact-byte gates remain.

Local contracts prove binding/refusal/recovery—not hosted admission, environment access, OIDC, signing, or publication. Report hosted evidence and untested prerequisites separately; local green is not a hosted receipt.

Packages and apps can become available at different times

Selected official npm plugins publish before core (except explicit beta deferrals above). ClawHub starts at its existing dispatch point, then runs independently; its planning/authorization/dispatch/publication/verification/recovery never block core npm, GitHub finalization, main closeout, or retrospective PR. Keep pending/ failed ClawHub work visible with owner/follow-up; core success does not complete it.

Native signing/publication may finish separately from npm, Docker, and GitHub. Check platform assets/announcements: a published Gateway, pending app build, or accepted request does not prove app publication. Extended-stable excludes apps.

Release notes and verification

Release notes describe user changes; GitHub carries validation, dependency, and package checks identifying tested versions/shipped files. Documentation updates do not rebuild/replace packages.

Beta notes freeze each beta's changelog/contribution record against npm's prepublication beta selection—even stable when beta/latest coincide—not necessarily the last GitHub prerelease. Stable notes accumulate since the previous published regular stable release, captured from npm latest before publication or supplied as its previously captured tag. Divergent release branches are supported: the shipped tag remains the semantic base, with canonical backport deduplication; a main-closeout commit is never a substitute for the shipped boundary. Recovery reuses that tag without consulting a moving registry selector. Extended-stable uses the previous published release on its own maintenance line. Missing legacy records produce diagnostics and retain uncertain contributions; stale legacy historical totals warn rather than replace explicit PR rows. Malformed selected or canonical historical records and unsupported exclusions remain errors.

Dependency locking covers review; release archives carry npm-format locks separately from tarballs.

Downstream packaging

  1. Download openclaw-<version>-dependency-evidence.zip from GitHub release assets; select the exact packages entry by name/version in dependency-evidence/npm-package-locks.json (schemaVersion: 1).
  2. Reject nonempty omittedWorkspaceDependencies: partial locks omit sibling runtime workspace: dependencies published together; counted in packagesWithOmittedWorkspaceDependencies.
  3. Match dependency-evidence/dependency-evidence-manifest.json's releaseSha, report sourceSha, and pinned OpenClaw commit. Report also records source pnpm-lock.yaml SHA-256.
  4. Serialize entry.lock as package-lock.json (two-space indentation, trailing newline); verify SHA-256 against entry.lockSha256.
  5. Before npm ci, copy source pnpm-workspace.yaml overrides into consuming package.json or rewrite nested dependencies/optionalDependencies to locked versions; otherwise encoded overrides can fail npm lock-sync.

Companion npm-package-locks.md lists package/count tables. bundleRuntimeDependencies/direct counts identify lockless packages needing external locks. Path-sorted bundledDependencies records path, name, version, parent and lock inBundle: true. Parent is the nearest non-bundled carrier; its resolved/integrity verify the containing tarball. Reports reject missing/ unverifiable carriers, preserve lock payloads, and count bundles per package/total.

Maintainer procedures

Preparation, publishing, approvals, and recovery: the release-maintainer skill. Credentials/emergencies: private maintainer runbook. Legacy anchors follow.

Linux publication.

Release changelogs.

Changelog-only qualification.

Extended-stable preparation and publication.

Extended-stable recovery.

Regular release checklist.

Resumable release orchestration.

Deferred CI recovery.

Nightly validation reuse.

Release tooling CI scope.

Stable main closeout.

After every stable release, regenerate the committed shipped Plugin SDK surface on main with pnpm plugin-sdk:shipped-surface:gen -- --release <stable tag>, then run pnpm plugin-sdk:surface:check. Commit the generated scripts/lib/plugin-sdk-shipped-surface.json as part of stable closeout; do not edit it by hand. The inventory records the stable tag's typed public declarations so later export-budget reductions cannot authorize their removal.

Post-release documentation publication.

Source and package gates.

Older updater verification.

Runtime generation design proposal (not shipped behavior).

Release validation lanes.

Package Acceptance.

Publication qualification.

Bootstrap-token verification.

Prepared publication.

Interrupted preparation and publication.

Published-version recovery.

Regular publication and verification.

Publication requirements.

Release workflow reference.

Was this useful?