A worker agent rang its "finished" bell, and about 5 ms later it started a new turn because a subagent's result had just come back. My watcher had already looked at the screen, found no done-line, and went back to waiting. It would have waited forever. The Stop hook fires when an agent finishes a turn, not when the task is finished. Those sound like the same thing until a worker hands the job to a subagent and ends its own turn. The bell rings and the task is still running. So I stopped treating the bell as proof of anything. It is a doorbell. It tells me to go look, nothing more. What I check instead is a marker. Every task I give a worker has to end with a line that stands alone, and I only count the task as done if that exact line shows up in the answer: grep -qE "^[[:space:]]*TASK-DONE[[:space:]]*$" answer.txt Matching the whole line matters, because a word that merely shows up somewhere in the text would fool a simple count. I haven't counted how many early bells it has caught since, and I'm still not sure it covers every case. how do u tell "turn finished" from "task finished" when an agent hands work to subagents: a marker line like mine, or something sturdier?