Repository navigation
Description
Client or integration
Codex CLI and Codex App.
Area
Proxy and routing; Tools / MCP / web search.
Summary
With advisor.policy = "manual" and hosted web_search enabled, the synthetic advisor tool is not declared to a routed worker. A manual consultation therefore cannot start unless web search is disabled. Both tools should work in the same turn without exposing either synthetic call to the client.
Reproduction
- Enable a manual Advisor with current
contextSharingConsent: "v1"and an Advisor model. - Enable
webSearchSidecar(the reproduction uses theexabackend) and send a routed, translated Responses request withtools: [{ "type": "web_search" }]. - Ask the worker to call
advisoronce. - The worker's upstream tool catalog contains
web_searchbut notadvisor; Advisor activity remains empty. Disabling web search makes the same manual consultation succeed.
The cause is in src/server/responses/sidecar-execution.ts: Advisor injection requires !wsPlan. The web-search loop owns its own event stream, so simply removing that condition without adding Advisor handling would leak the synthetic call instead of consulting and reinjecting its result.
Version
Reproduced on 2.93.0. Also present on current dev at abc932d1434f85e7aa9714d5a43b1d5374792cc0.
Operating system
macOS 27.0.1.
Provider and model
Worker: kimi/k3.1-pro (translated openai-chat). Advisor: anthropic/claude-opus-5-5.
Logs or error output
There is no HTTP error. The relevant branch is:
if (advisorPlan && !routedCompaction && !transportState.adapter.runTurn && !wsPlan && !imgPlan && !vidPlan) {
// synthetic advisor injection
}Redacted configuration
{
"advisor": {
"enabled": true,
"model": "anthropic/claude-opus-5-5",
"policy": "manual",
"contextSharingConsent": "v1"
},
"webSearchSidecar": {
"backend": "exa",
"exaApiKey": "<redacted>"
}
}Checks
- I searched existing issues and documentation, including
advisor web_search,synthetic advisor, andwsPlan. - I removed secrets, tokens, account details, request credentials, and personal data.
Activity
Ingwannu commentedon Oct 29, 2026
Closing as completed on
dev: #7858 merged as8a6cea9c168666733d97dd8172cbe6296b1b0104, which I verified is an ancestor of current trusteddev9b78a16f4fe0c300527e6b183052407269bb941d.The fetch-based web-search loop consumes synthetic Advisor calls and reinjects results with the existing consultation bounds and cancellation; it no longer suppresses manual Advisor merely because wsPlan owns the turn.
I checked the implementation and the successful exact-head required CI for
e2389802c16de32f34fd48a7a18d929152a091a3. Existing author regression receipts remain author-run evidence; I did not rerun unchanged passing suites or reproduce this on a live account/native client. This closure records the landed scope, not validation of the reporter's installed version or a release claim. If the same failure occurs on a build containing this commit, provide a new bounded, redacted reproduction against that build.