Autonomous AI Agent Loops: Use the Git Log as Memory
An unattended loop that reads git log -5 each pass has a five-pass memory. In a 12-item plan, the decision made at pass 3 ages out at pass 9, two passes before pass 11 needs it. One line in PLAN.md pointing at the commit hash recovers it, for zero extra commits.