
OpenClaw Release CI
FreeStreamline your OpenClaw release validation process.
Free · Opens the source repo
What OpenClaw Release CI does
OpenClaw Release CI is designed for developers who need to ensure the integrity and reliability of their software releases within the OpenClaw ecosystem. This skill facilitates the full validation of release candidates, including install and update proofs, live provider checks, and CI recovery. It operates in conjunction with $release-openclaw-maintainer and $openclaw-testing, making it an essential tool for any team involved in OpenClaw development.
The skill enforces strict guardrails to maintain the quality of the release process. It prevents any version bumps, tags, or releases without explicit operator approval, ensuring that only validated changes are promoted. The workflow is structured to handle validation runs meticulously, recording essential identifiers such as Validation SHA and Tooling SHA, which map directly to the code being validated. This structured approach minimizes the risk of introducing defects into production.
OpenClaw Release CI is particularly beneficial in scenarios where multiple validation checks are necessary before a release can be deemed stable. It provides a framework for managing dependencies and ensuring that all components are in sync, which is crucial for maintaining the integrity of the release process. The skill also emphasizes the importance of validating provider secrets and managing GitHub secrets responsibly, further enhancing security during the release cycle.
This skill is ideal for teams that prioritize rigorous testing and validation of their software releases. It is particularly useful in environments where releases are frequent and must meet high standards of quality and reliability. By adopting OpenClaw Release CI, teams can streamline their release processes and reduce the likelihood of post-release issues, ultimately leading to a more stable product.
When to use it
Use OpenClaw Release CI when preparing a release candidate that requires comprehensive validation and checks before deployment.
When not to use it
This skill may not be suitable for projects with infrequent releases or those that do not require rigorous validation processes.
What you can build with it
Preparing a Release Candidate
When a new release candidate is ready, use OpenClaw Release CI to validate it through comprehensive checks before deployment.
Managing Provider Secrets
Utilize the skill to ensure that all provider secrets are validated and secure before running expensive full release matrices.
Ensuring Release Integrity
In a fast-paced development environment, this skill helps maintain the integrity of your releases by enforcing strict validation and approval processes.
How to install OpenClaw Release CI
View source1. Install with the skills CLI
npx skills add openclaw/openclaw/release-openclaw-ci --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by openclawOpenClaw Release CI
Use this with $release-openclaw-maintainer and $openclaw-testing when a release candidate needs full validation, install/update proof, live provider checks, or CI recovery.
Guardrails
- No version bump, tag, npm publish, GitHub release, or release promotion without explicit operator approval.
- After compaction, resume, or new steering, rewrite the effective goal and current phase from the latest explicit operator instruction. Do not merge old scope back into the active release.
- Hold the release scope once a release branch or Code SHA exists. Validate and
ship that exact release; do not turn moving
maininto a second work queue. - Record every active validation run as the immutable tuple Validation SHA + Tooling SHA. Validation SHA maps to the Code SHA for product validation or the Release SHA for changelog-only validation; it is not a third release identity. A branch or temporary ref is context and transport.
- Apply a release firebreak after the Code SHA is frozen. Admit only confirmed product defects, package/provenance defects in the bytes to publish, security defects, or failures that make publication impossible. Queue other findings for postpublish confidence or the next beta.
- Use trusted
mainworkflow revisions as immutable dispatch sources. Do not adopt newer main code, repair unrelated main CI, wait for broad main health, or expand a release fix because the workflow source lives onmain. - Touch
mainonly for an operator-requested change or the smallest critical main-owned blocker that prevents this release and cannot be handled from the release branch. If the required main landing policy is blocked by unrelated main failures, report that blocker and keep independent release work moving instead of healing broader main. - Validate provider secrets before dispatching expensive full release matrices.
- Do not set GitHub secrets from unvalidated 1Password candidates. If a candidate returns 401/403, leave the existing secret alone and report the exact missing provider.
- Use
$one-passwordfor secret reads/writes: one persistent tmux session, targeted items only, no secret output. - Watch one parent run plus compact child summaries. Avoid broad
gh run viewpolling loops; REST quota is easy to burn. - Fetch logs only for failed or currently-blocking jobs. If quota is low, stop polling and wait for reset.
- Treat live-provider flakes separately from code failures: prove key validity, provider HTTP status, retry evidence, and exact failing lane before editing code.
- A model-list response proves authentication, not billing or inference entitlement. Mandatory live providers must pass a real completion probe before release dispatch. Fix the credential first; do not add an alternate auth path merely to bypass a failed release credential.
- Full Release Validation collects independent child failures to terminal
completion by default. Pass
fail_fast=trueonly when the shorter first-failure cancellation path is preferable. - Use one release operator, one transition-only watcher, and at most one investigator for the current failed surface. Do not build audit-review-plan trees around a single workflow transition.
- For regular beta/stable releases, treat the product-complete pre-changelog
commit as the Code SHA. Full product validation and performance evidence bind
to that SHA. The later Release SHA may reuse those results only when it is a
descendant whose complete changed path set is exactly
CHANGELOG.md. - Extended-stable validates one exact branch tip; it does not reuse the regular Code-SHA/Release-SHA evidence model.
- In a sparse worktree or Testbox source sync, first confirm
package.json,pnpm-lock.yaml, and every source path the selected check reads. If any are absent, that checkout cannot validate a release dependency or Docker lane: stop and use the repo remote changed gate or a full task worktree. When the inputs are present and a release fix changespackage.jsonorpnpm-lock.yaml, rebuild only the task-owned disposable box withCI=true pnpm install --frozen-lockfile, then run an explicitrequire.resolve()probe before Docker or focused tests. The CI flag permits pnpm to recreate a prewarmed modules directory without an interactive confirmation. Do not weaken the lockfile or label sparse-checkout failures as product/Docker failures. - If the candidate is rebased or its base SHA changes after warmup, stop the task-owned box and warm a fresh one before testing. Testbox source sync is relative to the warmed source tree; continuing can mix an old base file with a new candidate diff and produce false lockfile or Docker failures.
- Reused Testboxes are provenance-gated after their first successful run.
Source-only edits may reuse the lease; base, dependency, wrapper, or Testbox
workflow drift requires a fresh lease. Do not set
OPENCLAW_TESTBOX_ALLOW_STALE=1for release evidence. - For a committed release candidate, warm the box with
blacksmith testbox warmup ... --ref <candidate-branch-or-sha>. Do not rely on source sync to overlay committed branch changes onto the workflow's default ref.
Run identity and retry budget
Record Validation SHA, Tooling SHA, target context ref, parent run id, attempt, and phase before watching or recovering Full Release Validation. Keep Code SHA and Release SHA separately in the lifecycle ledger.
- Conceptual phases map to current inputs as follows:
beta-publish:release_profile=beta,run_release_soak=falsepostpublish-confidence: published package inputs withrun_release_soak=trueor explicit focused groupsstable-publish:release_profile=stable
- Keep at most one active parent for the same Validation SHA + Tooling SHA + rerun group. Concurrency does not cancel an older exact child automatically.
- Parent cancellation or timeout leaves an adopted identity-checked child running. The operator must cancel that exact child explicitly when it is no longer useful.
- Recover one failed surface with one diagnosis, one fix when needed, and one
narrow retry. Then reassess the release decision. Do not automatically
dispatch
rerun_group=all. - A new all-group parent is justified only when shared orchestration changed, earlier evidence is invalid for the selected tuple, or the operator explicitly requests it. Record the invalidating event.
- Narrow child or group evidence does not by itself become publish authorization. Keep it in the evidence ledger for the release owner to judge against the current publish gate.
Preflight
Before full release validation:
node .agents/skills/release-openclaw-ci/scripts/verify-provider-secrets.mjs --required openai,anthropic,fireworks
gh api rate_limit --jq '.resources.core'
git status --short --branch
git rev-parse HEAD
1Password service-account values are the first source for release provider preflight. Inject those exact targeted keys first, then run the verifier; use ambient env only when it was already intentionally injected for this release. The script prints only provider status and HTTP class, never tokens. The Anthropic check performs a tiny message completion so exhausted or non-billable credentials fail before the expensive release matrix.
Dispatch
Start product performance evidence as early as the Code SHA exists, in parallel with other release work:
gh workflow run openclaw-performance.yml \
--repo openclaw/openclaw \
--ref main \
-f target_ref=<code-sha> \
-f profile=release \
-f repeat=3 \
-f deep_profile=false \
-f live_openai_candidate=false \
-f fail_on_regression=true
- Do not wait for full release validation to start this early perf signal.
- Compare available Kova, gateway startup, and CLI startup metrics with earlier release evidence or clawgrit reports before publish/closeout.
- Call out any regression in the release proof. Treat a major regression as a release blocker until it is fixed, waived by the operator, or proven to be infrastructure noise.
- Full Release Validation records blocking product-performance evidence. The early standalone run is for overlap and faster regression discovery, but a regression or missing child run blocks the parent validation.
Prefer an immutable trusted-main workflow revision, target the exact Code SHA:
- Keep trusted-workflow checks compatible with frozen release targets. If
mainadds a target-owned guard script or package command after the release branch cut, make the trusted workflow skip only when that target surface is absent. Repair the smallest trusted-workflow compatibility issue only when it blocks the release, then rerun validation. Do not port an unrelated runtime refactor, heal other main failures, or mutate the release candidate just to satisfy a newermain-only check.
node scripts/full-release-validation-at-sha.mjs \
--sha <code-sha> \
--target-ref release/YYYY.M.PATCH
For immutable workflow proof on a moving main, use
pnpm ci:full-release --sha <code-sha> --target-ref release/YYYY.M.PATCH. Its canonical release-ci/* ref keeps evidence reuse
enabled after proving the workflow commit is still on trusted main lineage.
Pass -f reuse_evidence=false only when the operator intentionally needs a
fresh full run.
After the Code SHA is green, commit only CHANGELOG.md and run the same helper
against the Release SHA. The parent must report
policy=changelog-only-release-v1, evidenceSha=<code-sha>, and
changedPaths=["CHANGELOG.md"]; it should reuse the product matrix instead of
dispatching child lanes. Npm preflight and package/install acceptance still run
against the exact Release SHA and its new tarball bytes.
The SHA-pinned helper infers beta for alpha/beta package versions and stable
for stable/correction versions and passes the Validation SHA + Tooling SHA run
identity. beta without soak is the bounded beta-publish gate. Run broad live
QA and E2E as postpublish confidence with run_release_soak=true or explicit
groups. Stable and full profiles force the release soak. Use a narrow
rerun_group after focused fixes; never widen automatically.
Publish with openclaw-release-publish.yml using release_profile=from-validation
unless a maintainer intentionally wants to cross-check a specific profile; the
publish workflow reads the effective profile from the full-validation manifest.
Extended-stable validation
For .33+, dispatch from and target the canonical branch; the regular
SHA-pinned helper would produce a rejected release-ci/* identity:
RELEASE_SHA="$(git rev-parse HEAD)"
gh workflow run full-release-validation.yml \
--ref extended-stable/YYYY.M.33 \
-f ref=extended-stable/YYYY.M.33 \
-f expected_sha="$RELEASE_SHA" \
-f release_profile=stable
Accept only a complete rerun_group=all run whose branch, head/target SHAs,
manifest workflowRef, and package versions identify the same commit. Save its
successful run_attempt and require the final tag to resolve there. Reject
release-ci/*, current-main, narrow, and earlier-attempt evidence.
Product failures need an approved backport. Frozen-target tooling failures need the smallest behavior-preserving repair. Provider, approval, runner, or log races keep the candidate unchanged. Record repairs and superseded runs; any branch change requires a new complete parent. Omit only an explicitly unsupported frozen-target scenario, never a required behavior or package.
Watch
Use the transition-only summary watcher instead of repeated raw polling:
node scripts/release-ci-summary.mjs <full-release-run-id> --watch
For a one-shot snapshot:
node scripts/release-ci-summary.mjs <full-release-run-id>
Stop watchers before ending the turn or switching strategy.
Failure Triage
- Confirm parent SHA and child run IDs.
- List failed jobs only:
gh run view <child-run-id> --repo openclaw/openclaw --json jobs \ --jq '.jobs[] | select(.conclusion=="failure" or .conclusion=="timed_out" or .conclusion=="cancelled") | [.databaseId,.name,.conclusion,.url] | @tsv' - Fetch one failed job log. If rate-limited, note reset time and avoid more REST calls.
- For secret-looking failures, validate a real completion from the same secret source before editing code. A successful model-list request is insufficient. Claude CLI subscription credentials are a separate native auth path; prove them in a clean-home CLI probe, never as a substitute for a required Anthropic API-key lane.
- For live-cache failures, inspect whether it is missing/invalid key, empty text, provider refusal, timeout, or baseline miss. Do not weaken release gates without clear provider evidence.
- Classify before editing:
- confirmed product/code failure: fix the release branch, freeze a new Code SHA, and invalidate product evidence
- harness/tooling/provenance failure: keep the Code SHA, fix the smallest owning surface, and retry only the failed surface with the required Tooling SHA
- infrastructure/credential failure: keep both SHAs, repair the external prerequisite, and retry only the failed surface
- wrapper/monitor failure: keep the child and candidate identities; record the wrapper result separately from the child result
- changelog/release-note failure: change only
CHANGELOG.md, keep Code SHA evidence, and repeat Release SHA proof - publish child/registry selector failure: keep Release SHA and resume the failed child; never rebuild an immutable version that already published Only the first class changes the Code SHA. After one diagnosis/fix/narrow retry, reassess instead of starting another all-group cycle.
- If a required PR CI run is capacity-stalled with queued jobs and no active
jobs, do not cancel unrelated work or accept a generic manual dispatch.
First verify the PR head carries the current fallback schema:
gh api 'repos/openclaw/openclaw/contents/.github/workflows/ci.yml?ref=<pr-head-branch>' --jq .content | base64 --decode | rg -q 'pull_request_number:'. If absent, refresh the PR head frommainand use the new head SHA; let normal CI run before considering another fallback. From the PR head branch, dispatch the explicit exact-SHA fallback:gh workflow run ci.yml --repo openclaw/openclaw --ref <pr-head-branch> -f target_ref=<full-pr-sha> -f pull_request_number=<pr-number> -f include_android=true -f release_gate=true. It runs on GitHub-hosted runners and is accepted only when its run title isCI release gate <full-pr-sha>. Record the stalled Blacksmith run and the fallback run in release evidence. IfBlacksmith Build Artifacts Testboxis the only remaining required gate and remains queued without a runner, that completed exact fallback may cover it because CI'sbuild-artifactsjob already builds, packages, and smoke tests the artifacts. Do not use this coverage after the artifact workflow starts or completes non-successfully.
Evidence
Record:
- release lifecycle ledger: Code SHA, Release SHA, and Tooling SHA for regular releases; canonical branch, exact SHA, and immutable tag for extended-stable
- evidence-reuse policy and complete changed-path set
- active full parent run URL, attempt, workflow SHA, and any superseded parent with the exact replacement reason
- child run IDs and conclusions: CI, Release Checks, Plugin Prerelease, NPM Telegram, Product Performance
- performance comparison result versus earlier releases when available
- targeted local proof commands
- provider-secret preflight result
- frozen-target compatibility repairs or omitted inapplicable scenarios, with their source PRs and invariant
- known gaps or unrelated failures
For lessons and recovery patterns, read references/release-ci-notes.md.
Frequently asked questions about OpenClaw Release CI
Similar skills
Turborepo
Optimized build system for JavaScript/TypeScript monorepos.
Azure Pipelines Validation
Streamline your Azure DevOps pipeline changes locally.
Azure Developer CLI
Streamline your Azure project workflows with best practices.
Azure Container Registry CLI
Manage Azure Container Registry resources with ease.
Aspire
Build and orchestrate polyglot distributed applications seamlessly.
Vercel CLI
Manage and deploy Vercel projects from the command line.
