Agent Skillsopenclaw/clawhub › clawhub-production-release

clawhub-production-release

GitHub

负责 ClawHub 生产环境部署与 CLI 版本发布。涵盖后端/前端部署、npm 包发布、SHA 校验及冒烟测试验证,确保发布流程安全合规。

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

Trigger Scenarios

部署应用或 CLI 到生产环境 验证生产部署结果和 SHA 执行 npm 稳定版发布

Install

npx skills add openclaw/clawhub --skill clawhub-production-release -g -y
More Options

Non-standard path

npx skills add https://github.com/openclaw/clawhub/tree/main/.agents/skills/clawhub-production-release -g -y

Use without installing

npx skills use openclaw/clawhub@clawhub-production-release

指定 Agent (Claude Code)

npx skills add openclaw/clawhub --skill clawhub-production-release -a claude-code -g -y

安装 repo 全部 skill

npx skills add openclaw/clawhub --all -g -y

预览 repo 内 skill

npx skills add openclaw/clawhub --list

SKILL.md

Frontmatter
{
    "name": "clawhub-production-release",
    "description": "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."
}

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.
  • Require a successful Deploy Test workflow for that exact SHA before dispatching an app production deploy. This is an operator check until the production workflow enforces the gate directly.
  • 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. Find the successful Test deployment for that exact SHA and record its URL:
gh run list \
  --repo openclaw/clawhub \
  --workflow deploy-test.yml \
  --branch main \
  --commit <MAIN_SHA> \
  --status success \
  --limit 1

If no successful exact-SHA Test run exists, stop and fix or rerun Test before releasing production.

  1. Run the required pre-merge or release validation for the changed surface.
  2. 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 Test workflow URL, 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.

Version History

  • 5a3b050 Current 2026-07-25 08:43

Same Skill Collection

.agents/skills/autoreview/SKILL.md
.agents/skills/axiom-alerting/SKILL.md
.agents/skills/axiom-sre/SKILL.md
.agents/skills/building-dashboards/SKILL.md
.agents/skills/clawhub-content-rights-correspondence/SKILL.md
.agents/skills/clawhub-convex/SKILL.md
.agents/skills/clawhub-moderation/SKILL.md
.agents/skills/clawhub-pr-maintainer/SKILL.md
.agents/skills/controlling-costs/SKILL.md
.agents/skills/convex-acquire-domain/SKILL.md
.agents/skills/convex-add/SKILL.md
.agents/skills/convex-advisor/SKILL.md
.agents/skills/convex-agent/SKILL.md
.agents/skills/convex-auth/SKILL.md
.agents/skills/convex-authz/SKILL.md
.agents/skills/convex-backup/SKILL.md
.agents/skills/convex-billing/SKILL.md
.agents/skills/convex-check-updates/SKILL.md
.agents/skills/convex-cost/SKILL.md
.agents/skills/convex-create-component/SKILL.md
.agents/skills/convex-crons/SKILL.md
.agents/skills/convex-deploy-guard/SKILL.md
.agents/skills/convex-design/SKILL.md
.agents/skills/convex-docs/SKILL.md
.agents/skills/convex-domains/SKILL.md
.agents/skills/convex-env/SKILL.md
.agents/skills/convex-expert/SKILL.md
.agents/skills/convex-explain-app/SKILL.md
.agents/skills/convex-improve-convex-plugin/SKILL.md
.agents/skills/convex-insights/SKILL.md
.agents/skills/convex-launch-readiness/SKILL.md
.agents/skills/convex-migrate-rehearse/SKILL.md
.agents/skills/convex-migrate/SKILL.md
.agents/skills/convex-migration-helper/SKILL.md
.agents/skills/convex-monitor/SKILL.md
.agents/skills/convex-optimize/SKILL.md
.agents/skills/convex-performance-audit/SKILL.md
.agents/skills/convex-quickstart/SKILL.md
.agents/skills/convex-retention/SKILL.md
.agents/skills/convex-reviewer/SKILL.md
.agents/skills/convex-self-heal/SKILL.md
.agents/skills/convex-sentinel/SKILL.md
.agents/skills/convex-setup-auth/SKILL.md
.agents/skills/convex-ship/SKILL.md
.agents/skills/convex-suggest/SKILL.md
.agents/skills/convex-test/SKILL.md
.agents/skills/convex-verify/SKILL.md
.agents/skills/create-and-cleanup-migration/SKILL.md
.agents/skills/openclaw-brand/SKILL.md

Metadata

Files
0
Version
d6a8c68
Hash
b3a03f1a
Indexed
2026-07-25 08:43

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 05:20
浙ICP备14020137号-1 $mapa de visitantes$