Repository navigation
Description
What happened
A Codex thread that babysits a PR until it merges leaves the sidebar's Working section as soon as the PR's checks pass. It then sits in the inbox, looking finished, while it actually waits days for a teammate's review. A Claude thread in the same spot can call t3_background_wait to hold itself in Working. A Codex thread can't, because nothing in T3 lets a Codex thread mark work as awaited.
Diagnosis
Two changes combine to cause this.
- Since fix(server): a watched PR stops holding its thread once its checks finish #33214 (first released in v0.1.10), a PR watch counts as awaited work only while checks are pending.
packages/shared/src/orchestrationV2PendingBackgroundWork.ts:330reads...(link.watch.checksPending === false ? {} : { awaited: true as const }). Before that, any unmerged watched PR held the thread. [Bug]: Since #33214, a watched PR waiting on a teammate's review leaves Working, though the next move isn't the user's #36230 tracks the review-wait gap this opens, reported from Claude threads. - Awaiting background work is Claude-only. In v0.1.10,
awaitBackgroundTasksis implemented inapps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.tsand not inCodexAdapterV2.ts.ThreadManagementService.ts:1582returnsreason: "unsupported"when the runtime lacks it. Codex threads cannot keep Working while their own background commands run (t3_background_wait is Claude only) #30124 asked for this on Codex and was closed as completed on 2026-11-03, but the v0.1.10 Codex adapter still doesn't implement it.
So on Codex, the PR watch was the only way to hold a thread, and #33214 removed it once checks pass. The t3 CLI's thread commands (list, start, send, show) also have no way to hold a thread. A script-driven babysitter has no fallback either.
Main and v0.1.11-nightly.20261117.4838 are unchanged on both points.
Steps to reproduce
- Start a Codex thread and have it open a PR in a repo that needs a teammate's approval, then call
watch_pull_requestwhile checks are running. - While checks run, the thread stays in Working.
- When checks pass, the thread moves to the inbox. The PR is still open and still watched, and the agent is still waiting on review.
- Have the Codex agent call
t3_background_waiton any background task to hold the thread. The call is refused as unsupported.
Expected: some way for a Codex thread (or a script acting for it) to stay in Working while it waits.
Version
0.1.10 (desktop app "T3 Code (Beta)" and local server both report 0.1.10). The behavior first appeared in v0.1.10. v0.1.8 and v0.1.9 held the thread until merge. The triage CLI was also 0.1.10.
Environment
macOS 26 (Darwin 25.6.0), arm64. Desktop app against a local server on 127.0.0.1. Provider: Codex.
Evidence
- v0.1.10 `orchestrationV2PendingBackgroundWork.ts:330`: `checksPending === false ? {} : { awaited: true }`. At v0.1.8, every unmerged watched PR got `awaited: true`.
- `git grep -l awaitBackgroundTasks v0.1.10 -- 'apps/server/src/orchestration-v2/Adapters/*AdapterV2.ts'` lists only `ClaudeAdapterV2.ts`.Related issues
- [Bug]: Since #33214, a watched PR waiting on a teammate's review leaves Working, though the next move isn't the user's #36230 (open): a watched PR waiting on a teammate's review leaves Working since fix(server): a watched PR stops holding its thread once its checks finish #33214. Same symptom, reported from Claude threads.
- fix(server): a watched PR stops holding its thread once its checks finish #33214: the change that limited the PR-watch hold to pending checks.
- Codex threads cannot keep Working while their own background commands run (t3_background_wait is Claude only) #30124 (closed as completed): asked for a Codex equivalent of
t3_background_wait. v0.1.10 still doesn't implement it for Codex. - A thread waiting on its own background command shows as done unless the agent marks the wait; T3 could mark obvious waits itself #35214 (closed, not planned): T3 automatically marking obvious waits.
Fix applied or workaround
No configuration fix exists. The current workaround is a Claude child thread that runs a dummy background command and marks it awaited with t3_background_wait, so T3 holds the parent. It costs a model call to start and another every 2 hours to renew.
Either of these would fix it:
- Implement
awaitBackgroundTasksfor Codex, sot3_background_waitworks on Codex threads. - Add a provider-independent hold that a script can drive from the
t3CLI: acquire, heartbeat and release, counted as awaited work, released when the process exits or misses heartbeats, and not blocking user messages.
An option on watch_pull_request such as until: "approved" | "merged" (proposed in #36230) would also cover the PR case, as long as it works on every provider.
Filed by
Filed via t3 triage by Claude Code (Claude Opus 5.5).
Activity
juliusmarminge commentedon Nov 17, 2026
This is the same problem as #36230, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.