跳到正文
FunCoding

clawhub-production-release

Run and verify ClawHub production deploys and stable ClawHub CLI npm releases. Use when deploying backend or frontend changes to clawhub.ai, dispatching the Deploy workflow, publishing a stable CLI tag, checking release prerequisites, or proving the exact production SHA and workflow outcome.

Star
9,568
许可证
MIT
最近提交
2026年12月2日

.agents/skills/clawhub-production-release/SKILL.md

在 GitHub 上查看

ClawHub Production Release

ClawHub production changes are manual-only. Merging to main does not deploy the app or publish the CLI.

Safety Rules

  • Run production workflows from main.
  • Re-read the workflow and exact main SHA immediately before dispatch.
  • Test deploys from next and is not a production release gate. Do not wait for, require, or manufacture a Deploy Test run for the main SHA.
  • Do not treat a green workflow alone as proof. Record the workflow URL, exact deployed SHA, and live-surface verification.
  • Do not add one-off migrations or repairs to the deploy workflow. Run operator-controlled data changes separately with clawhub-convex and create-and-cleanup-migration.
  • Never start a production deploy or npm publish unless the user explicitly asked for that release action.

App Production Deploy

The workflow is .github/workflows/deploy.yml.

  1. Confirm the selected commit is on origin/main and record its SHA.
  2. Run the required pre-merge or release validation for the changed surface.
  3. Dispatch one target:
gh workflow run deploy.yml \
  --repo openclaw/clawhub \
  --ref main \
  -f target=full \
  -f allow_deleting_large_indexes=false

Choose full, backend, or frontend:

  • full: deploy Convex, wait for the matching Vercel production deployment, and run production smoke checks.
  • backend: deploy Convex and run production HTTP smoke checks.
  • frontend: wait for Vercel's production deployment for the selected main SHA, then run HTTP and UI smoke checks. The workflow does not call vercel deploy.

Set allow_deleting_large_indexes=true only after reviewing the Convex index deletion and explicitly accepting it.

  1. Capture the workflow run URL and wait for completion.
  2. Verify the run used the expected SHA.
  3. Verify the affected live route, API, or backend contract on https://clawhub.ai.
  4. Report the production workflow URL, deployed SHA, target, and live proof.

The workflow uses the GitHub Production environment. Backend deploys require the environment secret CONVEX_DEPLOY_KEY. The optional PLAYWRIGHT_AUTH_STORAGE_STATE_JSON enables authenticated UI smoke coverage.

Stable CLI npm Release

The workflow is .github/workflows/clawhub-cli-npm-release.yml. Stable tags must use vX.Y.Z.

  1. Confirm the tag points to the intended commit on main.
  2. Dispatch validation-only preflight:
gh workflow run clawhub-cli-npm-release.yml \
  --repo openclaw/clawhub \
  --ref main \
  -f tag=vX.Y.Z \
  -f preflight_only=true
  1. Wait for success and record the preflight run ID and URL.
  2. Promote that exact artifact in the real publish:
gh workflow run clawhub-cli-npm-release.yml \
  --repo openclaw/clawhub \
  --ref main \
  -f tag=vX.Y.Z \
  -f preflight_only=false \
  -f preflight_run_id=<RUN_ID>
  1. Wait for the npm-release environment job and verify the published version from npm.
  2. Report the preflight URL, publish URL, tag, release SHA, and published version.

Real publishes use npm trusted publishing through the npm-release GitHub environment. The trusted publisher must match repository openclaw/clawhub, workflow clawhub-cli-npm-release.yml, and environment npm-release.

相似的 Skill

rea-ci-tests-audit

MOmorluto/rea486k近 7 天新增 8,943 个 star

rea-changelog-update

MOmorluto/rea486k近 7 天新增 8,943 个 star

wizard

MAmattpocock/skills337k近 7 天新增 4,978 个 star

pr

MAmattpocock/skills337k近 7 天新增 4,978 个 star

triage

MAmattpocock/skills337k近 7 天新增 4,978 个 star

精选

git-guardrails-claude-code

阻止危险的 git 命令,避免误推、误删分支。

MAmattpocock/skills337k近 7 天新增 4,978 个 star