← All stories
discussionr/AI_Agents · Nov 08, 2026

The spending cap held — but restarting the run reset the counter

An agent could not raise its own spending cap, but restarting a stopped run reset the counters to zero, so total spend across both runs exceeded the cap. The lesson for guardrails: the counter must live outside the run — a ledger or wrapper that checks cumulative spend before any run starts — or the cap only limits each attempt, not the total.

Read the full source →