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

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

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

Visibility: public

Requested revision: d747d2f8a5af587757baac947df16b1f02daf1bd

Requested commit: d747d2f8a5af587757baac947df16b1f02daf1bd

Commit: d747d2f8a5af587757baac947df16b1f02daf1bd

Tree: 043231e1d2676964b51f016d8ffe1622344e3526

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

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

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