fix(codex): restore collaborative browser handoff - #436
Open
patroza wants to merge 2 commits into
Open
Conversation
Codex 5.6 Code Mode can defer MCP tools without exposing tool_search, leaving them reachable only through ALL_TOOLS. Teach T3's Codex instructions to use that fallback before declaring browser collaboration unavailable. Model: gpt-5.6-sol Harness: T3 Code Codex
patroza
marked this pull request as ready for review
September 1, 2026 08:26
Do not report preview_open as ready when the requested floating preview has not actually attached to a visible browser surface. Model: GPT-5.6 Sol\nHarness: Codex via T3 Code
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 freeto 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.
Summary
ALL_TOOLSpreview_openreports successRoot cause
Two independent gaps compounded. Codex 5.6 Code Mode currently omits the normal deferred
tool_searchprimitive even though T3 preview tools remain callable throughALL_TOOLS, and T3 did not document that fallback. After discovery, T3 could create a desktop webview and return its tab metadata whilevisibleremained false because readiness only checked the automation bridge. Claude Code is unaffected by the discovery gap because its MCP tools are exposed normally.The captured turn demonstrated the second gap directly:
preview_openreturnedtab_1, the iCloud URL and title, andvisible: false; subsequent snapshot and evaluate operations failed. The agent therefore knew the backing tab existed, but no browser surface had attached to the thread.Validation
vp test run apps/server/src/provider/Layers/CodexSessionRuntime.test.ts(39 passed)vp test run apps/web/src/components/preview/previewAutomationOpenReadiness.test.ts(10 passed)