Definitions of Done
“Done” is not a binary state. A change can be developed but not tested, tested but not integrated, integrated but not accepted, and live but not yet delivering the value it was for. The H-Model defines a stack of levels of done, each proving more than the one below, and pushes every change as high up it as it can go.
Why a stack
Most organisations are teams of teams, and at every team boundary work is handed over at some level of completeness. Close, organically formed relationships are the most effective way to work across a boundary, but transactional hand-offs are often unavoidable when a large population has been decomposed into teams. Where they exist, clarity about done, for the incoming request and for the outgoing result, is the thing that stops the hand-off becoming a fight.
Inconsistent Definitions of Done are one of the most common causes of conflict between teams that have to work together. A development team’s “done” (coded and unit tested) is not an operations team’s “done” (live with support in place) is not a business’s “done” (people use it and the number moved). Each is legitimate from where its owner stands. The stack makes the differences explicit so that “done” can be qualified instead of argued about, and so that acceptance criteria can be attached to requests, requirements and Problems at the right level.
The lowest level we recognise is Developed, because the H-Model takes working software as the measure of progress. We recommend against Definitions of Done for intermediate artefacts or process steps: “written down”, “analysed”, “designed”, “reviewed”. A requirement that has been captured may be done from a business analyst’s point of view, but nothing has been proven, and a stack full of those levels is a plan masquerading as evidence.
The stack
The first edition’s list of levels was damaged in its text export; here it is rebuilt. Nine levels, in four groups that correspond to levels of the H-Model.
| Group | Level | What it proves | Owner | Typical check |
|---|---|---|---|---|
| Team | Developed | the change exists, builds, and the developer has run it | the developer | personal build, static analysis |
| Team | Unit tested | the change has passed its unit tests, consistently (the stability half of Quality Confidence) | the developer and team | unit tests in the trunk build |
| Product | System tested | the product has passed its requirements and acceptance criteria as represented by the Product Backlog, consistently | the team and its Product Customer | automated acceptance tests on the product stage |
| Product | Integration tested | the product has been integrated and its Integration Scenarios, potentially across several teams’ backlogs, have been proven | the team, or the Product Forum where several teams contribute | scenario tests and contract tests on the product stage |
| Product | Product user acceptance | user acceptance criteria are met and real users have formally accepted the product | the Product Customer | acceptance sessions with real users; usage telemetry |
| Product family | Family integration tested | the family of related products has been integrated and the Integration Scenarios across products have been proven; integration acceptance criteria are met | the Product Forum | cross-product scenario tests on the family stage |
| Product family | Family user acceptance | the family as a whole has met its user acceptance criteria and users have formally accepted it | the Product Forum and Product Customers | acceptance across the thread of value |
| Business | End-to-end tested | the business benefit scenarios have been proven and the larger business system, including its people and processes, delivers value; this is the acceptance level for a Portfolio Request | the Business Customer | end-to-end business scenarios in production or a production-like environment |
| Business | Business acceptance | the business has formally accepted the product; support and maintenance arrangements are in place; the solution is at least part-way to a Strategic Goal | the Business Customer and Business Leader | live, supported, measured against the goal |
Above the stack there is one more state that is not a level of done but is worth tracking: Value achieved, the “Value Achieved” column that the Releases and integration page recommends after Done on a Kanban board. A change reaches it when it is live and positive feedback has come back. Done is about the product; value achieved is about the outcome, and it is the only state the top of the H actually cares about.
Consistency with the fitness-functions view
The Fitness functions page describes a six-level stack: Developed, System tested, Integration tested, User accepted, Live, Value achieved. That is the same stack, compressed for a single product. Developed absorbs Unit tested; User accepted is Product user acceptance; Live is Business acceptance (in production, supported, owned); Value achieved is the state above the top. The family group disappears because a single product has no family. Use the short form for one product and the full form when a product family or a business process is being delivered; they are the same idea at different magnifications.
Tailor it, but publish it
The levels are guidance. Tailor them to your organisation: fewer for a small product, a regulatory level for a sector that needs one, a security level if Secure by Design demands evidence at a point of its own. Whatever levels you use, their critical purpose is agreement between teams, so communicating them clearly matters more than how many there are. People will not remember a stack of definitions, so put them where people will see them: the pipeline’s stage names, the Kanban columns, the intranet, the poster by the coffee machine.
Naming your pipeline stages and your board columns after levels of done, rather than after process steps, is the cheapest way to make the stack real.
Promotion: push every change as high as it can go
We do not recommend a simple linear progression of a whole system through the levels. Instead, test each requirement or change against as high a level as possible, as often as possible, within the cost and resource constraints you have. A component, product or product family is promoted collectively through the levels based on the progression of its constituent requirements.
Two patterns follow from this. For new developments, higher levels naturally look at larger wholes: you cannot family-integration-test one story, you test the threads of value that the stories add up to. For maintenance of established products, or continuous flow against a stable product, single changes can and should progress through the entire stack on their own, which is what continuous deployment is.
In pipeline terms, each level is a stage and each boundary is a gate. A gate has two parts: an executable check for the next level’s criteria (tests, scenario runs, fitness functions, policy as code, a Quality Confidence threshold) and a human owner who is accountable for what the gate proves. Nothing is promoted on a promise. A change that fails a gate goes back to the level below to be fixed or discarded; it does not go round the gate with a waiver, and if waivers are common the gate is wrong, not the changes.
The bottom gates run in minutes on every change. The top gates run against real users in real environments, and run less often, because they are expensive and because the thing they prove (people adopted it, the goal moved) takes time to become visible. This asymmetry is the reason to push every change as high as it can go as early as it can: the cheap gates filter out most problems before the expensive ones have to.
The stack correlates with the rest of the H deliberately:
- Requirements on the left. Stories are done at the product levels; Integration Scenarios at the integration levels; Portfolio Requests at End-to-end tested; Strategic Goals at Business acceptance and beyond. The requirements stack and the done stack are the two uprights of the same H.
- Integration stages across the bar. Each Integration Stream, reframed as a pipeline stage and environment, carries a level of done. Promotion between stages and promotion through the stack are the same event.
- Governance at the top. The Big 4+1 questions are answered with evidence from the stack: “are we making progress?” means “what has reached which level?”, not “what percentage of the plan is complete?”.
- Milestones. A Release is a Build at a high level of done, typically Integration tested or above; the Scoped, De-Risked and Delivered milestones of a plan are expressed as which scenarios have reached which level.
Done as evidence on the right side of the H
The left upright of the H is intent: what we want and why, decomposed from strategy to stories. The right upright is evidence: what has actually been proven, integrated from a build up to business value. The Definitions of Done stack is the right upright, named. Every level is a claim that can be checked, and the checks are the tests, scenarios and measurements that live at that level.
This is why the H-Model refuses “assurance” of plans and documents in place of verification of software (see Quality). A design review can tell you a design is plausible; it cannot tell you a change is System tested. A status report can say a milestone is 80% complete; it cannot say which scenarios have been proven at which level. When reporting upwards, report the stack: the metrics and reporting page’s rule that people should trust people more than reports applies, and the one report worth trusting is the one that says what level each piece of value has reached and shows the check that proves it.
Done criteria are what agents are verified against
In the AI SDLC the stack changes from a shared vocabulary into the primary control. An outcome-based prompt carries intent, constraints and context; its done criteria are the levels of this stack with their checks spelled out. The agent generates towards them. The pipeline verifies against them. The person who owns the gate decides whether the evidence is good enough. That is the whole loop, and the stack is the contract between its three parties.
Two consequences follow, and the first is the one to worry about.
A level of done with no executable check is where AI-generated work fails silently. A human developer who reaches an unchecked level will often notice something is off, ask a colleague, or hesitate. An agent will produce output that satisfies every check that exists and nothing else, confidently, at volume. If “System tested” means “someone clicked around”, agent-generated changes will reach it in seconds and the clicking will not keep up. If “Integration tested” has no scenario tests behind it, agents working on different products will each pass and the seam between them will break in production. Every level in the stack that you expect agents to reach needs a check an agent cannot talk its way past: a test, a scenario run, a fitness function, a measured outcome. Where no such check exists yet, writing one is the most valuable work a team can do, and it is the work that Verification is the bottleneck describes.
The top of the stack does not get cheaper. Agents compress the distance from Developed to Integration tested dramatically. Product user acceptance still needs users; End-to-end tested still needs the business process to run; Business acceptance still needs someone to own the thing in production. Those levels are where people’s time now goes, and they are where the Product Forum and the customers earn their place. Measure that shift. If a team’s cycle time to Integration tested has halved and its cycle time to Value achieved has not moved, the agents are working and the organisation is not.
Related
- Releases and integration: the stages the stack is promoted through
- Integration Scenarios: the requirements proven at the integration levels
- Fitness functions: executable checks for the architectural qualities at each level
- Quality Confidence: the measure of how much of the stack is actually proven
- Quality: verification and validation at every level, and the assurance critique