stop-hook-fires-on-every-assistant-turn-not-just-stop

The session-close stop hook was triggering repeatedly on every assistant message during an active waiting state, not only when the agent actually initiated a stop() call. This produced 30+ false-positive evaluations flooding the conversation with hook feedback. The hook condition ‘Before allowing the agent to stop’ is being evaluated on idle assistant turns rather than gated on an actual stop event.