Agile Principle 12: een team ontdekt een scheve boekenkast, bespreekt verbeteringen en bouwt de kast opnieuw en stevig op.

Agile Software Development, the Principles. Principle 12: Reflect and Adjust

Quick Take

Reflection has little value unless a team changes its behaviour afterwards. A retrospective should examine what actually prevented delivery, distinguish symptoms from causes and select a small number of practical improvements. Then check whether those changes worked in the next iteration. New reports or longer meeting minutes are not improvements by themselves. The purpose is a better way to produce valuable working software, at a pace the team can sustain.

A newly written companion article to the 2007–2009 Agile Principles series, dated January 2010 for the historical archive. This article was not an original AMIS publication from 2010.

This is the twelfth and final post in a series about the principles of agile software development. The purpose of the series has been to return to the Agile Manifesto and examine how its principles can work in real-life software engineering. The promise remains attractive: higher-quality software, faster delivery, greater acceptance by end users and the ability to respond to changing business requirements.

The question throughout this series has been the same: does this work in practice, or is it only a nice marketing and sales story?

Principle 12: At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.

This last principle looks almost too simple to deserve its own article. A team evaluates how it works, decides what could be better and changes its behaviour. Who could possibly disagree? In practice, however, it is surprisingly easy to organise a meeting in which everybody explains what went wrong, make a nice list of improvement points and continue working exactly as before.

Retrospectives are not status meetings

Many projects have evaluation meetings. At the end of a milestone or release, the project manager asks what went well and what should be improved. A report is written, often with an impressive list of lessons learned. It is then stored somewhere in the project documentation. Perhaps the next project manager will find it. Perhaps not.

In an Agile project the retrospective has a different purpose. It is part of the development process itself, not an administrative activity afterwards. The team reviews its own performance at regular intervals, while there is still time to do something with the outcome. The objective is not to create a report but to improve the next iteration.

The team should look beyond the obvious question of whether the planned functionality was delivered. Was the software tested and accepted? Did requirements become clear early enough? Were developers waiting for decisions, environments or test data? Did the build work reliably? Were user representatives available when needed? And was the pace sustainable, or did the team need another weekend to finish what was promised?

Measure the consequences, not the number of actions

Suppose a team repeatedly has trouble delivering a working version of the application at the end of an iteration. During the retrospective somebody proposes a daily progress report. This may improve the amount of information available to management, but it does not necessarily improve delivery.

The real problem might be an unstable test environment, long manual deployment activities, too many tasks in progress or requirements that are still being discussed after coding has started. The team has to find out what is actually preventing progress before deciding which improvement is useful. Otherwise we risk introducing another procedure to solve a problem that the procedure does not address.

The simplest improvement can be the most effective one. Automate the build, prepare representative test data earlier, make acceptance criteria clear before implementation or reduce the number of parallel tasks. Then test whether the change really helps. A retrospective should produce a better way of working, not an additional collection of rules.

The team owns the improvement

Principle 11 discussed self-organising teams. Principle 12 is a logical consequence. When people are trusted to organise their work, they should also have the opportunity and responsibility to improve that organisation. Asking them to identify a problem but requiring three management approvals before changing a simple working agreement does not help.

That does not mean a team can change everything by itself. Decisions that affect customers, budgets, security or other teams require coordination. But the team should be able to adjust its own collaboration, development practices and technical routines within agreed boundaries. Otherwise self-organisation becomes a decorative word in a project plan.

A retrospective also requires a degree of honesty. If every difficulty is immediately translated into an individual performance problem, people will soon stop reporting difficulties. The discussion should concentrate on the way work is organised and on improvements the team can influence. Sometimes that includes admitting that an earlier decision was wrong. This is useful information, provided we do something with it.

Make one improvement and check the result

An easy way to turn a retrospective into a useless ritual is to agree on fifteen actions at once. Nobody has time to implement them, especially when the next iteration starts immediately. My preference is to select one or two improvements that matter, agree on who will take them forward and evaluate their effect during the next retrospective.

For example, if a team loses a day with every release because deployment is manual, automate a reliable part of the deployment procedure. If user feedback arrives too late, arrange an earlier demonstration of working software. If defects repeatedly appear in integration, review how the team builds and tests its components together. In each case, compare the situation before and after the change. The improvement must be visible in the work, not only in the meeting minutes.

Regular reflection does not have to be complicated. A short discussion around a whiteboard may be sufficient. The team needs to understand what worked, what did not work and what it will do differently. The difficult part is not filling the whiteboard. The difficult part is changing behaviour.

Continuous improvement of the product and the process

We often measure project progress through delivered functionality. Principle 7 reminds us that working software is the primary measure of progress. That is still true. But it is worth looking at how that software was created. A delivery process that depends on overtime, repeated manual corrections and a few heroic individuals will not remain effective indefinitely.

Reflection therefore connects several other Agile principles: technical excellence, simplicity, motivated people, sustainable development and frequent delivery. A team that improves the product but never improves the way it works is missing an important part of agility.

Conclusion

The last principle brings us back to the central question of this series. Agile development is not successful because a project uses iterations, a daily meeting or a collection of fashionable terms. It becomes useful when a team delivers valuable working software, learns from the result and is prepared to change the way it works.

Retrospectives make sense only when they lead to action. Keep them practical, select improvements the team can actually make and verify whether they work. If the same problems return every iteration while the meeting minutes become longer, the team is reflecting but not adapting. That is not much of an improvement.