Someone on X described it yesterday in two sentences: their coding agent finished in 30 seconds, and they spent the next 30 minutes figuring out why it had touched 12 files. Anyone who hands agents bug fixes knows the shape of it. The fix is in there somewhere, next to a renamed helper, a reformatted file, an upgraded package and a test rewritten to pass. None of it is necessarily wrong. All of it has to be read before you can merge the part you asked for.
Draw the edges before it starts
Agents widen a change when nothing tells them where it ends. Name the file or the area the fix belongs in, and say what's out of bounds for this task: no renames, no formatting passes, no dependency changes, no edits to tests unless the test is the bug. Add one instruction that does more than the rest together: if the fix seems to need changes outside that area, stop and say why before making them. That turns a surprise in the diff into a question you can answer in a sentence.
Look at the plan, then the scope, then the code
For anything you can't describe in one line, ask for a plan first and read the list of files it intends to change. A two-line fix whose plan names nine files is a conversation worth having before any edits exist. When the change comes back, start with the file list and the size of each change rather than the first diff. Ask the agent for one line per file on why it changed. Anything that doesn't map to what you asked for gets questioned or put back first, and the review that's left is the fix itself. Read the tests before the code, because a test changed to match new behaviour tells you more than the code does.
Keep the good extras, somewhere else
Sometimes the agent was right: it found a real bug next door, or the helper did need renaming. That's still no reason to merge it with the fix. Ask for the extra work as a separate change, so the fix ships small and the rest gets a review of its own. If you find yourself doing this often, the asks are probably too vague, and a sentence more in the prompt is cheaper than the review.
Doing this in 1904
A task's tile shows how many lines changed, and pointing at it says how many files, so an oversized change shows up before you open it. The Changes tab counts the changed files for each repository and lists them with View diff, and a Viewed box to tick as you go. You can comment on any line and Send to agent, which is the quickest way to ask why a file changed. For a change you'd rather not have at all, Restore files in a sent message's menu puts the task's files back to how they were before that message, once you've reviewed what will change. To get a plan before any edits, switch the message box's permission mode to Plan, which reads Plan only; no file changes, for agents that offer it, or to Ask, which asks before every file edit and command.