Build coding agents with human approval controls.
Recent revisions are kept. Restoring one creates a new revision.