@@ -551,6 +551,33 @@ pnpm test:install:smoke
551551 ` npm view <package-name> version dist-tags --json --prefer-online ` ; a 404 for
552552 a package newly added to the release is a release-prep blocker, not something
553553 to discover from the publish job.
554+ - Bootstrap a new ClawHub package only from the trusted workflow source:
555+ ` gh workflow run plugin-clawhub-new.yml --ref main -f plugins=@openclaw/name -f ref=<full-release-sha> -f pretag_validation=true -f dry_run=true ` .
556+ The workflow source stays on ` main ` ; ` ref ` is the exact release target. A
557+ pre-tag dry run rejects tag/parent-approval inputs and requires the target to be
558+ reachable from ` main ` or ` release/* ` . It must still resolve the live registry
559+ plan, pack every candidate, upload and download the exact artifact ID, rehash
560+ the inventory, reject ambiguous TAR paths locally with the pinned CLI's USTAR
561+ canonicalization, and validate each tarball with the pinned CLI publish
562+ dry-run. It never loads credentials or changes package/trusted-publisher
563+ state. Approve the ` clawhub-plugin-bootstrap ` environment only after the
564+ secretless pack jobs finish; the protected validation job itself has no
565+ credentials or mutation commands. For an
566+ existing version missing trusted-publisher configuration, pack the target
567+ bytes too and require its tag plus exact registry byte/metadata equality
568+ before allowing configuration-only repair. The credential-job prefilter
569+ enforces the ClawHub 120 MiB compressed and 50 MiB total-payload limits, plus
570+ 64 MiB expanded-TAR and 10,000-TAR-entry parser-safety limits. A mismatch
571+ requires a new version; never bless unrelated immutable bytes. A real run
572+ publishes the exact downloaded tarball, bounds each CLI attempt, and records
573+ byte-identical registry readback. Final release verification must consume the
574+ unique terminal readback artifact and bind its main-only workflow SHA/attempt,
575+ target SHA, requested packages, package artifact ID/name/digest, and
576+ per-package SHA-256/size/npm integrity metadata. The parent approval attests a
577+ separate exact trusted-main child workflow SHA; the child run and protected
578+ approval must match it. Rerun-failed recovery may reuse a prior package
579+ artifact only when the exact producer job succeeded. Final evidence must also
580+ preserve the locked ClawHub version, lock SHA-256, and npm integrity.
554581- Use ` pnpm qa:otel:smoke ` when release validation needs telemetry coverage.
555582 It starts a local OTLP/HTTP trace receiver, runs QA-lab's
556583 ` otel-trace-smoke ` , and checks span names plus content/identifier redaction
@@ -752,8 +779,9 @@ node --import tsx scripts/openclaw-npm-postpublish-verify.ts <published-version>
752779 and release proof manually. Never rerun the publish workflow for that
753780 already-published version.
754781- npm validation-only preflight may still be dispatched from ordinary branches
755- when testing workflow changes before merge. Release checks and real publish
756- use only ` main ` or ` release/YYYY.M.PATCH ` .
782+ when testing workflow changes before merge. Regular beta and stable release
783+ checks and publish orchestration use trusted ` main ` against the exact target
784+ tag; Tideclaw alpha keeps its matching alpha branch.
757785- ` .github/workflows/macos-release.yml ` in ` openclaw/openclaw ` is now a
758786 public validation-only handoff. It validates the tag/release state and points
759787 operators to the release-ops repo. It still rebuilds the JS outputs needed for
@@ -777,10 +805,10 @@ node --import tsx scripts/openclaw-npm-postpublish-verify.ts <published-version>
777805 Full Release Validation must pass before npm publish unless the operator
778806 explicitly waives the full gate; mac beta validation is still only required
779807 when requested.
780- - Real publish runs may be dispatched from ` main ` or from a
781- ` release/YYYY.M.PATCH ` branch. For release-branch runs, the tag must be contained
782- in that release branch, and the real publish must reuse a successful preflight
783- from the same branch .
808+ - Dispatch regular beta and stable ` OpenClaw Release Publish ` runs from trusted
809+ ` main ` ; the tag still selects the exact release commit, including a commit on
810+ ` release/YYYY.M.PATCH ` . Tideclaw alpha publish runs remain on their matching
811+ alpha branch. Reuse the successful preflight for that exact release SHA .
784812- The release workflows stay tag-based; rely on the documented release sequence
785813 rather than workflow-level SHA pinning.
786814- The ` npm-release ` environment must be approved by ` @openclaw/openclaw-release-managers ` before publish continues.
@@ -906,8 +934,8 @@ node --import tsx scripts/openclaw-npm-postpublish-verify.ts <published-version>
906934 where npm did not publish the beta version, delete/recreate the same beta
907935 tag and any accidental draft/incomplete prerelease at the fixed commit
908936 instead of skipping a prerelease number.
909- 22 . Start ` .github/workflows/openclaw-release-publish.yml ` from the same branch with
910- the same tag for the real publish, choose ` npm_dist_tag ` (` beta ` default,
937+ 22 . Start ` .github/workflows/openclaw-release-publish.yml ` from trusted ` main `
938+ with the same tag for the real beta or stable publish, choose ` npm_dist_tag ` (` beta ` default,
911939 ` latest ` only when you intentionally want direct stable publish), keep it
912940 the same as the preflight run, and pass the successful npm
913941 ` preflight_run_id ` plus the successful ` full_release_validation_run_id ` and
0 commit comments