Summary#
When the current provider (e.g. Claude) runs out of its usage limit mid-thread while delegated subagents are still running on that same provider, it becomes impossible to switch the thread to another provider. The thread stays wedged on the exhausted provider until the orphaned subagents finish or fail.
Steps to reproduce#
- Start a thread on a provider with a usage limit (e.g. Claude Pro/Max).
- Spawn background/delegated subagents on that provider (e.g.
delegate_task reviews or parallel work).
- Exhaust the provider's usage limit mid-run (subagents still active on it).
- Try to switch the thread to a different provider to continue working.
Expected behavior#
The thread can be moved to another working provider immediately; the orphaned subagents on the exhausted provider are cancelled (or detached) so they don't block the switch.
Actual behavior#
Provider switch is blocked while subagents are still bound to the exhausted provider. The user can neither continue on that provider (out of limit) nor move the thread elsewhere, so the thread is stuck until the subagents end on their own.
Environment#
- Platform: macOS (desktop)
- Provider: Claude (subscription usage limit)
App: T3 Code (Nightly) desktop, macOS
Version: 0.1.10-nightly.20261111.4544
This is the same problem as #32296, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.