stop-hook-blocks-pure-planning-sessions-pathological-loop

The session-close stop hook incorrectly blocks termination on pure planning/brainstorming sessions when the agent is awaiting user input mid-workflow. The hook treats ‘structurally incomplete brainstorming step’ as a blocking condition even when zero file modifications occurred. This creates an infinite loop: agent waits → hook fires → hook blocks → agent waits. The hook condition should APPROVE all pure planning sessions with no file changes, regardless of brainstorming workflow state — workflow incompleteness is not the hook’s concern.