Repository navigation
Conversation
…ent model A harnessed question kept its task's message limit, which sizes the native agent's loop: thirty messages ended a harness session after about a dozen turns. The run's call, cost and time limits bound a harness instead. OpenCode resolves the model it formats requests as against its release's own catalog. The inspect-swe default is no longer listed by current releases, so every OpenCode session failed before its first request.
A coding harness rebuilds each request from its own transcript, so its assistant turns reached the router without the provider's reasoning state and an empty reply came back as placeholder text. The router model now recognises a replayed tool-calling turn by its exact tool calls and sends the reply it came from, as the task's own agent would.
Let harness sessions run to the run's limits and keep their reasoning state
A harness rewrites its own record of a tool call, such as filling in an argument's default or trimming a command, so a replayed turn rarely carried the reply's exact arguments and kept losing its reasoning state. A turn is now matched to its reply by call IDs and functions, and is sent as the model wrote it.
…calls Recognise a replayed turn whose arguments the harness rewrote
Codex CLI declares web search as a tool its provider runs, and Claude Code's WebSearch tool requests one in a call of its own. A provider that offers it searched the live web from a sandbox that has no network. The harness request filter now drops tools the provider would run itself; the harness's own tools are untouched.
Keep provider-run tools out of harness sessions
…er-run A request that required some tool (tool_choice "any") and offered only provider-run tools kept its required choice after they were dropped, and the router protocol refuses a required choice with no tools. It is now sent with tool_choice "none", as a request that named a dropped tool already was.
Answer without a tool when a harness request's only tools were provider-run
Claude Code answers a Read of an image file with the image itself. The router protocol carries text only and refused the request, and the harness ended the session reporting an unrecognised model. The harness request filter now replaces each attachment with a note that it was left out.
Send a harness's attachments to the router as notes
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes the coding-harness session fixes from
staging(#57, #58, #59, #60, #61).No other changes:
stagingis exactly these eleven commits ahead ofmain.🤖 Generated with Claude Code