Loop Engineering

Writing an agent loop is one line. Engineering what it carries between wakeups — idempotency, pacing, convergence, a cost ceiling — is the job.