You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
backends: tool-search eligibility ignores other project MCP servers and a resume without the relay #4415
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: backendsAgentBackend implementations and the seam they share.priority: p3Someday. Needs a driving use case before it starts.type: fixSomething is broken and must behave the way it is documented.
Tool-search eligibility for a bridged session is decided from the brain module inventory alone (packages/ui-backend-claude/src/sdk-options.ts:448-460).
Other project MCP servers still connect in the background. One that announces an always-loaded tool after the first request can add a definition that no tool search referenced.
On resume, sdk-options.ts:461-464 checks the inherited origin and the bridge marker, but not that the turn has host inference. A session that loses its relay keeps search on with no base-URL pin.
Scope
Decide and implement the eligibility rule for sessions with other project MCP servers, and require host inference when a retained selection is "true".
Acceptance criteria
A keyless test with a slow second project MCP server carrying an always-loaded tool shows that no unreferenced definition is added, or that the session is not search-eligible.
A test shows a resumed search-on session without host inference is refused before any provider request.
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: backendsAgentBackend implementations and the seam they share.priority: p3Someday. Needs a driving use case before it starts.type: fixSomething is broken and must behave the way it is documented.
Activity