Why I made the error wiki require human approval
DockerFix's whole pitch is simple: paste a Docker/Nginx/Prisma/Hetzner error, get a diagnosis, and if enough other people hit the same error, it becomes a public wiki page. The mechanism for "enough other people" is a counter — see the same normalized error signature three times, flip published to true, done.
I had this working end to end before I'd even opened a second terminal tab to think about it. Three synthetic requests in, the entry was live on /errors. Clean. Fast. Exactly the kind of "ship it" moment that feels great for about four seconds.
Then I asked myself the obvious question: what happens the first time the model is confidently wrong three times in a row?
Nothing stops it. If an LLM misdiagnoses a Postgres connection error as a DNS issue, and three different users' logs happen to normalize to the same signature, that wrong answer goes live on a public page with my domain on it — with zero human ever having read it. It would sit there, indexed by Google, looking exactly as authoritative as the five entries I wrote and checked by hand.
The fix wasn't clever. recordOccurrence() still counts occurrences the same way it always did — it just stopped being the thing that sets published: true. Crossing the threshold now only makes a draft show up in /admin/review, a small token-gated page that shows the error signature, the explanation, the suggested fix, and two buttons: approve or reject. Nothing reaches a stranger's search results without someone — right now, just me — actually reading it first.
Rejecting doesn't delete the draft either. It resets the occurrence counter to zero instead. If it was a fluke, it quietly falls out of the queue. If it's a real, recurring error that I rejected for a bad reason (unclear writing, wrong category, whatever), it'll climb back up and ask again rather than being gone forever.
Is this slower than full automation? Obviously. Every entry that goes live now cost me thirty seconds of reading instead of zero. But "fast and occasionally confidently wrong in public" was never the product I was trying to build — the entire value proposition is that people can trust the fix without re-verifying it themselves. A wiki that's sometimes silently wrong isn't faster, it's just wrong for free instead of wrong for a fee.
The honeypot field and the daily spend cap I added at the same time are boring in comparison, but they're the same instinct: assume something unattended will eventually be abused, and decide in advance what "caught" looks like instead of finding out the hard way.