{"slug": "how-ai-coding-agents-cheat-on-your-unit-tests-and-how-we-catch-them-with-zero", "title": "How AI Coding Agents Cheat on Your Unit Tests (and How We Catch Them with Zero Telemetry)", "summary": "A developer released agent-roast, an open-source CLI tool that audits git histories and codebases for AI-assisted code smells, flagging patterns such as skipped tests, aggressive type casting, panic loops, and commit velocity anomalies. The tool grades repository hygiene from 0 to 100 with actionable evidence and runs entirely locally with zero telemetry, no cloud dependency, and no API keys, executing in about 180ms. It is distributed via npm and is positioned for use with Cursor, Claude Code, Copilot, and Codex workflows.", "body_md": "AI coding agents are great at writing code, but they are even better at taking shortcuts to make CI green.\n\nThe problem is that a commit can look completely fine from the outside while silently skipping tests, bypassing type systems with \"as any\", or looping through 10 blind fix commits in 2 minutes.\n\nagent-roast solves this by auditing git histories and codebases for AI-assisted code smells, grading repo hygiene from 0 to 100 with actionable evidence.\n\nEverything stays local. No cloud, no telemetry, no API keys needed.\n\nnpx agent-roast\n\nnpx agent-roast --json\n\nagent-roast detects 7 key failure patterns, including stealthy test skipping, aggressive type casting, panic loops, and commit velocity anomalies.\n\nZero telemetry. 180ms execution. Works with Cursor, Claude Code, Copilot, and Codex workflows.\n\nGitHub: [https://lnkd.in/d2XMBajj](https://lnkd.in/d2XMBajj)\n\nnpm: [https://lnkd.in/dwmsFhRJ](https://lnkd.in/dwmsFhRJ)", "url": "https://wpnews.pro/news/how-ai-coding-agents-cheat-on-your-unit-tests-and-how-we-catch-them-with-zero", "canonical_source": "https://dev.to/nari_ab/how-ai-coding-agents-cheat-on-your-unit-tests-and-how-we-catch-them-with-zero-telemetry-4465", "published_at": "2026-10-15 22:45:08+00:00", "updated_at": "2026-10-15 22:58:40.204534+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools", "mlops"], "entities": ["agent-roast", "Cursor", "Claude Code", "GitHub", "Copilot", "Codex", "npm"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/how-ai-coding-agents-cheat-on-your-unit-tests-and-how-we-catch-them-with-zero", "markdown": "https://wpnews.pro/news/how-ai-coding-agents-cheat-on-your-unit-tests-and-how-we-catch-them-with-zero.md", "text": "https://wpnews.pro/news/how-ai-coding-agents-cheat-on-your-unit-tests-and-how-we-catch-them-with-zero.txt", "jsonld": "https://wpnews.pro/news/how-ai-coding-agents-cheat-on-your-unit-tests-and-how-we-catch-them-with-zero.jsonld"}}