Governed Agents

Rule 6 of 15 · 2026-10-22

Rule 6: Loops end

What this prevents

The failure is a run that never ends. Every policy in the playbook carries a loop policy with a maximum number of iterations, a maximum number of minutes and a stall check after identical turns, all set to halt. Without it, an agent repeating the same step keeps going, and nothing inside the run can decide to stop. The QA Tester's rule for the same failure three runs in a row is to escalate, not to keep trying.

The rule

Every run has a maximum number of iterations, a maximum number of minutes and stall detection, and hitting a limit halts it with no override from inside.

The policy

{
  "loop_policy": {
    "max_iterations": 25,
    "max_minutes": 30,
    "stall_after_identical_turns": 3,
    "on_limit": "halt"
  }
}

This is one rule from The Governed One-Person Company, the full 15-rule contract and 12 agent packages. 30% off with code LAUNCH: paulrodturner.gumroad.com/l/governed-one-person-company/LAUNCH

← All rules

Get the Sender agent package, free

The full package for the agent that sends my email: the blueprint, the policy.json and the approval gates, as a PDF. It is the only agent rated high risk in my roster, so it drafts nothing and edits nothing.

Confirm your email and the PDF link arrives in the next message.