The difference between a task and an outcome
Most prompting advice is about tasks. “Write a function that parses this date format.” “Add a retry to this call.” “Generate tests for this class.” The agent does what it is told, you read the result, and you decide whether it is right. That works for small things, in the same way that handing a junior developer a list of instructions works for small things. It stops working as soon as the thing is big enough that you cannot hold the whole of it in your head, which, with an agent that produces a thousand lines in the time it takes you to make a coffee, is almost immediately.
A task-based prompt has three problems that get worse the better the agent gets:
- It smuggles in the design. “Write a function that…” has already decided there is a function, where it lives and what it takes. The agent cannot tell you that a function is the wrong answer, because you did not ask a question it could answer that way.
- It has no definition of done. The task is done when the agent stops. Whether the thing it stopped on is what you needed is a separate question that nobody wrote down, so nobody can check it except by reading, slowly, everything that was produced.
- It does not scale. A hundred tasks are a hundred things to read. The volume that makes agents valuable is exactly the volume that makes reading impossible, and verification is the bottleneck that results.
An outcome-based prompt starts one level up. It says what must be true when the work is finished, for whom, and why that matters, and it carries the checks that will decide whether it is true. The agent is free to choose how, within constraints you set. That freedom is not a concession to the agent. It is where the leverage is: the agent can try three approaches and keep the one that passes, and you have not had to think about any of them.
Tell an agent what to do and you get a thing. Tell it what must be true and you get a result you can check.
This is not a new idea. It is what good requirements practice always said: specify outcomes and acceptance criteria, not solutions. Integration Scenarios and the Definitions of Done stack were designed to make outcomes concrete and done checkable, for people. The same artefacts turn out to be exactly what an agent needs. The practice has not changed. What has changed is that the cost of ignoring it has gone up.
Related
- Anatomy of an outcome-based prompt: the four parts to write
- Verification is the bottleneck: why reading everything does not scale
- Integration Scenarios: outcomes made concrete