Skip to content

fix(codex): update managed runtime to 0.150.1 - #130685

Merged
vincentkoc merged 2 commits into
mainfrom
fix/main-ci-plugin-release
Aug 27, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/main-ci-plugin-release

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 27, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where the plugin npm release check rejected @openclaw/codex
because its managed @openai/codex runtime was older than npm's latest stable
release.

Why This Change Was Made

Updates the managed Codex runtime and every synchronized version contract to
0.150.1, refreshes the exact-tag app-server protocol snapshot, and records the
current live model catalog. The compatibility floor for operator-supplied Codex
binaries remains 0.149.0.

The upstream 0.150.1 npm family was verified complete across Darwin, Linux,
and Windows on both supported architectures. The corresponding Codex source
was audited at openai/codex@90854393966b21e9ebfd21b122334eb09a20c93d,
including:

  • codex-cli/bin/codex.js:16-22 and codex-cli/bin/codex.js:79-107 for
    platform package selection and missing-package failure behavior.
  • codex-rs/core/src/compact_remote_v2_images.rs:15-100 for the retained-image
    compaction fix.
  • The generated collaboration tool, tool-call status, and sub-agent activity
    protocol enums.

User Impact

Codex plugin releases pass the dependency freshness gate and ship the current
stable managed runtime. Existing custom and remote app-server compatibility is
unchanged.

Evidence

  • Original failing release-check command now passes:
    node --import tsx scripts/plugin-npm-release-check.ts -- --base-ref 7334f8d9ba9ccce8cf3bc03c7625d7da88ebb6f8 --head-ref 0924fd9a0c401464d6257ca59a160d1b292f5441
  • Verified all six @openai/[email protected]<platform> npm versions.
  • Canonical cargo-backed exact-tag protocol check passed:
    OPENCLAW_CODEX_REPO=<rust-v0.150.1 checkout> pnpm codex-app-server:protocol:check
    • Rust schema generator: 1 passed, 0 failed.
    • Generated Codex protocol matches the OpenClaw bridge assumptions.
  • Focused Vitest: 156 tests passed across Codex manifest, install, protocol,
    client-version, and OpenAI provider contracts.
  • Real 0.150.1 model/list probe matched the documented account-scoped rows.
  • pnpm check:docs
  • git diff --check
  • Autoreview: no actionable findings.

@clawsweeper

clawsweeper Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@vincentkoc vincentkoc self-assigned this Aug 27, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts extensions: openai extensions: codex size: XS maintainer Maintainer-authored PR labels Aug 27, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 27, 2026
@clawsweeper

clawsweeper Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 27, 2026, 1:21 AM ET / 05:21 UTC.

ClawSweeper review

What this changes

Updates the managed Codex app-server package, generated protocol snapshot, OpenAI catalog client version, release assertions, tests, and docs from 0.149.1 to 0.150.1.

Merge readiness

⚠️ Ready for maintainer review - 5 items remain

Keep open for maintainer review: the synchronized local version update is coherent, but the required direct v0.150.1 Codex source/protocol audit could not be independently completed in this environment.

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

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The local synchronization is focused, but direct upstream runtime and protocol evidence remains a merge-critical gap.
Proof confidence 🌊 off-meta tidepool Not applicable: The author is a repository member, so the external-contributor proof gate does not apply; the claimed live validation remains useful but was not independently inspectable in this review.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The author is a repository member, so the external-contributor proof gate does not apply; the claimed live validation remains useful but was not independently inspectable in this review.
Evidence reviewed 6 items Managed runtime and catalog version are synchronized: The PR changes the plugin dependency to 0.150.1; the same head sets the bridge runtime constant and the OpenAI catalog client-version query to 0.150.1.
Existing tests enforce the version invariant: The manifest test requires the package, workspace override, lockfile, and bridge version to resolve to one exact Codex version.
Runtime owner resolves the changed executable: The managed-binary owner resolves @openai/codex/package.json and its codex bin, so this dependency bump changes an executed runtime rather than documentation only.
Findings None None.
Security Needs attention Verify the newly executed Codex runtime: The managed-binary owner resolves and executes @openai/codex from the changed package pin; direct upstream source inspection was unavailable, so package and protocol compatibility remain unverified.

How this fits together

The Codex plugin resolves and launches the managed @openai/codex app-server, then bridges its JSON-RPC protocol into OpenClaw. The OpenAI provider also sends that runtime version when requesting the account-scoped Codex model catalog.

flowchart LR
  A[Plugin package pin] --> B[Managed Codex binary]
  B --> C[App-server handshake]
  C --> D[Generated protocol bridge]
  E[OpenAI model catalog request] --> F[Model selection]
  A --> E
  D --> F
Loading

Decision needed

Question Recommendation
Can a maintainer directly verify the exact Codex v0.150.1 source/package family and app-server protocol snapshot before this managed runtime bump lands? Verify exact upstream contract: Inspect the v0.150.1 Codex source and platform packages, rerun the protocol check and a redacted model/list probe, then accept the synchronized update.

Why: This PR changes an executed third-party runtime and provider catalog request; repository policy requires direct upstream Codex inspection, which this read-only environment could not perform.

Before merge

  • Resolve security concern: Verify the newly executed Codex runtime - The managed-binary owner resolves and executes @openai/codex from the changed package pin; direct upstream source inspection was unavailable, so package and protocol compatibility remain unverified.
  • Resolve merge risk (P1) - The update replaces the executable Codex runtime and its generated protocol snapshot without reviewer-verifiable direct inspection of the exact upstream v0.150.1 source and platform package family.
  • Resolve merge risk (P1) - Changing the client_version used for the account-scoped Codex model catalog can alter provider-visible model rows; the claimed live probe was not available as inspectable evidence here.
  • Complete next step (P2) - A member-owned, protected-label runtime dependency update needs direct upstream compatibility and package evidence rather than an automated repair.

Findings

  • [medium] Verify the newly executed Codex runtime — extensions/codex/package.json:11
Agent review details

Security

Needs attention: The diff intentionally updates an executed third-party runtime, but the exact upstream v0.150.1 source and package family could not be independently audited here.

PR surface

Source 0, Tests 0, Docs +4, Config 0, Other 0. Total +4 across 15 files.

View PR surface stats
Area Files Added Removed Net
Source 4 6 6 0
Tests 3 5 5 0
Docs 4 20 16 +4
Config 2 2 2 0
Generated 0 0 0 0
Other 2 32 32 0
Total 15 65 61 +4

Review metrics

Metric Value Why it matters
Production versus validation delta production +6/-6; tests +5/-5; docs +20/-16; generated schema +3/-3; lockfile +31/-31 The functional source change is a small synchronized version refresh, while the lockfile replaces the executable platform runtime family.

Merge-risk options

Maintainer options:

  1. Reproduce the exact-tag validation (recommended)
    Before merge, directly inspect Codex v0.150.1 and reproduce the app-server protocol plus catalog probe against the updated managed package.
  2. Defer the dependency refresh
    Pause this PR if direct upstream and platform-package validation cannot be reproduced for the exact version.

Technical review

Best possible solution:

Confirm the exact v0.150.1 upstream package, app-server schema, and account-scoped catalog behavior, then merge the synchronized pin if those checks match the committed snapshot.

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

No high-confidence local reproduction was completed: the described release check is plausible from the version contracts, but execution was blocked by the read-only environment and upstream v0.150.1 could not be inspected.

Is this the best way to solve the issue?

Unclear: the repository’s synchronized-pin pattern is appropriate, but the exact upstream executable and protocol contract still require direct verification before the update is accepted.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 036e635c71cb.

Labels

Label changes:

  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The author is a repository member, so the external-contributor proof gate does not apply; the claimed live validation remains useful but was not independently inspectable in this review.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: ⏳ waiting on author.

Label justifications:

  • P2: This is a bounded managed-runtime refresh with provider-facing compatibility implications, not an observed user outage.
  • merge-risk: 🚨 compatibility: The managed executable, platform packages, generated protocol snapshot, and exact-version doctor checks all change together.
  • merge-risk: 🚨 auth-provider: The OpenAI provider changes the client_version attached to its account-scoped Codex model-catalog request.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The author is a repository member, so the external-contributor proof gate does not apply; the claimed live validation remains useful but was not independently inspectable in this review.

Evidence

Security concerns:

  • [medium] Verify the newly executed Codex runtime — extensions/codex/package.json:11
    The managed-binary owner resolves and executes @openai/codex from the changed package pin; direct upstream source inspection was unavailable, so package and protocol compatibility remain unverified.
    Confidence: 0.91

What I checked:

Likely related people:

  • vincentkoc: History shows earlier Codex runtime updates as well as this PR head. (role: previous Codex runtime-upgrade contributor; confidence: high; commits: bbefd2faf45c, b5180b68163a, b269e652bc81; files: extensions/codex/package.json, extensions/codex/src/app-server/version.ts)
  • Peter Steinberger: Recent history on the catalog provider includes OpenAI/Codex routing and model-selection work. (role: recent OpenAI-provider contributor; confidence: medium; commits: efc33f882e9b, b1c2ed7d4744; files: extensions/openai/openai-provider.ts)

Rank-up moves

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

  • Provide independently checkable exact-tag Codex v0.150.1 protocol validation.
  • Attach or link redacted output from the 0.150.1 account-scoped model/list probe.

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 (2 earlier review cycles)
  • reviewed 2026-08-27T04:24:26.839Z sha d86cd4b :: needs maintainer review before merge. :: none
  • reviewed 2026-08-27T05:07:50.071Z sha d86cd4b :: needs maintainer review before merge. :: none

@vincentkoc
vincentkoc marked this pull request as ready for review August 27, 2026 05:00
@vincentkoc
vincentkoc requested a review from a team as a code owner August 27, 2026 05:00
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Aug 27, 2026
@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/package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfiles or workspace dependency policy changes are present.
  • Treat pnpm-lock.yaml and package-lock.json diffs as dependency 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 commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph changes noted

This PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin, a member of @openclaw/openclaw-secops, or an OpenClaw organization member with Maintain or Admin repository access.

  • Current SHA: bbefd2faf45cd1fe80dc50f557bff59fa696cf70
  • Trusted actor: @vincentkoc
  • Trusted role: pull request author; openclaw-secops

Security review is still recommended before merge when the dependency graph change is intentional.

@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 27, 2026
@vincentkoc
vincentkoc merged commit c45cc17 into main Aug 27, 2026
205 checks passed
@vincentkoc
vincentkoc deleted the fix/main-ci-plugin-release branch August 27, 2026 05:31
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 27, 2026
* fix(codex): update managed runtime to 0.150.1

* test(codex): refresh newer runtime fixtures
vincentkoc added a commit that referenced this pull request Aug 27, 2026
* fix(codex): update managed runtime to 0.150.1

* test(codex): refresh newer runtime fixtures

(cherry picked from commit c45cc17)
roboclaw-bot pushed a commit that referenced this pull request Aug 27, 2026
* fix(codex): update managed runtime to 0.150.1

* test(codex): refresh newer runtime fixtures
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 extensions: openai maintainer Maintainer-authored PR merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XS status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant