Copy first, change second

Before you let an AI change a file, a list or a design, make sure you can get the old one back. A copy takes seconds, and it turns a disaster into a redo.
An AI tells you a job is done in the same confident tone whether it went well or not. That is how the tool is, and checking the result is how you deal with it.
But checking only tells you that something went wrong. It does not bring the old version back.
So before the AI changes anything, I make an undo button.
The rule
Before any change, make sure you can reverse it.
- Copy the file before the AI rewrites it.
- Export the list before anything is deleted from it.
- Take a screenshot before a page is redesigned.
- Back up the data before it is moved or converted.
If you work with code, saving a checkpoint before a big change does the same job. You can ask the AI to help you make it.
Why it is worth the few seconds
With an undo, the worst case is “do it again”. Without one, the worst case is “it is gone”.
A copy costs seconds. A mistake you cannot reverse costs hours, or more.
It can feel fussy. I think of it as the ordinary care you would take before letting anyone, a person or a machine, work on the only copy of something.
When it matters most
For a draft or a list of ideas, you can skip it. If it comes out wrong, you ask again.
It matters when a job changes many things at once, such as converting a whole sheet of data, or when the change cannot be taken back, such as deleting. For those, copy first, every time. And keep the original of any document that matters.
How closely to check afterwards is a separate question, covered in six ways to check AI’s work without code.
Say it in the request
You can ask the AI to make the undo button for you. Put it in the message:
Before you change anything, save a copy of the price list as “Price list, before”. Then update the prices. Tell me where the copy is.
Then open the copy and see that it is really there. “I saved a copy” is a claim, like “done”, until you have looked.
This fits with the four things I say every time: the copy is part of “what not to touch”.
One change, one check
An undo button works best with small steps.
If you ask for five changes at once and something breaks, you cannot tell which change did it. You undo all five and start over.
If you ask for one change, check it, and then ask for the next, a problem points at the step that caused it. You undo one step, not the afternoon.
The short version
Copy first. Change second. Check third. One thing at a time.
Some rules are too important to leave to a reminder. For those, see A note is a reminder, not a lock.
This post is adapted from my English notes in Terrium, Verification and Verification (concepts course). The source is licensed CC BY-SA 4.0.



