Agent memory and state patterns for loops | Dark Hacker News