---
title: "Discussion on \"Goal achieved. My stop hook blocked it anyway.\" | Hashnode"
description: "Discussion on \"Goal achieved. My stop hook blocked it anyway.\". Claude Code marked the goal achieved and tried to stop. Mindrealm's stop hook wouldn't let it because 17 code review findings were still open."
url: "https://hashnode.com/posts/goal-achieved-my-stop-hook-blocked-it-anyway/6a5e2ac15a9c081b4befed4c"
---

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

Discussion

# [Goal achieved. My stop hook blocked it anyway.](https://blog.mindrealm.ai/goal-achieved-my-stop-hook-blocked-it-anyway?utm_source=hashnode&utm_medium=feed)

Claude Code marked the goal achieved and tried to stop. Mindrealm's stop hook wouldn't let it because 17 code review findings were still open.

Jul 20 · 8 min read · blog.mindrealm.ai  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#llm](https://hashnode.com/tag/llm)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#agentic-ai](https://hashnode.com/tag/agentic-ai)
-   [#devtools](https://hashnode.com/tag/devtools)
-   [#tools](https://hashnode.com/tag/tools)
-   [#code-review](https://hashnode.com/tag/code-review)

## Written by

[Bryce Darling](https://hashnode.com/@mindrealm)

@mindrealm · Asheville, NC

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

Making AI-generated code safer to ship. Consulting: advising, building, coaching on AI

I build Mindrealm: it catches the slop your AI agent ships confidently, then makes it fix it. 75+ deterministic checks across Go, Rust, TypeScript, and Python.

## Responses 2

Markdown supported · ⌘↵ to post

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

[Jul 21](https://hashnode.com/posts/goal-achieved-my-stop-hook-blocked-it-anyway/6a5e2ac15a9c081b4befed4c/comment/6a5f815af8567fc421330538)

Treating must-fix as a stop-gate the same way as block is the design decision that makes this actually work, because otherwise the agent just declares victory and walks. The health check with no timeout hanging forever is a great catch, and the fact it forced named tests for the public functions is what turns "I fixed it" into something verifiable. Do you gate on a fixed severity list, or can the agent negotiate a finding down to a suggestion, which feels like it could reopen the same escape hatch?

[Bryce Darling](https://hashnode.com/@mindrealm)

[Jul 21](https://hashnode.com/posts/goal-achieved-my-stop-hook-blocked-it-anyway/6a5e2ac15a9c081b4befed4c/comment/6a5f815af8567fc421330538#reply-6a5fc8ea7393d95f61fbd6aa)

What a great question. It sent me back into the code to verify the whole path.

Severity is locked into the rule, so the agent can't demote a blocking finding just to finish. It can propose a suppression, but now it can't approve its own exception. I verified that for both blocking severity levels.

The useful rule I added is that the agent whose work is being gated can't also be the final authority on whether the suppression gate applies. You improved the system. Thank you, Kartik
