Skip to content

fix(codex): restore collaborative browser handoff - #436

Open
patroza wants to merge 2 commits into
fork/devfrom
t3code/diagnose-browser-collaboration
Open

fix(codex): restore collaborative browser handoff#436
patroza wants to merge 2 commits into
fork/devfrom
t3code/diagnose-browser-collaboration

Conversation

@patroza

@patroza patroza commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • teach Codex Code Mode to discover deferred T3 preview tools through ALL_TOOLS
  • require a requested floating preview to be visibly attached before preview_open reports success
  • cover deferred discovery in both collaboration modes and the preview presentation readiness rule

Root cause

Two independent gaps compounded. Codex 5.6 Code Mode currently omits the normal deferred tool_search primitive even though T3 preview tools remain callable through ALL_TOOLS, and T3 did not document that fallback. After discovery, T3 could create a desktop webview and return its tab metadata while visible remained 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_open returned tab_1, the iCloud URL and title, and visible: 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)
  • full agent ship gate passed on the first published commit; the follow-up push will rerun it

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
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
@patroza patroza changed the title fix(codex): discover deferred preview tools fix(codex): restore collaborative browser handoff Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant