A desk reference for shipping AI agents that work unattended — distilled to the decisions that determine whether a loop earns its name.
The test: a loop is not "run the agent on a cron." It discovers work, acts, verifies with an independent checker, remembers why past attempts failed, and stops only when the goal is verifiably met. Miss any of those and you've built a more expensive retry.