Sub topic 8
Timeboxing to cap effort
This chapter assumes you know Parkinson's law, the difference between an estimate and a deadline, and how to write a definition of done. It also assumes you have a baseline estimate for the task you want to box.
Deadline versus timebox
A self-imposed deadline answers "when must this be finished?" A timebox answers "how much time am I willing to spend?" The difference shows up when the work turns out harder than expected.
- A deadline protects the outcome. If the work runs long, you keep going until it is done.
- A timebox protects the time. When the box ends, you stop and decide what to do next, whatever state the work is in.
Parkinson's law says work expands to fill the time you allow. A deadline sets the outer limit on that expansion. A timebox sets a firm cap on one session or one task. This matters most for open-ended work such as research, polishing, and tidying, which has no natural stopping point.
Choosing the size of the box
Size the box from your baseline estimate, not from a hope. Three rules cover most cases.
- Use a box at or slightly below your honest estimate for tasks where "good enough" is acceptable, such as a first draft or an email.
- Use a box equal to your estimate plus a buffer for tasks with a fixed outcome, such as fixing a bug.
- Use a small exploratory box for unknown work, such as 45 minutes to find out whether a library can do what you need. The output of that box is information, not a finished task.
Keep boxes short enough that you can hold your focus. For most people that means 25 to 90 minutes per session. A task that needs ten hours becomes several boxes, each with its own definition of done.
What happens when the box ends
The rule that gives a timebox its force is that you must make a decision when time runs out. Choose one of three options.
- Ship it. The definition of done is met, or the remaining gap is not worth more time.
- Extend once. Add one new box, sized from what you now know, and write down why.
- Re-plan. Stop, split the task, or drop it. The estimate was wrong, and that is useful data for your review later.
Without the extension limit, a timebox turns back into an open-ended task. If you extend every time, the box has no effect.
A minimal timer
A phone timer works well. This script does the same job and reminds you of the three choices when the box ends.
import time
def run_timebox(task, minutes):
"""Block until the box ends, then print the decision options."""
print(f"Timebox started: {task} ({minutes} min)")
time.sleep(minutes * 60)
print("Time is up. Decide now:")
print(" 1. Ship it (definition of done met)")
print(" 2. Extend once (write down why)")
print(" 3. Re-plan or split the task")
run_timebox("Draft the introduction", 0.1)Run it as written and it pauses for six seconds, because 0.1 minutes is six seconds. Change the number to a real length when you use it.
Common mistakes
- Boxing a task with no definition of done. You cannot tell whether the box succeeded, so you extend by default.
- Setting the box shorter than any realistic estimate. You will miss every box, and you will start to ignore them.
- Treating the end of a box as a failure. A missed box is a data point about your estimate, not a verdict on you.
- Skipping breaks between boxes. Back-to-back boxes with no rest lower the quality of the later ones.
- Using a box for work that needs a quality floor. Boxing a safety check or a careful review can push you to cut corners. A later chapter covers when tight limits backfire.
Where timeboxing fits
Timeboxing builds on the self-imposed deadline from the previous chapter. The deadline gives you the overall date, and the boxes break the path to that date into capped pieces. The chapters on buffers and review both use the same records: the box you set, and what actually happened when it ended.
Exercise
You timeboxed a research task for 45 minutes. When the timer ends, you have found two good sources but need about 20 more minutes to meet your definition of done. What should you do, and what should you record?
Show answer
Extend once, with a new box of about 20 minutes, and write down why the first box fell short (for example, "the search took longer than estimated because sources were scattered"). If the second box also ends before the work is done, re-plan or split the task instead of extending again. Record both box lengths and the actual time so your review can show whether your research estimates run low.