# fix\(grok\): Prevent spurious wake run after in-turn monitors · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 00c86f45dc74a11a2ff86d5f45ab212eac7b35ba

Requested commit: 00c86f45dc74a11a2ff86d5f45ab212eac7b35ba

Commit: 00c86f45dc74a11a2ff86d5f45ab212eac7b35ba

Tree: e8990cfcf90f6ec7b126485824dd3a42183f2187

Author: Mike Olson

Committer: Julius Marminge

## Message

```
fix(grok): Prevent spurious wake run after in-turn monitors

- Defer continuation offers for background completions that land while a
  root turn is active and un-finalized; finalize offers exactly one wake
  only when unhandled completed work remains
- Stop late monitor-event mutations from erasing in-turn handled marks, so
  injected-turn ack chatter is never retained as wake evidence
- Clear stale wake buffer frames at non-continuation user-turn start
- Make the late-mutation suppress logic's running/terminal branches
  mutually exclusive

```

## Parents

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

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