My coding agent burned tokens in a loop. So I built it a brake.
My coding agent burned tokens in a loop. So I built it a brake. Here's a failure mode every heavy user of coding agents has seen: the agent gets stuck. It re-reads the same file. It retries the same failing test with cosmetically different commands.