stop-hook-false-positive-during-agent-waiting-state

The Stop hook fires repeatedly as false positives when the agent is paused mid-task waiting for user input (e.g., mid-brainstorm awaiting a clarifying answer). The hook_event_name ‘Stop’ triggers even without a corresponding stop() call or agent-initiated termination. The hook cannot distinguish between ‘agent is idle waiting for user’ and ‘agent is stopping’ — both surface as Stop events.