---
title: "Discussion on \"15 Ways AI Coding Agents Fail in Real Repos (and the Guardrails That Fix Them)\" | Hashnode"
description: "Discussion on \"15 Ways AI Coding Agents Fail in Real Repos (and the Guardrails That Fix Them)\". Around week three of using coding agents, most teams hit the same wall. The agent is clearly busy: long transcripts, dozens of edited files, confident summaries. But ask \"what shipped, and is it corre"
url: "https://hashnode.com/posts/15-ways-ai-coding-agents-fail-in-real-repos-and-the-guardrails-that-fix-them/6acd7565f368324e95be4626"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [15 Ways AI Coding Agents Fail in Real Repos (and the Guardrails That Fix Them)](https://adrianstudio3.hashnode.dev/15-ways-ai-coding-agents-fail-in-real-repos-and-the-guardrails-that-fix-them?utm_source=hashnode&utm_medium=feed)

Around week three of using coding agents, most teams hit the same wall. The agent is clearly busy: long transcripts, dozens of edited files, confident summaries. But ask "what shipped, and is it corre

Oct 13 · 7 min read · adrianstudio3.hashnode.dev  
Updated Oct 23  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#claude](https://hashnode.com/tag/claude)
-   [#codex](https://hashnode.com/tag/codex)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)
-   [#productivity](https://hashnode.com/tag/productivity)

## Written by

[Adrian Studio](https://hashnode.com/@adrianstudio3)

@adrianstudio3

  
[View profile](https://hashnode.com/@adrianstudio3)

Java, Spring Boot, and notification failure boundaries.

## Responses 2

Markdown supported · ⌘↵ to post

[Kartik N V J K](https://hashnode.com/@kartik-nvj)

[Oct 14](https://hashnode.com/posts/15-ways-ai-coding-agents-fail-in-real-repos-and-the-guardrails-that-fix-them/6acd7565f368324e95be4626/comment/6acfae87eb1f8b8231eb4269)

Your "42 passed in 6.1s" versus "tests pass" example is the clearest definition of done for agents I've come across. When I've asked agents for that kind of evidence, the summaries get shorter and a lot more honest. Did the three-attempts cap fully stop the deleted-test problem, or do you still lean on the reviewer check for that?

[Adrian Studio](https://hashnode.com/@adrianstudio3)

[Oct 14](https://hashnode.com/posts/15-ways-ai-coding-agents-fail-in-real-repos-and-the-guardrails-that-fix-them/6acd7565f368324e95be4626/comment/6acfae87eb1f8b8231eb4269#reply-6ad0066a20dc2bbfa45ef09c)

Thanks, Kartik, and "shorter and a lot more honest" matches what I've seen too. Honest answer: no, the three-attempts cap on its own doesn't stop it. It only keeps the agent from looping forever, and an agent can still delete or skip a test on its first try. What actually catches it is the combination of the done rule (tests pass and none were deleted or skipped) plus a reviewer subagent that checks the diff for removed test files and new skip markers, so I definitely still lean on the reviewer for that.
