Reliable agent loops begin with three design decisions: what counts as done, what persists in memory, and what the verifier can see.