Turn recurring agent work into reliable bounded loops.
Recent revisions are kept. Restoring one creates a new revision.