One of the primary goals of this book is to provide a framework for organizations that need an adaptive approach on large, complex projects. Scaling up from a model is a problem in many fields, but it is especially critical for engineers. I once worked for an oil company that had a project to construct a fifty-million-dollar pilot plant that was intended to handle a new high-temperature, high-pressure oil-refining process. On a small scale, the refining process worked fine in the laboratory, but the company was leery about spending a billion dollars to build a commercial facility without first testing the process by means of a realistic, working model. Scaling up from the lab model to a commercial plant was too big a risk, even though all the engineering studies appeared sound.
“Because product development hinges on problem solving (which is notoriously unpredictable), strict automation of everyday tasks can destroy the creative energy which drives top developers.”
—W. Collier, D.H. Brown & Associates, private correspondence [1996].
The test plant blew up, scattering the foot-thick walls of the containment tank over the landscape. The commercial plant was never built. The fifty-million-dollar pilot saved the company from a billion-dollar mistake. Under day-to-day operational conditions, the extremes of temperature and pressure were just too unstable. Scaling is always an issue in engineering. In software engineering, we often forget that the problem differences between a thousand, a ten thousand, and a hundred thousand function-point project are not linear, but exponential.
Our traditional approach to managing larger projects has been to increase the rigor applied to the development efforts. Tools are oriented toward stabilizing the uncertainty and change by employing project-management, configuration-control, requirements-specification, and other techniques. These techniques seemed to work well through the 1970’s and most of the 1980’s for projects undertaken in large banks, insurance companies, telecommunications firms, and in the military. But while many of these projects were complicated, they were not complex in regard to their need for speed and for rapid rates of change. More rigor became the approach used to handle increasingly greater size and complexity. Because no distinction was made between complicated and complex, increased rigor was applied as the answer to every problem.
But as the forces of globalization, mass customization, extended enterprises, and electronic commerce led to greater complexity, our rigorous tool set began to fail us. As if with blinders on, we still fail to learn lessons from software developers such as Microsoft, whose Windows NT, reportedly containing upwards of 35 million lines of code, is not only huge—which, in its own way, contributes to complexity—but it must survive in a highly competitive environment in which speed and change are the dominant forces.
Large, complex projects require increased rigor, but they also require an adaptive, on-the-edge, collaborative environment in which to generate emergent results. These projects must be simultaneously rigorous and emergent, and they pose a very difficult leadership challenge.
There are three solutions to the challenges of large, complex projects:
• An adaptive culture, as described in Chapter 8 , is needed.
• Rigor must be viewed as a balancing force, not as an end goal.
• Frameworks must encourage emergence at the same time as they bring increased rigor to certain practices.
Engineering-oriented cultures, such as that envisioned by the proponents of the Capability Maturity Model, seek to optimize results by increasing process rigor. Proponents of an adaptive culture believe that the most critical activities—those of creativity, innovation, and problem-solving—operate best in a more flexible environment, one in which rigorous practices should be designed to balance at the edge of chaos, not to keep everything nice and tidy. My general guideline for managing larger projects is to increase the rigor applied to defining and organizing the results, and even then, to increase the degree of rigor slightly less than just enough.
The third solution, frameworks that encourage emergence and increase rigor, is the subject of this chapter and the next. As larger, complex projects are undertaken, there are frameworks in which rigor can be applied in ways that are not detrimental to an emergent environment. The first of these frameworks is called the Advanced Adaptive Life Cycle, which enhances the basic Speculate-Collaborate-Learn cycle by replacing the traditional emphasis of workflow with an emphasis on work state . The second framework is structural collaboration, which is covered in Chapter 10 .
The key to scaling up extreme projects is to apply increasing rigor to the results, that is, to the work state rather than to the workflow.
To understand business from a product perspective, we should ask two questions: “What do we produce?” and “How do we produce it?” Processes or activities are the “how.” Results are the “what.” Results are the components that a software development project produces. Every product, whether an oil-drilling platform or a new miracle drug, has some describable structure—a definition of the “what.” Civil engineers describe the structure with blueprints, biochemists use molecular structure diagrams, software developers use use-case models. While the “what” and the “how” are inextricably linked together, focusing on one versus the other engenders different approaches to management.
Traditional software development practices, beginning with the Waterfall Life Cycle and extending to the Capability Maturity Model, are process- or workflow-oriented. The stated premise of advocates of process-driven approaches is that if the process is improved, then the product, the results, will improve also. Workflow models break the development process into increasingly detailed phases, activities, tasks, and steps (or a similar hierarchy). Upon completion, each task can be crossed off the project manager’s checklist.
“Successful change programs begin with results . . . . Most corporate change programs mistake means for ends, process for outcome. The solution: focus on results, not activities.”
—R. Schaffer and H. Thomson [ 1992 ], p. 80.
Adaptive development focuses not on tasks, but on the results—specifically, the primary components that deliver functionality to the end user. While documentation is defined as a support component, the components that deliver direct functionality to the end user are the primary focal point, as described in Chapter 4 .
One important difference between the traditional workflow and the adaptive approaches is how each handles partially completed work products. In the workflow approach, work products are finished; in the adaptive approach, work products evolve. In a traditional life cycle, we expect the requirements document to be completed in the first phase of the project, then change slightly over the rest of the project. Change-control procedures are put in place to “control” change and hopefully keep it to a minimum.
During an Adaptive Development Life Cycle, the “create an order” component would evolve over several development cycles. While we hope the number of changes decreases from cycle to cycle, the component may not be finalized until late in the project. When the project is of small to moderate size, keeping up with constantly evolving components is not too difficult. However, as project size exceeds 5,000-to-10,000 function points, additional rigor is required to manage the project. The workflow approach to rigor is to break tasks down into finer and finer detail—often hundreds of detailed tasks. The work state approach is to define three or four completion “states,” or status codes, for each key component. Monitoring a handful of components and a few states is easier than monitoring hundreds of tasks—and more effective, too.
A second crucial difference between the workflow and work state approaches is that a workflow approach assumes that we can articulate each of the tasks involved in producing the results and, furthermore, that a cause-and-effect network of the tasks can be built. A work state approach recognizes, particularly for the most creative aspects of development, that people may do “a little of this and a little of that,” in trying to find a solution. A great developer will scratch out some requirements notes, doodle a design, code a prototype, engage in a heated discussion with a peer, and return to scratch out some additional requirements—articulating his or her sequence of creative activities is a hopeless exercise. The work state approach says, “Don’t bother me with the detailed activities, just let me know when the work product (component) has reached a certain completion state.” The rest of the chapter describes this transition to managing the work state rather than the workflow.
Since our management practices are so attuned to thinking about process or workflow, the next section offers some insight into breaking that workflow mindset. Then, in order to better understand the conceptual foundation of the Advanced Adaptive Life Cycle, we will explore how the information that defines a component would evolve over that single component’s life cycle. The Advanced Adaptive Life Cycle is then described as a framework for managing all the components that constitute a product. Finally, the last section provides guidelines for gradually increasing the rigor of managing components as size increases. To simplify terminology, from this point on, I use the general term Adaptive Development Life Cycle to connote both the basic and advanced versions.
Breaking the Workflow Mindset
Software developers usually visualize phases of a software development life cycle as a workflow, because software development life cycles originated in military, aerospace, and construction projects that contained processes, tasks, and activities. This workflow mindset is so prevalent that anyone today who is not doing process improvement or process reengineering is considered undisciplined or behind the times. It’s not that improving process is a wrong approach to software development, just that it has been oversold, particularly for processes with a high creative content like product development. Workflow is appropriate where definable, repeatable processes prevail. For creative work, another mindset is more productive—a results-oriented mindset.
There are keen differences between process-centered and results-centered viewpoints. Proponents of the former divide higher-level processes into lower-level processes, which in turn contain tasks—all are linked together. The processes or tasks are definable, repeatable, precise, and sometimes independent of the task’s performer. Workflow proponents assume the tasks possess both sequence and dependency, as shown in Fig. 9.1 .
Figure 9.1: A Workflow Showing the Sequence and Dependency of Tasks.
While a workflow approach is appropriate for some things—for example, processing an automobile insurance claim—it doesn’t work for product development. Many product development activities are concurrent, with partial completion and later refinement being the norm. A task stated as, “Develop a logical data model,” and scheduled for three weeks of effort, doesn’t describe how the task is actually to be accomplished. Developing a logical data model isn’t a straightforward process. As the analyst learns more about the client’s business problem, the model is refined and detail is added. Usually, the analyst collaborates with others to enhance the model. It may be distributed to other locations in a multinational company. It may be decomposed and then reconstituted in a different form. The model may appear finished, and, weeks later, someone doing a use-case model may view the problem from a different perspective and uncover new information that must be reflected in the data model. Developing a data model is on-again, off-again, iterative, discontinuous work, not a smooth flow. A workflow approach is not an effective way to manage the creative activities needed to produce a data model.
Far better, from a project management perspective, is to define the data model as a desired result, assign it to a development cycle, and let the team worry about how. If the team needs to consult a data-modeling reference book for development guidelines, fine—but the detail-level steps should not be part of the management plan.
In the context of the Adaptive Development Life Cycle, product development is viewed as a combination of creativity, concurrency, research, customer feedback, order, disorder, rework, and eventual progress. Various product components evolve at different speeds, over which development management must exercise some overall control. The Adaptive Development Life Cycle draws on concepts from the phase-and-gate approach used in developing manufactured products, in which development is synchronized and evaluated at a series of gates (at milestones and at the end of the cycle). To pass a gate, the results—a defined set of components—must meet certain performance criteria, including “state.” The “state” of the component reflects how complete it is. Whereas workflow management focuses on the completion of a series of tasks, work state management focuses on components and their “state” of completion.
The Work state of a Component
Moving from a process-oriented life cycle view of software development to a component-based Adaptive Development Life Cycle view requires developers and managers to make a significant conceptual switch. To help explain this switch from task to component, this section includes a brief example showing how a single component that implements the customer credit-checking feature of an order-processing application evolves over time. We must first understand how to manage the evolution of a single component if we are going to be able to scale up sufficiently to manage a large number of components that are evolving both sequentially and concurrently.
As components evolve concurrently over time, they utilize partially completed results from other components. In a competitive environment in which speed is required, there isn’t time to complete each component before moving on—concurrent development must occur. Further-more, effective utilization of partial information determines whether concurrency saves time or just increases confusion and chaos.
Using Partial Information
Software developers and managers frequently face a difficult dilemma: “Do I act today or wait until tomorrow when I may have better information?” Unfortunately, in today’s fast-paced business world, having full information is an unaffordable luxury. Judging how much partial information is enough to proceed with is an essential skill.
“[Overlapping activities is] a core technique for saving development time.”
—P. Smith and D. Reinertsen [ 1997 ], p. 153.
If we look at this dilemma in terms of our credit-checking example, we might imagine that the team developing the credit-checking component needs certain information about the customer-maintenance component. Relevant questions are, “How complete should the information be for us to start? How complete should it be for us to finish?” The state of a component is explicitly defined by the reliability of the information available about it. For effective concurrent development to occur, all parties have to understand how to use partial information. Unlike serial development in which stability comes from developers operating on information in a final, completed state, adaptive development relies on assessment of available, albeit incomplete, information.
In serial development, there are two implied information states—in-process and finished. Serial development, with its insistence on possession of complete information, has sometimes led to serious problems. For example, in the early days of Structured Analysis, there were projects known to get lost in diagramming the current physical system for eighteen months and more! Driven by an intense desire to know everything about the current business before making the transition to describe the new application, Structured Analysis proponents spent millions of dollars and innumerable man-months gathering information before even starting to build the application. Similarly, in the 1980’s, many IT departments spent years trying to complete exhaustive Information Engineering plans and database designs so that application developers wouldn’t have to operate using any partial information.
In fact, serial development provides a comfortable way to work. It helps to assure developers that no mistakes will be made from lack of complete information, and it isolates the development team from the chaos and messiness of the real world. The serial approach demands that developers severely restrict inputs and feedback because too many external changes would overwhelm the process. In development work, there are ultimately only two choices—restrict inputs or operate on partial information. Serial development seems to take the easy way out, perhaps opting to operate on full information because it appears on the surface to be less risky. The drawback is that in even mildly complex environments, waiting for full information ensures that the product won’t meet the customer’s needs anyway!
Concurrent development seems to be riskier than its serial cousin, but with a well-thought-out approach it is not. Concurrent development doesn’t take the view that all activities can be worked on concurrently, however. For example, it would be a colossal waste of time for developers to build all the help functions into a piece of software in the early cycles, because help requirements change so frequently. Similarly, it would be unwise to begin much of the localization task of converting a software application’s interface with the user into another “local” language, other than including design ideas for making localization easier, prior to having a reasonably stable user interface.
So, even in a highly concurrent development environment, there are dependencies that enable some tasks to be performed concurrently while others cannot be overlapped. The danger in overlapping is that information needed to accomplish a successor task—that is, one that depends upon the information received from one or more predecessor tasks—may not be complete, necessitating the reworking of numerous tasks. When rework causes the schedule to slip beyond the time saved in the first place by overlapping, all concurrent development advantages are lost. It is essential that all developers understand the risk of using partial information in the context of dependencies.
“Overlapping relies heavily on the use of partial information. The effective use of partial information both requires and supports the concept of a close-knit team. Lots of face-to-face communication is essential . . . .”
—P. Smith and D. Reinertsen [ 1997 ], p. 162.
Figure 9.2 shows a section of a typical project plan. It indicates that Task 2 is dependent on the completion of Task 1, and specifically, that Task 2 uses a completed deliverable from Task 1. (One example from the building industry would be that the foundation must be poured prior to framing a house.) Figure 9.2 also shows a dependency between Task 3 and its predecessor Task 2. However, in this case, the overlap (Task 3 starts before Task 2 is completed) indicates that there is either an intermediate deliverable or a partial information flow from Task 2 that allows Task 3 to begin. There is always a risk associated with starting a task early—in this case, the risk might be that the partial information from Task 2 was not well understood.
Figure 9.2: Dependent and Overlapping Tasks.
In software development, the dependency between tasks usually involves information. For example, I need a requirements specification before I can perform the design task, or I need information about the customer-maintenance component before I can code the credit-checking component. The transfer of information between the team working on one component to the team working on the next component can be formal, using documents, or informal, relying on discussions. As the information flows begin to cross organizational and geographic boundaries, both the content and context of the flows must be made explicit. Component life cycles provide both the context and content for development and for project monitoring.
Figure 9.3 illustrates several types of information transfer. Type 1, showing no concurrency, is usually associated with serial development. The group working on the successor task has virtually no information until the upstream group has completed its task. The second type provides information earlier, but the information flow is still one way. There is little chance for substantive interaction. Although the downstream group can provide some feedback, organizational barriers usually impede the meaningful interaction that leads to shortened development. Overlap of this type can cause enough reworking of tasks to negate any early start.
Figure 9.3: Partial Information Flow and Concurrent Development.
While there are other variations possible, including some allowing for partial feedback, Type 3 illustrates a fully interactive, concurrent version that supports integrated development efforts. Information flow is depicted by the double-headed arrows between task cycles. Type-3 interactions are easiest in tight-knit, collocated teams. The shaded area in a task indicates the accumulation and assimilation of information. For example, in the Type-1 portion of the figure, the developers performing the first task accumulate information over time and then transfer it in a single batch. It then takes time for the developers performing the second task to assimilate the new information. In Type 2, the developers performing the second task can assimilate the information earlier because of the overlap. In Type 3, the developers performing the successor task have absorbed the information even earlier. In addition, in a Type-3 effort, the information may be higher quality because of the interaction.
This discussion is important to managing adaptive development for three reasons. First, in order to speed delivery, the overlapping of tasks is necessary but also increases risk. In order to decrease the risk, managers must continuously monitor “completeness” of information and communicate it to the developers of successor tasks.
Second, software development is too complex an undertaking to depend on static one-way information flows. There are too many nuances that documentation cannot adequately convey. Even the serial information flow indicated in Waterfall Life Cycles works poorly in any but the simplest projects. Dynamic, two-way information flows—by means of documents, feedback, response, revision, and discussion—are the only way to reduce the risk of miscommunication in complex projects.
Third, as the “ Managing Component Rigor ” section later in this chapter and the “ Eight Guidelines for Applying Rigor to Project Work ” section in Chapter 10 will show, effective adaptive project management actually involves less administrative work than traditional task-based project management.
Component Life Cycles
Every development component, whether it is a document or a code module, evolves over time. A component’s life cycle is simply its transition through a series of completion states—outline, detail, reviewed, and so on. At one point in its evolution, we could declare that the component is in an “outline” state that gives potential users of the component information about its completeness. During each cycle of development, a component could be “revised” many times before it is complete enough to be declared in the next state. Component life cycles explicitly define partial information states. Understanding an overall Adaptive Development Life Cycle for the entire project is easier if the project is viewed in the context of a group of individual component life cycles.
To get a feel for component life cycles, let’s revisit our InNovator product team (from Chapter 3 ) and examine its creation of one product component, a requirements specification document. For purposes of this example, assume that within the overall InNovator team there are two feature teams in one location and a user documentation team located five hundred miles away. Another product development team (let’s call it the STAR Project) in the same company has an interest in the progress of InNovator because it will incorporate portions of the InNovator product into its own product.
Figure 9.4 shows a sample life cycle for the requirements document. During each cycle (a period of time), the document will undergo many revisions. The criteria for the component to pass the decision milestone for each cycle is whether or not it has been declared to be in a specific completion state.
Figure 9.4: The Life Cycle of a Document Component.
Only the feature teams closely collaborating on the feature requirements need day-to-day revision information. During Cycle 1, the user documentation team members aren’t interested in the requirements document at all; they are still finishing writing the previous product’s documentation. In fact, while the requirements document is being developed in Cycle 1, neither the user documentation team nor the STAR team has access to it.
At the first decision milestone, a decision must be made about the document. The question is, “Is the requirements document sufficiently complete for the InNovator team to feel comfortable releasing it in outline form?” The team leader confers with team members to assess their opinion of the document’s readiness. In addition to the team’s own evaluation of the document, the product marketing manager must also approve it. Once the approvals have been obtained, the InNovator team leader updates the state of the document from the initial—or null—state to outline and notifies both the user documentation team and the STAR team of the state change. When the document switches to the outline state, these two outside teams receive access rights to the document.
Rules for using shared information are developed as part of a particular team’s project plan. For example, the access-rights rules governing documents in particular states are established to filter the information so that teams receive what they need at the correct time. The rules are not designed to restrict information, but rather to filter it. A detailed discussion of restricting and filtering is contained in Chapter 10 .
As a next step, user documentation team members scan the outline requirements document in order to do some preliminary planning and to allocate resources, but they cannot begin serious work without more detail. STAR team members also review the outline specifications and return the document along with some suggestions that, if incorporated, would help them develop their own product.
Around the middle of Cycle 1, the InNovator team discovers the need for a major feature not included in the original document. Since the change is major, the requirements document reverts to an initial (null) state until the new-feature specifications are incorporated into the outline document and the change is approved. Returning the document to a previous state says, in essence, that it is not as complete as was first thought. The project team is therefore required to revisit the previous decision milestone. Revisiting the decision milestone ensures that all approvals are reviewed again, but even more important, it ensures that anyone who received notification of the original decision milestone is notified of the revision. Minor revisions would not require altering the component state to a previous setting, but major ones do.
No one from the user documentation team is really interested in the requirements until all the details are complete, but one member of the STAR team follows InNovator’s development closely. A couple of e-mails show that the STAR representative has some really good ideas, and so the InNovator team grants him not only access rights to the document, but also annotation privileges.
At the second decision milestone, at which the document must pass from an outline to a detail state, the approvers are still the feature team members and the product marketing manager. However, the notification list of people who are to receive the detail-state document is significantly longer than was the list of outline recipients. In the final cycle, a series of technical, marketing, and management reviews are held that result in the requirements document passing into the approved state. Once the document passes into the approved state, revision rights are restricted to the team leader.
All of the rules discussed in the previous paragraphs—approvals needed at each cycle, access rights, and distribution lists—are established in the project plan. As the “ Managing Component Rigor ” section later in this chapter describes, the number of rules increases with project size and the team’s distribution. These rules, which are used to manage the project, revolve around the components themselves, not the tasks that produce them. More specifically, the rules specify what the state changes are, who approves state changes, who receives notification when the state changes, and what access and update rights pertain to documents in certain states. The rules do not specify how to produce the components, but describe what to do with information about the components.
The biggest question on your mind at this point probably is, This is easier than task management? I think so, but it’s definitely easier to do than to describe. There are two fundamental reasons this work state addition to the Adaptive Development Life Cycle is important. First, it is a better mechanism or framework for increasing rigor while encouraging adaptive, self-organizing, emergent behavior. Worksite management involves telling teams what to do with their work-product information; it does not tell them in excruciating detail how to develop them. This seemingly subtle shift in emphasis is powerful, much more powerful than it appears at first.
For most product development groups today, the most difficult part of their job is not performing specific tasks, but integrating components—that is, managing intra- and inter-project dependencies. The second reason the work state approach is so effective is that it emphasizes information about the completion status (state) of components that in turn enhances the group’s ability to manage the project dependencies.
Component Types and States
Chapter 4 introduced three component types: primary (those components that deliver function to the end user—for example, a credit-checking feature or a file-management component); technology (platforms on which the primary components depend—for example, a new database management system); and support (everything else—for example, a series of use cases). Each of these component types may use completion-state information.
In the discussion so far, three states have been described—outline, detail, and reviewed. At this point, we must define these states more precisely, add a state, and standardize the terminology. While a range of states could be envisioned, in practice, too many states are difficult to manage. Four or five states normally are adequate, although specific components may use fewer. As a standard, four states are proposed here: outline, detail, reviewed, and approved. Note that alternative state names that are used in some organizations are shown in parentheses.
1. Outline (Conceptual) State
The outline state is the initial state of completion. Part of the mission definition is considered to be an outline of the requirements. The mission statement gives enough detail to do overall project planning, but not enough for coding to begin. A code module might be considered to be in an outline state when the developers have sketched out the basic framework and some of the important algorithms but have written little of the actual code.
2. Detail (Model) State
When a component is declared in the detail state, most of the detail-level work has been done. For most primary components, this state includes a prototype or model. The component may not be complete, or fully tested, but it performs the basic functions required. A coded, partially unit-tested module might be in the detail state. A requirements document would be in the detail state when some amount of detailed explanation has been completed for each of the outline requirements.
3. Reviewed (Revised) State
All components should go through a review process. Each cycle, for example, ends with a technical review and a customer focus-group review. To pass to the reviewed state, a component must have been reviewed, and any recommended changes must have been analyzed and implemented. After a review process, if the changes were significant, the component might remain in the detail state. Elevating it to the reviewed state implies a reasonably final, tested component.
4. Approved (Available) State
The approved or available state usually involves independent verification of the component by, for example, a quality-assurance review, a cross-team review, or a management review. At this point, the component becomes available to other groups in final form. The recipient of an approved component should be able to rely on it, knowing that any further changes would be controlled and communicated.
Constructing an Advanced Adaptive Life Cycle
The previous section described the life cycle of a single component. This section describes the process of constructing the overall Advanced Adaptive Life Cycle necessary to manage all of a project’s components.
Products are accumulations of individual components. While each individual component has its own development life cycle, a large group of components defines the overall development effort. Information about all the components, particularly their state, is used to monitor and manage the overall development effort. Component state provides an important tool for managing increasingly larger and more complex products.
For smaller projects, precise definition and monitoring of states is unnecessary. For example, for a thousand-function-point project, it is usually sufficient to know that a data model will evolve over the life of the project and probably will be in a reasonably advanced state by the end of the second out of four delivery cycles. With a larger project on which several concurrent feature teams are working, it may be necessary to require that the data model exist in the outline state by the end of cycle 1, in a detail state by the end of cycle 2, and in an approved state by the end of cycle 3. This additional information allows down-stream feature teams to proceed with their work, but does not permit them to stray too far. Defining the state of the partial information flow enables work to be overlapped while, at the same time, it reduces the risk of excessive reworking.
Discussed first in Chapter 4 , the frequent, sometimes daily, build process pioneered by independent software vendors (ISVs) provides a good example of how to synchronize a product’s components. Each build forces developers to test the readiness state of their code by running it together with all other components. But while frequent builds are critical to success, they are insufficient in cases in which complexity and dependencies require synchronization on more than completed code components. Teams also must be able to synchronize on partially completed deliverables. Each decision milestone is a synchronization point for components under development.
The concepts behind the Advanced Adaptive Life Cycle, specifically those related to monitoring and managing projects by means of component states, come from the phase-and-gate development approach used by a growing number of companies to oversee product development. The phase-and-gate approach stresses managing the “what,” not the “how.” It focuses on identifying and planning components, determining the dependencies and interrelationships between components, monitoring the evolution of each component through defined completion states, and evaluating and monitoring progress by means of both fully and partially completed components at the end of each cycle.
Phase-and-gate development is a technique for scaling up an iterative approach to address larger, more complex, high-speed, high-change products. Kodak established the phase-and-gate approach in the early 1990’s to manage development of such diverse product categories as chemicals, microfilm equipment, copiers, and cameras. Their stated goal was to shorten product cycle times, improve development efficiency, and improve inter-group collaboration.
“Task-oriented workflow should enter a product development model only after a task-free Phase and Gate backbone is firmly in place. The modern phase and gate techniques in concurrent development management resolve the conflict between accountability and visibility on one side and spontaneity on the other.”
—W. Collier, D.H. Brown & Associates, private correspondence [1996].
Phase-and-gate development provides a framework of task-free phases separated by decision gates. The key distinction of a phase-and-gate life cycle is the evolution of components, through a series of completion states, to final approval. In terms of the Adaptive Development Life Cycle, phases are equivalent to cycles and gates to milestones.
Cycles (Phases)
In previous chapters, we have used the term “cycle” but we need to further define it in the context of this discussion. Cycles are time periods during which some part of the development effort occurs. Although similar in general appearance to more traditional project phases, cycles are periods during which concurrent activities occur, either in separate organizations or in integrated cross-functional teams. As was stated in Chapter 4 , software components are iteratively developed over several cycles.
During a cycle, individuals and small teams are bound not by specific tasks but by a common understanding of the desired results. Each cycle has a distinct set of aimed-for components and although there may be an initial conceptual development effort, by the second cycle, a model or prototype should emerge.
The phase-and-gate approach, like Adaptive Software Development, promotes the delivery of interim tangible prototypes rather than documents. In the electronics field, the model may be a breadboard version of the product; for large products like automobiles, it may be a scale model; for shoes, it may be a hand-tooled mock-up. Whatever the field, the important point is that the product development system produce a series of tangible, visible, testable renditions of the final product—not merely descriptions on paper.
Figure 9.5 shows the flow of components during cycles of product development, like fish swimming past the aquarium observer. Some components start and finish during a cycle, while others overlap two or more cycles. Although not shown in the figure, some may start early and lie dormant until much later.
Figure 9.5: Components in an Adaptive Development Life Cycle.
Figure 9.6 provides another view of the components’ evolution, indicating dependencies. Four states are shown for the primary component, but only two states are needed for the technology component. It is not necessary to recognize every state for each component. In Fig. 9.6 , the technology component might be a LAN network, the primary component a software feature, and the support component an object model. The diagram shows in graphic form the dependencies of components on partial and final states of other components.
Figure 9.6: Component Dependencies.
Milestones (Gates)
Periodically during the development process, milestones are established. A milestone or gate is a decision point, much like a traditional project management milestone. For the most part, a gate and a project milestone are synonymous. However, in traditional task-oriented project management, milestones are more typically related to task completion rather than to components and component states. Milestones are synchronization points, at which the results from ongoing efforts are brought together, reviewed, or integrated into a testable product. The decision as to whether a project passes a milestone depends on the list of planned components for that milestone and their specified completion state. For example, the first gate for a PC component product such as an Ethernet card might include
• a breadboard model of the primary circuits
• a detailed, overall-design document
• an outline-level integration test plan
• a conceptual or primary-level drawing of the packaging
• an outline-level blueprint (rough draft) of the manufacturing floor
• an outline-level (preliminary) parts list for purchasing
In the above list of sample components for the PC peripheral card, states are included in the descriptions. For example, the parts list is in an outline state, which provides the purchasing department with enough information to begin looking for parts suppliers and to begin the purchasing planning, but not nearly enough information to sign contracts. When the parts list reaches the reviewed state, the purchasing department could then sign contracts. However, to actually issue purchase orders, the purchasing department must also have a production plan (to be developed during Cycle 2) in the approved state.
A milestone is passed when a collection of components is determined to be in a planned state (that is, all components in the collection were planned during the initial project-cycle planning activity). A single component, such as a feature set, must pass certain prescribed test criteria before it changes state. Similarly, for the entire product, a series of components must be in specified states, as shown in Fig. 9.5 . Mile-stones provide opportunities to monitor progress from a management perspective. Looking again at Fig. 9.5 , one can see that components at different completion levels can define a milestone. For example, Component 4 (a particular feature set) would have to be in an approved state as a condition for passing the second milestone.
Milestones allow us to take the overall pulse of the development process and to assess its health. However, they are not intended to stop development while the review is conducted. Development of many components can, and should, progress during the milestone review process. Milestones are intended to monitor progress, synchronize components, and obtain approvals to proceed, not to become a roadblock. They may also be used to open the development results to a wider audience.
Milestones are critical to success. Without well-defined points of synchronization, the product development process degenerates into a chaotic mess. There is a big difference between operating on partial information in a known state and operating on information of unknown completion status. Knowing that a set of components has passed a cycle milestone and that a number of people have reviewed its progress, provides development teams with a clearer sense of what should and should not be done with partially completed components.
Managing Component Rigor
Some organizations are beginning to substitute an adaptive, results-oriented life cycle in place of a workflow approach. They are managing components rather than process. However, there is a third leg of this conceptual triangle—one that is often missing. That missing piece is managing results. Having relieved themselves of the bureaucracy of process management, organizations avoid all rigor and thereby doom themselves to the twin demons of complexity and size. Managing the results in larger projects necessitates increasing rigor and discipline. It also requires increasing automation. Unfortunately, most of the industry’s automation tools have been developed to support workflow-type life cycles. For example, while many configuration control and collaboration tools provide version control, few have a direct way of providing state information.
As the size and complexity of products increase, three basic strategies can be employed:
1. Increase component rigor.
2. Increase emphasis on defining and monitoring dependencies.
3. Refine state transitions.
A fourth strategy is to support the other three strategies with increased levels of automation. Chapter 10 provides ideas on the automation of work state management through the use of what I call a collaboration service layer —a set of tools for structural collaboration. The following sections detail the three basic strategies.
Increase Component Rigor
Project managers often equate good management with micro-management. Their project work-breakdown structures (the list of all project tasks) burden the project team with daily activities and hourly “to do” lists. These managers forget the distinction between doing work and managing the project. Detailed task lists convey a not-so-subtle message to the project team, “I don’t trust you to do the job correctly.”
A similar obsession with detail can adversely impact adaptive management. Just because a product can be subdivided into one hundred components doesn’t mean it should be, at least from a project management perspective. While configuration-control applications are usually directed at managing all components, project management needs to focus on essential components. For a five-hundred-function-point project developed over three months, it should be sufficient to allocate the primary components (possibly defined by a two-page requirements outline) to three cycles and to control the project by means of regularly scheduled focus groups and technical reviews. In this simple case, there is no need to break the feature components into more detailed subcomponents or to create monitoring states.
As the size increases, say, to a thousand function points, and there are other groups who must use the requirements document, there might be a need to plan for three states for the document—outline, detail, and approved—in order to reduce the risk of sharing partial information and to adequately monitor the project.
The rigor of managing components can be increased in four ways: by dividing components into smaller subcomponents in order to manage smaller chunks of work, by imposing intermediate completion states on components, by increasing the formality of a component’s documentation (from scratches on a napkin to a word-processing document, for example), and by increasing the number of components monitored (all components must be developed, but not all components need to be used to manage the project).
Increase Emphasis on Dependencies
With smaller projects, dependency relationships are informal and remain implicitly understood. When teams are small and communication informal, project members just seem to know when to start work on developing the next component. Occasionally, something slips, but the correction time is usually short. Bigger problems arise from forgetting a component that was not explicitly identified up front, not from working on components out of sequence.
As project size increases, and as the number and geographic dispersion of feature teams increase, defining and monitoring component dependencies becomes a critical management issue. As components are developed at greater physical and organizational distances, informal communication needs to be formalized. (To understand the impact of physical and organizational distance on teams, think how, when two teams report to the same manager, their organizational distance is narrow. When these same two teams’ manager’s manager’s manager reports to the same person, their organizational distance is wide.)
In traditional project management, a dependency defines a cause-and-effect relationship between two tasks. One task must be completed before the dependent task can be started. While at a code-module level there may be a physical dependency (the credit-check module depends on the customer database), many of the dependencies in a software project are informational—for example, a systems designer needs requirements information prior to design, but as we saw earlier in this chapter, accelerated projects must utilize partial information.
Project managers should carefully identify dependencies, establish adequate monitoring processes, and improve their problem-anticipation skills. An unidentified dependency within a single, collocated team is usually identified informally—such as during a lunch-time conversation when one developer suddenly realizes another team member possesses some information he or she needs to know. However, with dispersed teams, when one team is dependent on information from another team, and the dependency is neither identified nor communicated properly, the chance of a problem is heightened because there are fewer opportunities for informal resolution.
In larger projects, intergroup dependencies are rarely given sufficient emphasis by management. One reason may be management’s failure to understand how component relationships impact one another. By focusing on the critical components that cross organizational boundaries and by monitoring critical states of completion, managers can become more effective with less overall effort. Management emphasis is thereby moved from monitoring of tasks to monitoring of components and their interdependencies.
For independent software vendors, the problems caused by these dependencies extend beyond producing code. ISVs must schedule efficient use of manufacturing facilities, print manuals, localize the product (that is, translate documentation and applications into the native language of the targeted customers), arrange sales training, plan product launches, and more. Poor dependency management acts like a tsunami breaking over groups dependent on the availability of good information. What seems to developers like a minor swell in the ocean becomes a tidal wave as it approaches the shore of product shipment. Managing tasks well may be important, but managing dependencies well is critical.
Refine State Transitions
For a simple project, such as the three-month five-hundred-function-point project mentioned earlier, the manager can adequately monitor the project’s components using two states—Not Done and Done. At the other end of the project-size spectrum, each of the hundreds of components in a product might require four or five states for adequate project control. Refining state transitions is part of the project planning process in which the project team identifies critical components and the required number of states for each. For example, components used entirely within a collocated team will need fewer identified states; components with many interlocking dependencies will need more states. The need for intermediate states is tied to dependencies between components and to the need to make partial information states explicit.
Managing Workflow in an Adaptive Environment
From the discussion in this chapter, it might appear that any use of workflow is discouraged. This is not the case at all. Workflow—that is, the processing of information through a series of well-defined activities—is extremely important when properly used within an adaptive life cycle. For example, the daily build process needs to be extremely detailed, precise, and rigorous. Without this rigor, further testing and development can become a configuration nightmare as application size increases. The daily build process is an example of a necessary workflow process.
The workflow approach drives many traditional software engineering activities, and is appropriate in adaptive development when the workflows are additions to the adaptive framework—they are not the primary life cycle framework. That is, workflow is a piece of the solution but not the structure. Some activities may have a very well-defined, rigorous process workflow while others may have more flexible workflows; many may have no workflows at all. Some workflows will be discretionary to each autonomous group; others will be required.
In my view, the Software Engineering Institute has useful practices to develop and manage projects (configuration control, risk management, and so on), but the Capability Maturity Model is just not the right organizing model or framework for adaptive projects. The CMM is a workflow model, based on the belief that complex products can be effectively attacked by breaking a large process into ever-more-refined subprocesses. An adaptive model utilizes many of the same components as are advocated by the SEI, but from within a very different culture and by taking a radically different approach to overall life cycle structure.
Summary
The secret to managing complex adaptive projects is to apply increasing rigor to the results, not to the process.
Using a results-oriented framework for collaboration enables managers to better balance the issues of rigor and flexibility. It provides an optimal blend that allows for creation of large, complex products without stifling the innovation and creativity needed to operate at the edge.
The transition to managing results involves replacing the workflow mindset, focusing on specific result components, and then applying new ways of managing those results.
The workflow mindset is process-oriented first, and results-oriented second. Worksite management reverses the order of importance, making management of results the focus.
Worksite management is well aligned with how complex adaptive systems operate.
One of the key factors in scaling up concurrency and iteration is the use of partial information. Using information state characterizes a component-oriented information life cycle.
There is a tremendous difference between using serial/batch and interactive/complex information flows. The latter supports concurrency and collaboration, but it also carries higher risk.
Phase-and-gate life cycles, the conceptual base for adaptive life cycles, are characterized by an emphasis on results. They help resolve the conflicts between innovation and accountability.
Milestones are important decision points. They explicitly address transitions between partial information states and establish guidelines for allowable actions on information in each state.
Managing component rigor emphasizes increasing the rigor applied to component context information as size and complexity increase.