Review the Plan Before the Diff: Stopping Agents From Building the Wrong Thing

5 min read Agents Workflows

Catching a bad assumption in a 1-page plan takes two minutes. Catching it in an 800-line pull request wastes tokens and an hour of rework.

You write a three-sentence task brief before heading into a call, kick off a coding agent, and come back thirty minutes later to an 800-line pull request. The build is green and the tests pass. There is just one problem: the agent added a brand-new database table instead of extending the existing one, spun up a background worker you never asked for, and quietly deferred the one edge case your client actually cared about.

Now you are stuck with the worst kind of review. Explaining why the architecture is wrong inside a massive diff takes longer than writing the feature yourself, and throwing the branch away burns both the tokens and the afternoon.

Both DORA's research on small batches and Google's Engineering Practices emphasize catching design mismatches as early as possible. With coding agents, the cheapest place to catch wrong direction is before a single line of production code gets written. Reviewing a crisp, structured plan takes two minutes and turns implementation into execution instead of guesswork.

What makes a plan actually reviewable

Most "plan mode" tools dump three pages of prose into a chat window and ask "looks good?" That barely improves on reading a diff. Catching a bad assumption early is dramatically cheaper than untangling a finished pull request:

Stage Review and rework cost What you have to untangle
Plan review 1 to 3 minutes, research tokens only One paragraph or one explicit decision
Fresh-session pre-review 0 minutes of human time, agent rework loop Implementation gaps caught before paging you
Human PR review 15 to 45 minutes, full rebuild, CI, and re-review Hundreds of lines, migrations, and tests built on the wrong premise

In Task Machine, every non-trivial task starts with a structured Work Spec reviewed right inside Inbox or the task's Plan modal. Instead of a wall of markdown, it breaks plan review into four focused surfaces.

Upfront risk assessment and time estimates

Overview puts the review level, four risk ratings (blast radius, novelty, sensitivity, reversibility), a working estimate checked against the agent's historical completion times, the goal, and the acceptance criteria on one screen.

A Work Spec Overview in Task Machine showing review level, four risk ratings, planner assessment, goal, and acceptance requirements

Explicit Decisions, not buried assumptions

When a planner chooses between two valid approaches, Decisions pulls each choice out of the prose into its own card showing the recommended path, the recorded alternative, and why. Accepting the recommendation takes zero typing, while picking the alternative or writing your own answer immediately switches the action from Approve to Request changes and sends every changed call back together.

The Decisions tab of a Task Machine plan review listing each planner choice beside its recorded alternative with Approve and Reject actions

Highlight-and-comment inline feedback

Just like reviewing a Google Doc or a pull request, Spec shows the full plan (with an inline diff view between revisions) and lets you highlight any passage to attach an inline note, then send every quoted comment back to the planner in one structured reply.

The Spec tab of a Task Machine plan review with highlighted passages and inline comment cards ready to send back as structured feedback

Pre-planned follow-ups

When a job genuinely spans another project, repository, or specialist agent, follow-up tasks sit right inside the work breakdown as reviewable drafts with their dependency links wired up, ready to create in one click without cluttering your task list prematurely.

Checking the plan before it ever reaches you

Even a good planning template falls apart if an agent submits vague acceptance criteria ("works properly"), leaves open questions disguised as settled choices, or skips the codebase research needed to pick an approach.

Before a plan ever reaches your Inbox, Task Machine's automated clarity check validates its structure and scans for unresolved questions, unverified assumptions, weak verification steps, and scope drift. If the plan is vague or unfinished, it bounces straight back to the planner with concrete revision notes so you only review plans that are genuinely ready for a decision.

And when you later change direction mid-task in a comment, plan amendments record your authorized update side by side against the original approved spec so you never have to re-approve the whole task from scratch.

Knowing when to skip planning

Structured planning pays off massively on new features, schema changes, client deliverables, and tricky refactors. It is pure friction when you just want an agent to fix a typo, bump a dependency, or adjust one button label.

Forcing every trivial task through a full plan-and-approve cycle slows down the exact work that should be effortless. Task Machine's workflow selector lets you choose the right depth per task: use the full planning flow when ambiguity or blast radius is real, and pick a direct flow that skips planning altogether when the brief is already self-evident.

Fresh-session pre-review closes the loop

Approving a solid plan solves the front half of delegation. The back half is making sure the finished work actually matches what you approved before it interrupts your day.

Whenever an agent finishes implementing a task for a human reviewer, Task Machine runs a mandatory fresh-session pre-review in a clean context window against the approved spec and acceptance criteria. If pre-review catches a gap, work loops straight back to implementation without ever landing in your Inbox.

Stop paying for 800-line pull requests built on the wrong assumption. Get started with Task Machine or view pricing to review structured plans, Decisions, and inline spec comments in one Inbox, or read Task specs in the docs.