fix(codex): Pro model first turns fail when reasoning defaults to minimal#101484
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 7, 2026, 6:12 AM ET / 10:12 UTC. Summary PR surface: Source +21, Tests +40. Total +61 across 4 files. Reproducibility: yes. at source level: current main omits the two Pro ids from both the modern-model predicate and any Pro-specific fallback, so metadata-missing Pro first turns can still send Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the repaired fallback after ordinary maintainer merge checks, keeping live app-server metadata authoritative and using the medium/high/xhigh Pro contract only when metadata is unavailable. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main omits the two Pro ids from both the modern-model predicate and any Pro-specific fallback, so metadata-missing Pro first turns can still send Is this the best way to solve the issue? Yes. Sharing one provider-owned fallback helper between AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b9a3db13f130. Label changesLabel justifications:
Evidence reviewedPR surface: Source +21, Tests +40. Total +61 across 4 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
What Problem This Solves
Fixes Codex Pro turns that start from OpenClaw's lower thinking levels.
gpt-5.5-proandgpt-5.4-proacceptmedium,high, andxhigh, so sending the generic modern-modellowfallback can reject the first app-server request.Why This Change Was Made
The submitted patch added the Pro ids to the existing
minimaltolowpredicate. Maintainer review found that this still emitted an unsupported effort and also coupled model classification to one fallback translation.The repaired implementation gives both Pro models one provider-owned fallback contract:
medium,high, andxhigh. The provider thinking profile and app-server request path share that contract when live model metadata is unavailable. Live app-server metadata remains authoritative, and Pro models remain classified as modern.Official model contracts:
User Impact
When metadata is unavailable,
minimalandlowrequests for either Pro model now clamp tomedium;maxclamps toxhigh. Other modern-model and legacy-model behavior is unchanged.Evidence
Focused local proof:
Testbox-through-Crabbox:
Fresh autoreview completed with no accepted or actionable findings. A live entitled Codex Pro network turn was not available; the focused tests exercise both the provider profile and the exact app-server request resolver.