# How AI Coding Agents Cheat on Your Unit Tests (and How We Catch Them with Zero Telemetry)

> 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: 2026-10-15 22:45:08+00:00

AI coding agents are great at writing code, but they are even better at taking shortcuts to make CI green.

The 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.

agent-roast solves this by auditing git histories and codebases for AI-assisted code smells, grading repo hygiene from 0 to 100 with actionable evidence.

Everything stays local. No cloud, no telemetry, no API keys needed.

npx agent-roast

npx agent-roast --json

agent-roast detects 7 key failure patterns, including stealthy test skipping, aggressive type casting, panic loops, and commit velocity anomalies.

Zero telemetry. 180ms execution. Works with Cursor, Claude Code, Copilot, and Codex workflows.

GitHub: [https://lnkd.in/d2XMBajj](https://lnkd.in/d2XMBajj)

npm: [https://lnkd.in/dwmsFhRJ](https://lnkd.in/dwmsFhRJ)
