Skip to content

fix(release): publish frozen 2026.8.2 with approved Codex pin - #135246

Merged
steipete merged 3 commits into
mainfrom
codex/release-2026.8.2-freshness-routing
Sep 1, 2026
Merged

steipete merged 3 commits into
mainfrom
codex/release-2026.8.2-freshness-routing

Conversation

@steipete

@steipete steipete commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

Resolves a problem where publishing the validated 2026.8.2 release stops because npm's Codex latest moved from 0.151.0 to 0.152.0 after 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 commit 0965053fe6b9341776df147a6934b7485c60b5ca. 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

  • The unchanged candidate passed npm preflight and tarball installation and full release validation.
  • Freshness regression: 3 intended failures before the fix; 14 focused cases pass afterward, including wrong commit/version/pin, registry failure, future latest, and unrelated dependency failures.
  • Candidate helper and canonical tooling-identity suites: 165 tests pass, including protected ref binding and preserving the older npm producer.
  • ClawHub bootstrap workflow suite: 11 tests pass. All three changed workflow documents parse, and their changed shell steps pass bash -n.
  • Real npm and ClawHub metadata checker CLIs, executed from the unchanged candidate with trusted tooling, both pass and explicitly report retained 0.151.0 against npm latest 0.152.0.
  • Product source and the release candidate were not changed. The added release policy and routing represent the approved exception and separate publication tooling from artifact provenance.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M maintainer Maintainer-authored PR labels Sep 1, 2026
@clawsweeper

clawsweeper Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 1, 2026
@clawsweeper

clawsweeper Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 1, 2026, 10:47 AM ET / 14:47 UTC.

ClawSweeper review

What this changes

This 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 readiness

⚠️ Ready for maintainer review - 2 items remain

Keep 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
Reviewed head: e969d62e25f55d60f040c2c0924cfc3dbee7b841

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, well-covered release repair with a deliberately narrow exception and no identified correctness defect.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-owned release-workflow PR is outside the external-contributor proof gate; its supplied evidence links report focused checker, workflow, preflight, and release-validation results, while final exact-head checks remain the merge gate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-owned release-workflow PR is outside the external-contributor proof gate; its supplied evidence links report focused checker, workflow, preflight, and release-validation results, while final exact-head checks remain the merge gate.
Evidence reviewed 8 items Current-main behavior: Current main still rejects every dependency pin that differs from npm latest; it does not contain the requested frozen-release exception.
Exception is narrowly bound: The introduced guard requires the exact plugin package, release version, dependency version, and candidate commit; registry lookup failure and every other mismatch remain errors.
Protected tooling binding: The release helper rejects a protected tag unless its name prefix, full tag ref, and current remote target all match the tooling SHA.
Findings None None.
Security None None.

How this fits together

Plugin 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]
Loading

Before merge

  • Resolve merge risk (P1) - Before release dispatch, the protected release-publish/<sha>-N tag must resolve to the landed tooling commit; otherwise the helper intentionally refuses publication.
  • Complete next step (P2) - No actionable repair finding was identified; retain this member-owned PR for normal release review and exact-head checks.
Agent review details

Security

None.

PR surface

Tests +159, Config +17, Other +57. Total +233 across 9 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 4 164 5 +159
Docs 0 0 0 0
Config 3 37 20 +17
Generated 0 0 0 0
Other 2 59 2 +57
Total 9 260 27 +233

Review metrics

Metric Value Why it matters
Production versus test delta production +96/-22, tests +164/-5 The production growth is bounded to a single release exception and trusted-planner routing, with focused coverage for the allowed and rejected tuples.

Merge-risk options

Maintainer options:

  1. Bind the publisher tag at dispatch (recommended)
    Create the protected release-publish tag from the landed tooling commit and let the existing identity check reject any moved or mismatched tag.

Technical review

Best 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.

Labels

Label justifications:

  • P2: This repairs controlled publication tooling for one frozen release without changing normal user runtime behavior.
  • merge-risk: 🚨 security-boundary: The PR changes which checked-out release tooling determines publication plans, although the protected-tag and SHA checks constrain that boundary.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-owned release-workflow PR is outside the external-contributor proof gate; its supplied evidence links report focused checker, workflow, preflight, and release-validation results, while final exact-head checks remain the merge gate.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Let exact-head hosted checks complete, then verify the protected publisher tag points at the landed tooling SHA before dispatch.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-09-01T14:24:55.252Z sha f3ead97 :: needs maintainer review before merge. :: none

@steipete

steipete commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Release-owner confirmation: Peter explicitly approved retaining @openai/[email protected] for @openclaw/[email protected] at frozen candidate 0965053fe6b9341776df147a6934b7485c60b5ca. All other candidates, dependency tuples, and registry failures remain subject to normal enforcement.

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.

@steipete
steipete merged commit b754503 into main Sep 1, 2026
204 checks passed
@steipete
steipete deleted the codex/release-2026.8.2-freshness-routing branch September 1, 2026 14:49
@steipete

steipete commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 2, 2026
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant