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.
- License 许可
- MIT
- 所属仓库
- openclaw/clawhub
- 最近更新
- 2026-11-15
- Stars
- ★ 9.6k
- Forks
- 1.5k
01 前言 Front Matter
- 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.
02 资源文件 1
- 参考文档agents/openai.yaml212 B
03 SKILL.md 正文
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
mainSHA immediately before dispatch. - Require a successful
Deploy Testworkflow 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-convexandcreate-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.
- Confirm the selected commit is on
origin/mainand record its SHA. - 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.
- Run the required pre-merge or release validation for the changed surface.
- 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 selectedmainSHA, then run HTTP and UI smoke checks. The workflow does not callvercel deploy.
Set allow_deleting_large_indexes=true only after reviewing the Convex index
deletion and explicitly accepting it.
- Capture the workflow run URL and wait for completion.
- Verify the run used the expected SHA.
- Verify the affected live route, API, or backend contract on
https://clawhub.ai. - 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.
- Confirm the tag points to the intended commit on
main. - 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
- Wait for success and record the preflight run ID and URL.
- 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>
- Wait for the
npm-releaseenvironment job and verify the published version from npm. - 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.
04 同仓库更多 Skills
notes
Turn user-provided notes into a concise agenda.
hosted-research
Read approved reference material for the hosted proof.
convex-advisor
Read the Convex deployment's 72h insights (read limits, OCC contention), root-cause each event in code, report evidence-backed perf/cost findings with fixes.
convex-add
Add a capability to the CURRENT Convex app — consults the served Convex capability catalog for always-current procedures (billing, crons, auth, agent, search, …); falls back to built-in hosting or @convex-dev component search. TRIGGER when the user runs /add, or asks to add hosting/publishing or any backend capability to an existing Convex app.
convex-acquire-domain
Find and buy a domain for the current Convex app through Convex, then bind it (labs; spend action).
controlling-costs
Analyzes Axiom query patterns to find unused data, then builds dashboards and monitors for cost optimization. Use when asked to reduce Axiom costs, find unused columns or field values, identify data waste, or track ingest spend.