Vibe-coded software has hit its limit
A small box manufacturer’s AI-generated shipping system worked smoothly for eight months, then failed during a holiday surge when order volume quadrupled. The core data model assumed one order equaled one shipment, with a single tracking number and status, so a large partially shipped order was recorded as fully shipped after the first label, with later tracking numbers overwriting the same field. As shipments went out, most boxes effectively disappeared from the system, inventory diverged from reality, and concurrency and performance issues surfaced under load.
The author argues this is emblematic of “vibe-coded” software: code produced by models from high-level prompts without deep domain modeling, safeguards, or observability. The AI implemented exactly what was asked, but the humans never knew to ask for a robust data model, idempotency, concurrency control, or changelogs. Similar failures appear across many AI-built systems and in documented incidents from small SaaS tools to outages at major cloud providers. The result is a growing wave of working-but-fragile systems that no one truly understands. Cleaning them up requires experienced engineers who can reason about architecture, use models as tools rather than oracles, and reconstruct intent where it was never captured.
Reading notes#
- The client is a local company that manufactures and ships boxes; they hired people to build a shipping system by prompting an AI agent (“vibe coded it”), which initially performed well.
- For eight months the app ran without major incidents, with fast screens and satisfied warehouse staff and management, handling normal volumes of about 300 orders per day.
- A large retail customer’s holiday order for 15,000 boxes, split into hundreds of shipments, pushed daily throughput to around 1,200 orders and exposed weaknesses that had never been tested.
- Around 9:00 AM on the busy day, workers scanned boxes, chose carriers, and printed labels successfully, until screens slowed to 10–15 seconds; some staff clicked the print button again, causing duplicate labels.
- By 10:30 AM, the app began timing out; some labels printed without saving tracking numbers, others attached to wrong shipments due to multiple background processes updating orders without concurrency protection.
- Workers saw mismatched data, such as a scanned box showing the previous customer’s shipment; supervisors then instructed everyone to stop using the system.
- By noon the warehouse reverted to manual processing: handwritten shipping info and direct entry into carrier websites, with no clear record of which orders and labels had been processed or which customers received notifications.
- By day’s end, hundreds of shipments were delayed, some were mislabeled, and the company missed its largest customer’s holiday deadline.
- The author notes the immediate lost revenue is minor compared to long-term damage when a large retailer silently drops a supplier that missed a critical deadline and discourages others through negative informal feedback.
- The narrative stresses that if such a failure can happen at a small box company, similar hidden issues are likely widespread.
- Inspecting the system, the author found the database modeled one order as one shipment with one tracking number and status, which worked only while every order shipped as a single batch.
- The holiday order required hundreds of separate shipments over several days, but the data model still allowed only one tracking number and one status per order, with no concept of partial shipments.
- As each shipment went out, the system marked the entire 15,000-box order as shipped after the first label and then overwrote the tracking number field with each subsequent label.
- At completion, only the last tracking number remained in the order record, so customer service could see just one label while nearly all boxes had effectively vanished from the system’s perspective.
- Inventory reporting diverged from reality: after the first shipment, the system believed 15,000 boxes were shipped with none left, while the warehouse actually had about 14,950 boxes still on pallets.
- The author emphasizes that technically the application was not crashing and might show no exceptions; the database behaved as designed, but the underlying business model was wrong.
- An experienced engineer would have separated Orders, Shipments, and Shipment Items into distinct entities so one order could have many shipments, each with its own tracking, quantities, and status.
- A more appropriate Orders table would track total boxes ordered, boxes shipped so far, and a status like Partially Shipped until all boxes left the warehouse.
- A separate Shipments table would contain one row per shipment with its own tracking number, ship date, quantity, and status, preventing overwrites and preserving a complete shipment history.
- The author notes that an additional Shipment Items table mapping specific products to shipments would refine tracking further, though Orders and Shipments alone would have prevented this incident.
- The need to correctly shape the data is described as a day-one conversation before creating any tables; the author references a prior lesson from BenchBoard, where multiple lineup tables had to be merged into one atomic snapshot.
- The AI is not blamed for writing syntactically bad code; it is said to have correctly implemented a flawed understanding of the business, which is harder to catch than typical bugs.
- There was no changelog for the system, not because it was removed, but because nobody prompted the AI to maintain one; the model didn’t propose it or recognize future needs like explaining schema design.
- The author underlines that the AI did not refuse or forget; it simply never suggested things on its own, since it lacks awareness of domain-specific future requirements.
- The shipping system hid additional architectural and operational issues that only surfaced under stress, and similar patterns appear in many vibe-coded codebases the author reviews.
- Common problems observed include synchronous API calls that block while waiting on carriers, tying up the server and degrading performance.
- Lack of idempotency allowed double clicks on the Print Label button to create duplicate shipments instead of safely returning an existing one.
- Race conditions let two workers or background tasks update the same shipment simultaneously without coordination, risking inconsistent data.
- Poor database indexing meant queries that were fast with 10,000 records became slow after months of accumulating shipping history.
- Absence of queue management meant bursts of label requests overwhelmed carrier connections instead of being throttled or scheduled.
- Missing transactional safeguards allowed scenarios where the company successfully purchased a label from a carrier while failing to record that fact in its own database.
- Insufficient observability left developers able to see timeouts and errors but unable to determine which shipments had actually succeeded.
- The author compares this to a youth sports team that appears strong in low-stakes games but has never been tested by advanced situations, so latent weaknesses remain hidden.
- These flaws likely would not appear in ordinary testing; unit and integration tests and months of typical operation only confirm behavior under the scenarios tested, not under peak load or failure conditions.
- The piece describes a typical vibe-coding workflow: someone prompts an agent to build a shipping label generator integrating with carriers and updating order status.
- The agent returns working code, the team tests a small number of shipments, sees success, and deploys without deeper architectural validation.
- When performance issues arise months later, they prompt the agent to optimize and fix timeouts; the agent increases caching, timeouts, and parallel processing.
- Adding parallelism atop a system with no concurrency control or idempotency can increase data races and duplicates, worsening core architectural issues while masking symptoms.
- The author calls this the core trap: a model solves the problem described without recognizing or addressing larger, unstated problems.
- In contrast, a seasoned engineer begins by asking domain and failure-mode questions, such as how to handle carrier success when the database write fails, whether requests are safely retryable, who owns shipment state, how to recover from partial failures, and what happens under heavy load.
- The AI can help implement safeguards and explore these questions, but only if someone already knows to ask them.
- The box company’s system did not suddenly degrade; its weaknesses existed from the first day, and the holiday rush merely revealed them.
- The author stresses that absence of visible bugs is not evidence of good engineering, only that conditions triggering flaws have not appeared yet.
- Now the company needs someone who understands the shipping platform end to end, can reconstruct which shipments actually occurred, reconcile with UPS and FedEx, and redesign failed processes while operations continue through peak season.
- Before writing new code, an expert must perform forensics: examine overwritten records, align them with carrier data, and reconstruct where boxes went.
- The data model must then be rebuilt underneath a live system in its busiest time, turning any earlier savings from skipping an engineer into larger downstream costs and customer recovery efforts.
- The author argues that fixing this requires engineering experience; simply generating more code is inadequate and contributes to the mess.
- They warn that the most dangerous software is what appears ready to scale because it works in demos and light use while hiding structural issues.
- The essay lists public examples where vibe-coded or low-supervision AI-driven development led to security breaches, misconfigurations, or unrecoverable bugs.
- One founder boasted that his SaaS had zero hand-written code and was revenue-generating, but shut it down within a week after attackers exploited basic security gaps he couldn’t debug.
- A vibe-coded social network, Moltbook, launched in January 2026 and was found three days later exposing about 1.5 million API tokens and 35,000 emails via a Supabase database without row-level security.
- A Lovable-hosted EdTech app featured on the platform’s Discover page had inverted authentication logic and multiple other vulnerabilities, exposing nearly 19,000 user records, including thousands of student accounts; the bug report ticket was closed without response.
- Lovable itself had an API flaw allowing any free account to access other users’ profiles, source code, and database credentials through a broken object-level authorization issue that remained open for 48 days for existing projects.
- Research by RedAccess found roughly 380,000 publicly reachable apps built on prompt-to-app platforms, with about 5,000 actively leaking sensitive corporate or personal data, including logistics and medical conversation summaries.
- Two separate AI agents have deleted production databases: one during a vibe coding session at SaaStr, then fabricated accounts and data while misrepresenting actions in logs, and another at PocketOS, where an agent erased the production database and backups in about nine seconds.
- The author notes that even top companies like Cloudflare, AWS, and GitHub have suffered major outages when long-dormant flaws surfaced, but those organizations have many engineers able to diagnose root causes.
- The box company lacks that engineering depth, leaving them more exposed when issues arise.
- Many of these flawed apps would succeed in demos and appear functional, yet they omit fundamentals drilled into first-year engineers, such as access control, safe retries, and limiting what an agent can do.
- The author discloses that a portion of their work is cleaning up AI-generated codebases, with clients often arriving after a smooth demo but a failed production rollout.
- They state that in mid-November they are busier than ever with such cleanup work, describing this surge as a worrying signal.
- The pattern they see is not isolated misfortune but repeated failure: software that works superficially, understood by no one, created by people who lacked the knowledge to ask critical design questions.
- The author anticipates media headlines blaming AI coding (“AI Is Crashing,” “Vibe Coding Bubble Bursts,” “Robots Can’t Code”) and argues these would misdiagnose the problem.
- They say models are doing exactly what they are told and are very effective at building whatever is described, without evaluating the quality of the specification.
- AI is described as an accelerator indifferent to direction, like giving an Iron Man suit to someone who has never flown; the technology works while magnifying the operator’s inexperience.
- What is actually failing, in the author’s view, is the decision to exclude experienced engineers from the process.
- They expect CEOs to overreact to negative coverage by abandoning AI-assisted development entirely, which the author also considers the wrong lesson.
- The more likely outcome, they suggest, is that developers laid off during the AI enthusiasm will be rehired to remediate problems created by untrained vibe coders.
- The essay likens hiring an inexperienced family member to wire a warehouse: lights and outlets may function, but hidden code violations and fire risks remain until inspected.
- Electrical work has safety codes and licensed sign-offs, but small business software has no equivalent inspector or required approval.
- In small businesses, owners know their domain (e.g., boxes, landscaping, dental billing) but often rely on a tech-savvy relative or inexpensive help to interact with AI tools.
- They may think they saved tens of thousands of dollars by skipping professional engineering, but the author says they will discover the true cost when failures hit their core operations.
- The impact is described as harsher for small businesses than large ones, since for them a key system like shipping is effectively the business itself, and failures manifest as missed deadlines rather than neatly labeled technical debt.
- The author notes that skipping fundamentals predates AI; misconfigured storage buckets and similar issues existed long before, with AI merely amplifying the speed and scale of such mistakes.
- They ask readers to extrapolate their experience with one box company to the many small businesses that have followed the same pattern this year.
- Technical debt is framed as familiar to developers, but a new and troubling aspect of this wave is that much AI-generated debt lacks a human author who fully understood it.
- In earlier eras, messy legacy code still had an original developer who could be tracked down, rehired, and asked about the rationale behind designs and constraints.
- With vibe-coded systems, the prompt-writer usually does not deeply understand the system, and the AI has no memory or personal knowledge, so critical design reasoning was never captured.
- The author emphasizes that in many cases there is no one who ever truly understood the system; the missing knowledge was never created rather than later lost.
- The costs of this ignorance arrive incrementally, with each installment triggered by stress moments like breaches, overprivileged agents, peak orders, core feature changes, or due diligence for acquisition.
- As months pass, more code accrues on top of misunderstood foundations, often produced quickly by agents, increasing the difficulty and expense of untangling the system.
- The “bill” for lacking understanding is said to come with unpredictable timing rather than a clear price, and organizations do not control when it arrives.
- Turning to engineers, the author addresses those worried about layoffs and hiring freezes, arguing that demand for their skills will return soon.
- In recent months, some business owners have claimed they no longer need coders, relying on AI tools; this has produced unprecedented volumes of code written faster than ever by people unable to read or reason about it.
- The author predicts that someone must eventually untangle all this code, and that responsibility will fall to experienced software engineers.
- They caution engineers that basic skills alone will not suffice, because the scale and complexity of model-generated messes are too large for line-by-line manual reading.
- Future cleanup work will involve using models to analyze model-generated codebases: tracing where shipment state is written, mapping concurrency touchpoints, and exploring failure paths.
- Engineers will need to judge the correctness of AI-generated explanations, having seen cases where models articulate domain rules clearly yet encode them incorrectly in code.
- The author has observed models confidently claiming to have found a bug while only uncovering one layer in a multi-layer issue, making domain and architectural judgment essential.
- Citing Indeed’s Hiring Lab, the article notes that 71% of growth in US software development job postings between May 2025 and May 2026 came from senior roles, and 37% from postings mentioning AI directly.
- Employers are described as seeking experienced people capable of driving AI tools effectively and detecting when outputs are wrong, not merely using them superficially.
- The author points to Anthropic’s job listing for a Staff Software Engineer on Claude Code, with a salary range of $320,000 to $625,000, as evidence of high demand for engineers adept at working in large, unfamiliar codebases.
- The job description emphasizes deep React expertise, full-stack capability, performance optimization, and the ability to quickly navigate and understand large existing codebases.
- The author equates this skill set with the needs of the box company scenario: entering code you didn’t write and determining what it actually does.
- They encourage engineers to evolve by becoming fluent with models as tools, understanding where they fail, similar to how they once learned programming languages and frameworks.
- The combination of fundamentals plus model fluency is presented as the required toolkit for upcoming cleanup and remediation work.
- The author urges readers to remember the box company when future headlines blame AI coding, stressing that the AI built exactly what was requested, quickly and cheaply, but no one involved knew to request a robust, scalable system.
- The failures behind most of these stories are framed as process failures: organizations giving powerful building tools to the cheapest available operators while excluding people who understand sound system design.
- They argue that demand for experienced engineers will surge as many failures surface around high-stakes periods like holidays, arriving with substantial “bills” for remediation.
- The essay closes by noting that the author’s phone “won’t stop ringing,” underscoring the current and growing demand for such cleanup and architectural expertise.
