# fix\(server\): a Claude wake run settles when Claude never opens the wake turn · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 266dbde63ffd14ec642111802579c46d7fafc02f

Requested commit: 266dbde63ffd14ec642111802579c46d7fafc02f

Commit: 266dbde63ffd14ec642111802579c46d7fafc02f

Tree: 0a069f238e188181625bb0e72f4480882353ee58

Author: AdEx-Partners-DE

Committer: AdEx-Partners-DE

## Message

```
fix(server): a Claude wake run settles when Claude never opens the wake turn

A background subagent that finishes while its thread is idle starts a
continuation run that sends no prompt and waits for Claude to open a wake
turn. When Claude already read the subagent's result in the turn before, it
never does, and the run stays open until the server restarts.

After the wake buffer is drained without a frame of a wake turn, the run
now waits two minutes for any frame from Claude and settles as completed if
none comes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

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

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