Fix a website that broke after an AI change: record one failure, compare versions, choose repair or revert, and check wh

AI-Built Website Broke After a Change? Fix or Revert

October 14, 2026

It worked before. Find the change. Check the fix.

A small website change can break a link that worked yesterday. Follow a fictional club FAQ problem from failure record to investigation, choose a narrow repair or an earlier saved version, and check the behaviors you need to preserve. Includes original prompts, a hands-on teaching demo, and an editable repair-or-revert worksheet.

Try the fictional repair example ↓Get the worksheet ↓

Something worked before your last AI change. Now it does not. Pause new edits, write down one exact failure, and find the last working version. Investigate the change before choosing a small repair or returning to that earlier version. Check the repaired behavior and the things that must still work before releasing anything.

You do not need to understand every line of code to give a useful bug report. You need to show what you did, what should have happened, and what happened instead. That gives you a much better starting point than another broad redesign request.

This is a documentation-based Lovable guide with an original fictional club example. It is not a repair performed in a Lovable account. I co-founded MakerAI, the optional planning product linked below.

Video: Why 99% of Lovable Apps Fail (And How to Be in the 1%) Watch on YouTube

1. Pause changes and make a tiny failure record

First, identify where you saw the problem: the editor preview, an older version preview, or the published website visitors use. Write down the exact address and page. A broken preview and an old live page are different observations.

Leave the current work available for comparison. Do not combine a repair with new photos, different wording and a menu redesign. Those extra changes make it harder to tell what helped.

Our fictional community club had three FAQ links. After a navigation restyle, the “Where do we meet?” link stopped reaching the location answer. A volunteer might record the problem like this:

Site and page
Fictional community club; FAQ section.
Last working reference
Example A, before the navigation restyle. These are teaching labels, not Lovable version IDs.
Recent change
Example B: restyle the FAQ navigation.
Repeatable steps
Open the FAQ section. Choose “Where do we meet?”
Expected answer
Reach the location answer: “Maple Hall.”
Example reported failure
The location question shows the meeting-time answer, “Saturdays at 10am,” instead of “Maple Hall.”
Still needs checking
Cause of the mismatch; other FAQ links; phone and keyboard behavior; whether the live website has the same problem.

This filled record is fictional. On your own project, replace the labels with a real version reference, time, address and observed result. If the issue happens only sometimes, record the choices that came before it. Avoid pasting passwords or customer information into your report.

2. See one broken journey before trying to repair it

Use the practice example below to compare “Before the change,” “After the breaking change” and “After the narrow repair.” Each question should show its own answer. In the deliberately broken state, only “Where do we meet?” shows the meeting-time answer. The other two questions still work. The narrow repair changes only the location mapping back to “Maple Hall.”

Original local teaching demo: these controls change only the example on this page. They do not call AI, edit a Lovable project, change stored data or publish a website. The example contains no real club or member information.

Try a tiny example

One wrong link. One small repair.

This is an original local teaching demo of a fictional club website. It does not use Lovable, AI, a real account, or customer information. It sends nothing and saves nothing.

Choose After the breaking change, then Where do we meet? Notice the wrong answer. Choose After the narrow repair and try the same question again. Check the other two questions too.

Before the change: each question opens its own answer.

Answer shown

When do we meet?

Saturdays at 10am.

Before the change is selected. Choose a question to check its target.

Read all fictional answers
  • When do we meet? Saturdays at 10am.
  • Where do we meet? Maple Hall.
  • Do I need to book? No booking is needed for this example.

Changing the example mode starts again at the meeting-time answer. Choose “Where do we meet?” again to compare its result; the initial meeting-time answer alone does not reveal the failure. Notice which working answers remain unchanged.

When checking your own site, describe the failure just as plainly: “Choosing the location question does not reach the location answer.” Include any actual error text or screenshot that helps locate that exact step. A screenshot of the whole homepage may miss the problem.

3. Ask what changed before asking for another fix

Lovable’s building guide recommends investigating recent changes when a previously working feature breaks. It also suggests changing tactics if repeated automatic fixes do not resolve an error. Use that investigation to narrow the next step.

Here is an original prompt for our club example. Fill the references with your actual project information:

“Investigate only the FAQ navigation problem. It worked at [working version/time] before [specific change]. Steps: open [page], choose ‘Where do we meet?’ Expected: reach the location answer ‘Maple Hall.’ Actual: [exact observed result]. Compare the recent navigation changes with the working version. Explain which link, target or behavior changed and what evidence supports that explanation. Do not edit code, data or settings yet. If you cannot reproduce it, tell me what information is missing.”

Read the explanation against your failure record. “The links need improvement” does not identify the cause. A useful finding names the affected link and shows how its current destination differs from the working one.

If the explanation is uncertain, keep that uncertainty visible. Ask for the missing check rather than treating a confident sentence as proof. If the page stopped loading entirely, record that error first; the FAQ-only prompt is no longer the right scope.

4. Choose a small repair or an earlier version

A repair changes the current project to correct one problem. A revert returns project code to an earlier saved version. The best choice depends on what you know and what later work you want to keep.

What you have foundReasonable next stepCheck before proceeding
One wrong FAQ destination is identified; the rest is usefulAsk for a narrow repairName the exact mapping and the behaviors to preserve
A recent redesign caused several failures; a working version is availableConsider reverting the versionList later changes the revert would also undo
There is no confirmed working reference or clear causeGather more evidence or get helpDo not guess that an arbitrary old version is correct
Stored records, account access or outside services changedReview those changes separatelyA code revert does not undo database changes

For the club, a narrow repair could make sense once investigation identifies a single wrong question-to-answer mapping. If the restyle also broke the other links and phone layout, returning to a checked earlier version could be easier to evaluate. Neither choice is a promise of an instant fix.

What Lovable version history can restore

Lovable’s version-history documentation describes previews, changed-code views and bookmarks. Open History, inspect the candidate version and compare its changes before choosing Revert. A full version revert restores the project’s code and matching edge functions, server-side code, but does not undo database records or migrations.

Whole-version revert can undo later useful code too. Restoring one section through chat is a separate edit. Some very old versions and pre-remix versions of Cloud-backed projects cannot be restored, although preview may remain available.

If stored information changed, pause for a separate recovery plan. For example, restoring a page’s earlier code does not recreate a deleted member record. Confirm what data changed, what recovery options actually exist, and who is authorized to handle them. Do not experiment on real records to see what happens.

5. Give the repair a clear boundary

After the cause is understood, ask for one correction with a short preservation list. Here is an original repair prompt for the identified FAQ mapping problem:

“Repair only the confirmed FAQ question-to-answer mapping for ‘Where do we meet?’ It must reach the existing ‘Maple Hall’ answer. Preserve all three question labels and answers, the working meeting-time and booking links, and the current header and page styling. Keep the controls usable by keyboard and on a phone. Do not add accounts, forms, database changes or new features. Do not publish. Explain the exact edit, then check all three FAQ destinations and report the results.”

Adapt that boundary to the actual diagnosis. If the cause is a hidden answer rather than a wrong destination, describe the hidden-answer problem instead. Do not instruct the builder to change a mapping merely because our example did.

Include what you want to keep in ordinary words. “The meeting-time answer must still say Saturdays at 10am” is easier to check than “Preserve all functionality.” For our example, the location stays Maple Hall and the booking answer stays “No booking is needed for this example.”

Keep this request separate from releasing the site. A repair you can inspect is useful even when you decide to reject it. Save the change reference and the explanation so the next investigation has a clear starting point.

6. Repeat the failure and the things you protected

Open the page yourself and follow the same steps that exposed the issue. Then check the nearby working behavior. Record an observation for each row; “looks good” leaves the important part unanswered.

Proposed checkExpected resultRecord after trying it
Choose Where do we meet?Reach the Maple Hall answerActual destination or answer
Choose When do we meet?Reach Saturdays at 10amWhether the original answer still works
Choose Do I need to book?Reach the example’s no-booking answerAny missing or incorrect text
Use Tab and EnterReach and activate each FAQ link with visible focusKeys, focus and resulting answer
Use a phone-sized windowRead questions and answers without page overflowWidth/device and any clipping
Reload and repeatThe same destinations still workWhether the result survives a fresh view

These are proposed checks, not results from a Lovable account. If a row fails, keep the release on hold. If a row was not tried, mark it not tested. A successful location link does not establish that a separate membership form, payment or private account is working.

Lovable documents browser testing and frontend tests. Browser testing checks user actions; frontend tests can protect a repeatable rule. Frontend tests run when requested. Ask explicitly for the relevant checks and read their output; do not assume every edit received a comprehensive test.

7. Check preview and live separately

Lovable publishes a snapshot. Later project edits need republishing to update the live app; accepting a draft is not publishing it. A repaired preview therefore does not show that visitors already have the repair.

Record two separate addresses: the preview you checked and the actual live address. If only the preview was broken, your live site may still show its earlier working version. If the live site was broken too, it needs its own after-release check once an authorized update is made.

Do not treat the word “preview” as proof that connected databases, server-side functions or outside services are isolated. Confirm those connections before testing anything that sends, stores or changes real information. Our FAQ example has none of those effects.

Keep the decision simple: confirmed repair or checked revert, required behaviors verified, owner approval where needed, then a deliberate release. Afterward, repeat the important journey at the live URL and record the actual result. If you are not authorized to publish, hand over the evidence and keep that step pending.

Save the plan for the next change

Keep a working-version reference, the failure record, your allowed repair and the completed checks together. Bookmark a known working state before another meaningful change. You now have a specific place to return to and a record of what “working” means.

Keep a record of your next check

Save the editable worksheet

Record the expected result and your actual observations separately. This original worksheet is available without a purchase.

Download the worksheet
Read the complete worksheet here
REPAIR OR REVERT: MY WEBSITE CHANGE RECORD
Companion to “A Change Broke Your AI-Built Website: Fix or Revert?”
Original blank planning worksheet, October 13, 2026

Use exact addresses and references from your own project. Do not enter passwords,
private customer information or payment details. This is a planning aid, not a
completed account test, data backup, automatic repair or authorization to publish.

1. WHICH VIEW HAS THE PROBLEM?
Project / page: _________________________________________________________
Address inspected: _____________________________________________________
View: [ ] Current preview [ ] Older version preview [ ] Published/live site
Who reported it / when: _________________________________________________
First noticed: _________________________________________________________
Last known working version / bookmark / time: ____________________________
Evidence that it worked: ________________________________________________
Current changed version / time: _________________________________________
The exact requested change: _____________________________________________

2. ONE REPEATABLE FAILURE
Start here / initial choices: __________________________________________
Step 1: ________________________________________________________________
Step 2: ________________________________________________________________
Step 3: ________________________________________________________________
Expected behavior, written before checking: _____________________________
Actual observed behavior: ______________________________________________
Error text / redacted screenshot reference: _____________________________
Browser / device / width: _______________________________________________
Happens: [ ] Every attempt [ ] Sometimes [ ] Not reproduced yet
Earlier choices needed to reproduce it: _________________________________
Live version checked separately? [ ] Yes [ ] No
Actual live observation / time: _________________________________________

3. INVESTIGATE BEFORE EDITING
Version/change comparison reviewed: _____________________________________
What changed? __________________________________________________________
Evidence linking that change to the failure: ____________________________
What remains uncertain? _________________________________________________
What needs checking next? _______________________________________________

Original investigation prompt to adapt:
“Investigate [one failure]. It worked at [reference] before [specific change].
Steps: [steps]. Expected: [result]. Actual: [observation]. Compare recent changes
with the working version. Explain the cause and evidence before making edits.
Do not change code, data or settings yet. Say what is missing if you cannot
reproduce it.”

4. REPAIR / REVERT / ASK FOR HELP
[ ] Narrow repair: cause identified and permitted edit is specific
[ ] Full version revert: earlier working code version confirmed
[ ] Gather more evidence / ask for help: cause or safe recovery uncertain
Why this path? _________________________________________________________
Exact permitted edit OR target version: _________________________________
Useful later changes a full revert would undo: __________________________
Record separately any later changes you want to reapply: _________________

Lovable version-revert limit: code and matching edge functions are restored;
database data is not. Very old and pre-Cloud-remix versions may be unavailable
to restore even when they can be previewed.

Were stored data, account access, functions or outside connections changed?
[ ] No, confirmed [ ] Yes [ ] Unknown
What changed / who confirmed it: ________________________________________
Separate data-recovery plan and responsible person, if needed: ____________
Use a separate authorized recovery plan for changed real information. A preview
is not proof that connected services are isolated.

5. WHAT MUST KEEP WORKING?
Behavior / wording / destination 1: _____________________________________
Behavior / wording / destination 2: _____________________________________
Behavior / wording / destination 3: _____________________________________
Phone layout requirement: _______________________________________________
Keyboard/focus requirement: _____________________________________________
Other affected paths to check: __________________________________________

Original repair prompt to adapt after diagnosis:
“Repair only [confirmed cause]. Expected: [specific behavior]. Preserve [named
working behaviors and content]. Do not add features or change unrelated code,
data or settings. Do not publish. Explain the edit, check [named cases], and
report the actual results.”

6. EXPECTED FIRST; OBSERVED AFTERWARD
Repeat this row for every required check. A blank row is not a passed test.
Check / steps: _________________________________________________________
Expected: ______________________________________________________________
Observed result / version / time: _______________________________________
[ ] Passed [ ] Needs repair [ ] Not tested
Evidence reference: ____________________________________________________

Suggested checks to adapt, not completed results:
[ ] Original failed journey
[ ] Nearby working links / answers / destinations
[ ] Preserved text, styling and header
[ ] Keyboard Tab/Enter with visible focus
[ ] Phone-sized layout and readable controls
[ ] Reload and repeat the same journey
[ ] Any real connected service separately, with appropriate permission

7. RELEASE HOLD / HANDOFF
Repair or revert reference now under review: _____________________________
Required checks still failing or untested: ______________________________
Who can approve this change? ____________________________________________
Who is authorized to publish? ___________________________________________
Decision: [ ] Hold [ ] Ready for authorized review [ ] Rejected
Do not treat accepting a Lovable draft as publishing. Publishing deploys a
snapshot; later edits need republishing. Check preview and actual live URL
separately. Do not publish merely to find out whether a repair worked.
Actual publication performed? [ ] No [ ] Yes, by authorized person
Actual live address / version / time, if released: _______________________
Live journey expected: __________________________________________________
Live journey observed / evidence: _______________________________________
Next working-version bookmark/reference: ________________________________
Next action / person responsible: _______________________________________

OFFICIAL DOCUMENTATION REVIEWED OCTOBER 13, 2026
Lovable building guide:
https://docs.lovable.dev/tips-tricks/from-idea-to-app
Lovable history / restore limits:
https://docs.lovable.dev/features/projects/history
Lovable testing:
https://docs.lovable.dev/features/testing
Lovable publishing:
https://docs.lovable.dev/features/publish
These describe current documentation, not the results of your project tests.

If you are still choosing how to build your first project, the vibe coding versus no-code guide covers that earlier decision. For who will handle ongoing checks and changes, use the separate AI website budget guide. This repair checklist starts after a change has caused a specific problem.

The useful finish line is specific: the failed step works again, the protected steps still work, and you know which version was checked. Write that down before asking for the next feature.

Sources and what was checked

Current primary documentation was checked October 13, 2026. Original examples and illustrations are teaching aids. No live HighLevel or Lovable account repair, email delivery, version restoration or publication result is claimed.

  1. How to build a real product with LovableChecked 2026-10-13 · Primary documentation or disclosed product information.
  2. Revert and restore your project with version historyChecked 2026-10-13 · Primary documentation or disclosed product information.
  3. Test and verify your appChecked 2026-10-13 · Primary documentation or disclosed product information.
  4. Publish your Lovable projectChecked 2026-10-13 · Primary documentation or disclosed product information.
  5. MakerAI public offeringChecked 2026-10-13 · Primary documentation or disclosed product information.

Frequently asked questions

How do I undo a change on an AI-built website?

Use the version history or undo feature in your builder to go back to the last working version.

Should I fix the bug or revert?

If you know the exact cause, fix it. If not, revert first so the site works, then try the change again carefully.

How do I stop AI edits from breaking things?

Make one small change at a time, test after each edit, and save a working version before big changes.

Back to Blog

See an AI agent team work live

AIM Agent is an AI Chief of Staff for business owners. You give it a real task, and it brings the work back for you to review. I am a co-founder of AIM Agent and have a financial interest in the product.

Get one AI build idea each week

New guides and one simple idea you can try. Short, clear and free.

One email a week. Unsubscribe any time.