Choose the right agent stack before you code.
Recent revisions are kept. Restoring one creates a new revision.