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

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

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

Visibility: public

Requested revision: 965dabf5d7380bfd70c57b31a4cf3141518b0a20

Requested commit: 965dabf5d7380bfd70c57b31a4cf3141518b0a20

Commit: 965dabf5d7380bfd70c57b31a4cf3141518b0a20

Tree: b0691c7e538c22450c04ac75212d54335036a124

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

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

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