A once-in-40,000 bug nobody could pin down, fixed with Claude Code
A legacy app from around 2008 had a bug striking once in 40,000 transactions that nobody at the ~700-person company could reliably reproduce. With Claude Code (Opus 4.6), they found and fixed it.
Done withClaude CodeSpotted· by HN user NDizzle· Oct 28, 2026
Result 'My wizard status is yet again renewed'
“This past week I found and fixed a bug that happens once in 40,000 transactions working with Claude Code - Opus 4.6.”
Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.
What they did
The legacy app was designed around 2008 and had accumulated many patches since. Nobody among the company’s roughly 700 people had been able to reliably reproduce or explain a bug that happened once in 40,000 transactions. This past week, working with Claude Code running Opus 4.6, they found and fixed the bug.
How it went
The long-standing bug was fixed, and they spent the next day writing up summaries that were shared far and wide.
Try it yourself with Claude Code
There's a rare bug in [our app]: it happens about once in [N] transactions and nobody has reproduced it reliably. Here's what we know: [symptoms, logs, the code paths involved]. Help me form theories, find a way to reproduce it, and trace it to the root cause. Explain the fix and how we'll test it before I change anything.
A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.
An image-processing problem, some sample data, and no one at the keyboard. Claude Code iterated, looking at the output image, until it fixed it. It spent at least an hour, untouched.
A 35,000-line PyQt desktop app for electrical engineering design had taken maybe 2500 hours over some years. Running OpenClaw on top of Claude Code, a two-sentence prompt converted it to a web app overnight.
Trying vibe coding for the first time, they had Claude Code, through Zed's agent integration, scaffold an isometric graphics editor with a few features. It worked, and about 45 minutes later they had a basic MVP.
Translating hundreds of phonetics papers into a working, citation-backed speech synthesizer would have taken years solo, they estimate. With Claude Code it's taken months, and they still catch its domain mistakes.
Their own Next.js orchestrator launches headless Claude Code and Codex sessions, reacts to GitLab and Linear, fixes CI failures, rebases and reviews. Built in 1-2 weeks of prompting, it leaves them refining tickets.