{
  "id": 19492259,
  "title": "My AI shipped a 1,199-line change nobody understood. I built a CLI that scores how fragile it is.",
  "url": "https://urgent.news/2026/11/11/my-ai-shipped-a-1-199-line-change-nobody-understood-i-built-a-cli",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-11T12:17:16.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/techdevfun/my-ai-shipped-a-1199-line-change-nobody-understood-i-built-a-cli-that-scores-how-fragile-it-is-1h4j"
  },
  "original_language": "en",
  "account": "An AI-generated code change exceeding 1,000 lines passed through the review process without anyone fully understanding its implications. In response, the author developed a command-line interface (CLI) tool called fragility, which evaluates the fragility of AI-written code based on four key factors. The tool, available on GitHub, requires no API keys, servers, or model calls and provides a CI verdict. The four signals measured by fragility include test shallowness, orphan lines, over-abstraction, and comprehension debt. The composite fragility score ranges from 0 to 100, with three possible outcomes: ROBUST, WATCH, or FRAGILE. The tool runs entirely locally and generates no output beyond the command line. In testing, the tool accurately identified a fragile AI-generated change with no tests covering any lines and a high review velocity. A follow-up update improved the tool to detect AI-marked commits more accurately, addressing a previously missed vulnerability. The author emphasizes that fragility complements existing tools by offering a cheap, offline, and deterministic pre-merge check to measure the gap between AI-generated code and human understanding.",
  "summary": "My AI shipped a 1,199-line change nobody understood. I built a CLI that scores how fragile it is. An essay made the rounds this week: \"AI usage generates a fragile codebase.\" The argument is simple. AI writes code faster than humans can review it, so the bottleneck moved from writing to the review gate. Code that looks right, passes the easy tests, and ships before anyone understands it. I have…",
  "key_points": [
    "AI-generated change of 1,199 lines passed review without full understanding",
    "Fragility CLI tool assesses AI code fragility based on four factors",
    "Tool provides ROBUST, WATCH, or FRAGILE verdicts locally without API"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}