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

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

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

Visibility: public

Requested revision: e6e2ad2feca8cfd9e3fca3477b5e8d0b6f40dce0

Requested commit: e6e2ad2feca8cfd9e3fca3477b5e8d0b6f40dce0

Commit: e6e2ad2feca8cfd9e3fca3477b5e8d0b6f40dce0

Tree: dedea3e2468ce0bad8702f8c09f665e70adeb453

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

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

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