01 // The problem
Agent runs fail. The question is whether you lose the work.
Every team running coding agents hits the same wall: the tests fail, the agent retries, burns through your API budget, and leaves you with nothing useful. Forgeloop exists so that when an agent run goes sideways, you get a clean stop, a preserved trail, and a clear next step — not a $200 invoice and an empty diff.
01
Catches the loop
When an agent retries the same failure, Forgeloop stops the run, writes the reason to your repo, and preserves every artifact so nothing is lost.
02
One source of truth
Runtime state, pending questions, escalations, and blockers all live in plain files in your repo. The CLI, HUD, and daemon all read the same files.
03
You can review everything
Every pause, every escalation, every decision point is a file you can read, diff, and discuss in a PR. No hidden state, no magic.