stop-hook-fires-on-agent-waiting-state-not-only-stop

The Stop hook fires whenever the agent returns a response and yields control back to the user — including mid-brainstorm clarifying question pauses — not only when the agent explicitly initiates a session stop. This caused 30+ false-positive hook evaluations in a single session where the agent was simply waiting for user input between questions. The hook prompt must distinguish between ‘agent yielded mid-task’ and ‘agent requested session termination’ to avoid this loop.