---
title: "Discussion on \"The Agent Said Done and Left the Worktree Full of Scratch\" | Hashnode"
description: "Discussion on \"The Agent Said Done and Left the Worktree Full of Scratch\". An agent iterates by trial and leaves scaffolding behind: commented-out alternatives, debug logging, untracked helper files. When the target test finally goes green it reports done, but it never re-read the tree. 'Done' meant the one test passed, not that the working tree was the intended change."
url: "https://hashnode.com/posts/agent-said-done-left-worktree-full-of-scratch/6aecbd7b0a01d995c0389b05"
---

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

Discussion

# [The Agent Said Done and Left the Worktree Full of Scratch](https://blogs.powerduck.com/agent-said-done-left-worktree-full-of-scratch?utm_source=hashnode&utm_medium=feed)

An agent iterates by trial and leaves scaffolding behind: commented-out alternatives, debug logging, untracked helper files. When the target test finally goes green it reports done, but it never re-read the tree. 'Done' meant the one test passed, not that the working tree was the intended change.

6d ago · 3 min read · blogs.powerduck.com  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#agentic](https://hashnode.com/tag/agentic)
-   [#testing](https://hashnode.com/tag/testing)
-   [#workflow](https://hashnode.com/tag/workflow)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
