# fix\(server\): Codex background-command wakes stay held with the queue · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 865e04d81f51189aa20ccffe181c2fb26151956e

Requested commit: 865e04d81f51189aa20ccffe181c2fb26151956e

Commit: 865e04d81f51189aa20ccffe181c2fb26151956e

Tree: b2030960453078f89eb8035d395d92ffc04a62e4

Author: Tanner Sharon

Committer: Tanner Sharon

## Message

```
fix(server): Codex background-command wakes stay held with the queue

A provider wake skips a restart hold because it adopts a turn the
provider already started. Codex's background-command continuation is
different: it starts a new turn from its text. It was offered with the
default adapter_buffered delivery, so it was marked provider-created and
skipped the hold. Offer it as message_text, which matches what it does.

Also make the Stop test run the queue decision before its final check.

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

```

## Parents

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

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