Give your agent skills a formal decision model.
Recent revisions are kept. Restoring one creates a new revision.