Sub topic 5
Defining done before you set a date
This chapter assumes you know Parkinson's law (work expands to fill the time available) and have planned tasks with due dates. The next chapters cover estimating and deadline-setting. Here you do the step that comes first: deciding what "finished" means.
Why done comes before the date
A deadline is a date attached to an outcome. If the outcome is vague, the date has nothing to hold on to, and Parkinson's law fills the gap.
Take the task "work on the quarterly report." You can always improve a report. You can add another chart, reread a paragraph, or reformat a table. Nothing in the task says when to stop, so the work stretches to the deadline and then past it. A vague finish line also makes any estimate meaningless, because you can't estimate the size of something you haven't described.
Fixing the finish line first gives you three things:
- A stopping rule. When the criteria are met, you stop, even if you have time left.
- A basis for estimating. You can size a concrete list of outcomes.
- A way to see progress. You can say "four of six criteria met" instead of "mostly done."
What a definition of done is
A definition of done is a short list of conditions that must all be true before you call the task finished. A useful one has four properties:
- Observable. You can check each condition by looking at something, not by consulting your feelings.
- Binary. Each condition is either met or not met. "Mostly" is not an answer.
- Checkable by someone else. A colleague could read your list and the result and agree with your verdict. This is the best test of whether you have been specific enough.
- Bounded. The list says what is out of scope as well as what is in.
The four parts
Most definitions of done can be written from four questions.
| Part | Question it answers | Example (blog post) |
|---|---|---|
| Outcome | What exists when I'm finished? | A post of 800 to 1,200 words, saved in the CMS as a draft |
| Quality bar | How good must it be? | Spell-checked, every claim has a source link, one reviewer has read it |
| Scope limits | What am I deliberately not doing? | No custom graphics, no social media copy |
| Hand-off | Where does it go, and to whom? | Draft link sent to the editor |
You don't need all four for every task. A ten-minute errand needs only an outcome. A task that other people depend on usually needs all four.
Vague versus defined
The difference is easiest to see side by side.
| Vague task | Definition of done |
|---|---|
| Work on the budget | Spreadsheet has all 12 months filled in, totals reconcile with last year's actuals, sent to finance |
| Study for the exam | Completed chapters 4 to 7 practice questions, scored at least 80% on the second attempt, wrote one-page summary |
| Clean up the code | The three duplicated functions in `billing.py` merged, tests pass, no behavior change |
| Prepare the presentation | 12 slides, rehearsed once aloud in under 15 minutes, file uploaded to the shared drive |
Each right-hand entry names things you can count, open, or run. None depends on how you feel about the result.
A worked example
Suppose your task is "Write the onboarding guide for new teammates." Before picking a date, write the definition.
- Outcome. A single document of at most six pages covering accounts, tools, and the first-week schedule.
- Quality bar. Every setup step has been followed by you on a clean machine. One recent hire has read it and listed anything confusing.
- Scope limits. No team history, no org chart, no video walkthroughs. These are logged as a follow-up task.
- Hand-off. Published in the team wiki, linked from the welcome email template.
Now the task has a size. Six pages, one clean-machine run, one review round, one publish step. You can estimate that. Before, "write the guide" could have taken a day or a month.
Notice that the scope limits did real work. Video walkthroughs would have been tempting, and they would have absorbed the slack time Parkinson's law predicts. Naming them as out of scope turns them into a separate task with its own date.
Checking the definition in code
A checklist can be modeled as a small program. This sketch treats a task with no criteria as never done, which enforces the rule that you define done first.
from dataclasses import dataclass, field
@dataclass
class Task:
name: str
criteria: dict = field(default_factory=dict) # criterion text -> met (bool)
def mark(self, criterion, met=True):
if criterion not in self.criteria:
raise KeyError(f"Unknown criterion: {criterion!r}")
self.criteria[criterion] = met
def is_done(self):
# An empty list is not "done": the task was never defined.
return bool(self.criteria) and all(self.criteria.values())
def remaining(self):
return [c for c, met in self.criteria.items() if not met]
guide = Task(
"Onboarding guide",
{
"Document is six pages or fewer": False,
"Setup steps run on a clean machine": False,
"One recent hire reviewed it": False,
"Published in the team wiki": False,
},
)
guide.mark("Document is six pages or fewer")
guide.mark("Setup steps run on a clean machine")
print(guide.is_done()) # False
print(guide.remaining()) # the two criteria still open
print(Task("Vague task").is_done()) # False: no criteria definedThe is_done method uses all, so one unmet criterion blocks completion. That mirrors the binary property: there is no partial credit at the moment you declare the task finished.
Done has levels
Many tasks have a version that is acceptable and a version that would be nicer. If you don't separate them, the nicer version quietly becomes the requirement, and the deadline slips.
Write two tiers:
- Minimum done. The smallest result that meets the real need. The deadline commits to this tier.
- Stretch. Extras you will do only if time remains after the minimum is complete.
For the onboarding guide, the minimum is the four criteria above. A stretch item might be a troubleshooting appendix. If you finish early, you can pick up the appendix. If you don't, the task is still done.
This also helps with Parkinson's law. Stretch items give spare time a labeled place to go, so it doesn't leak into the minimum tier unnoticed.
Common errors
Defining done as effort instead of outcome
"Spend two hours on the proposal" describes input, not result. You can spend two hours and have nothing usable. Effort limits are useful, but they belong to timeboxing, which a later chapter covers. A definition of done still needs an outcome.
Criteria that can't be checked
"The code is clean" and "the email sounds professional" fail the observable test. Replace them with something you can inspect: "linter reports no warnings," or "a colleague read it and had no edits to tone."
Criteria outside your control
"The client approves the design" depends on someone else's schedule. If you tie your done to it, your deadline is really theirs. Split the task: "Design sent to the client with a request for feedback by Friday" is done when you send it. "Client approval" becomes a separate waiting item.
Too many criteria
A list of fifteen conditions is usually a sign that the task is several tasks. If you can't hold the list in your head, split the task so each piece gets its own definition and its own date. A rough guide is three to seven criteria.
Moving the goalposts mid-task
Halfway through, you find a better approach and add two criteria. Sometimes this is correct, because new information can change what the task needs. Treat it as a deliberate re-plan: write the new criteria down, re-estimate, and revise the deadline openly. The mistake is adding criteria silently while keeping the old date.
Treating done as perfect
The definition of done sets the quality bar for this task. It doesn't have to describe the best work you could ever do. A weekly status note and a published paper deserve different bars.
Edge cases
Exploratory work. In research or debugging you may not know what the result will look like. Define done as a question answered or a decision made: "I can state in two sentences why the build fails, with a log line as evidence." If even that isn't possible, define the task as a bounded investigation and cap it with a timebox.
Recurring tasks. For a weekly report, write the definition once and reuse it. Revisit it only when the audience or purpose changes.
Shared tasks. When several people contribute, agree on the definition together. Different private definitions are a common cause of "I thought you were finishing that."
Tasks that can't meet a reasonable date. If the definition is honest and the estimate later turns out far beyond what you can afford, go back and trim the criteria or split the task. The dashed arrow in the diagram shows this path. Don't keep the criteria and shrink the estimate to fit.
Summary of the step
Before you set a date, write a short list that is observable, binary, checkable by someone else, and bounded. Separate minimum done from stretch. Put the list where the deadline will be. Then the baseline estimate in the next chapter has something concrete to measure.
Exercise
A teammate's task reads "Improve the search page." Rewrite it as a definition of done with at least three criteria that are observable and binary, and name one item you would put out of scope.
Show answer
One valid answer: (1) Search results for the 20 most common queries from last month return the expected top result, checked against a saved list. (2) Page load time for a search is under 2 seconds on the staging server, measured three times. (3) The existing search tests pass and two new tests cover empty queries and special characters. Out of scope: redesigning the filter sidebar, which becomes a separate task. Any answer is acceptable if each criterion can be checked by looking at a number, a test result, or a concrete artifact, and if the out-of-scope item is named explicitly.
Exercise
A task has the criterion "Manager approves the proposal." Why does this weaken a self-imposed deadline, and how would you rewrite it?
Show answer
Approval depends on the manager's schedule, so your deadline is partly set by someone else, and you can't control whether you meet it. Rewrite the criterion as something you do: "Proposal sent to the manager with a request for a decision by a stated date." Track the approval as a separate waiting item with its own follow-up.
Exercise
Your definition of done for a task has twelve criteria and spans three unrelated outcomes. What should you do before estimating?
Show answer
Split it into separate tasks, one per outcome, each with three to seven criteria of its own. Then estimate and date each task separately. A list that long usually means several tasks bundled together, and one date over all of them would hide where Parkinson's law is adding slack.