Adaptive projects don’t just happen; in order to be successful, they demand skilled project management. While the focus of project management in an adaptive environment is on leadership, collaboration, and accountability for results rather than on detailed task-level control, the key organizational and deliverable management activities that make projects successful must still be well executed. The project manager needs a framework in which to make critical decisions about both optimizing and adapting practices. The project management framework shown in Fig. 11.1 —a generic framework used by a large number of organizations—provides a way of organizing and integrating many of the principles and practices covered earlier in this book.
Figure 11.1: Phases of the Project Management Model.
“The software industry has a capacity for almost infinite self-delusion. Managers and clients often establish a totally unrealistic schedule for delivering a major system in half the time ever required for similar projects . . . . Then they move into full development with such amateurish planning and tracking that they don’t realize until a few weeks before disaster strikes that the whole schedule was essentially an impossible fantasy.”
—C. Jones [ 1996 ], p. xxvii.
Skilled project management can’t accomplish the impossible. Poor management will surely extend the project’s schedule just as better management will reduce it, but neither the project management frame-work presented nor the general adaptive approach to development is geared to accomplish the impossible or the irrational. Speed is achieved by adroit adaptive management, not by management’s irrationally setting due dates.
Accelerated time frames force the project team to deal with issues quickly and efficiently. In extreme projects, time delays can prove costly. A time-oriented project management framework helps organize all the practices a team needs to survive in an extreme environment.
Operating at the edge of chaos might be interpreted as reason enough to abandon any traditional management practices. However, as the previous discussion on balancing rigor and flexibility affirmed, there is always a need for a prescribed set of traditional practices to maintain the potentially stable portion of the environment.
This chapter does not provide an in-depth view of project management, but follows the four-phase model named in Fig. 11.1 to address project management topics that are particularly relevant to guiding adaptive projects. The chapter provides a framework for using material previously covered (for example, product mission profiles), additional detail on relevant material (for example, time-boxing), and additional project management guidance (such as, how to contain change).
A Project Management Model
As shown in Fig. 11.1 , the project management model names four key phases—initiate, plan, manage, and close. 1 Although depicted as serial steps, activities in these phases are performed iteratively in each development cycle. Activities in the Manage phase, however, are performed continuously throughout the project. For example, at the end of each cycle, customer focus-group change requests are one of the inputs to a replanning activity. Postmortems, one of the closing activities, may be done, in abbreviated form, at the end of each cycle.
1 Although the names for these project management phases are quite general, the ideas for this model and for some of the supporting detail-level steps are derived from material developed by my colleague Lynne Nix.
Many project managers make the mistake of thinking project management and development activities are part of a single methodology. Some proponents of specific software development methods such as object technology, for example, believe there is such a thing as, say, object-oriented project management! I maintain that software development and project management practices are, and should be, distinct. To my mind, some software development life cycles mix the proverbial “apples and oranges.” For example, estimating the project’s size—a project management activity—is different from but just as important as defining the requirements of a feature. Many traditional commercial methodologies also make the mistake of integrating development and management activities. This integration is an attempt to simplify the process—but it merely assures that every project is shoehorned into a fixed process. Each project needs an integrated but separate software development and project management life cycle.
Adaptive project management is built on the framework of the Leadership-Collaboration model. So, while project management activities are similar to those in a traditional project, the conceptual framework often alters their implementation.
Let me reiterate one point before we move on—project management is a team effort. The day is past when a project manager could hide in his or her office for two days, or two weeks, and emerge with a viable plan (whether this was ever the case is debatable). Collaboration doesn’t begin by having a project manager say, “Do this.” It starts by having all the project team members say, “This is what we need to do.”
Initiate the Project
Preparation is key to a successful mountaineering ascent. Preparation may seem to be the easiest task technically, but it is one of the more difficult to accomplish in reality because it is the unglamorous, mundane work for which few have enthusiasm. In climbing, preparation requires logistics, travel planning, and conditioning—a knowledge of what to bring, how to get it there, and how to endure the physical challenge. A weekend climb within easy driving distance requires a relatively low level of preparation, whereas preparation for a major expedition to, say, Mount Everest or K2 may require years. In software development projects, preparation is embodied in project initiation and planning.
In planning a climb, many decisions must be made that trade off safety, pack weight, and comfort. Camping gear, climbing gear, footwear, clothes, first-aid supplies, and food must all be carefully considered. Individuals spend long hours getting in top physical condition. I, for example, used to haul a backpack filled with 65 pounds of rocks up and down a long flight of concrete stairs beside our driveway, much to the amusement of my wife, daughters, and cats! Whatever the situation, it takes a lot of time and thought to make these preparations. Good preparation does not overcome the technical difficulties in the mountains, but inadequate preparation can ruin a climb before the fun even starts.
Software projects are no different. Good preparation does not ensure success, but poor preparation usually leads to failure. There are no silver bullets here. Good preparation means having the discipline to do what you must—develop a plan that includes deliverables, cycles, schedules, and the like; define and match skills to roles and responsibilities; make tool and technique decisions; develop project and product documentation procedures; choose project-measurement and change-control procedures; train; and do other miscellaneous, seemingly mundane, but critical tasks.
The purpose of the Initiate phase is to clearly identify what is to be done and under what conditions it is to be accomplished. Specifically, this phase answers the following questions:
• Who will plan, manage, and perform the project?
• What is the purpose of the project (the objectives)?
• What are the project constraints?
• How complete is our understanding of the project?
• How will planning and management be approached?
“The seeds of major software disasters are usually sown in the first three months of commencing the software project.”
—C. Jones [ 1996 ], p. 51.
In order to plan any project, traditional or otherwise, team members must define the basic specifications (the feature set) for the application. To launch an adaptive project quickly, however, project managers must simultaneously specify that the project initiation deliverables (for example, the project data sheet) and the outline specifications be developed during an initial JAD session.
The project planning example given in Chapter 4 described a relatively small project, but there are points specific to initiating large projects that should be emphasized. For small projects, much, if not most, of the project initiation work can be accomplished in a single kick-off week. For larger projects, additional training, resource procurement, architectural work, and project justification may lengthen the initiation time by several months (although more than three would be excessive). If the initiation work is scheduled to take more than a couple of weeks, it should be designated as a Cycle 0. This designation indicates that project activity has begun, but that no application features will be demonstrated.
This brief consideration of Cycle 0 project initiation brings up the important topic of system architecture. As other iterative development processes (the Rational Unified Process, for example) have correctly pointed out, a well-considered architecture is important, but architecture, like requirements definition or design, should not be confined to a single project cycle. While comparatively more time may be spent defining architecture in Cycle 0 than in later cycles, it should be addressed, and possibly revised, during each cycle. Over the life of the development effort, architecture will probably be more stable than, say, requirements, but it will still change. Trying to get architecture “right” in Cycle 0 is the “wrong” approach. Keep Cycle 0, and activities like architectural analysis, short, allowing a better solution to evolve over time.
Identify the Project Team
During the Initiate phase, roles and responsibilities of and relationships and communications lines between the project team and the executive staff are defined. These include all the collaboration network components.
An adaptive project team needs a single point of contact with senior management—an executive sponsor. For an internal IT project, the executive sponsor may come from the customer’s organization and may be supported by a steering committee of other customer representatives. For a project done by a software vendor, the sponsor is usually an executive from one of the product-development organizations. The key responsibilities of an executive sponsor are to articulate objectives, approve resources, and establish constraints. The project team members can help develop detailed objectives but can’t set business objectives; they can also utilize assigned resources but cannot alter resources assigned; and they must operate within established constraints.
An executive sponsor is important to the success of any project, but especially to an accelerated one on which clear direction and assistance are more critical. The executive sponsor must understand how an adaptive project is different from a traditional one, particularly regarding the specific life cycle, the emphasis on product components, the applicable view of progress monitoring and management accountability, and the need to assist the team in procuring resources and in quickly reaching decisions.
The core team, one for each major feature set, consists of people who are committed full-time to the project. This core team for an extreme project must be dedicated to the one project only because part-time participation (which hinders any project) may totally derail high-speed, high-change projects. While core-team members drawn from the customer’s organization preferably should be willing to participate full-time, in many cases, the reality of the situation is that the “right” people are just not available full-time. In accelerated projects, the key to success is for client team members to be available to the team on a daily basis. Having the “right” person available every day, even for only two-to-three hours, is often preferable to having the “wrong” team member just because he or she happens to be available full-time.
As was described in Chapter 8 , the project leadership role drives success. The project manager’s role is a full-time effort on most adaptive projects. The speed and change of an adaptive project usually keep the project manager’s job very intense.
Create the Project Mission Data
Although the task of creating project mission data was detailed in Chapter 4 , one point bears additional discussion in terms of the Initiate phase. The question is, How much time should team members spend creating mission data?
For smaller projects, the mission data-creation activity might take a few days; for very large ones, it could take a month or more. Time should be spent by team members reviewing historical information about the project that has been accumulated over time by clients, marketing staff, or developers. This historical information may range from a detailed market research study in a product company, to a project proposal and cost/benefit analysis put together by an internal client, to pre-project work done on one of the IT group’s projects. The primary purpose of this step is to review this information and gather any additional information (project mission, project planning, or product requirements, for example) required, in order to clearly identify what is to be done and under what constraints it is to be accomplished.
Define the Project Approach
One problem with many projects is that the team fails to discuss and agree on the approach to be used in executing the project. Roles are confused, arguments arise on the use of development techniques, tools are introduced late in the project, and other needed equipment or materials aren’t obtained on time. These problems are all symptoms of the team’s failure to adequately establish the framework for planning and managing the project. While these areas are detailed at the beginning of a project, they should also be considered as part of the review at the end of each cycle. During an adaptive project, decisions must be made regarding activities in each of the following five areas:
Roles and Responsibilities: Determine who will be involved and what each person’s involvement will be during the planning and development phases of the project.
Communication and Collaboration: Identify all of the project’s stake-holders, what information each stakeholder needs, what information each stakeholder will receive, and the means and schedule for providing the information. Reach consensus on all the initial collaboration structure decisions and on mappings among deliverable components and teams.
Development and Learning: Identify which development practices and support tools will be used during the project. Also identify which learning practices, such as customer focus groups, will be used.
Change Management: Describe the approach to be used for both change control and change containment. Identify and define the base-line items of the project and determine how changing these items will be managed during the development process.
Progress Assessment: Identify how and when project progress will be measured and assessed, how exceptions will be identified, and how adaptive actions will be planned and implemented.
Increase Speed by Starting Early
It is always amazing to me to see how much time is wasted getting projects started. I have seen months, even years, wasted, with the development team then being admonished to speed up to a completely unreasonable delivery date.
“The front end [prior to official project start] offers some of the cheapest opportunities to cut development time that are to be found anywhere in the cycle . . . . [T]he front end is so fuzzy that people tend to forget that it even occurs. . . . [W]e have seen situations where as much as 90 percent of the development cycle elapsed before the team started work.”
—P. Smith and D. Reinertsen [ 1997 ], pp. 44, 46.
Accountants do not speculate very well. Many project budgets depend on having firm cost estimates before a project can be approved. Teams are reluctant to build anything, even a prototype, without significant cost/benefit justification. The effort becomes a vicious circle—no money without detailed paperwork and justification, but producing these requires a better understanding of the scope and features, which in turn requires money. Thus, many firms waste months and months because the effort to define features and scope is made into a part-time activity so it won’t cost much. The dollar cost is low, but the cost in time is enormous.
I’ve watched several software companies spend more than a year doing feasibility studies and still end up with a very poor understanding of the project’s scope. A better approach, if the project is large and the product appears to have good market potential, is to concentrate resources for two-to-four months (or fewer, if possible) first on feasibility and then on building a prototype product. Spend at least half the time building one or two cycles’ worth of features. The working model will provide decision-makers with a much better idea of the product’s scope and feature set than would documentation alone. The working model can also be shared with the potential customer base. This work before Cycle 0 might be thought of as Cycle -2 and Cycle -1. In less than half the time one might spend in traditional project identification (work done prior to initiation), the product can be better scoped, and the size and cost more accurately estimated. The approach requires some up-front money and the willingness to speculate, but it can pay off in significant schedule savings.
Plan the Project
Project initiation establishes the broad framework—mission, back-ground data, organization, and approach. Planning fills in the details—a product size estimate, number and length of cycles, detailed resource analysis, and more. Inevitably, there is an iterative interplay between initiation and planning as more information is acquired.
The Plan phase ensures that all project team members understand what must be done and the time frames required for completion. The goals of the planning phase are realism, flexibility, schedule viability, and establishment of a collaborative environment.
The effort spent during the planning phase will directly impact how smoothly the team can implement its plans once work begins. The planning phase addresses a series of questions:
• How large is the application?
• What are the project and cycle time-boxes?
• What features and components are included in each cycle?
• What are the dependencies between components?
• Who is responsible for each component?
• Are the resources assigned to the team adequate?
• Where is the project most at risk?
• What is the least understood part of the project?
The project team needs to address each of these issues in the depth and breadth appropriate to the project. The basic activities to be carried out during the planning phase follow:
• Define the work.
• Develop the project schedule.
• Analyze the resource requirements.
• Assess project risk.
Project planners, just like mountaineers, need to fully understand the challenge ahead of them. Project planning involves more than constructing a few Gantt charts and assigning generic resources. Planning complex projects requires not only good execution of defining, estimating, and scheduling tasks, but also requires good judgment of the nonquantifiable—risk, uncertainty, teamwork, collaboration, and creativity.
Extreme projects, like mountains, share similar characteristics and problems, but no two are identical. Mountaineers, for example, instantly understand what peaks classified as eight-thousand meters will entail even though they may never have climbed the specific peak itself. They know that climbing an eight-thousand-meter peak involves significant time, money, and preparation. It also involves significant risk, to which the spring 1996 tragedy on Mount Everest, in which twelve people from several expeditions died, attests.
But even weekend recreational climbers need a classification system to keep them from getting in way over their ability level. 2 While a one-pitch, 5.10 sport climb might make a fun afternoon outing for a reasonably proficient recreational climber, a 5.9X traditional climb (for which X indicates seriously poor protection with a significant likelihood of injury if a fall occurs) is an entirely different undertaking, at least as far as risk is concerned. And a 5.11, Grade V climb indicates that a climber faces a two-to-three-day ascent and nights spent gently rocking to and fro on a portable two-foot-wide sleeping ledge suspended by ropes. The mountain climber knows something of what lies ahead by virtue of the rating. The project team member also should know what lies ahead when a project is rated extreme, and he or she must use the Plan phase to prepare to meet the challenge.
2 To help readers make the most of this analogy, here are some brief definitions of special terms— Pitch: a distance on a steep grade measured as if by one rope length (165 feet); 5.0-5.14: climb-difficulty grading system; Sport Route: a route with anchors (protection) that are permanently fixed in the rock; Traditional Route: a route along which each climber places removable anchors while ascending.
Before we look at how individual activities within the Plan phase can be structured, we should investigate the concepts of time-boxing and resource fragmentation to see how they impact planning adaptive projects.
Time-Boxing Projects
Time-boxing provides a structure for focusing on the most important mission characteristics and forcing engineering trade-offs.
As the above definition suggests, time-boxing is not only about time. A client once lamented to me, “How is time-boxing any different from what we have always done? Management gives us impossible schedules, then we work until it gets done, usually way past when they wanted it.” The frustration expressed in this client’s statement is exactly what time-boxing is designed to prevent.
Too many developers and managers have misinterpreted time-boxing as being the inflexible servant of time. In order to deliver results in complex environments with high levels of uncertainty and conflicting constraints, managers must have available some mechanism to force periodic convergence. Without some forcing function, the complexity can overwhelm the team and cause prolonged periods of groaning. Every time convergence is forced, the results are subjected to review and revisions. All the components of the quality equation are examined and plans are modified appropriately. Whether we like it or not, schedule slippage is a fact of life in the development of complex products—the uncertainty is just too great. The key is using time appropriately, not as a bludgeon, but as a forcing function to periodically converge on a solution.
Effective time-boxing is built on the same premise as other good project management techniques: Schedules should be aggressive, but not irrational. Irrationality can come from a variety of sources, but two having a particular impact on software projects are sizing and trade-offs. Without adequate sizing, scheduling is a shot in the dark and delivery dates are fantasy. But even with reasonable initial sizing, the evolving requirements, alternative design considerations, and other project changes require adjustments. Adaptive projects need good size estimates, but since we know the estimates won’t be accurate, time-boxing is needed to force hard trade-off decisions and alterations to the project plans. Estimating is like any other part of an adaptive project—one must speculate and adapt rather than plan and control.
There is often a sense among technical staff that faster speed always means poorer quality, but the problem is more complex than a simple, linear trade-off. First, many of the adaptive techniques offer the promise of higher quality through lowered defect levels. Iterative testing, for example, can help catch serious errors earlier in the product’s development. Second, adaptive development stresses the difference between quality and defects—that defects are one part of the quality equation. The software project team that delivers technically superb union-payroll modifications three months late or the developers who deliver commercial software five months after a competitor has delivered its software may indeed cite their technical quality while looking for a new job. Staff and management must always balance speed and quality; unfortunately, the trade-off is not always clear.
Time-boxed project management does not mean cutting corners to make a schedule date at the expense of other quality attributes. This misunderstanding has led many who are concerned with technical quality characteristics such as defect levels and maintainability to see time-boxing as a dangerous gimmick.
Adaptive development uses time-boxing to focus attention on the most important quality characteristics and to force engineering trade-offs. People who are most worried that time-boxing will result in inferior technical quality often have poor specification and measuring systems for those attributes, and therefore add processes and time to the development schedule in an attempt to satisfy nebulous goals. The definition of time-boxing mentions mission characteristics—a category that includes quality measures—not processes. Rather than add processes to a project in order to enforce some ill-defined view of quality, adaptive development relies on defining the quality attributes and letting those dictate which processes are necessary. For example, developing an IT application with a very low defect-level specification virtually demands that some form of inspection process be in place.
Time-boxed project management means using good application sizing and estimation techniques, such as counting function points, adjusting estimates for other quality requirements, and then using available project resources to develop a rational schedule. This overall schedule is then divided into development cycles, each with its own time milestone. By establishing fixed times, time-boxing forces trade-offs in other areas such as features and resources. It also guards against the danger many engineers face in believing in perfection and having a tendency to overdo.
A good guideline for time-boxing on various cycles of development is to maintain strict deadlines on the first two cycles and less strict deadlines on the final two. Keeping strict schedules on the first two enables team members to determine whether the initial estimates or execution were off. In this way, the team forces itself to determine the viability of the initial plan. If changes during the project have begun forcing schedule slippage, time should be added to later cycles, not to early ones.
Time pressure can be a very positive force in software development, but it is also one of the most frequent causes of failure. Using time effectively is the goal of time-boxed project management.
Staff Fragmentation
Fragmentation occurs when individuals (or teams) attempt to work on many tasks concurrently.
Staff fragmentation is one of the most severe and most misunderstood problems facing software development project teams. I am convinced that at the top of the list of reasons why adaptive projects succeed is their insistence on dedicated teams. Many organizations play games with staff resources. As projects continue, especially those lasting more than six months, there is a tendency either to reassign team members to new projects or to assign them temporarily to other work. Loss of staff to other projects lengthens the first project. As projects drag on, the pressure to borrow their resources increases. In an attempt to show customers that something is progressing on their projects, more and more projects are started, with fewer and fewer people on each.
In Why Does Software Cost So Much? Tom DeMarco reveals the difficulty in answering managers who ask, “What if we did only one thing to improve our chances of success? What would it be?” (DeMarco95, pp. 87-88). While DeMarco concludes there is no one right answer to these questions, he does point to staff fragmentation as a major contributor to project failure. He adds that far too many companies’ “people are frustrated by too much task switching” (op. cit., p. 89). For example, people work on several projects, take classes, attend meetings, and serve on process-improvement teams. DeMarco contends that the occurrence of too many complete context switches per day causes thrashing, just like the thrashing that occurs in an overloaded or badly designed multi-tasking operating system. He concludes that “three complete context switches use up a whole working day” (op. cit., p. 90).
Some managers might defend task switching by arguing that they have to assign staff members to multiple projects or those people periodically would sit around doing nothing and waiting. Managers want to fill every available time slot to maintain efficiency and productivity but unfilled time can be an advantage rather than a disadvantage. Bottlenecks are not caused as much by a little idle time here and there as they are by too much work-in-process—that is, too many projects and tasks to be worked on concurrently.
Fragmentation is also caused by frequent interruptions, such as those caused by the telephone, coworkers, loud speaker announcements, and unnecessary meetings. However, fragmentation is not just the organization’s responsibility. Fragmentation is both an individual and an organizational concern. We allow ourselves to be fragmented; indeed, we encourage fragmentation: We respond instantly to return phone calls or send e-mail rather than waiting until a logical break. We start off looking for something specific on the Internet, say, and end up off in another zone. We respond instantly to interruptions, possibly because to do so is more fun than the longer-term project in front of us.
Adaptive teams must balance people’s need for collaboration with their need for uninterrupted working time. The more extreme and intense the project, the more focused the team must be, and therefore, the more it must resist fragmentation.
Define the Work
Most details for planning the adaptive cycles of the project were presented in Chapters 4 and 9 . However, defining the work can be a challenging task. How the work for each cycle is to be defined and selected is determined by the project team first identifying all components—product, technical, and support—and then any secondary tasks that must be done to support the effort.
In some projects, creating one task for each deliverable component allows staff to use traditional project management tools. For projects with a large number of concurrent components, traditional tools need to be supplemented with collaborative services and tools similar to those referenced in Chapter 10 .
For a project to be successfully completed, the work to be done must be identified and organized. In an adaptive project, the interim product cycles provide concrete deliverables with which to assess progress. Because these cycles are often weeks apart, rather than months apart (as in a traditional project), task breakdowns during cycles are not critical.
Part of defining the work involves estimating the size of the application. I recommend that function-point counting or other metrics-based techniques be used for the sizing effort. Once the size has been estimated, that and other factors determine the time-box for both the project and each development cycle.
Develop the Project Schedule
An important project scheduling issue is target versus committed delivery dates. There is often confusion and even hard feelings among developers when someone in management or marketing sets a date. The common refrain is, “How can they set a date when we don’t even know what the specifications are?” Management, or marketing, often has a business need that must be met by a certain time. This date should be established as a target date, one having business justification. A committed date, however, is one the development team sets only after project initiation and planning sessions. Only then is enough information available for the team to commit to a schedule that is based on some rational data. There is then a negotiation between target and committed schedules based on solid planning information and the mission profile.
For example, staff productivity rates and project size should be used to validate the schedule as reasonable. If not, the project team might prepare alternative plans for consideration. One possible alternative would be to cut the software’s functionality. A second might be to increase the staffing. Only when the project team has analyzed and planned the project is a committed date determined.
“The first aspect of a successful project is to utilize a formal sizing approach early in the development cycle . . . .”
—C. Jones [ 1996 ], p. 14.
Function-point analysis has been widely used to estimate the size of software products. Since the emphasis in adaptive cycle planning is on deliverable components rather than on tasks, adaptive cycle planning facilitates the use of function-point sizing. Without some reasonable sizing technique, project trade-offs become a decibel test—that is, determined by who protests the loudest. Just because the unknowns in an adaptive project may be extremely high does not mean that size estimation is fruitless. As the uncertainty of the estimate increases, techniques such as the addition of buffer time can help in managing the schedule.
Analyze the Resource Requirements
Once basic cycle planning and task planning have been accomplished and a preliminary schedule has been generated, the team must evaluate the resource requirements and answer the following questions:
• Is the preliminary staffing adequate? (Many accelerated projects have early staff assignments.)
• Has the planning effort identified the need for a different skill mix than the one currently assigned?
• Is any additional staffing warranted during the project?
• Is representation from the client organizations sufficient?
• Is additional subject-matter expertise required?
Adaptive projects are fast-paced. Obtaining resources consumes schedule time, whether the task is finding a war room where project members can convene, hiring contractors onto the staff, or getting a signed purchase order. The project team that does not identify and attack these seemingly mundane resource issues early will find itself suffering for weeks into the project, and possibly putting the schedule in jeopardy.
Assess Project Risk
Risk management is a current hot topic in software development circles. Although many books, articles, and reports have been published on the topic, Tom DeMarco has written what I think is the best assessment of the true state of risk management in most organizations.
Can-do thinking makes risk management impossible. Since acknowledging real risk is defeatism, the risk management function in a can-do organization is restricted to dealing with those smallish risks that can be mitigated by quick action. That means you confront all the risks except the ones that really matter.
—T. DeMarco [ 1995 ], p. 214.
“[T]he proactive management of risk and opportunity will become the central operational paradigm of business for the late 1990’s and early 21st Century.”
—R. Charette [ 1993 ], p. 6.
Risk management, according to Barry Boehm (Boehm91), is one of the most important skills of successful project managers. Risk is a measure of the probability of an unsatisfactory outcome times the loss occurring from such an outcome. Within the Adaptive Software Development framework, risk analysis can be used in two ways: first, to assist in cycle planning; second, to modify the basic plan in order to manage the risks.
Most organizations give only lip service to real risk management. It is often thought of negatively, as if making excuses for failure. One young project manager at a client organization remarked to me, “We don’t need to do any risk analysis on this project; it’s too important to fail!”
Risk management isn’t done to make excuses; it’s done to identify potentially adverse conditions and isolate them, to reduce the probability they will occur, or to reduce their impact if they do occur. To the outsider, climbing appears to be a very risky undertaking, and in certain circumstances it certainly is. But the vast majority of climbing activity is reasonably safe, because climbers understand the specific risks and make significant efforts to keep them at bay. In the mountains outside Salt Lake City, there are several instances each summer in which “climbers” are reported injured. In many if not most of those incidents, the injured were not climbers, but people without any climbing skills or training, out scrambling around on rock faces and getting themselves into trouble. They usually are the ones that have no idea of the true risk, and therefore have no inclination to manage the risk by using proper equipment and training.
Experienced climbers take risks, sometimes frightful risks, but they generally understand the situation and make an informed choice about how much risk to take. Obviously, they sometimes lose. Climbers who ignore the risks, or lose their focus on confining those risks, often pay dearly. Active risk management is an ongoing, vital part of climbing. Risk management is built into planning a climb, and into every stage of ascent. It is not an opportunity to focus on failure, but to focus on the chance of success—a constant risk/reward analysis. Just as in any mental exercise, too much consideration of the negative can hamper the result, but too little can lead one to take foolhardy chances.
Risk management plays an active role in adaptive projects. From early planning, to detailed planning of each development cycle, to the daily execution of each activity, risk management should be a part of the process. As in most things, good risk management is harder in practice than in concept. Good risk management runs afoul of politics and human frailties, probably more than most other management practices, because it demands we acknowledge our fears.
But risk management is much more than avoiding unfavorable outcomes. Robert Charette, a prominent author and practitioner of risk management, uses the term “risk entrepreneur” to describe those who use risk management as a competitive tool. Rather than manage or ignore risk, the risk entrepreneur uses uncertainty to attack it. A risk entrepreneur is similar to a world-class mountaineer: Each can enter dangerous terrain where others fear to tread because they understand the risks in the context of their own skills. They both have a greater chance of success than their competitors. Neither is foolhardy; in fact, they both comprehend the risks better than the competition does and are therefore able to exploit the situation.
Charette reminds us that with inevitable change comes the need to decide our course of action:
For with choice comes risk and opportunity: in other words, the opportunity to end up with something better than the status quo, or the risk to end up worse than we are currently. And given the uncertainty that most choices possess, . . . it is easy to understand why most of us are satisfied with the status quo, thank you very much.
—R. Charette [ 1993 ], p. 6.
Adaptive Software Development is a tool for the risk entrepreneur—it enables him or her to enter dangerous terrain with a greater chance of getting to the top.
Manage the Project
While material in previous chapters has focused on key aspects of managing projects, this section offers additional ideas on a manager’s need to persist, monitor progress, and finish strong. Then, at the end of the section, specific pointers address containing (as opposed to controlling) change.
Persisting
During product development, and especially during the middle section of a project or cycle, project team members must be unrelentingly persistent. Tasks during this period require team members to expend consistent activity with bursts of high intensity, but they do not necessitate quite the level of sustained high intensity as is required near the end of a project, just before the product ships. Too much intensity during this middle point results in burnout and an inability to step up the pace at the end. This is also not the time to be inconsistent or sloppy, just because there appears to be enough time to ease up.
Here are some strategies to follow:
Keep communication levels high: Encourage frequent but short team meetings; post the project data sheet, risk list, focus-group change requests, and key technical models on the war-room wall (or in the virtual team room); keep the team together; encourage frequent client contact; construct effective status reports; execute the communications and collaboration plans.
Maintain focus: Periodically review the information posted; focus on developing components and avoid getting bogged down in detail; constantly refer to the product mission and profile; resist letting anyone—whether managers or clients—sidetrack the team.
Overcome obstacles quickly: Anticipate problems, make decisions quickly, and move on.
In mountaineering, especially on long glacier passages, the monotony can become overwhelming. Climbing slopes of endless snow and ice that have little landscape variation is like night-driving in west Texas, with the monotony of the snow just as dangerous as the long white line. Wearing modern crampons and using ice axes, climbers can traverse extremely steep snow and ice slopes with relative safety. However, a false step or a crampon point snagged on a pant leg can lead to a headlong, accelerated descent. In some cases, before the speed becomes too great or if the snow isn’t ice-hard, the fall can be stopped by planting an ice axe. If not, the falling climber can only wait—to catapult off a cliff, fall into a crevasse, or crash into a rock outcropping. In climbing, persistence—determination to move on—overcomes the monotony of long, arduous stretches of mountain slopes; constant vigilance prevents disaster. Likewise, during the middle software-development cycles, persistent, relentless grinding out of the daily work, component by component, gets the seemingly endless job done. In risk management, vigilance wards off disaster.
Much of a leader’s job during development involves hard, manual labor—removing obstacles and providing resources can be likened to moving rocks and hauling water. The late Jim Davis, a long-time colleague and friend of mine who was head of an IT organization in Atlanta, told a story about one of his most productive developers whose output had fallen off. Questioning the team leader about the developer’s productivity, Jim discovered that the developer usually spent several hours working at home each evening, but now had a damaged modem. Since the developer’s home equipment was his personal property, the team leader had let the situation continue, thinking there was nothing to be done. Jim, who was a tall, imposing presence, nearly exploded, “Go buy him a new modem today—hell, buy him two!” Sometimes, the rocks aren’t as big as we think. Good leaders must know how to move both small and large ones.
Hauling water means getting the resources the team needs. Whether the resource is a bright new recruit or the latest PC equipment, good leaders of extreme teams must keep ahead of the resource curve. Good leaders recognize talent and recruit it with a passion. They push the boundaries of the organization’s formal systems, living by the old adage, “It is easier to ask forgiveness than permission.”
Monitoring Progress
The Manage phase of the project management model outlined at the chapter opening requires that the project team members and the team leader track progress and adapt their strategies to reflect new information. Questions that must be answered at the end of each adaptive cycle are
• Where is the project? (What is the status on scope, schedule, resource, and defect levels?)
• Where should the project be? (What is the deviation between goal and reality?)
• How do we adapt to get there? (What kind of alternatives do we have?)
• When will we arrive? (Can we establish a revised schedule estimate?)
In traditional, serial development, progress is measured by the completion of certain tasks. For example, after four months, the requirements analysis is done. Completion, even though it is ephemeral in the context of development cycles, gives a sense of closure. When using adaptive cycles, the end of Cycle 1 may find multiple components partially complete, but none finished. My experience has been that adaptive project teams feel least sure about progress in the beginning. In many traditional projects on the other hand, the early good feelings turn out to be unjustified. It is easy to get into trouble in traditional projects because documents give team members a false sense of security. Because adaptive projects produce parts of final products rather than whole documents, precise measurement of progress is harder than in traditional projects, but the qualitative measures are more indicative of real progress. As the project proceeds, adaptive team members understand much more about the final product than a traditional team does, even if they have a harder time precisely measuring the progress.
Both qualitative and quantitative progress data should be gathered for each of the four project profile components—scope, schedule, defects, and resources. In an adaptive project, scope progress is measured primarily by monitoring component completion through focus group sessions or cycle reviews.
The project team should gather enough information to answer the following questions for management:
• Scope
Did the product components demonstrated at the focus group presentation satisfy the planned cycle deliverables?
Do the change requests generated from the focus group seem reasonable in terms of scope boundaries?
Do the change requests reflect a convergence of client specifications and delivered components?
Does the potential resolution of any focus group issue appear to impact scope seriously?
What was learned in the cycle that would significantly alter scope estimates?
• Schedule
Was the cycle completed on schedule?
Does the schedule for the next cycle still appear feasible?
What risk factors would adversely affect the schedule?
• Defects
Is the quality of the delivered components appropriate to the stage of development?
What are the defect levels and what are the trends?
• Resources
Have core team members been available full-time?
Is client availability adequate and at the planned levels?
Are team members comfortable with their roles?
Are members of the team becoming overloaded or burned out?
In answering these questions, the team must also reassess the existing project plans and develop any adaptive actions necessary to overcome problems. Differences from plan may or may not indicate a problem. Only careful analysis can determine whether a problem exists and what the adaptive or corrective actions might be. In analyzing any variations, the team members need to find out if the problems pertain to one-time, easily fixable events, or if they indicate potentially longer-term, serious problems.
During each cycle’s progress assessment meeting but at a time separate from the focus group meeting, the team should conduct a mini-postmortem. This form of retrospective (described in Chapter 6 ) may point out changes needing incorporation into the next cycle plan.
A project status report for an adaptive project should be simple and informative, providing a snapshot of progress, problems, and corrective action plans. It should also point out areas for potential management action. Specifics about the contents of a project status report and its recipients should be identified during project initiation.
Project status reports should contain most of the following:
• an introduction, including the project-objective statement
• a recap of significant accomplishments
• specific quantitative data to indicate progress
• highlights of problem areas
• an assessment of the impact of problems on the project plan for the next cycle and for the remainder of the project
• specific corrective actions taken or anticipated
In addition to preparing periodic written status reports, the team may also need to hold cycle milestone reviews with management.
Finishing Strong
How many times have sports stars like Michael Jordan, playing for the Chicago Bulls, or John Elway, during his years as quarterback with the Denver Broncos, pulled out a last-second victory? The player’s endgame is usually important. In sports, there is frequent cause to lament an athlete who has great statistics, but cannot seem to step up at the end. On software projects, the endgame is a time of drama, intensity, and, often, poor execution.
Redpoint climbing tests the climber at his or her maximum performance levels. The last fifteen feet of a climb can be excruciating. If the crux—the most difficult section of a climb, often lasting only one or two moves—is already past, the climber’s tendency may be to relax, but to do so is sure to cause a fall on an easier section. Near the end of an exhausting task, a person’s body and mind perform strange tricks. Like basketball or football or gymnastics, climbing is a sport in which fatigue and the need to maintain coordination can clash.
In climbing, fatigue and lactic-acid buildup cause the climber’s brain to lose its power of concentration; as the climber’s focus narrows, the body reverts to reflexive, usually incorrect, actions. If the climber had just been able to concentrate on the right actions, the finish might be different. The key is learning, through practice, to do the right things under high stress.
Software project teams under stress often experience a similar loss in concentration. Under stress, team members tend to go “dark” (McCarthy95), lock themselves away, and concentrate on their own tasks. Communication deteriorates. Rather than carry out practices they know they should continue, they let shortcuts become the norm. The team must practice working under stress so that the initial destructive reflexes don’t take over. This endgame practice suits the iterative nature of adaptive development. The team that is falling apart before the first or second focus group review needs to review its performance under stress so it can finish strong in the last cycles.
Containing Change
High-change environments demand that team members understand the state of equilibrium as a temporary condition. To manage a project in a fast-moving environment, a leader must be skilled at both controlling and containing change. Change causes something to become different, with differences arising between what was planned and what actually occurred, or between something that was previously done and what is being done currently. Controlling change is usually perceived as a specific process for documenting, assessing, and acting on a difference (for example, revision control for a document). In traditional projects, change, particularly that arising from the difference between plan and actual, has an implied, if not explicit, negative connotation.
Containing change is less formal. Containment requires that managers and staff understand differences, decide if the differences should be acted upon, and notify other people or other teams of the actions. In adaptive projects, since change is considered the norm, differences are viewed less negatively, as items to be considered, not eliminated. Finding answers to specific questions such as the following becomes part of the project team’s everyday work activity:
• What is the difference between today’s partially or fully completed components and those outlined in the requirements?
• Do we have existing procedures or practices—rigorous, flexible, or problem-solving—to handle these kinds of differences?
• Whom, if anyone, do we need to notify about the differences?
• How formal must we be in recording the differences?
• Do the differences exceed an established boundary condition?
• If the differences do exceed established boundary conditions, what does the boundary crossing mean in terms of recording and notification?
Containing change requires managers to perform a kind of balancing act. In high-change environments, neither leaders nor staff have enough time to control every change with formal change control processes. To control change, one must attempt to stabilize the environment, to make sure every component is catalogued and every revision documented. Managers wishing to contain change seek to stay out of chaos, but realize that complete tracking of all changes is not practical. In an adaptive project, managers employ rigorous change control processes on some items (source code, for example), but less rigorous containment practices on other items.
Containing change is too big a job for managers alone; it must be everyone’s job. Techniques for containing change include bounding, ignoring, postponing, filtering, replanning, and buffering. While these techniques are not unique to adaptive projects, they are not usually associated with the rigorous process of change control.
Bounding Change
A mission statement, a resource constraint, and the end of an adaptive cycle are all examples of boundaries that help contain change. Within a development cycle, the team members may appear uncoordinated and free-wheeling, but the cycle end funnels the energy into serendipitous results. While resource constraints may have significant leeway, monitoring them is one way of ascertaining whether the team is converging on a solution or endlessly circling. Specifying the desired results (the “what”) and letting the team members decide how to achieve those results is also a form of bounding.
Ignoring Change
Many differences can just be ignored, or, at the least, not acted on at all. In collaborative meetings, for example, hundreds of differences may be discussed before a joint solution is proposed. Although selected meeting notes should be taken if they can serve as reference material to support a decision, having a meeting scribe record all the differences would be counterproductive. How much you ignore may also be a function of your tools. Newer word-processing software with advanced redlining, annotation, and versioning features makes recording and monitoring differences comparatively easy. Without these tools, “ignoring” seems to be a very acceptable option. (Having recently written a two-hundred-page document with six coauthors, I can say that keeping up with differences is not easy, even with access to advanced tools.)
Postponing Change
Sometimes, the best strategy is to postpone acting on a difference until it is time for the next revision, the next cycle, or the next product version. Postponing does involve some processing, since the information needs to be recorded so that it can be retrieved at the appropriate time.
Filtering Change
Filters, which generally contain characteristics of a component along with associated permissible actions on the component, help a manager decide what action to take on differences. Filters are particularly appropriate when cycle milestones and ship dates are approaching. In a workshop I held with a client several years ago, the participants identified a pervasive mental model they were operating under: “There is always time for one more change.” In analyzing the evolution of this mental model, they realized it originally stemmed from a desire to be more responsive to their customers. However, over time, they were accepting virtually any change, from any source. Setting up filters at various time frames prior to the ship date, with criteria for incorporating changes, insured that critical customer-related changes were accepted while less important ones were postponed.
Replanning Based on Change
The end of every cycle includes a replanning activity. Looking at planned features, implemented features, new features, requested changes, and all other project components, the team adjusts the plan for the next cycle. If the adjustments violate the boundary conditions of the mission statement, additional executive sponsor approval may be necessary. As the project proceeds, the boundaries narrow, but where traditional project managers spend more time explaining and justifying variations, adaptive project managers have a tendency to accept the differences, adjust to them, and move forward. Functioning in the realm of disequilibrium and unpredictability, adaptive team members know that time spent justifying differences is not productive.
Buffering the Project Schedule
Time buffers are unallocated time periods added to the end of projects to help manage uncertainty. They should be used to react to unforeseen events and misestimates based on inadequate information. Time buffers help compensate for the fact that, although we know that changes will occur, we don’t know what they will be. Some kinds of changes can be anticipated; others come out of left field. Once the time allocated for a cycle plan is established, 10 to 20 percent more time should be factored into the schedule. The wise team targets the original schedule, utilizing the additional time only if needed. To the extent that it is possible, buffer time should be used for unanticipated events.
Close the Project
It is as important to close the project properly as it is to begin it properly. In traditional, long projects, the team never gets a sense of completion and accomplishment. The Close phase gives the team an opportunity to declare success, wrap up any loose ends, conduct a postmortem on the entire project, and even have a party.
In some organizations, projects seem to go on for years. When major changes occur in projects, it is important to close the project and initiate another one. Closing projects doesn’t take much time, but the benefits can be substantial.
Summary
The project management model is one of the foundations for a successful adaptive project.
Preparation through good project initiation is key to both mountaineering adventures and software projects. Extra time spent in the beginning pays large dividends later.
Project initiation involves choosing and preparing the project team, creating and assembling project mission data, and defining project structure items.
The project approach consists of roles and responsibility, communication and collaboration, development practice, change management, learning, and progress assessment decisions.
A very effective way to increase a project’s speed is to start early.
Planning the project starts with understanding the scope and requirements, and ends with creating a well-considered, scheduled, resource-loaded, risk-analyzed project plan.
Project planning activities are
• Define the work.
• Develop the project schedule.
• Analyze the resource requirements.
• Assess project risk.
Time-boxing is a structure for focusing on the most important mission characteristics and forcing engineering trade-offs.
Time-boxing is not an excuse for low quality. It forces the project team and management to articulate the important dimensions of quality and their relative priorities.
Developing a project schedule involves understanding the project’s size, the cycle plan, and the resource availability.
Risk analysis is an important part of cycle planning and ongoing project management. Risk analysis involves asking, “What do we not understand about this project?”
Managing the project requires persistence, vigilance, and an ability to finish strong.
The end, when staff is tired and tempers are short, is the time to remember the important practices. It is not the time to abandon reason and judgment.
Change containment practices are more flexible than change control practices.
It is important to close projects. Team members need a sense of closure.