Testable user stories and realistic sprint plans.
Recent revisions are kept. Restoring one creates a new revision.