---
title: "Discussion on \"The Agent Re-formatted the Whole File and Buried Its Own Change\" | Hashnode"
description: "Discussion on \"The Agent Re-formatted the Whole File and Buried Its Own Change\". A one-function null fix came back as a 412-line PR: the behavioral change was one of twelve diff chunks, buried under a formatter that re-quote, re-indented, and re-commas the whole legacy file. Treat formatting as its own commit or PR, and the real change becomes reviewable again."
url: "https://hashnode.com/posts/agent-reformatted-whole-file-buried-diff/6aecda73a10bec87d4dad776"
---

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

Discussion

# [The Agent Re-formatted the Whole File and Buried Its Own Change](https://blogs.powerduck.com/agent-reformatted-whole-file-buried-diff?utm_source=hashnode&utm_medium=feed)

A one-function null fix came back as a 412-line PR: the behavioral change was one of twelve diff chunks, buried under a formatter that re-quote, re-indented, and re-commas the whole legacy file. Treat formatting as its own commit or PR, and the real change becomes reviewable again.

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

-   [#ai](https://hashnode.com/tag/ai)
-   [#agentic](https://hashnode.com/tag/agentic)
-   [#codequality](https://hashnode.com/tag/codequality)
-   [#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.
