Delegated tasks: a conditional thread_configure, and acknowledging one task's completion from outside #24294
We run a long-lived orchestrator thread that delegates many tasks and is sometimes moved to another provider instance
with t3_thread_configure. Two gaps make that move unsafe today, and two related requests are already open.
1. A conditional configure#
t3_thread_configure changes a thread's selection even while one of its runs is active or queued. A delegated-task
completion notice that was queued just before the change can then start on the old selection (the same family as
#22577).
Could it take a condition, for example ifIdle: true, that refuses the change when any run of the thread is active or
queued? The check would run under the thread's dispatch lock together with the change, and a refusal would never
interrupt or cancel anything.
2. Acknowledging one task's completion from outside#
Cancelling a queued completion notice (t3_queue_cancel) disposes the whole cohort of tasks that notice carries. An
outside operate client that has already relayed one task's result has no way to mark only that task delivered.
Could an MCP tool, for example delegated_task_acknowledge {parentThreadId, taskId}, dispatch the existing
completion-delivery acknowledgement and remove that task from the queued notice? It should be an acknowledgement, not
a cancel that returns the task to pending, which would deliver it again.
Related, already open#
- Boundary-safe delivery into a busy Claude turn (#21895, #23680): a completion notice, or any steer, delivered at the next tool boundary instead of interrupting the running tool, with that contract declared in the session's capabilities. Today notices into a busy Claude orchestrator wait for the whole turn to end.
- Queued runs follow the thread's current selection (#22577): a queued run taking the selection current when it starts would also close the configure gap in 1.
Environment: T3 Code Nightly 0.1.2-nightly.20261022.3526 (c45c6b97), Windows 11, Claude and Codex providers.
Sign in to join this conversation.