The short version
From a broken app back to a working one
- Pause Note what you asked for and what stopped working.
- Restore Go back to the last version that worked.
- Recheck Try signing in, booking and paying.
- Redo in a copy Make the change again, one step at a time.
- The checks pass in the copyRelease the change to customers
- A check failsCustomers stay on the working version
Stop and save what you have
The natural next step is to type “fix it” and try again. Each new prompt can change more of the app, and after a few rounds it is hard to tell which change caused which problem. Pause first.
- Write down what you asked for, what stopped working and when it last worked.
- Copy any error message exactly as it appears, with a screenshot of the page.
- If customers use the app, check whether the broken part can take a payment, a booking or a sign-up incorrectly. If it can, switch that part off or put up a short notice while you fix it.
Go back to a working version
Most app builders keep a history of earlier versions, sometimes called checkpoints or version history. If your code is in a Git repository, as it usually is with Claude Code or Cursor, every saved commit is a version you can return to. Find the last version from before the change and restore it.
Then check the three things your customers do most, such as signing in, booking and paying. If those work, you are back on solid ground and can decide what to do about the change you wanted.
Restoring the code does not restore your data. If the change added, renamed or removed anything in the database, check your records separately before you let customers back in.
Why a small change broke it
The request was small. The edit often was not. These are common causes in apps built with AI tools.
- The AI rewrote more than you asked
- It tidied or replaced nearby code that other pages relied on.
- Nothing checked the old features
- The new feature was tried once. Nobody tried sign-in or payment again.
- The change touched data or settings
- A renamed field, a new permission rule or a changed key affects every page that uses it.
- Preview and live are the same copy
- There was nowhere to try the change before customers saw it.
Make the change again, safely
- Work in a copy. Keep one version for customers and a separate one for trying changes.
- Ask for a plan first. Have the AI list the files and data it will change before it edits anything. If the list is longer than the request, narrow the request.
- Make one change at a time. Save a version before each one, so going back takes a minute.
- Repeat the same checks every time. Write down the three customer tasks that matter and run them after every change, including the ones that look unrelated.
- Back up data before touching the database. Confirm you can read the backup before you rely on it.
Our guide on what to check before your first customers shows how to test one customer task from start to finish, including when it fails.
When to bring in an engineer
You can fix a lot of this yourself. It is worth getting help when:
- you cannot find a version that works;
- records are missing or have changed;
- the problem involves payments, sign-in or customer data;
- the same fault keeps coming back after it was fixed.
We can help you get back to a working version, find what the change touched and set up repeatable checks for the tasks your customers rely on. You keep building in the tool you already use. We agree the work and the price before anything paid starts, and we will tell you what we found and what we could not check.