StoicBuilder

HandbookIV the PraetoriumSpotting the confident mistake

IVthe Praetorium, Direct the agent

Spotting the confident mistake

1 min readUpdated 28 November

In plain words

A confident mistake is a wrong answer delivered as calmly as a right one: "fixed" when nothing changed, a package that doesn't exist, a cause nobody checked.

Where you see it

You ask why checkout fails, and the agent says without hesitation that Stripe changed its API last week. It didn't, and nothing in the reply hinted at doubt.

Agent replyagent
Fixed. The session should now persist after a refresh,because I added a call to supabase.auth.persistForever().Everything should work as expected.
Two "should"s, nothing run, and persistForever() is not a real Supabase function.

What goes wrong

  1. Taking "should work" as "works"

    "Should" usually means the agent didn't check. Ask what it ran, and what the output said.

    This should now work as expected.
  2. Installing a package the agent made up

    Agents sometimes name packages that don't exist, and attackers can publish harmful code under those names. Look up any new package on npmjs.com before installing it.

  3. Accepting a cause nobody tested

    "The issue was a race condition" sounds expert. Unless the agent reproduced the bug first, it's a guess dressed as a diagnosis.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Don't tell me it works; show me. List the files you changed, the command or test you ran, and its actual output. If you didn't run anything, say so.

Quick check

Sign in to earn +10 XP for it

To fix checkout, the agent adds a package you've never heard of. What do you check first?

Got a prompt that touches spotting the confident mistake?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.