LearnThatStack Ace your next interview
Agentic Coding Workflows · question
Question 4 of 51

What are acceptance criteria in the context of agent delegation, and why do they matter?

beginner
← All Agentic Coding Workflows questions
Re-explain

Acceptance criteria are observable conditions that must be true when the task is complete. They can describe an API response, an error case or a performance limit. They can also name a user interaction or a set of tests that must pass. Good criteria focus on behavior, not on a guess at the implementation.

They matter because an agent needs a clear stopping point and a way to check its own work. "Improve the parser" is vague. "Reject an unterminated quote and preserve quoted commas" is verifiable. Add negative criteria when needed, such as no new dependency or no schema change. Reviewers can then compare the final diff with the same contract, instead of judging a broad claim that the task is done.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

The diagram below the answer is the concept . Jump to it ↓

Tailored explanation · switch back to · ·
What should the new diagram focus on?
Guided practice for Agentic Coding Workflows One question at a time. Answer out loud, get graded, see what you missed.
How well did you know this?
AI:

Saved in this browser - sign in to keep your review list.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Interview lens How interviewers actually use this question

Likely follow-ups

What you can say

  1. Acceptance criteria are observable conditions that have to be true when the agent's task is done.
  2. They can describe an API response, an error case, a performance limit, a user interaction, or a set of tests that must pass.
  3. I keep them about behavior, not a guess at the implementation, so 'improve the parser' is too vague but 'reject an unterminated quote and preserve quoted commas' is verifiable.
  4. They matter because an agent needs a clear stopping point and a way to check its own work.
  5. When it's needed I add negative criteria too, like no new dependency or no schema change.
  6. Reviewers then check the final diff against the same contract, though criteria only cover what I thought to write down, so the review still has to look past them.

Weak answers to avoid

  • Treats criteria as a list of steps Steps say how to do the work, not when it's done. Criteria describe outcomes the agent and the reviewer can observe, like a test passing or an error being returned.
  • Gives vague goals like 'make it better' Nothing in it can be checked, so the agent has no stopping point and the reviewer can only judge a claim. Give a concrete case the agent can verify.
  • Prescribes the implementation A guessed design ties the agent's hands and still doesn't prove the behavior works. Describe the behavior and leave the how open unless there is a real reason.
  • Leaves out negative criteria Without limits like no new dependency or no schema change, an agent can reach the goal with a much wider diff than you wanted. Say what must not change.
Interview lens

Likely follow-ups, what you can say, and the weak answers to avoid.

Sign in free to open it Free account - the lens opens as soon as you're back.

Want a quick review of the fundamentals? See the Agentic Coding Workflows cheatsheet.

← Back to all Agentic Coding Workflows questions
Pro · $10/mo

44 of 51 Agentic Coding Workflows answers are in Pro.

Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.

  • Full answers + code
  • AI explanations, simpler or deeper
  • 1,000 AI credits / month
  • Cancel anytime