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.
Related
- stop-hook-false-positive-loop-on-waiting-state
- stop-hook-brainstorming-infinite-loop-pattern
- stop-hook-false-positive-during-waiting-state
- stop-hook-blocks-pure-planning-sessions-pathological-loop
- stop-hook-infinite-loop-when-brainstorming-awaits-user-input
- stop-hook-false-positive-on-waiting-state
- stop-hook-fires-on-every-agent-turn-not-just-session-end
- stop-hook-fires-on-every-turn-not-just-agent-stop
- stop-hook-fires-on-agent-waiting-state-not-only-stop
- stop-hook-fires-on-waiting-state-not-just-session-end
- stop-hook-fires-on-agent-waiting-state-not-just-stop
- stop-hook-fires-on-idle-agent-not-just-stop-calls