Skip to content

fix(codex): model catalog requests fail through the inference relay - #197768

Merged
roboclaw-bot merged 2 commits into
openclaw:mainfrom
bdjben:codex/upstream-catalog-20261112
Nov 17, 2026
Merged

roboclaw-bot merged 2 commits into
openclaw:mainfrom
bdjben:codex/upstream-catalog-20261112

Conversation

@bdjben

@bdjben bdjben commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes repeated model-discovery failures when native Codex sends a catalog GET through OpenClaw's inference relay. The relay currently rejects every non-POST request with a retryable transport failure.

User Impact

Codex-backed sessions can retrieve their model catalog without spending startup or turn time retrying an unsupported method. The catalog request retains the requesting native account's credentials and upstream status.

Why This Change Was Made

Allow only bodyless GET /models, with either no query or one client_version argument, through the existing fixed-destination relay. Unsupported catalog request shapes return a terminal 400. Discovery keeps relay-lifetime and transport checks without requiring an inference turn; the existing host-held OAuth route restriction remains intact.

Evidence

  • Baseline: all seven new regressions fail on unchanged upstream with the expected HTTP 502 responses.

  • Candidate: 44 tests pass in inference-proxy.http.test.ts and inference-proxy.test.ts, exercising real loopback HTTP/TLS and WebSocket transports, account headers, upstream errors, cancellation, and destination restrictions.

  • Independent P0–P2 source review covered the complete change, including the extracted HTTP helpers and the unchanged destination, admission, and cleanup owners; no actionable findings.

  • No universal latency reduction is claimed. This removes the observed unsupported-method retries; the historical native trace is not a benchmark of every account or Codex version.

  • Formatting, targeted lint, core type checking, and focused Codex type checking pass.

  • Validation used isolated local state. Crabbox was unavailable in this environment; no remote-test result is claimed.

Native app-server proof added November 17

At @VACInc’s request, RoboClaw exercised the actual Codex 0.169.0 app-server through OpenClaw’s shipped RPC client and real loopback inference relay. The test logs into an isolated native ChatGPT account using synthetic credentials, lets the native process request its catalog, and checks model/list for a model absent from the bundled catalog. The external fetch boundary is mocked; no live account, backend entitlement, or live GPT-6.2 turn is claimed.

  • Before: removing this PR’s two production-file changes causes native catalog refresh to receive HTTP 502; no request reaches the upstream boundary and the native discovery regression fails.
  • After: the same test passes. Native Codex sends GET /models?client_version=0.169.0, preserves its synthetic bearer token and account header, and returns the remote-only model relay-catalog-only through model/list.
  • The full relay-family run passed 88 tests, with 1 optional live test skipped. It includes guarded HTTPS/auth tests, existing POST/WebSocket coverage, and added disconnect/shutdown cleanup proof. Extension-test typecheck and targeted type-aware lint passed.

Reproduction source: native catalog regression, in companion #200784. That checkout also carries the 0.169.0 runtime bump; it is not a claim that these additional tests are committed on this PR’s older base. Both production files in this PR, plus the upstream, dispatch, context, upload, and transport owners, were verified byte-identical between head 7ffffef8f91f28e625fd2b1e488272b2b3fb9c8f and the tested checkout. This PR’s exact-head hosted CI gate and security/dependency checks are green.

Native test result summary:

Before: loads a remote model catalog through the relay with native client version and auth — FAIL
After:  loads a remote model catalog through the relay with native client version and auth — PASS
Relay family: 6 test files passed; 88 tests passed; 1 optional live test skipped

Ben’s original implementation and commits remain unchanged. #200784 will rebase on main after this PR lands, removing the duplicate production change from that PR’s diff. The Codex version bump remains a separate, open-only PR.

Landing assessment

A fresh independent P0–P3 review of this exact three-file candidate and its seven production owners completed with no actionable findings. No hostile behavior, credential exfiltration, or weakening of the existing destination/auth controls was identified in the reviewed changes.

ClawSweeper also reports no code findings; its remaining request is an unmocked live catalog-refresh run. That is a related integration-coverage limitation, not an unrelated CI failure. We do not treat it as a necessary additional prerequisite for this narrow relay repair: the real native-binary red/green test proves the rejected request path, while separate real-HTTPS transport tests cover forwarding, headers, upstream errors and network restrictions. The destination, native credential ownership and backend catalog contract are not replaced by this change. Live ChatGPT entitlement, live GPT-6.2 availability and a fully live end-to-end backend run remain unverified. This assessment does not claim ClawSweeper approved or waive any enforced GitHub check or required review.

@clawsweeper

clawsweeper Bot commented Nov 12, 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.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 12, 2026
@clawsweeper

clawsweeper Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

Allows bodyless native Codex catalog GET requests through the existing inference relay while preserving account credentials and upstream responses.

Example: Codex 0.169.0 requests GET /models?client_version=0.169.0 through its private relay.

  • Before: The relay returns HTTP 502 before contacting the backend, triggering repeated catalog retries.
  • After: The relay forwards the request to its fixed upstream and returns the catalog or upstream error.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The focused patch has useful regression coverage and green exact-head CI, but the required real-behavior proof gate remains unmet.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Native Codex repeatedly fails to refresh its model catalog when discovery uses OpenClaw's inference relay.
Reason: The native request contract and affected-release report justify restoring catalog forwarding within the existing plugin transport boundary.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: this PR fixes a concrete catalog incompatibility still present on current main, with no introduced correctness defects found.

Priority: P2
Reviewed head: 7ffffef8f91f28e625fd2b1e488272b2b3fb9c8f

Before merge

  • Add real behavior proof - The November 17 evidence adds real Codex 0.169.0 model/list regression coverage, and matching production blobs make it applicable to this head, but its upstream fetch is mocked; the supplied PASS output and guarded-HTTPS tests do not demonstrate the changed catalog flow through a shipped OpenClaw entry point. The contributor should attach the missing run with IPs, API keys, phone numbers, and non-public endpoints redacted. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.

Findings

None.

Tests

  • Missing end-to-end proof: Provide redacted terminal output or logs of native catalog discovery through a shipped OpenClaw entry point using the unmocked upstream transport, showing successful refresh without relay 502 retries.
Agent review details

How this fits together

The Codex plugin supplies a private loopback relay as the native runtime's provider endpoint; the relay validates requests, forwards them over guarded HTTPS, and streams upstream responses back to Codex.

flowchart LR
  A[OpenClaw Codex plugin] --> B[Native Codex app server]
  B --> C[Private loopback relay]
  C --> D[Catalog request validation]
  D --> E[Guarded fixed upstream]
  E --> F[Native model catalog]
Loading

Technical review

Best possible solution:

Retain the narrow catalog branch in the existing relay and shared response writer, preserving native credentials and the separate host-held OAuth restriction.

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

The affected-release trace, native GET producer, and current-main POST-only rejection establish the failure path; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The patch repairs the existing relay owner without another catalog service, credential store, configuration option, or change to inference admission.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • POST-only HTTP operation selection changes intended behavior with a stated reason (8169aac: The original relay carried inference requests for parent-local instructions while preserving native authentication and backend paths.)
  • Resident admission and upload ownership keeps the original intent (43247c9: Separate response residency from preparation/upload capacity so active streams do not block new work while overload remains bounded.)
  • HTTP helper placement and response streaming keeps the original intent (0680663: Move HTTP helpers into their owning module without changing transport behavior; the shared response writer preserves the former POST implementation.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit 43247c9 adds extensions/codex/src/app-server/inference-proxy.ts:261 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 43247c9b2076; files: extensions/codex/src/app-server/inference-proxy.ts)
  • Peter Steinberger: Raw commit 0680663 adds extensions/codex/src/app-server/inference-proxy-http.ts:35 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 0680663721d0; files: extensions/codex/src/app-server/inference-proxy-http.ts)
  • RoboClaw: Raw commit 8169aac adds extensions/codex/src/app-server/inference-proxy.ts:69 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 8169aacdda92; files: extensions/codex/src/app-server/inference-proxy.ts)

PR surface

Source +83, Tests +72. Total +155 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 99 16 +83
Tests 1 72 0 +72
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 171 16 +155

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Production versus test delta Production +99/-16; tests +72/-0 Growth adds catalog validation and guarded forwarding while sharing the existing response writer; tests cover account isolation, upstream errors, unsupported shapes, and body rejection.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Repeated catalog refresh failures affect discovery and create retries, but the linked report confirms inference turns still complete.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-12T14:24:34.098Z sha 7ffffef :: needs real behavior proof before merge. :: none

Reviewed November 17, 2026, 4:53 PM ET / 21:53 UTC (Revision 2).

roboclaw-bot added a commit that referenced this pull request Nov 17, 2026
Adopt the bounded GET /models relay repair from bdjben in #197768, preserving native account headers and the existing destination and OAuth boundaries. Add real native app-server discovery and streaming cleanup regressions.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@roboclaw-bot
roboclaw-bot merged commit ed3230d into openclaw:main Nov 17, 2026
136 of 137 checks passed
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Merged via squash.

roboclaw-bot added a commit that referenced this pull request Nov 17, 2026
Retain native 0.169.0 catalog and disconnect/shutdown regression coverage after the relay repair landed in #197768.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>
roboclaw-bot added a commit that referenced this pull request Nov 17, 2026
Retain native 0.169.0 catalog and disconnect/shutdown regression coverage after the relay repair landed in #197768.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>
VACInc added a commit that referenced this pull request Nov 17, 2026
* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* fix: update bundled Codex for newer ChatGPT models

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: e5a67704-23ec-8d2e-9a41-8c2e3aeead5f

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 3095493b-78da-8f66-aa9b-02317ee9916d

* fix(codex): allow native model discovery through the relay

Adopt the bounded GET /models relay repair from bdjben in #197768, preserving native account headers and the existing destination and OAuth boundaries. Add real native app-server discovery and streaming cleanup regressions.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 623c3418-83e3-8335-b6ab-dc73d8d23d8c

* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* test(codex): verify native catalog discovery and cleanup

Retain native 0.169.0 catalog and disconnect/shutdown regression coverage after the relay repair landed in #197768.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: ce57f1a5-a951-854f-b76c-e48c4f5aef83

* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* test(codex): verify native catalog discovery and cleanup

Retain native 0.169.0 catalog and disconnect/shutdown regression coverage after the relay repair landed in #197768.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 4da73a83-088d-8b20-b3c8-612426e5fc2c

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: VACInc <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 18, 2026
…197768)

Allow bodyless native Codex model-catalog requests through the existing fixed-destination relay while preserving native account headers, transport restrictions, resident admission and cleanup. Reuse HTTP response streaming without changing inference POST behavior.

Validation: exact-head CI and applicable dependency/security gates passed; focused relay coverage and independent P0-P3 review found no actionable defects. Real native-binary red/green proof covers the rejected request path with a mocked external fetch boundary; real HTTPS forwarding is covered separately. A fully live ChatGPT backend run and GPT-6.2 entitlement remain unverified.

Co-authored-by: Ben Badejo <[email protected]>
Co-authored-by: VACInc <[email protected]>
(cherry picked from commit ed3230d)

Dependency closure for #200784: the release baseline rejects native GET /models.
Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 18, 2026
* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* fix: update bundled Codex for newer ChatGPT models

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: e5a67704-23ec-8d2e-9a41-8c2e3aeead5f

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 3095493b-78da-8f66-aa9b-02317ee9916d

* fix(codex): allow native model discovery through the relay

Adopt the bounded GET /models relay repair from bdjben in #197768, preserving native account headers and the existing destination and OAuth boundaries. Add real native app-server discovery and streaming cleanup regressions.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 623c3418-83e3-8335-b6ab-dc73d8d23d8c

* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* test(codex): verify native catalog discovery and cleanup

Retain native 0.169.0 catalog and disconnect/shutdown regression coverage after the relay repair landed in #197768.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: ce57f1a5-a951-854f-b76c-e48c4f5aef83

* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* test(codex): verify native catalog discovery and cleanup

Retain native 0.169.0 catalog and disconnect/shutdown regression coverage after the relay repair landed in #197768.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 4da73a83-088d-8b20-b3c8-612426e5fc2c

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: VACInc <[email protected]>

(cherry picked from commit 82a38fb)

Release adaptation for the signed11.5-based 2026.11.6 line: retain fs-safe
0.26.13, codex-acp 2.2.2, and SDK 1.9.0; update only their Codex pin. Retain
baseline terminal tests and add the intended new errors. Regenerate validators
with the baseline generator from the exact rust-v0.169.0 canonical experimental
exports. Use the baseline default relay SSRF policy (no upstreamPolicy owner
exists here), and condense the existing return to retain the module line budget.
Required relay companion: ed3230d (#197768).

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
…penclaw#197768)

Allow bodyless native Codex model-catalog requests through the existing fixed-destination relay while preserving native account headers, transport restrictions, resident admission and cleanup. Reuse HTTP response streaming without changing inference POST behavior.

Validation: exact-head CI and applicable dependency/security gates passed; focused relay coverage and independent P0-P3 review found no actionable defects. Real native-binary red/green proof covers the rejected request path with a mocked external fetch boundary; real HTTPS forwarding is covered separately. A fully live ChatGPT backend run and GPT-6.2 entitlement remain unverified.

Co-authored-by: Ben Badejo <[email protected]>
Co-authored-by: VACInc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* fix: update bundled Codex for newer ChatGPT models

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: e5a67704-23ec-8d2e-9a41-8c2e3aeead5f

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 3095493b-78da-8f66-aa9b-02317ee9916d

* fix(codex): allow native model discovery through the relay

Adopt the bounded GET /models relay repair from bdjben in openclaw#197768, preserving native account headers and the existing destination and OAuth boundaries. Add real native app-server discovery and streaming cleanup regressions.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 623c3418-83e3-8335-b6ab-dc73d8d23d8c

* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* test(codex): verify native catalog discovery and cleanup

Retain native 0.169.0 catalog and disconnect/shutdown regression coverage after the relay repair landed in openclaw#197768.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: ce57f1a5-a951-854f-b76c-e48c4f5aef83

* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* test(codex): verify native catalog discovery and cleanup

Retain native 0.169.0 catalog and disconnect/shutdown regression coverage after the relay repair landed in openclaw#197768.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 4da73a83-088d-8b20-b3c8-612426e5fc2c

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: VACInc <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 18, 2026
…197768)

Allow bodyless native Codex model-catalog requests through the existing fixed-destination relay while preserving native account headers, transport restrictions, resident admission and cleanup. Reuse HTTP response streaming without changing inference POST behavior.

Validation: exact-head CI and applicable dependency/security gates passed; focused relay coverage and independent P0-P3 review found no actionable defects. Real native-binary red/green proof covers the rejected request path with a mocked external fetch boundary; real HTTPS forwarding is covered separately. A fully live ChatGPT backend run and GPT-6.2 entitlement remain unverified.

Co-authored-by: Ben Badejo <[email protected]>
Co-authored-by: VACInc <[email protected]>

(cherry picked from commit ed3230d)

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 18, 2026
* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* fix: update bundled Codex for newer ChatGPT models

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: e5a67704-23ec-8d2e-9a41-8c2e3aeead5f

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 3095493b-78da-8f66-aa9b-02317ee9916d

* fix(codex): allow native model discovery through the relay

Adopt the bounded GET /models relay repair from bdjben in #197768, preserving native account headers and the existing destination and OAuth boundaries. Add real native app-server discovery and streaming cleanup regressions.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 623c3418-83e3-8335-b6ab-dc73d8d23d8c

* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* test(codex): verify native catalog discovery and cleanup

Retain native 0.169.0 catalog and disconnect/shutdown regression coverage after the relay repair landed in #197768.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: ce57f1a5-a951-854f-b76c-e48c4f5aef83

* fix: update bundled Codex for newer ChatGPT models

Upgrade the bundled runtime and matching client-version pins to 0.169.0, regenerate the upstream protocol, and cover terminal errors and audio file references. Preserve launcher errors from execve and forward cleanup arguments in the HTTP test fixture.

Co-authored-by: VACInc <[email protected]>

* test(codex): type audio fixtures as valid JSON variants

Keep both native audio source variants without inferred undefined properties, so the regression fixture satisfies the app-server JSON contract.

Co-authored-by: VACInc <[email protected]>

* test(codex): verify native catalog discovery and cleanup

Retain native 0.169.0 catalog and disconnect/shutdown regression coverage after the relay repair landed in #197768.

Co-authored-by: Ben Badejo <[email protected]>

Co-authored-by: VACInc <[email protected]>

* Publish openclaw/cool-prawn

Worked on by:
- @VACInc

Co-authored-by: VACInc <[email protected]>
OpenClaw-Publication: 4da73a83-088d-8b20-b3c8-612426e5fc2c

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: VACInc <[email protected]>

(cherry picked from commit 82a38fb)

Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot added a commit that referenced this pull request Nov 24, 2026
…197768)

Baseline adaptation: Permit only bodyless native GET /models with at most one client_version on the pinned HTTPS relay, under existing resident and current-owner admission, without host OAuth funding; keep POST and pinned transport semantics.

(cherry picked from commit ed3230d)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 30c56a238a47e37dd075346bf79c88aa5db02c45)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: codex P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: S status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants