stop-hook-false-positive-loop-on-agent-waiting-state

The Stop hook fires on every agent turn-end, including when the agent sends a minimal response and pauses waiting for user input. This creates an infinite false-positive loop: hook fires → agent acknowledges → hook fires again → repeat, with no actual stop event occurring. The hook condition ‘Before allowing the agent to stop’ does not distinguish between intentional session closure and a natural turn-end pause mid-conversation.