Agent Workflow and Human Review
Work with a coding agent in small steps and check each one yourself, so fast changes do not pile up unreviewed.
Content date: October 15, 2026.
Plain English
A good agent workflow has a small goal, a known starting point, the change itself, and evidence that it works. Review what actually changed and what the checks showed, not how confident the agent sounds. A one-word wording fix needs little process. A change to who can log in, or to billing, needs much more.
Use this when
Before an agent changes your project, especially when the project holds work you cannot easily redo or behavior that affects money, data, or login.
If you are just starting
Start with one agent and one small task. Save your current files first (a folder copy works, git is better). Tell the agent the result you want and what it must not touch, and agree on checks you can see, such as opening the page. Before you accept, read the differences and check results. A rewind feature does not reliably undo what commands did to your files, so keep your own copy.
When your project grows
The more a change matters, the deeper the review. For sensitive changes, get a second review in a fresh session that did not write the code. Give agents working at the same time separate copies of the project, run checks that test real behavior, and name one person who decides on release and rollback. Ask questions only when a missing decision affects data, permissions, money, or outside systems.
Worked example
A bakery's order form says "Thanks, order received!" even when every field is blank. Priya asks the agent to fix only that and leave someone else's header redesign alone. The agent changes the form check and adds a test. Priya tries an empty form, an email with no @ sign, and a correct order, and the first two now show errors. She also confirms the header is unchanged.
Practice
Review a small change
- Save a copy of your project folder. Pick one specific bug, such as a form that says success when empty.
- Write the behavior you want and one thing the agent must not change.
- Ask the agent to make the change and show the exact check command and its output.
- Read every changed file, then run one important check yourself.
- Accept the change, or ask for a specific correction and say what you saw.
Deliverable: A small set of changes and a short review note linking what you asked for to the checks you saw.
Common mistakes to watch for
- You ask for a new header and the agent also rewrites a volunteer's half-finished donation page.
- The agent says "all tests pass" but never ran the test that covers your change.
- A reviewer approves after one screenshot, and nobody tries an empty or wrong entry.
- Constant permission requests train you to click Allow without reading.
Prompting
A weak prompt
Improve everything on the site and tell me when it's done.
A better prompt
Make this one change: [describe the result you want]. First look at the current files and unsaved changes, and leave unrelated work alone. State your assumptions and make the smallest change that works. Ask me only if a missing decision involves data, permissions, or money. Run checks that fit the risk, then report files changed, what the checks showed, which you skipped, and what could still go wrong.
It gives the agent one clear outcome and gives you evidence to inspect, so you are not relying on its tone.
Check before you move on
- You saved the starting state and named one thing the agent must not change.
- You read every changed file and saw output from a check that covers the change.
You are done when
- The change does what you asked, and you can point to a check you saw run.
- You can say what is still uncertain and who must decide on release.
Questions to think about
The agent says "all tests passed" but does not show the command. What do you ask for?
The exact command, what it printed, and which version of the files it ran against. Then confirm the test covers what changed.
A spelling fix and a change to who can see other customers' orders get the same sign-off. Is that sensible?
No. Match review to risk. The permission change needs tests that try to get in without permission, and a careful read of the code.
The agent finds half-finished edits from a teammate. Should it tidy them up?
No. Those edits belong to someone else and may be intentional. Keep your change separate unless you said otherwise.