A multi-agent loop got stuck retrying a tool call. I had per-call cost logging but no shared cap. Now I run a shared atomic budget so the next loop dies at $5 instead of $40.