Skip to content

fix(codex): update July managed runtime to 0.155.0 - #151298

Merged
RomneyDa merged 1 commit into
extended-stable/2026.7.33from
fix/7.33-codex-0155-backport
Sep 18, 2026
Merged

RomneyDa merged 1 commit into
extended-stable/2026.7.33from
fix/7.33-codex-0155-backport

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Resolves a problem where the unpublished 2026.7.33 extended-stable release cannot publish its official plugins because the existing publishing check requires the latest Codex runtime. The candidate pins 0.153.4; npm now reports 0.155.0.

Related: #151282 (the broader publishing-workflow recovery remains paused and is not part of this change).

Why This Change Was Made

Update only the Codex package pin, managed-runtime pin, generated dependency locks, and the matching version/catalog documentation. Keep the existing July publishing pipeline and bridge unchanged. The minimum compatible external-runtime version remains 0.143.0.

This follows the narrow dependency-update portion of #147444 (3a997793133ce7a1e4574a2295d2e0ead8cf048e), adapted to the subsequently published official Codex 0.155.0 release. It does not import that PR's hook-relay refactor or unrelated mainline dependencies.

User Impact

The July release will install the current managed Codex runtime. No OpenClaw SDK, config, runtime-floor, release-version, or workflow changes are included. All release package versions remain 2026.7.33; this PR targets extended-stable/2026.7.33.

The previous successful qualification remains valid for its original b60a4e9fa97cddf1869a1866d879b3051783cf12 candidate. After this PR lands, the changed candidate requires fresh complete release validation before publication. Nothing is published by this PR.

Evidence

  • Remote Blacksmith Testbox worker: frozen dependency installation, generated Codex shrinkwrap consistency, and real 0.155.0 app-server initialization / clean-home model/list succeeded. Documentation reflects the observed public rows.
  • Exact isolated comparison of the original b60a4e9 tree (@openai/[email protected]) and this dependency patch (0.155.0), with independent frozen installs: both report 166 passing tests and the same one failing test across the managed-binary, client, models, protocol-validator, and run-attempt suites.
  • Existing failure: run-attempt.test.ts → keeps extra MEMORY.md bootstrap files in Codex workspace context. It inspects TypeScript context before a Codex call; unchanged core provenance filtering drops packages/pkg/MEMORY.md. This failure is not waived or hidden, and this dependency-only PR does not alter the memory policy or test.
  • Exact upstream source inspected at official rust-v0.153.4, rust-v0.154.0, and rust-v0.155.0: initialize/model-list and the thread-start/resume/turn-start request contracts used by this bridge remain unchanged. Sources: codex-rs/app-server-protocol/src/protocol/v1.rs, v2/model.rs, v2/thread.rs, and v2/turn.rs.
  • Fresh independent autoreview: no actionable P0/P1 findings. git diff --check passes. Rendered SDK comparison passed for exact base b60a4e9 → head 257bdb6: no added/removed entrypoints or changed exports; config-manifest comparison is empty. Exact-head PR CI remains pending.

Release scope

Authorized release stabilization only; no new backport inventory scan or unrelated candidates. Preserve the previously approved npm core + all-publishable official plugins + Docker inventory and older-line exception. No GitHub Release, ClawHub, native apps, or announcements. No new security fix or advisory is asserted. A final signing setup remains a separate publication prerequisite.

AI-assisted implementation and review.

Current approval gate

The existing dependency guard requires an admin or secops member to post /allow-dependencies-change for current head 257bdb6514c07ea8aac920f000f3e48014c33c9d. The authenticated author has Maintain access; no override has been attempted. This PR does not change that policy.

@clawsweeper

clawsweeper Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation extensions: codex size: S maintainer Maintainer-authored PR labels Sep 18, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review September 18, 2026 01:28
@RomneyDa
RomneyDa requested a review from a team as a code owner September 18, 2026 01:28
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • extensions/codex/npm-shrinkwrap.json
  • extensions/codex/package.json
  • pnpm-lock.yaml

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfile, shrinkwrap, or workspace dependency policy changes are present.
  • Treat package-lock.json and npm-shrinkwrap.json diffs as security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Sep 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency graph changes are blocked

OpenClaw does not accept dependency graph changes through PRs unless a repository admin or security explicitly authorizes the current head SHA. Dependency updates are generated internally by maintainers so external PRs cannot change the resolved graph.

Detected dependency graph changes:

  • extensions/codex/npm-shrinkwrap.json changed.
  • pnpm-lock.yaml changed.
  • extensions/codex/package.json changed dependencies.

Auto-scrub was not attempted because this PR changes package manifest dependency graph fields:

  • extensions/codex/package.json changed dependencies.

Dependency graph changes must be reviewed by security or handled by maintainers internally. Please remove lockfile changes manually if they are not needed.

To remove lockfile changes, restore them from the target branch:

git fetch origin
git checkout 'origin/extended-stable/2026.7.33' -- 'extensions/codex/npm-shrinkwrap.json' 'pnpm-lock.yaml'
git commit -m 'chore: remove dependency lockfile change'
git push

If this PR intentionally needs a dependency graph change, ask a repository admin or member of @openclaw/openclaw-secops to comment:

/allow-dependencies-change

The action will approve the current head SHA (257bdb6514c07ea8aac920f000f3e48014c33c9d) when it reruns. A later push requires a fresh approval.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 18, 2026
@clawsweeper

clawsweeper Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 17, 2026, 9:41 PM ET / September 18, 2026, 01:41 UTC.

ClawSweeper review

What this changes

Updates the July release’s managed Codex runtime to 0.155.0, aligns dependency locks, and refreshes the documented model catalog.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep open: this remains useful for the July extended-stable candidate, and no introduced correctness defect was found. Main’s newer release tooling does not replace this branch-specific update; the maintainer-authored PR is also protected from cleanup closure.

Priority: P2
Reviewed head: 257bdb6514c07ea8aac920f000f3e48014c33c9d
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, internally consistent runtime update with registry-backed package verification and no blocking code findings; human dependency authorization remains separate.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its reported real 0.155.0 initialization/model-list probe exercises packaged startup and discovery, but does not establish complete release qualification; the linked logs were inaccessible to this reviewer.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its reported real 0.155.0 initialization/model-list probe exercises packaged startup and discovery, but does not establish complete release qualification; the linked logs were inaccessible to this reviewer.
Evidence reviewed 9 items Pinned scope and live branch identity: Live GitHub confirms the PR remains open at the reviewed head and targets extended-stable/2026.7.33. The verified introduced delta changes only the runtime pin, package locks, and reference documentation.
Publishing failure mechanism and tests: The July checker rejects any opted-in dependency pin unequal to npm latest; test/plugin-npm-release.test.ts:402 covers rejection and acceptance. The Codex manifest opts into this check. Registry inspection returned latest 0.155.0, establishing why the prior 0.153.4 candidate fails this gate.
Runtime boundary and compatibility floor: The managed package version becomes 0.155.0 while the external-runtime floor remains 0.143.0. Read managed-binary.ts, client initialization/version validation, model pagination and normalization, thread start/resume callers, turn-start construction, and adjacent manifest/client tests. Explicit external binaries and WebSocket selection are unchanged.
Findings None None.
Security None None.

How this fits together

The Codex plugin starts a packaged app-server that supplies model discovery and executes agent turns. Its dependency pin also feeds the July branch’s plugin-publication freshness check.

flowchart LR
  A[July release candidate] --> B[Codex package and locks]
  B --> C[Managed app-server]
  C --> D[Model discovery]
  C --> E[Agent turns]
  B --> F[Release freshness check]
  F --> G[Plugin publication eligibility]
Loading

Decision needed

Question Recommendation
Should an authorized admin or secops member approve the official Codex 0.155.0 dependency graph for head 257bdb6? Authorize the pinned update: Approve this exact dependency graph through the existing guard while retaining complete release qualification before publication.

Why: Registry and source checks support the narrow update, but the repository explicitly reserves dependency-graph authorization for an eligible human.

Before merge

  • Resolve merge risk (P1) - The new runtime has not been qualified by the previous July candidate’s release results; complete qualification remains necessary before publication.
  • Resolve merge risk (P1) - The reviewer could not retrieve the linked Testbox command logs through the allowed network path, so its runtime observations remain contributor-reported.
  • Complete next step (P2) - Obtain an admin or secops member’s /allow-dependencies-change authorization for head 257bdb6 before merging.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

PR surface

Source 0, Docs -3, Config 0, Other 0. Total -3 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 2 29 29 0
Tests 0 0 0 0
Docs 1 3 6 -3
Config 1 1 1 0
Generated 0 0 0 0
Other 1 29 29 0
Total 5 62 65 -3

Review metrics

Metric Value Why it matters
Runtime compatibility surface 1 managed version updated; 0 external-runtime floor changes The update replaces the packaged executable without newly excluding configured external runtimes.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep the July runtime pins synchronized under explicit dependency authorization, then qualify the resulting release candidate completely before publication.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep the July runtime pins synchronized under explicit dependency authorization, then qualify the resulting release candidate completely before publication.

Do we have a high-confidence way to reproduce the issue?

Yes, from the pinned July source: the opted-in freshness checker rejects 0.153.4 against npm latest 0.155.0, with matching regression coverage. Current main uses an advisory check; no runtime reproduction was executed.

Is this the best way to solve the issue?

Yes for the stated July stabilization scope: the synchronized dependency update preserves the existing bridge and publishing workflow. The broader recovery alternative remains a separate, paused PR and does not currently replace this path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 0bf3566b6d54.

Labels

Label changes:

  • add P2: This is a bounded release-candidate publishing repair without evidence of an urgent regression in shipped user workflows.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its reported real 0.155.0 initialization/model-list probe exercises packaged startup and discovery, but does not establish complete release qualification; the linked logs were inaccessible to this reviewer.

Label justifications:

  • P2: This is a bounded release-candidate publishing repair without evidence of an urgent regression in shipped user workflows.
  • 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: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its reported real 0.155.0 initialization/model-list probe exercises packaged startup and discovery, but does not establish complete release qualification; the linked logs were inaccessible to this reviewer.

Evidence

What I checked:

  • Pinned scope and live branch identity: Live GitHub confirms the PR remains open at the reviewed head and targets extended-stable/2026.7.33. The verified introduced delta changes only the runtime pin, package locks, and reference documentation. (extensions/codex/package.json:11, 257bdb6514c0)
  • Publishing failure mechanism and tests: The July checker rejects any opted-in dependency pin unequal to npm latest; test/plugin-npm-release.test.ts:402 covers rejection and acceptance. The Codex manifest opts into this check. Registry inspection returned latest 0.155.0, establishing why the prior 0.153.4 candidate fails this gate. (scripts/lib/plugin-npm-release.ts:665, 257bdb6514c0)
  • Runtime boundary and compatibility floor: The managed package version becomes 0.155.0 while the external-runtime floor remains 0.143.0. Read managed-binary.ts, client initialization/version validation, model pagination and normalization, thread start/resume callers, turn-start construction, and adjacent manifest/client tests. Explicit external binaries and WebSocket selection are unchanged. (extensions/codex/src/app-server/version.ts:8, 257bdb6514c0)
  • Direct upstream dependency inspection: The changed @openai/codex dependency and app-server compatibility claims make the Codex inspection gate applicable. Verified the sibling checkout through its upstream cache remote, package repository metadata, and GitHub’s official rust-v0.155.0 tag resolving to this SHA. Personally inspected codex-cli/bin/codex.js:16 and protocol v1.rs:29, v2/model.rs:55, v2/thread.rs:62 and :335, and v2/turn.rs:156. Compared declared fields with official 0.153.4 source: initialize, model-list, thread-start/resume, and turn-start fields were unchanged; this is contract evidence, not complete runtime qualification. (codex-rs/app-server-protocol/src/protocol/v2/thread.rs:62, f0a1b8f0849d)
  • Registry-backed supply-chain verification: All seven changed Codex package records match npm’s published tarball URLs and integrity values: the launcher plus six platform packages. Their registry metadata declares no lifecycle scripts. No unrelated package source or permission change appears in the introduced diff. (extensions/codex/npm-shrinkwrap.json:17, 257bdb6514c0)
  • Current main and shipped context: Fetched main pins Codex 0.154.0 and treats dependency freshness as advisory. GitHub source inspection of v2026.9.4 shows 0.153.4. Neither updates the July candidate automatically. The merged hook-lifecycle work at fix(codex): isolate hook imports and cancel disconnected waits #147444 has broader scope; the alternative publication recovery at fix(release): recover extended-stable plugin publishing without changing the candidate #151282 remains open and is explicitly paused in this PR’s captured body. (extensions/codex/src/app-server/version.ts:5, 0bf3566b6d54)

Likely related people:

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

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.

@RomneyDa
RomneyDa merged commit 51d969c into extended-stable/2026.7.33 Sep 18, 2026
158 of 159 checks passed
@RomneyDa
RomneyDa deleted the fix/7.33-codex-0155-backport branch September 18, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies-changed PR changes dependency-related files docs Improvements or additions to documentation extensions: codex maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S 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