Skip to content

Commit 835c7d0

Browse files
committed
docs(release): clarify validation evidence recovery
1 parent e4c00f2 commit 835c7d0

3 files changed

Lines changed: 17 additions & 8 deletions

File tree

‎.agents/skills/release-openclaw-maintainer/SKILL.md‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,10 @@ on pinned current `main` as the exact command and validation contract.
259259
4. Require the tip still equals the frozen SHA, then create signed `vYYYY.M.P`.
260260
Never move or delete a final tag; later source changes need a new patch.
261261
5. Require the saved validation run to be complete and successful, bind its
262-
manifest target SHA and attempt to the tag, and require either the canonical
263-
branch or a trusted main-pinned `release-ci/*` harness. Reject narrow reruns.
262+
manifest target SHA and attempt to the tag, and accept a direct run from the
263+
canonical branch, a direct current-`main` run whose workflow SHA is still
264+
reachable from main, or a trusted main-pinned `release-ci/*` harness. Reject
265+
narrow reruns.
264266
6. Dispatch `plugin-npm-release.yml` from the same branch with
265267
`publish_scope=all-publishable`, the full release SHA as `ref`, and
266268
`npm_dist_tag=extended-stable`. Require complete exact-version and selector
@@ -270,8 +272,9 @@ on pinned current `main` as the exact command and validation contract.
270272
from the canonical branch. For a workflow-only recovery after the candidate
271273
is immutable, dispatch trusted current `main` with
272274
`release_candidate_branch=extended-stable/YYYY.M.33`; it still publishes the
273-
tag checkout and requires the prepared tarball plus every evidence identity
274-
to match the candidate SHA.
275+
tag checkout and accepts canonical-branch, current-main, or trusted-pinned
276+
validation evidence; the prepared tarball and every evidence identity must
277+
still match the candidate SHA.
275278
8. From a clean current-`main` checkout, run
276279
`node --import tsx scripts/openclaw-npm-postpublish-verify.ts YYYY.M.P`.
277280
Verify signatures, provenance, inventories, exact versions, and selectors.

‎docs/reference/RELEASING.md‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,13 @@ gh workflow run openclaw-npm-release.yml \
155155
-f plugin_npm_run_id=<plugin-npm-run-id>
156156
```
157157

158-
This recovery path checks out and publishes the immutable tag, requires the
159-
canonical branch implied by that tag, and accepts only attested Full Release
160-
Validation evidence from the trusted main-pinned harness. Use it only when the
161-
candidate source and recorded evidence are unchanged.
158+
This recovery path checks out and publishes the immutable tag and requires the
159+
canonical branch implied by that tag. It accepts Full Release Validation
160+
evidence from the canonical candidate branch directly, from current `main`
161+
directly when its workflow SHA is reachable from current `main`, or from the
162+
trusted main-pinned harness. Every accepted form must attest the immutable
163+
tag's SHA. Use it only when the candidate source and recorded evidence are
164+
unchanged.
162165

163166
For non-production rehearsal only, add
164167
`-f bypass_extended_stable_guard=true` to preflight and publish. It bypasses the

‎test/scripts/openclaw-npm-extended-stable-workflow.test.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ describe("minimal npm extended-stable workflow", () => {
159159
expect(recheck.env?.NPM_WORKFLOW_REF).toBe(validate.env?.NPM_WORKFLOW_REF);
160160
expect(releaseDocs).toContain("--ref main");
161161
expect(releaseDocs).toContain("-f release_candidate_branch=extended-stable/YYYY.M.33");
162+
expect(releaseDocs).toContain("canonical candidate branch directly");
163+
expect(releaseDocs).toContain("workflow SHA is reachable from current `main`");
164+
expect(releaseDocs).toContain("trusted main-pinned harness");
162165
});
163166

164167
it("accepts arbitrary SHA preflight targets and exercises every publishable plugin package", () => {

0 commit comments

Comments
 (0)