Skip to content

Delegated tasks: a conditional thread_configure, and acknowledging one task's completion from outside #24294

Closed

Description

@aryaxo

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

Environment: T3 Code Nightly 0.1.2-nightly.20261022.3526 (c45c6b97), Windows 11, Claude and Codex providers.

Activity

  1. locked and limited conversation to collaborators on Oct 24, 2026
  2. converted this issue into a discussion #24384 on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions