
What happened
Without /goal, the developer's Stop hook kept sending Claude back to work because completion records were missing, cycling every 7.5 seconds for about three hours — 1,314 rejections, 2,736 context re-reads and 16.5億 tokens, about $335 at API list prices.
Why it matters
The built-in safety cutoff (which ends the loop after 8 consecutive rejections) never fired because tool calls broke the count, so a self-built hook can silently burn a week's quota.
Summaries like this, every morning.
By signing up you agree to the Terms of Service and Privacy Policy.
The appeal of a custom Stop hook was control: instead of letting /goal's conversational check decide, the developer wanted completion judged by concrete state — a pass record, a merge to main, and CI results. Any missing piece would send Claude back to work, which sounds stricter and more reliable than the built-in option. The failure came from a gap the hook didn't cover: while background jobs like tests were still running, Claude had nothing to do but wait, so it tried to stop, got rejected, and repeated the cycle. /goal avoids this by skipping its judgment entirely while background work is in flight, but the custom hook had no such waiting mechanism. The first attempt — waiting up to 10 minutes before rejecting — only slowed the loop. The official 8-rejection cutoff exists but counts only rejections with no tool calls in between, so a hook that reads notifications or runs commands each time effectively disables it. The final trade-off was to give up "never stop" and allow a single rejection, while a separate push hook catches code that fails the checks.
Pick your industry and the AI tools you use, and get news related to your work every day.
By signing up you agree to the Terms of Service and Privacy Policy.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
altspark Inc., a Pittsburgh-based startup, launched a hosted platform that connects apps, databases and docume…
ASUS announced the XA P8N-E2X at NVIDIA GTC Washington, D.C

Ruining He and co-authors at Google Research proposed RealFormer, which adds residual connections to attention…

Ben's Bites compares today's AI adoption to learning to Google in 1998 — it took about ten years for search ha…

In McKinsey's August 2026 survey, 40% of respondents at organizations with more than $1 billion in annual reve…

Cisco's Outshift released open-source tools ACCORD, CONCORD, SCOPE, and MAS-Lab
