# fix\(orchestrator\): Wake settled parents when delegated children finish · stienswout/t3code

[View on GitCafe](https://git.cafe/stienswout/t3code/commit/c3391c391f168dc664fbe039f8a265c802abd0aa)

Repository: [stienswout/t3code](https://git.cafe/stienswout/t3code)

Visibility: public

Requested revision: c3391c391f168dc664fbe039f8a265c802abd0aa

Requested commit: c3391c391f168dc664fbe039f8a265c802abd0aa

Commit: c3391c391f168dc664fbe039f8a265c802abd0aa

Tree: 6f5abaaf4709b33dcc645f445809d28beffecb03

Author: Mike Olson

Committer: Julius Marminge

## Message

```
fix(orchestrator): Wake settled parents when delegated children finish

An app-owned delegated child wrote its result into the parent projection but
never started a parent run, so an async delegation's result sat unread until the
user's next message. Offer a provider continuation request when a delegated
child terminalizes, with a per-task completionWake policy separating async
delegations from blocking waits.

The wake must also reach the model. ProviderContinuationRequests is a
provider-native mechanism whose dispatch only triggers ingestion of output the
adapter already buffered, and both ClaudeAdapterV2 and AcpAdapterV2 discard the
message text when it is marked creationSource provider. An app-owned child
buffers nothing, so a wake marked that way settled instantly having prompted
nothing. App-owned wakes now dispatch as message_text via a shared
delegatedTaskWakeRequest helper used by both producers.

Co-authored-by: codex <codex@users.noreply.github.com>

```

## Parents

- [7217789e37a2566a1f03a62628e920f5f96d9273](https://git.cafe/stienswout/t3code/commit/7217789e37a2566a1f03a62628e920f5f96d9273?format=markdown)

[Source at this commit](https://git.cafe/stienswout/t3code/tree/c3391c391f168dc664fbe039f8a265c802abd0aa?format=markdown)
