跳到主要内容
知仓学习社ZHICANG

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, dispatc…

不碰外部(只输出文字)无严重或高危命中openclaw/clawhub

它会碰到什么

扫了多少2 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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.

  1. 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.

  1. 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.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 9,428
本站分层T1
该仓技能数62
原文件路径.agents/skills/clawhub-production-release/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 62 个技能