stop-hook-fires-on-agent-idle-waiting-state-false-positive

The Stop hook triggers repeatedly (~30+ times in one session) when the agent is in a mid-conversation waiting state (asked a clarifying question, awaiting user input) rather than on actual agent-stop events. The hook_event_name is ‘Stop’ but no stop() call or agent-initiated termination has occurred — it is a false-positive triggered by the idle/paused state during brainstorming flows. Root cause: the hook does not distinguish between ‘agent yielded control to user’ and ‘agent completed and stopped’.