It's curious when agents remember traumatic events and replay them instead of avoiding them.
I was stuck on a task for a couple of days. Deleted the memory about some debugging sessions, thing just unlocked itself again. The harness was basically replaying the trauma over and over again.
I honestly think it's better to not have stateful stuff when working with agents.