Before submitting#
Area#
Not sure
Steps to reproduce#
- In a thread on Codex (GPT 6.2 Astra, High), start a task that launches a subagent. In my case the subagent ran on DeepSeek V4.1 Flash 1017.
- Let the parent thread hit a provider usage limit while the subagent is still running. The parent shows "Waiting" on the subagent.
- In the "Usage limit reached" banner, arm auto-resume. The banner now shows "Resumes 2:15 AM · Cancel auto-resume".
- Wait for the subagent to finish before the reset.
Expected behavior#
Auto-resume stays armed. The banner keeps showing "Resumes ", and the parent continues on its own at the reset, with the subagent's result available to it.
Ideally, a parent that is waiting on a usage limit should not be woken by a subagent finishing. The result should be held and delivered when the parent resumes.
Actual behavior#
When the subagent finishes (2:02 AM in the recording), the parent wakes up ("Working for 1h 19m 35s · Thinking", stop button shown) and immediately hits the usage limit again. The banner then shows "Usage limit reached · Resets 2:15 AM · Resume at reset". Auto-resume has been dropped with no notice, and nothing will run at the reset unless the user notices and arms it again.
My guess is that the new limited run creates a fresh limit state that replaces the armed one. I haven't checked this in the code.
Recording, trimmed to 30s: 0:00–0:06 shows auto-resume armed while the subagent runs; 0:06–end shows the subagent finishing and the banner switching to "Resume at reset".
Impact#
Major degradation or frequent failure
Version or commit#
T3 Code (Beta) 0.1.11, desktop
Environment#
macOS, desktop app. Parent thread: Codex, GPT 6.2 Astra (High). Subagent: DeepSeek V4.1 Flash 1017.
Logs or stack traces#
No response
Screenshots, recordings, or supporting files#
https://github.com/user-attachments/assets/8fcd3da7-027b-49bc-82cd-a91ecc383a00
Workaround#
After the subagent finishes, press "Resume at reset" again.
Related but different trigger: #18928 (inactivity auto-settle cancels a pending auto-resume).
I am looking into this — a subagent finishing while the parent is usage-limited should not wake the parent or drop its armed auto-resume. I will investigate the wake/limit-state path and open a PR with a fix and a regression test.