The AI Said Sorry and Fixed the Bug. A Couple of Changes Later It Was Back.
The apology was excellent, and the fix was in. A couple of changes later the same bug was back, in the same file. Most people treat an assistant's "fixed" as the end of the story, and to be fair the fix was real. For a
The apology was excellent, and the fix was in. A couple of changes later the same bug was back, in the same file.
Most people treat an assistant's "fixed" as the end of the story, and to be fair the fix was real. For a while the bug was gone.
I have caught this many times on client sites where real people buy things. These days I expect it whenever I review what an assistant changed.
The one I remember best was in the cache settings. A fix to how pages get refreshed disappeared when a later change put the old value back.
It comes back when you ask for something else
The loop is short. A bug gets reported and fixed. Some time later I ask for something unrelated, and the unrelated change restores the old behaviour.
A colleague who had already fixed a bug once would start asking why it keeps coming back. The assistant fixes it again and sends another polite message, as if it had never met the bug before.
So I read the diff before I read the message. I look for the lines that caused the bug and check whether they are really gone, or whether they have come back under a new name somewhere further down the file.
A bad suggestion sounds exactly like a good one
The loop would be easier to catch if the tool ever sounded unsure. It never does, whether the suggestion is good or bad.
I once accepted an npm package an agent suggested without checking it. It pulled in a mass of dependencies nobody had asked for. I clicked yes, so that one is mine.
I have also seen a shop built with v0 where row level security in Supabase was switched off. The owner's view was "what matters is that it works". It did work, and with RLS off it worked just as well for anyone who copied the public anon key out of the browser.
A green check is very easy to believe
On one site every image had alt="image", and the accessibility audit came back green anyway.
I have done the same thing with CI. I once trusted a green run while something was down on production.
The last one has no assistant in it at all, only a page that looked finished. On a production site I saw, the FAQ still said [Company name] and the meta description was lorem ipsum. I have left test text on a live site myself, so I can't judge too hard.
What I do now when a fixed bug returns
I don't have a clever fix for this. When a bug comes back, I stop asking for another fix. I write down what must not change, as a test or as a note in the project.
It is a boring habit, and I keep it because these are shops that take orders. Each time the bug comes back, a customer can hit it before I notice.
Mine was a cache setting. Which bug has your assistant fixed for you more than once? If something finally made the fix stay, a test or anything else, I'd like to hear what it was.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.