Skip to content

fix(release): acquire canonical beta publication evidence - #201813

Merged
RomneyDa merged 2 commits into
mainfrom
openclaw/fix-beta-prepared-manifest
Nov 19, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
openclaw/fix-beta-prepared-manifest

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Problem

Prepared plugin npm authorization in publisher 44524185102 crashes with Cannot destructure property manifest ... as undefined. Original FRV 44507108002/1 has no aggregate manifest. The same aggregate-only assumption remained in ClawHub parent recovery. Related: #201802.

Fix

Route both consumers through the existing loadPublicationParentEvidence owner, pinning the requested attempt and using its manifestJson return contract. This reuses the exact 2026.11.10-beta.1 plan-native exception and preserves downstream source, selection, artifact, roster and authority checks. Ordinary acquisition is unchanged. Production delta is only +16/-4 lines; no new policy, fallback, recursive loader or exception framework.

Share the existing exact-beta fixture for two positive boundary regressions. The CLI fixture now intercepts asynchronous GitHub reads as well as synchronous reads; all unrelated tests remain intact.

Consumer inventory

  • Fixed: prepared npm (scripts/plugin-npm-prepared-release.mjs:224) and ClawHub parent original-byte recovery (scripts/clawhub-postpublish.mjs:1134).
  • Already canonical: Docker (.github/workflows/docker-release.yml:366), core npm (.github/workflows/openclaw-npm-release.yml:444), parent/finalizer (.github/workflows/openclaw-release-publish.yml:545,1430), exact-beta preflight (scripts/release-publish-preflight.mts:328).
  • Intentionally raw: ordinary preflight else (scripts/release-publish-preflight.mts:336), memoizing transport (scripts/lib/release-publish-preflight-evidence.mts:370–373), canonical owner ordinary/internal loads (scripts/release-ci-summary.mjs:2413,2444).
  • Not this publication path: summary/reuse/watch raw reads (scripts/release-ci-summary.mjs:3713,3804); candidate checklist fresh qualification requires successful run before aggregate download. Other workflow downloads are optional focused evidence or original package/OCI payloads. Docker still requires its original artifact producer to have succeeded.

Evidence

  • Both regressions fail on base 1579eb4dea9ab434dc8b069e23628aeedf14c027 at the original undefined-manifest destructure and pass with the repair. They exercise real canonical plan projection/acquisition and authenticated original artifacts, not fabricated returned manifests.
  • 158 tests passed across clawhub-postpublish.test.ts, plugin-npm-prepared-release.test.ts, and release-ci-summary.frv18-publication.test.ts; ordinary paths and integrity rejection siblings are included.
  • Scripts typecheck and targeted production lint passed. Formatting and git diff --check passed on all five files.
  • Tooling typecheck previously reproduced seven baseline TS2739 fixture omissions in unchanged qualification/consumption/preflight tests. Final expanded tooling typecheck and test lint are blocked, not green: their artifact preparation refuses a stale checkout ownership lock retained after a canceled checker. No lock bypass or artifact-preparation changes are included.
  • Independent read-only review of the final expanded diff: no P0–P2 findings; no further simplification recommended.
  • No live publisher replay, release publication, workflow restart, tag edit, frozen-candidate modification, or revert: remove temporary beta publication exception and repair after closeout #201805 revert.

RomneyDa and others added 2 commits November 19, 2026 12:41
@clawsweeper

clawsweeper Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M labels Nov 19, 2026
@RomneyDa
RomneyDa merged commit 82265eb into main Nov 19, 2026
79 of 81 checks passed
@RomneyDa
RomneyDa deleted the openclaw/fix-beta-prepared-manifest branch November 19, 2026 12:43
RomneyDa added a commit that referenced this pull request Nov 19, 2026
Incorporate 82265eb and reverse PR #201813 alongside the existing revert of PR #201802. Preserve intervening main work; resolve the beta-test modify/delete conflict by keeping it deleted and remove its now-unused helper. All twelve affected paths match 1579eb4^ exactly.

Hold draft PR #201805 until release closeout. Candidate and immutable publication tooling tags remain untouched.

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 20, 2026
…01813)

* fix(release): acquire canonical beta publication evidence

Co-authored-by: RomneyDa <[email protected]>

* fix(release): acquire canonical beta publication evidence

OpenClaw-Publication: f2369371-1978-495b-b415-4c6366e62c94

---------

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant