All guides

Why your AI fixes one thing and breaks two

JNBy Julia Nyström, Community Lead25 Oct 2026 5 min read
Share LinkedIn X
Illustration for: Why your AI fixes one thing and breaks two

You ask for one small change. The AI says “I found the issue”, rewrites a handful of files, and now the login page works but your dashboard is blank. You ask it to fix the dashboard. It fixes the dashboard and breaks the login again.

Everyone building with AI hits this. It is not you being bad at prompting, and it is not the model being stupid. It is a structural problem, and once you see it, it is mostly avoidable.

You ask for a fix“the login is broken”It rewritesmore than it needed toSomething else breaksthat was working fineand round againThe way out: say what must NOT change
One fix, two new bugs, and round again.

What is actually going wrong

Your AI has no memory of your project. Every time you start a chat, it knows only what is in front of it right now. It has never seen the decision you made last Tuesday, it does not know which parts of your app are fragile, and it cannot tell the difference between code that is wrong and code that merely looks odd to it.

So when you say “the login is broken”, it does the reasonable thing: it reads what it can, forms a theory, and rewrites whatever that theory touches. The parts it breaks are the parts it never knew mattered.

The five habits that stop it

1. Say what must not change. This is the single highest-value sentence in any prompt. The AI is not avoiding your working code out of politeness; it simply does not know which code is working.

Fix the login button. Do not change the database structure or the payment page — those are working. Only touch the login logic.

2. One bug at a time. When two things break, the instinct is to say “everything is broken, fix it all”. That gives the AI permission to rewrite anything it likes. Pick one, name it, finish it.

3. Show, do not describe. “The layout looks weird” makes the AI guess. A screenshot with a box around the problem removes the guessing entirely.

4. Keep a record of what is already fixed. The reason the same bug comes back three times is that nothing in your workflow remembers the first two.

5. Stop it rewriting whole files. When the AI announces it is rewriting five files, interrupt it. Ask for the exact lines instead.

Do not rewrite the whole component. Tell me the exact line that is wrong and what it should be.

Why this costs real money

Every loop burns tokens. The AI re-reads your code, rewrites it, you paste an error, it rewrites again. A single bad afternoon can eat a meaningful chunk of a monthly plan, and you end up with an app in worse shape than when you started. The habits above are not about tidiness. They are about not paying twice for the same fix.

Where SnagShip fits

All five habits are things you could do by hand, in a notepad, every single time. SnagShip exists because nobody does. It keeps each bug as its own card with the screenshot, what must keep working, and what was already tried — then hands your AI one clean, bounded instruction instead of an open invitation to redecorate.

Found this useful? Share it LinkedIn X

Stop losing the same bug twice

SnagShip catches every bug while you test and hands your AI one clean, bounded ticket: the screenshot, what must keep working, and what was already tried.

Try it free