Prepare, publish, recover, or verify OpenClaw beta, stable, and extended-stable releases, including approved backports.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-release-openclaw-maintainer-b1dd6aaf3a90 ,按照其中的说明把「release-openclaw-maintainer」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Use for a release operation, not ordinary development or advisory mutation.
Read docs/reference/RELEASING.md for current policy. Load $release-private
when available before resolving private credential locators or host topology;
credential operations use $one-password.
Read only the references needed for the selected phase:
.33+ Gateway publication: extended-stable publication. Use the shared publisher with extended-stable inputs; its non-Latest GitHub Release carries evidence without native-app or ClawHub publication.$release-openclaw-ci for workflow execution and immutable manifests.$release-openclaw-mac for macOS operations.$openclaw-changelog-update, including its separate approved post-release docs-mirror route. Initial release generation keeps its existing format; docs publication does not run automatically during release. Requested announcements: $release-openclaw-announcement for Discord, $release-tweets for X. Announcements never gate publication and require explicit posting authorization.$verify-release. GHSA operations: $openclaw-ghsa-maintainer only with explicit security-workflow authorization.Every selected validation lane must succeed. Preserve first failures and fix the owning defect before explicit recovery. Stable publication requires stable/full evidence, soak, and blocking performance. Beta-profile evidence cannot authorize stable publication. No lane or soak waiver can bypass these requirements. All nine Gateway install/upgrade combinations across Linux, Windows, and macOS are required for all-group qualification. Preserve identity, provenance, complete evidence, and existing publication approvals.
The operating objectives are approximately 20 minutes to seal validation and
publication within an hour, not measured guarantees. Source-only children start
alongside artifact producers; candidate consumers start as soon as the candidate
is ready. Independently sealed green children can be reused for the same exact
target and inputs even when their parent failed, was cancelled, or remains active;
verify their original trusted-main workflow SHA and current attempt. The sealed
manifest supplies the SDK evidence digest and npm publication decisions; it
never acknowledges SDK API changes, so supply
plugin_sdk_api_acknowledgement whenever the SDK report contains changes. The
publisher cannot accept waived validation evidence. Explicit
publisher inputs select publication scope; the candidate helper still validates its explicit
SDK acknowledgement when needed.
Explicit approval is required for version changes and irreversible publication. A request to cut, publish, or complete a named release carries through its validated publication and verification; do not ask again unless identity, channel, scope, or material risk changes. Ship authority for ordinary code is not release authority.
An operator's explicit approval to do whatever is needed to prepare a named release is standing authority for the necessary preparation decisions and repairs. Carry it through candidate and tooling fixes, upgrade/migration design, reviewed test or security-inventory alignments, isolated proof, commits, pushes, and validation recovery. Record the decision, its evidence, and the selected support contract; do not ask again merely because an already-approved class of work reaches an implementation or verification step. Continue independent work while resolving a blocker. This authority does not permit hiding defects, lowering a gate to manufacture success, destructive changes to operator state, unrelated work, or publication. A prepare-only request still requires a separate publication instruction before releasing artifacts or a bridge version.
Keep one compact state record using the handoff template: effective goal, version/tag/branch, cut/Code/Tooling/Release SHAs, active parent run and attempt, successful child artifacts, approved changes, phase and next action. Latest operator steering replaces superseded scope. Completed evidence stays complete until a named change invalidates it.
For regular releases, prepare complete notes before freezing Code SHA when
possible. If those notes are final, Code SHA and Release SHA are the same
commit: one successful fresh full qualification can supply both roles and
their exact publication bytes. Do not create another commit or run solely to
separate the labels. If notes change after qualification, a descendant whose
complete delta includes CHANGELOG/YYYY.M.PATCH.md and only that entry, its
matching record, and root index may use split-changelog-release-v1
to reuse product proof while qualifying new publication bytes. Any other
source delta, rename, or deletion returns to the Code SHA loop. Historical
root-only receipts retain changelog-only-release-v1.
Keep trusted Tooling SHA separate; tooling or infrastructure failures do
not justify changing the candidate.
Once a candidate is cut, its base is the operator's decision. Never re-cut
(re-base the candidate on newer main) unless Peter explicitly asks for it in
that release. Without asking, cherry-pick already-merged main commits onto
the release branch only to fix a confirmed release blocker: a required lane
failing deterministically on the frozen candidate, or an update/install/
publish-bytes defect. Name each cherry-pick in the handoff record. Not allowed:
opportunistic backports, feature reverts, or a new base taken to "pick up" a
fix that cherry-picks cleanly enough with a small conflict resolution.
Release process improvements made during a release land on both branches.
Workflow, release-script, release-test, RELEASING.md, and release-skill changes
merge to main first, then get cherry-picked (-x) onto release/YYYY.M.PATCH
after the tag without moving the Code SHA, so recovery and the next patch run
the same tooling. Where main-only CI infrastructure is missing on the branch,
keep the branch's expression form and port only the logic. Product code on the
release branch stays blocker-only per the rule above.
A release is not done while anything opened for it is still open. Before the
final report, list every PR created during the release (gh pr list --author @me --state open plus any PR bound to the session) and land or explicitly close
each one with a reason; confirm its fix is on main and, when it is release
tooling, on the release branch. Also remove the release's temporary worktrees,
abandoned local cut branches, and stale scripts/pr worktrees.
Published versions and final tags are immutable. Reuse successful exact-source artifacts; do not rebuild or republish as an implicit retry. The active release is the work queue: no opportunistic moving-main fixes or backports. Classify failures, repair their owner, retry the affected surface, then reassess rather than repeating the full release.
Required publication proofs and enforced environment approvals remain required. A passing sibling cannot replace missing required evidence. npm + ClawHub is the priority path. macOS, Windows, Linux, and Android native publication runs in parallel and never gates npm/ClawHub, GitHub release finalization, or main closeout. Selected Windows/macOS Gateway, Node, and native-app CI failures block release validation. Platform publishers retain their own artifact and updater contracts; report pending platforms and proof gaps accurately.