I spent a lot of time creating a way for agents to track their work, and keep going. A few days ago, I found Steve Yegge's ‘beads’ project.
(see here: https://github.com/steveyegge/beads).
It is good and solves the problem. It's fun watching all these new tools show up. Programming is new again.