Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Reproduced before and after updating/restarting the desktop app:
- Current:
26.1027.61615, build24141. - Previous:
26.1027.51404, build23880. - Bundled CLI:
codex-cli 0.166.0-alpha.5.1.
App versions were read from the installed application metadata; the running IAB backend log confirms release=26.1027.61615.
What subscription do you have?
Not included in this public report.
What platform is your computer?
macOS 27.2, arm64; local Codex execution in the desktop app.
What issue are you seeing?
A newly spawned subagent can use the built-in browser. After that subagent finishes normally, sending another task to the same subagent makes IAB unavailable. A fresh replacement subagent succeeds.
The reused subagent returns:
Browser is not available: iab
Its browser inventory can also return browsers: []. The failing calls return in under one second, so this minimal reproduction is not simply a slow model response or a long page-load timeout.
This reproduces using only about:blank, with no external website, login, project, or business data involved.
What steps can reproduce the bug?
- In a local desktop Codex chat, spawn one Computer Use subagent with:
model="gpt-6.1-terra"reasoning_effort="xhigh"fork_turns="none"
- In that fresh subagent, use
mcp__cua_repl.jsto run:let firstProbe = await cua.createBrowserTab( "iab", "about:blank", { visible: false } );
- In a subsequent tool call, read the page and close only that test tab:
await firstProbe.getAXState(); await firstProbe.close();
- Let the subagent finish and return its final answer normally. Do not interrupt it.
- Send a new task to the same subagent using
collaboration.followup_task. - Have it create another blank tab, using a different variable name:
let secondProbe = await cua.createBrowserTab( "iab", "about:blank", { visible: false } );
- The second task fails with
Browser is not available: iab. - As a control, spawn a new subagent with the same model/settings: the blank-tab creation/read/close sequence succeeds.
Observed on 2026-11-03, Asia/Shanghai (UTC+8).
What is the expected behavior?
When an existing subagent is activated for another task, its authorized IAB connection should be re-established. Normal completion of its previous task should not permanently prevent browser access in later tasks.
Additional information
Controlled results
| App version | Test | Result |
|---|---|---|
| 26.1027.51404 | Fresh Terra subagent | Blank-tab creation/read/close succeeded |
| 26.1027.51404 | Same completed subagent reactivated | Failed in approximately 0.28 s |
| 26.1027.51404 | Reused subagent after resetting its own CUA REPL | Still failed, approximately 0.48 s |
| 26.1027.51404 | Main agent control in the same chat | Blank-tab creation/read/close succeeded |
| 26.1027.61615 | Fresh Terra subagent after app update/restart | Blank-tab creation succeeded in approximately 0.96 s; read/close succeeded |
| 26.1027.61615 | Same completed subagent reactivated | Failed in approximately 0.08 s |
Lifecycle evidence and suspected cause
The parent chat records this event sequence for the same child:
subAgentActivity: started
subAgentActivity: completed
subAgentActivity: interacted // followup_task activates the existing child
subAgentActivity: completed
Selected desktop log fragments, with the child identifier replaced consistently:
2026-11-03T03:01:24.613Z [browser-session-registry]
IAB_LIFECYCLE captured session route
conversationId=<CHILD> disposeAfterSessionActivity=true
2026-11-03T03:01:36.641Z [browser-session-registry]
IAB_LIFECYCLE disposed browser use route conversationId=<CHILD>
2026-11-03T03:01:36.641Z [browser-session-registry]
IAB_LIFECYCLE ended browser use session activity
conversationId=<CHILD> disposeAfterSessionActivity=true
There was no route-capture entry for that child when it was subsequently activated via followup_task.
Read-only inspection of the installed desktop bundle found the following relevant logic in app.asar/.vite/build/early-bootstrap-439-a0f25ba32c465de1.js:
- The subagent lifecycle notification handler (generated line 756) calls
captureChildSessionRoute()forsubAgentActivity.kind === "started". - It calls
endSessionActivity()for"completed"or"interrupted". - That branch has no route-capture handling for
"interacted". captureChildSessionRoute()marks child routes withdisposeAfterSessionActivity: true.endSessionActivity()disposes those routes.
The relevant handler is identical in both tested app versions. These observations point to a missing browser-route reactivation path for a completed child receiving a follow-up. This is a local diagnosis for maintainer confirmation; no client patch was applied to validate a fix.
Related:
- In-app browser is not recoverable for an interrupted subagent after stale completion cleanup #43210 reports interruption/stale-completion cleanup. This reproduction requires only normal completion, with no interruption.
- Windows 26.1007.21434: browser-control subagent sees no browsers while IAB pages render and Chrome setup shows Manage #53306 reports browser availability disappearing on subagent continuations on Windows. This adds a controlled macOS
about:blankreproduction and updated-build verification.
Only redacted technical excerpts are included. No raw logs, full transcripts, local user paths, actual conversation/session IDs, account details, credentials, or private website content are attached.
Activity
github-actions commentedon Nov 3, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action