Template
AI loop template
Use this template before asking an AI agent to run repeated work. It forces the loop to name its evidence and stop condition up front.

Copyable template
Loop name:
Trigger:
Objective:
Source of truth:
Allowed actions:
Disallowed actions:
Verifier:
Stop condition:
Budget / limits:
Approval boundary:
Output format:
Failure mode / escalation:
Example filled in
Loop name: Pre-Publish Source Check
Trigger: Factual draft is ready for review.
Objective: Make every checkable claim source-backed or flagged.
Source of truth: linked source notes and primary URLs.
Allowed actions: edit draft, add citations, flag unsupported claims.
Disallowed actions: publish publicly.
Verifier: every claim maps to a source or explicit uncertainty note.
Stop condition: all claims pass, or missing evidence requires human judgment.
Approval boundary: final publish.