- Clear pendingTurnStart on every settled session status (including
ready), in both the in-memory projector and the SQL projection. A
mid-turn steer re-arms the flag with the session already running, so
only terminal-status clearing left it stuck after natural completion,
permanently rejecting queue drains. Ready-with-genuinely-pending
starts never project as ready — ingestion maps that shape to starting.
- Reject steer while a turn start awaits adoption whenever the session
tracks no active turn, including running with a null activeTurnId.
- Hydrate pendingTurnStart in getThreadDetailById so thread-detail
snapshots agree with the command read model after a refresh.
- Decider test covers the steer-then-complete-then-drain lifecycle.
Co-Authored-By: Claude Fable 5 <[email protected]>