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

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/d4a6989ef5569636eb9533e4deb51568874905c3)

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

Visibility: public

Requested revision: d4a6989ef5569636eb9533e4deb51568874905c3

Requested commit: d4a6989ef5569636eb9533e4deb51568874905c3

Commit: d4a6989ef5569636eb9533e4deb51568874905c3

Tree: 4b28e8755d9a76f217156f35b64da0e2bd184a5a

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

- [18352f385ca75258d20a13510ff786469756141d](https://git.cafe/pingdotgg/t3code/commit/18352f385ca75258d20a13510ff786469756141d?format=markdown)

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