Repository navigation
fix(release): publish frozen 2026.8.2 with approved Codex pin - #135246
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed September 1, 2026, 10:47 AM ET / 14:47 UTC. ClawSweeper reviewWhat this changesThis PR permits the frozen OpenClaw Codex plugin release to retain its approved package pin and runs npm and ClawHub release planning from a protected tooling checkout. Merge readinessKeep this member-owned release PR open for normal exact-head checks and release handling. The prior rank-up move is satisfied by the recorded release-owner confirmation, and the patch narrowly enforces the approved frozen tuple while preserving strict freshness checks elsewhere. Priority: P2 Review scores
Verification
How this fits togetherPlugin release workflows inspect candidate package metadata, generate publish plans, and then hand approved artifacts to npm and ClawHub publication steps. This change keeps candidate inputs immutable while allowing a separately trusted release-tooling revision to perform the planning. flowchart LR
A[Frozen release candidate] --> B[Release workflow]
B --> C[Trusted planning tooling]
C --> D[Metadata and dependency checks]
D --> E[Publication plan]
E --> F[npm and ClawHub publishing]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +159, Config +17, Other +57. Total +233 across 9 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the narrow tooling repair after exact-head checks, then create and verify the protected tag against the landed tooling SHA before reusing the frozen candidate’s validation evidence. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a member-owned release-tooling repair whose behavior is exercised by release workflow and checker paths, not an end-user defect report. Is this the best way to solve the issue? Yes. The shared freshness owner carries an exact, commit-bound exception while every planner uses trusted tooling and continues to read package inputs from the frozen candidate; upgrading the candidate would invalidate its completed validation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 29cc0bd10fbd. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Release-owner confirmation: Peter explicitly approved retaining The protected publisher tag will be created from this PR's landed tooling commit and verified against that exact commit before dispatch. Publication will reuse npm preflight 33490056617 and Full Release Validation 33479039101 with their original producer identities; the candidate and tarball are unchanged. This addresses the release-owner decision and Rank-up move. The added tooling is limited to the exact release exception and trusted planner/publisher routing, not a general waiver mechanism. The follow-up commits update workflow-contract expectations and add a test tuple type annotation. Both affected workflow test files pass all 277 tests, root test TypeScript now passes, and independent reviews found no blocking issues. Exact-head hosted checks remain the final landing gate. |
|
Merged via squash.
|
…aw#135246) * fix(release): retain approved Codex pin for frozen 2026.8.2 * test(release): verify trusted plugin planning checkout * test(release): retain workflow case tuple types
What Problem This Solves
Resolves a problem where publishing the validated 2026.8.2 release stops because npm's Codex
latestmoved from0.151.0to0.152.0after the candidate was frozen. The npm and ClawHub planners also execute policy from the frozen candidate, so a trusted tooling repair cannot currently reach every publication path.Why This Change Was Made
The maintainer explicitly approved retaining
@openai/[email protected]for@openclaw/[email protected]at commit0965053fe6b9341776df147a6934b7485c60b5ca. The shared freshness check permits only that package/version/pin at the actual checked-out commit. It still queries npm and reports the exception and current latest version; other releases, dependencies, missing Git identity, and registry failures retain normal enforcement.The candidate helper and npm, ClawHub, and ClawHub bootstrap workflows execute workflow-owned planning tools with the candidate as their working directory. An explicit protected publication-tooling ref lets the helper select repaired tooling while preserving the original npm artifact producer. The protected tag must resolve to the helper's actual trusted commit. Candidate source, package bytes, artifact digests, and provenance are unchanged.
User Impact
Allows the approved 2026.8.2 release to publish the package already validated, without introducing an unvalidated Codex upgrade or repeating completed product validation. Future releases keep the existing latest-dependency requirement. This changes release tooling only.
Evidence
bash -n.0.151.0against npm latest0.152.0.