Skip to content

chore(codex): backport managed runtime 0.153.4 to 2026.6.35 - #142089

Merged
RomneyDa merged 1 commit into
extended-stable/2026.6.33from
fix/extended-stable-2026-6-35-codex-0-153-4
Sep 8, 2026
Merged

RomneyDa merged 1 commit into
extended-stable/2026.6.33from
fix/extended-stable-2026-6-35-codex-0-153-4

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Sep 8, 2026

Copy link
Copy Markdown
Member

Summary

  • backport the managed @openai/codex runtime from 0.146.0 to 0.153.4 on the 2026.6.35 release line
  • regenerate only the Codex shrinkwrap and workspace lock entries
  • keep the existing 6.35 harness architecture unchanged

This brings the current Codex model catalog—including GPT-6 Astra support shipped by Codex itself—to the 2026.6.35 plugin without porting the much larger OpenClaw Astra runtime feature stack.

Direct dependency proof

  • npm latest and the exact package are @openai/[email protected]
  • upstream Codex tag rust-v0.153.4 bundles the GPT-6 Astra model row in codex-rs/models-manager/models.json
  • installed binary reports codex-cli 0.153.4

Validation

  • focused Codex manifest/managed-binary suite: 10/10
  • package-local npm shrinkwrap check
  • Oxfmt, OXLint, diff check

Production code delta: +1/-1 (version constant only); dependency metadata is net-neutral.

@RomneyDa
RomneyDa requested a review from a team as a code owner September 8, 2026 09:51
@clawsweeper

clawsweeper Bot commented Sep 8, 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.

@RomneyDa

RomneyDa commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

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

github-actions Bot commented Sep 8, 2026

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 commented Sep 8, 2026 •

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.6.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 (bc3fe09a8ddf3d57ec7d1810f9e6d804737a71d8) when it reruns. A later push requires a fresh approval.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation extensions: codex size: S maintainer Maintainer-authored PR labels Sep 8, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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 Sep 8, 2026
@clawsweeper

clawsweeper Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 8, 2026, 6:06 AM ET / 10:06 UTC.

ClawSweeper review

What this changes

Updates the 2026.6.35 Codex plugin to runtime 0.153.4, synchronizes OAuth model discovery and package locks, and updates the documented runtime version.

Merge readiness

⛔ Blocked before merge - 4 items remain

This remains a distinct extended-stable backport, despite the same runtime already shipping on main. The amended pins agree and the catalog probe adds useful evidence; release-line execution compatibility remains unresolved.

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

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, synchronized backport with useful real catalog evidence, a small documentation correction, and a bounded release compatibility gap.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its amended-head installed-runtime initialize/model-list observation supports the catalog change; fresh-turn and upgrade/resume coverage remains a separate release compatibility decision.
Patch quality 🐚 platinum hermit (4/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its amended-head installed-runtime initialize/model-list observation supports the catalog change; fresh-turn and upgrade/resume coverage remains a separate release compatibility decision.
Evidence reviewed 11 items Introduced change and target: The verified parent-to-head delta changes only the Codex dependency metadata, two synchronized version constants, and documentation. Live REST metadata confirms the PR remains open against extended-stable/2026.6.33 and assigned to steipete; MEMBER authorship and the maintainer label independently prevent cleanup closure.
Runtime and discovery owners: Managed binary resolution uses the plugin's installed package; model discovery sends model/list through the shared app-server client. The OAuth provider's client version now matches that package. Its existing test derives the expected request URL from the Codex manifest, covering the previously reported mismatch.
Direct dependency contract inspected: The package update and app-server proof claims establish the Codex dependency gate. Personally inspected the sibling source at rust-v0.153.4: model catalog metadata, app-server model mapping and pagination, initialize/resume documentation, and platform executable selection. GitHub resolves that tag to this commit; the cache origin and npm repository metadata identify openai/codex.
Findings 1 actionable finding [P3] Refresh the model snapshot instead of relabeling the old probe
Security None None.

How this fits together

The Codex plugin starts a managed app-server that supplies model discovery and executes agent sessions. The OpenAI provider separately queries the OAuth catalog using a matching client version.

flowchart LR
  A[Plugin installation] --> B[Pinned Codex runtime]
  B --> C[App-server connection]
  C --> D[Model catalog]
  C --> E[New or resumed agent session]
  F[OpenAI OAuth credentials] --> G[Versioned catalog request]
  G --> D
Loading

Decision needed

Question Recommendation
Should the 6.35 backport require fresh-turn and 0.146.0-session upgrade evidence before landing, or may the release owner accept the remaining coverage gap? Verify the release-line session paths: Require a completed fresh turn and an upgraded existing-session continuation through the 6.35 bridge before accepting the runtime replacement.

Why: The new catalog evidence is positive, but main's newer bridge and its validation cannot establish compatibility for this older release line.

Before merge

  • Refresh the model snapshot instead of relabeling the old probe (P3) - The version change now describes the retained eight-row GPT-5.6 table as a 0.153.4 probe, but the amended-head evidence reports six models including default gpt-6-astra, which the table omits. Refresh the snapshot from that probe, preserving the account-scoping caveat, or explicitly label the old table as historical. This was missed in the earlier review; the document blob is unchanged since that reviewed head.
  • Resolve merge risk (P1) - Replacing the managed executable for existing 6.35 installations could expose session or tool-protocol incompatibilities in the older bridge; the supplied catalog probe does not establish fresh-turn or upgrade/resume behavior.
  • Complete next step (P2) - Refresh the catalog snapshot, obtain current-head dependency authorization, and resolve the 6.35 fresh-turn and upgrade/resume coverage gap with the release owner.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

  • [P3] Refresh the model snapshot instead of relabeling the old probe — docs/plugins/codex-harness-reference.md:430-432
Agent review details

Security

None.

PR surface

Source 0, Docs 0, Config 0, Other 0. Total 0 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 3 30 30 0
Tests 0 0 0 0
Docs 1 1 1 0
Config 1 1 1 0
Generated 0 0 0 0
Other 1 29 29 0
Total 6 61 61 0

Review metrics

Metric Value Why it matters
Runtime contract changes 1 managed runtime upgraded; 1 OAuth client version synchronized The same release now feeds both discovery paths while the 6.35 session bridge remains unchanged.

Merge-risk options

Maintainer options:

  1. Establish compatibility on 6.35 (recommended)
    Retain the narrow dependency backport after fresh-session and upgraded-session behavior are demonstrated through the release branch's bridge.
  2. Release owner accepts limited coverage
    Proceed only with explicit acceptance that successful model discovery does not verify existing-session continuation.

Technical review

Best possible solution:

Keep the backport bounded to synchronized runtime pins, with an accurate catalog snapshot and release-owner-approved fresh-session and upgrade compatibility.

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

Not applicable to the runtime backport itself; the catalog improvement has reported installed-runtime evidence, while the documentation mismatch is directly visible in source.

Is this the best way to solve the issue?

Yes, a synchronized dependency backport uses the existing Codex-owned catalog without importing the larger main feature stack; acceptance still depends on release-line compatibility.

Full review comments:

  • [P3] Refresh the model snapshot instead of relabeling the old probe — docs/plugins/codex-harness-reference.md:430-432
    The version change now describes the retained eight-row GPT-5.6 table as a 0.153.4 probe, but the amended-head evidence reports six models including default gpt-6-astra, which the table omits. Refresh the snapshot from that probe, preserving the account-scoping caveat, or explicitly label the old table as historical. This was missed in the earlier review; the document blob is unchanged since that reviewed head.
    Confidence: 0.94
    Late finding: first raised on code an earlier review cycle already covered.

Overall correctness: patch is correct
Overall confidence: 0.86

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: This is a bounded extended-stable runtime and model-catalog update without evidence of an urgent current outage.
  • merge-risk: 🚨 compatibility: Existing 6.35 sessions will use a newer executable without supplied fresh-turn or upgrade/resume coverage for that bridge.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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 amended-head installed-runtime initialize/model-list observation supports the catalog change; fresh-turn and upgrade/resume coverage remains a separate release compatibility decision.

Evidence

What I checked:

  • Introduced change and target: The verified parent-to-head delta changes only the Codex dependency metadata, two synchronized version constants, and documentation. Live REST metadata confirms the PR remains open against extended-stable/2026.6.33 and assigned to steipete; MEMBER authorship and the maintainer label independently prevent cleanup closure. (extensions/codex/package.json:11, bc3fe09a8ddf)
  • Runtime and discovery owners: Managed binary resolution uses the plugin's installed package; model discovery sends model/list through the shared app-server client. The OAuth provider's client version now matches that package. Its existing test derives the expected request URL from the Codex manifest, covering the previously reported mismatch. (extensions/openai/openai-provider.ts:56, bc3fe09a8ddf)
  • Direct dependency contract inspected: The package update and app-server proof claims establish the Codex dependency gate. Personally inspected the sibling source at rust-v0.153.4: model catalog metadata, app-server model mapping and pagination, initialize/resume documentation, and platform executable selection. GitHub resolves that tag to this commit; the cache origin and npm repository metadata identify openai/codex. (codex-rs/app-server/src/models.rs:13, 3d2ee51ca2d5)
  • Native execution safeguards: Model metadata can select Code Mode independently of feature flags, so those flags alone are not a security argument. The inspected upstream implementation preserves explicit empty environment selections and omits shell and patch tools without an environment; the environment-count test verifies both visible and registered tool exclusion. (codex-rs/core/src/tools/spec_plan.rs:1074, 3d2ee51ca2d5)
  • Restricted execution boundary preserved: Restricted native-tool runs explicitly send environments: []; startup also disables native apps. This provides a separate execution boundary beyond the Code Mode feature flags. No introduced authorization change or reachable bypass was established. (extensions/codex/src/app-server/thread-lifecycle.ts:1469, bc3fe09a8ddf)
  • Positive catalog evidence and remaining coverage: The captured amended-head comment reports codex-cli 0.153.4, successful initialize/model/list, six models including default gpt-6-astra, and 58 passing focused contracts: chore(codex): backport managed runtime 0.153.4 to 2026.6.35 #142089 (comment). This resolves the catalog portion of the earlier rank-up request, but does not report a completed fresh turn or resumption of a 0.146.0 session through the 6.35 bridge. (extensions/codex/src/app-server/thread-lifecycle.ts:666, bc3fe09a8ddf)

Likely related people:

  • steipete: 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.

  • Refresh the documented catalog from the reported 0.153.4 probe.
  • Provide 6.35 fresh-turn and upgraded-session evidence, or record the release owner's explicit acceptance of that coverage gap.

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-08T09:56:52.439Z sha 05dac1dccd121b90257060e214e7c142ebd4b751 :: blocked before merge. :: none

@RomneyDa

RomneyDa commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

Accepted autoreview P1: 2026.6.35 also carries an OAuth model-discovery client-version constant. Updated it to 0.153.4 so /codex/models discovery stays aligned with the managed runtime; focused provider/Codex contracts are rerunning on the amended head. @clawsweeper review

@RomneyDa
RomneyDa force-pushed the fix/extended-stable-2026-6-35-codex-0-153-4 branch from 05dac1d to bc3fe09 Compare September 8, 2026 09:58
@RomneyDa

RomneyDa commented Sep 8, 2026

Copy link
Copy Markdown
Member Author

Exact installed-runtime proof on the amended 2026.6.35 branch: codex-cli 0.153.4; app-server initialize + model/list completed without auth or protocol errors, returned 6 models, and exposed gpt-6-astra as the default with text/image input, all six reasoning levels, multi-agent v2, and priority service tier. The companion OAuth discovery client version is now synchronized at 0.153.4. Focused OpenAI/Codex contracts: 58/58 green. @clawsweeper re-review

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 8, 2026
@RomneyDa
RomneyDa merged commit b914727 into extended-stable/2026.6.33 Sep 8, 2026
92 of 93 checks passed
@RomneyDa
RomneyDa deleted the fix/extended-stable-2026-6-35-codex-0-153-4 branch September 8, 2026 10:11
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: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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.

2 participants