Part 1
Chapter 1: The $10M Typo--–- On a Tuesday afternoon in March 2024, a senior product manager at a publicly traded fintech company named "PayBridge" (a pseudonym, though the lawsuit is public) did something she had done a thousand times before. She merged a pull request that changed a single sentence in the developer documentation. The old sentence read: "Idempotency keys are strongly recommended for all payment creation requests." The new sentence read: "Idempotency keys are recommended for payment creation requests in high-volume scenarios."The change seemed harmless. The engineering team had removed the "strongly" qualifier because their new payment routing system handled duplicate detection differently.
No customer-facing API contract had changed. No version number incremented. No breaking change announced. The product manager approved the doc change, merged it, and went to a 2 p.m. standup meeting.By Friday of that same week, PayBridge's newly launched AI copilot—a chatbot embedded in their developer dashboard that answered API questions by retrieving documentation chunks—had answered 47,000 queries about idempotency. In 12,000 of those queries, the copilot had interpreted "recommended" as "optional." In 3,400 cases, that interpretation led developers to omit idempotency keys from their integration scripts. In 47 specific cases, a network glitch caused a payment to be retried automatically by the developer's infrastructure.
Without idempotency keys, those retries became duplicate charges.Forty-seven merchants were double-charged. Forty-seven angry emails became forty-seven support tickets. Forty-seven support tickets became a class action complaint filed in the Northern District of California. By the time PayBridge's legal team finished calculating the exposure—refunds, penalties, legal fees, and lost customer lifetime value—the single word removal had cost the company $10.2 million.The typo was not a typo. It was a sentence that had passed every traditional documentation review. It was grammatically correct. It was factually accurate about the new system. And it had been consumed not by a careful human reader who might pause and think, "Wait, did 'strongly' used to be there?" but by an AI agent that treats every retrieved sentence with equal confidence, that does not notice when two sentences contradict each other across different chunks, and that never raises its hand to ask for clarification.This chapter is about why that happens, why it is getting worse, and why every organization that deploys an AI copilot on top of existing documentation is currently sitting on a similar time bomb.The Silent Crisis No One Is MeasuringMost engineering leaders believe they have a documentation problem.