Skip to content

Commit 551f891

Browse files
docs: clarify scheduled task thread binding defaults
1 parent 7cb1b55 commit 551f891

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

‎docs/orchestration-v2/orchestrator-mcp-server.md‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -458,12 +458,13 @@ returned unchanged, and a thread with no active provider turn returns
458458
runs its prompt on an interval, at a fixed time in the server's local time
459459
zone, or on each qualifying webhook request, even when no turn is active.
460460
Without a signature, anyone with the webhook URL can trigger a run.
461-
Signature checks, filters, and dedupe can skip a webhook request. For a task
462-
in the caller's project, runs post into the calling thread by default, so an
463-
orchestrator sees every trigger. With `bindToCurrentThread: false`, or for a
464-
task in another project, each run launches a fresh thread in the task's
465-
project. Pausing uses `update_scheduled_task` with `enabled: false`; deletion
466-
is permanent.
461+
Signature checks, filters, and dedupe can skip a webhook request.
462+
`bindToCurrentThread` defaults to `true` only when the caller has a thread in
463+
the task's project; otherwise it defaults to `false`. Bound runs post into
464+
that thread; unbound runs each launch a fresh thread in the task's project.
465+
Explicit `bindToCurrentThread: true` without a caller thread in that project
466+
is rejected. Pausing uses `update_scheduled_task` with `enabled: false`;
467+
deletion is permanent.
467468

468469
## Delegated Task Lifecycle
469470

0 commit comments

Comments
 (0)