Skip to content
ImagineWorld

Lean Documentation through Collaboration

node_idnode-book_becoming-an-agile-software-architect_chapter-10-lean-documentation-through-collaboration
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num10
chapter_titleLean Documentation through Collaboration
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 10 — Lean Documentation through Collaboration

Section titled “Chapter 10 — Lean Documentation through Collaboration”

For the most part, things never get built the way they were drawn.

– Maya Lin, designer of ‘A Fold in the Field’, a sculpture park in Auckland

The previous chapter covered technical agility and different pillars contributing to technical agility, such as patterns and techniques, DevOps and continuous delivery, and built-in quality. This chapter advances to documentation, one of the most debated topics in Agile, and reviews various documentation aspects with a specific focus on delivering architecture artifacts.

Amateur Agile teams treat documentation as a no value-added activity. While excessive documentation creates flow impediments, little documentation can have severe consequences in terms of the sustainability of systems’ delivery flow and reliability. How much documentation is sufficient is a repeatedly debated point in Agile software development. This chapter will get deeper into the documentation topic to clarify common sources of confusion. The traditional approach of documentation produces needless and non-consumable documentation, which adds cost to the company. Embracing alternative techniques to minimize documentation and adopting Lean-Agile thinking helps to realize value in the documentation. Building adequate architectural documentation with an incremental approach adds significant value to overall Agile delivery.

In this chapter, we’re going to cover the following main topics:

  • Persisting knowledge with documentation
  • Using Lean-Agile ways of documentation
  • Documenting software architecture
  • Applying model-based software engineering

This chapter focuses on the Evolutionary Collaboration focal point of the Agile Architect’s Lens:

Figure 10.1 – The evolutionary collaboration – Focal point

This chapter explores the importance of documentation in Agile projects and how traditional documentation approaches hinder the velocity of Agile software development. We will explore alternative mechanisms for documentation and then analyze how to use the Lean-Agile methods to document unavoidable scenarios. Later in this chapter, we will also highlight different architectural artifacts and structures, and reinforce them with a few examples from Snow in the Desert.

Working software over comprehensive documentation is one of the Agile manifesto principles that leads to delusions such that Agile projects do not need to be documented at all. Agile development methodologies encourage a relentless focus on delivering value, which often causes the elimination of architecture documentation as it is regarded as a no-value activity.

A closer look at the articulation of the Agile manifesto values indicates that signatories have recognized the value of documentation, but working software has more value. Robert C Martin observed that documentation is not anti-Agile. If it were, then there would not be any Agile books, articles, and blogs.

Jim Highsmith, one of the signatories of the Agile manifesto, warned the developer community that Agile and documentation are not oxymorons. Adequate documentation is essential for the success of Agile software development. Irrespective of the development methodology, since most enterprise software remains in service for a long period, documentation is an important means of knowledge retention.

Alistair Cockburn, another signatory, recommends that documentation needs to be light but sufficient. The Crystal methodologies introduced by Alistair Cockburn suggest that documentation needs to be created, but that individual projects ought to decide what they need.

Large-Scale Scrum (LeSS) observes that the only software documentation satisfying engineering design criteria is the source code. However, LeSS also acknowledges that source code alone is not sufficient for all purposes. Often, source code with a million lines of code is not suitable for understanding the overall big picture architecture. LeSS also recommends using the System Architecture Document (SAD) for documenting the system architecture.

The best analogy for explaining the importance of documentation is in-memory and persistent database stores. In an in-memory data grid, fault tolerance can be achieved with data replication across multiple nodes. This is similar to avoiding a single point of knowledge loss by spreading knowledge across many people through collaboration. Snapshots of in-memory data have to be dumped into file storage for recovery, which is identical to considering knowledge as source code. In the event of failure, recovery from file storage takes time, similar to retrieving knowledge from source code. If a database is used as the backend for the in-memory data grid, structured data can be stored and retrieved quickly when required from the database, while most of the data is served from in-memory. In this case, the database is analogous to the documentation that teams produce.

Persisting knowledge is appropriate in many scenarios. We will explore some of these scenarios in the next section.

Understanding the reasons for documentation

Section titled “Understanding the reasons for documentation”

Documentation in software development is not a complete no-go as it can lead to catastrophic effects in the long term. A closer review of the purposes of documentation for its consumers helps in understanding its value. The reasons for documentation may entail one of the following scenarios:

  • Retention of knowledge gained over time for onboarding and educating new team members, reviewing and understanding historical events, sharing learnings, and acquiring information on past decisions and rationale.
  • A mechanism for communication by handing over artifacts from one team to another, such as IT to business, product management to architecture, architecture to engineering, and engineering to operations.
  • Government and regulatory bodies often require tons of documentation with a certain level of detail for mandatory certifications and compliance. Often, regulators and auditors ask for traceability and proof in the form of documentation.
  • Rule books and playbooks for engineers to understand, develop, and support critical software systems. These documents also serve as the knowledge base for on-call support engineers to enable them to respond quickly to customer queries.
  • In the case of frameworks, libraries, and reusable assets, documentation is essential for consumers to understand purpose and usage patterns. Poor documentation stalls adoption and hinders productivity.
  • User manuals, help documentation, and release notes are very important for multi-year development products.
  • Specifications and legal contracts with suppliers and remote teams, such as service level agreements, are essential for large enterprises managing mission-critical software systems.

Persisting knowledge, therefore, is significantly important and cannot be entirely circumvented. However, embracing new ways of documenting is necessary as traditional approaches no longer support the faster pace of Agile software development. We will go into more depth on this subject in the next section.

Why the traditional way of documenting is no good

Section titled “Why the traditional way of documenting is no good”

Traditional software development methods are stage-gate driven in which documentation is submitted for approval in order to move on to the next phase. In such scenarios, documentation is treated as a mechanism for constructing internal contracts between non-trusted teams. These contract documents, such as design documents, are thrown over the wall to the next team for proceeding further. Often, localized progressive decisions post-handover are not updated in the document, leading to an obsolete state.

The following diagram is an illustration of the stage-gated process:

Figure 10.2 – Stage gate-based approvals based on documentation

As shown in the preceding diagram, each gate expects certain documents for approval. The article Exploratory Study of Architectural Practices and Challenges in Using Agile Software Development Approaches, by Muhammad Ali Babar, observes that there are advantages and disadvantages to formally documenting software architectures. As per the survey conducted by the author, most participants viewed formal documentation as a 30-40% overhead with no value addition.

There are many reasons why the traditional way of formal documentation is considered a non-value-added activity. A few of the critical challenges are as follows:

  • Waste of effort: In Agile software development, some systems such as e-commerce websites perform incremental releases multiple times a day, where architecture changes are considerably frequent. In such cases, traditional documentation approaches cannot match the pace of the change cycles and, hence, slow down the continuous delivery flow.
  • No one reads: Traditional documentation approaches are mostly produced for the sake of stage-gate approvals, and not used thereafter. Besides, large-scale documentation with hundreds of pages is not consumable at a practical level.
  • Over budget: The production of excessive and unnecessary documentation, often measured by the number of pages, requires substantial manual effort for authoring and reviews with additional costs of storage and maintenance. Often, these static documents with no search capabilities also significantly increase the consumption costs.
  • Change tolerant: Once software delivery commitments are met, development teams often pay no attention to documents already produced. As a result, these documents hardly match the reality of designs and code. The consequences of defective content are far more dangerous as this leads to disconnected understanding among stakeholders.
  • Siloed documentation: Traditionally, documents are created and maintained in silos, such as architects managing architecture documentation, and engineers managing detailed design documents. Capability-based documentation leads to scattered information, often with restricted access.

The traditional approach of software documentation is mostly a flow stopper in Agile software development. However, on the contrary, poor documentation causes the evaporation of architecture and design knowledge. As a result of knowledge evaporation, developers devote more effort to fixing issues and, more critically, their fixes may break other parts of the system due to a lack of knowledge.

Embracing alternative ways to avoid documentation and adopt Lean-Agile approaches helps to improve the flow in Agile software development projects. We will elaborate on this in the next section.

To effectively improve Agile software development flow, a critical examination of documentation is required to understand what can be eliminated, what needs to be persisted, how simplification can be achieved, and the appropriate time for delivery. Transparent communication and collaboration improve shared knowledge among team members, thereby reducing the need for documentation and freeing up valuable resources to focus on core delivery activities. When documentation is essential, adopting a purpose-driven approach with the right tools is beneficial in Agile development.

Evolutionary collaboration over documentation

Section titled “Evolutionary collaboration over documentation”

In Agile software development, a handoff is regarded as one of the flow impediments. Therefore, documentation as a mechanism for handing off work across teams is also inappropriate; instead, leverage opportunities for interaction between team members.

Evolutionary collaboration fosters continuous face-to-face interactions without boundaries and constraints as a primary mechanism for developing a shared understanding across all team members. Teams nurture a culture of free-flowing communication in their workspace without the need to have pre-set meetings. Agile organizations promoting evolutionary collaboration invest in building informal collaboration spaces with massive digital and physical whiteboards, large rolls of paper all around with plenty of sticky notes and markers, big plotters, video recording, and playback facilities. They also encourage a verbal culture, fewer meetings and ceremonies, the acceptance of hand drawings as artifacts, and so on.

Digital workspace and collaboration tools play a significant role in evolutionary collaboration. Large-format, laser-powered phosphor displays enable individuals and teams to visualize, interact, naturally engage, and finally transform outcomes digitally for long-term persistence without any extra effort. Digital wiki-style knowledge management systems enable continuous engagement with collaborative authoring, faster feedback cycles, seamless content aggregation, and transparent communication. Real-time conversational tools allow channel-driven communications to push relevant content to targeted groups selectively instead of disconnected traditional email communications.

Human beings are visual learners. We process information based on what we see. Visuals stimulate us and stay longer in memory than verbal messages. Scott Ambler observed that displaying models publicly on boards around the team space, or even internal websites, promotes better communication. Alistair Cockburn urged the use of information radiators, which are hand-drawn, printed, or electronic displays, in a highly visible location where stakeholders can see them as they pass by. Teams effectively collaborate using large whiteboards to create architecture design models as part of solution design workshops. LeSS observes a linear correlation between effectiveness and the amount of whiteboard space as it encourages creative flow and participation. LeSS also recommends keeping the diagrams on the wall throughout the development cycle as it inspires new ideas and facilitates quick design adjustments with just-in-time stand up conversations.

Some of the techniques beyond collaboration, which are helpful in eliminating documentation, are stated here:

  • Documentation as code: Moving traditional documents to code is a better way to extract value. Reusable code instead of blueprints and reference architectures, patterns as code, architecture validations as code, policies as code, infrastructure as code, and so on are much more consumable and help to save money and time.
  • Generate documentation: Reconstructing required documentation with a code-first approach, such as generating API documentation and models from code, not only saves time but also helps to document the truth.
  • Focus on models: Collaboratively engaging relevant stakeholders using model-based designs is an excellent alternative to extensive textual documentation. The consistent use of models affords a shared understanding of the design among stakeholders.
  • Using visual aids: Short videos, animations, and scribes are excellent mechanisms for the repeated sharing of messages, such as for educating and onboarding engineers.

The alternative mechanisms discussed are excellent opportunities to reduce documentation efforts. However, be mindful that it is not possible to eliminate documentation entirely. We will discuss how to effectively compile documentation in the next section.

Just barely enough documentation when required

Section titled “Just barely enough documentation when required”

Documentation is a long-lasting digital memory. Agile software development tries to eliminate excessive documentation with collaboration. While collaboration is an excellent communication mechanism that brings a quick shared understanding, it cannot be a like-for-like replacement for documentation. Adequate documentation for information that has long-term relevance is required in order for the enterprise to achieve knowledge retention and contractual and regulatory obligations.

While there are no rigid guidelines, documentation in Agile software development must be incremental, represent the truth, and be responsive to change. Besides, good Lean-Agile documentation is driven by four key elements, as shown in the following diagram:

Figure 10.3 – Four key elements of Lean-Agile documentation

As shown in the preceding diagram, documentation in Agile needs a Consumer, a Purpose, a concise Message, and appropriate Timing. The following points explain these in detail:

  • Consumer: A document has to be written for a consumer; if there is no consumer, no document is required. In some cases, multiple viewpoints of the same content are produced to help specific consumers.
  • Purpose: Every document needs a purpose. Good documentation is when the contents produced are finely tuned to the purpose of the consumer. Always look for alternative and simplified mechanisms to satisfy the purpose with minimal effort and cost.
  • Message: Understand what message needs to be conveyed to satisfy the purpose from the consumer perspective. It is not about hundreds of pages; it is all about the ease of consumption. The content of the document has to be high quality, accurate, legible, and concise.
  • Timing: At what point consumers require a piece of information is also an important consideration. Documentation produced as late as possible potentially carries more credible information.

A careful analysis is recommended to decide whether the documentation is required or not and determine what form or shape is better suited in a specific scenario. The following diagram helps in this context:

Figure 10.4 – Workflow to determine the need for documentation

The diagram is adapted from Disciplined Agile (DA) to and DocOps. The workflow helps to determine whether the documentation is needed, as well as identify the target consumer, the purpose, at what point the documentation is required, and the correct tools.

Delaying documentation as much as possible helps architects and development teams to understand consumers’ expectations and accordingly use the right content, format, and tools when producing documentation. Using documentation as a checklist item part of the Definition of Done (DoD) ensures that sufficient and mandatory documentation is appropriately generated as part of the development.

There is always the question of how much documentation is enough? The most straightforward answer is how much documentation is required by the consumer to meet their purpose, and which is impossible to achieve with other techniques. It is rare to see projects with no documentation. Large projects and critical projects require more solid documentation. The Cockburn Scale, introduced by Alistair Cockburn, is potentially useful for understanding the relative scale of adequate documentation. This scale categorizes projects based on criticality and size. The criticality is defined on a scale of 4, as shown on the vertical axis of the following diagram:

Figure 10.5 – Documentation effort linked to criticality and project size

The project size is measured in four categories based on the number of people working, as shown in the horizontal axis. The effort needed for physical documentation goes up as the combination of complexity and size goes up, as shown in the preceding diagram. Alternative mechanisms, such as consistent collaboration, are hard to maintain for the projects in the top-right corner. Much more stringent documentation is needed for projects that impact on people’s lives.

When developing documentation in Agile software projects, adhering to a set of principles accelerates the continuous flow. The following section examines some of the critical principles.

Adhering to the principles of documentation

Section titled “Adhering to the principles of documentation”

Purpose-oriented documentation helps customers to gain significant value from documents. Good documentation needs to align with the following principles:

  • Product centric: Documenting all the necessary information in one place enables better clarity in communication. Product-centric documentation follows a single repository for all types of documents for a product, such as business features, architecture, design, and test cases. As a general rule of thumb, you should separate project execution-related documents, such as team actions in retro and plans, from real product-related documents, such as architecture. The latter has a long shelf life, whereas the former is short lived. Integrating consumers and businesses into product documentation aids in transparent communication, collaboration, and faster feedback.
  • Document what is maintainable: As discussed in Chapter 4, Agile Enterprise Architect – Connecting Strategy to Code, create documentation only if it is maintainable with minimal effort. Keeping simplicity is paramount. For example, a strategy on a postcard is much more useful than a hundred-page strategy document. Focus on documenting the big picture, such as architecture, instead of details such as detailed design. It is risky if documents are obsolete as they are significant causes of confusion. Documenting as late as possible, and generating documents from code, helps reduce efforts to maintain documents accurately.
  • Don’t repeat yourself: Adopt a good documentation tool that can aggregate content from multiple sources instead of repeating information. Information curation from the right sources helps to ensure that documentation is not duplicated and accurate. Duplication increases maintenance efforts and is likely to go out of sync. This approach also helps to use fit-for-purpose tools for various aspects, including stories, modeling, and textual documentation.
  • Create consumable artifacts: Instead of static documentation, adopt interactive collaboration tools with extensive search capabilities for enabling evolvable documentation. Extensive use of visuals and models help consumers to acquire knowledge with ease. Avoid setting up information boundaries unless it is critical to do so.
  • Ensure good communication: Documentation by itself is not useful if not communicated or accessible to relevant stakeholders. Designing a good communication structure around documentation enables a seamless flow of information.

In Chapter 2, Agile Architecture–The Foundation of Agile Delivery, we discussed architecture as a continuum. Along the same lines, architecture documentation also has to be progressive. It is hard to classify architecture documentation as high level and low level. The following diagram captures the stages of architecture documentation in an Agile software development project:

Figure 10.6 – Stages of architecture documentation in Agile

As shown in the diagram, the recommended approach is to call architecture documentation the initial draft before the current sprint, refined in the current sprint, and revised after the current sprint. Refactoring documentation is an essential activity for supporting the evolution of documents.

In the next section, we will deep dive into architecture-specific documentation aspects.

Architecture documentation refers to recording guidelines, practices, architecture intents, decisions, rule books, reference architectures, and patterns using various tools such as wiki-style documentation tools, modeling tools, and Agile team tools. This section elaborates on this idea.

Different proposals for documenting architecture

Section titled “Different proposals for documenting architecture”

Architecture documentation evolved over the years from rigid template-based documentation to an essential information-based approach. While many of those legacy ideas proposed by traditional frameworks such as Rational Unified Process (RUP) are still valid in Agile software development, the ways of documenting and the depth of documenting are different.

View-centric approaches were popular in the early 2000s. The essence of architectural viewpoints is that different stakeholders want to see different architectural views based on their interests. The different view frameworks are as follows:

  • The 4 +1 view proposed by Philippe Kruchten, later adopted in the RUP, has four architecture viewpoints: logical, process, development, and physical.
  • The Siemens Four Views model is another one that has conceptual, module, code, and execution views.
  • Philips Research, the electronics giant, created the CAFCR model of architecture, which calls for five views: customer, application, functional, conceptual, and realization.
  • In the year 2000, IEEE 1471-2000 proposed a flexible view approach instead of prescribing a fixed set of views to solve stakeholder-specific concerns.
  • In 2002, researchers at the Carnegie Mellon Software Engineering Institute proposed a framework for documenting stakeholder-specific views called Views and Beyond, which promoted the use of relevant views similar to IEEE 1471-2000.

In the Agile software development context, George Fairbanks introduced the Architecture Haiku as an easy-to-build design description assuming that architects can document their proposals in an A4 size paper. The major sections of an Architecture Haiku are depicted in the following diagram:

Figure 10.7 – Architecture Haiku

Haikus are often created following collaboration sessions done by teams using mechanisms such as whiteboard drawings. Haiku is a straightforward approach to capturing the architecture summary most concisely. However, in reality, Haiku itself is not sufficient. For example, a single way of representing architecture is not effective; different viewpoints are still necessary for better communication with various stakeholders.

Design decisions need to be well documented, and each decision record may need one-pagers to represent architecture options and trade-offs.

Scaled Agile Framework (SAFe) recommends having a solution intent as a central repository to store all documents that convey the what and how aspects of a solution. It is a critical knowledge base that captures minimal and sufficient information, current and future stages, specifications, designs, and test cases. It enables teams to collaborate on solutions, including vendors. Some of the key principles proposed by SAFe are favoring models over documentation, collaboration, a single repository, keeping documentation high level, and keeping it simple.

LeSS uses the Software Architecture Document (SAD) as a means to document solutions. LeSS emphasis using physical collaboration spaces and physical whiteboards for documenting SAD. Teams continuously update the physical diagrams through collaborative discussions during development. These artifacts are transformed digitally post-development.

Disciplined Agile (DA) uses the term travel light and proposes having just enough models and just enough documentation. Similar to LeSS, DA also highlights the importance of using physical display walls and whiteboards.

Documentation ecosystem at Snow in the Desert

Section titled “Documentation ecosystem at Snow in the Desert”

The effectiveness of the documentation approach heavily depends on tools. Managing everything in a single tool may not be feasible nor correct. Snow in the Desert uses the principles of documentation to develop minimal but sufficient product-centric documentation.

The following diagram captures the structure of architecture documentation followed at Snow in the Desert:

Figure 10.8 – Architecture documentation landscape at Snow in the Desert

As shown in the diagram, Snow in the Desert follows a product-centric approach, and architecture documentation is just one element of the overall product documentation. The Software Architecture Document, as shown in the diagram, captures the overall architecture, whereas detailed elements may be captured on different wiki pages linked to the main architecture document. Previous chapters have covered most of the building blocks mentioned in the diagram. Architecture Decision Records (ADR) will be explored in the next chapter.

The following diagram illustrates a tool-centric view based on the approach adopted by Snow in the Desert:

Figure 10.9 – Architecture documentation ecosystem of tools with Snow in the Desert

The diagram shows a fully integrated model for enterprise and solution architects to document various architectural elements. It helps answer many questions instantaneously and therefore saves a considerable amount of time by avoiding repeatedly discovering information. It is extremely important to keep all the tools in the documentation ecosystem connected and synchronized.

Models are an integral part of architecture documentation, and to the extent possible, models should be used instead of free text. Models offer better communication, are easy to understand, can help to spot defects, and reduce maintenance overheads. We will go deeper into different aspects of modeling in the next section.

Model-based software engineering has acquired massive popularity over the years. We have touched on the modeling aspects in Chapter 9, Architecting for Quality with Quality Attributes, and examined a couple of models, including the transaction and workload models. We have also explored Domain-Driven Design (DDD) in Chapter 7, Technical Agility with Patterns and Techniques. Modeling is one of the most critical activities for architects as it helps eliminate wastage by detecting defects early in the flow. All scaling Agile frameworks mention the importance of modeling before development to determine the design’s potential shortcomings.

The International Council on Systems Engineering (INCOSE) defines Model-Based Systems Engineering (MBSE) as a formalized application of modeling to support system requirements, design, analysis, verification, and validation activities, beginning with the conceptual design phase and continuing throughout development and later life cycle phases. MBSE helps increase productivity, allows better communication, and easy impact assessment of changes, promotes and faster flow. MBSE moves software design from document-centric to model-centric. It supports system flows and architecture, system requirements analysis, and system process flows. A model analyzes a system’s design to identify faults prior to implementation.

The model-centric approach brings consistency with a standard language. MBSE may use SysML, UML, ArchiMate, or other notation languages. However, traditional modeling languages such as UML are often low-level constructs, not expressive, require a certain level of technical knowledge, are not engaging, and are disconnected from the natural whiteboard drawings. Many architects, therefore, prefer block diagrams on PowerPoint and other drawing tools for developing architecture diagrams. Even though those PowerPoint diagrams are aesthetically sound, it is hard to find consistency even within the organization’s boundaries.

Simon Brown introduced the C4 model for representing architecture and design in an expressive way. It helps architects to communicate their ideas effectively and efficiently. C4 is not a notation language, like UML and ArchiMate. C4 uses the concept of abstraction first, in which higher-level models are abstract, and lower-level models show more concrete information.

The following diagram shows the C4 metamodel:

Figure 10.10 – C4 metamodel for architecture documentation

As shown in the diagram, architecture models start with a Context diagram, and then drill down to Container, Component, and Code. The lowest-level diagram is code represented as UML class diagrams often generated with a code-first approach.

In the context of Snow in the Desert’s AVTS scenario, the following diagram discussed in Chapter 5, Agile Solution Architect – Designing Continuously Evolving Systems, captures the context-level view:

Figure 10.11 – AVTS context diagram using C4

The following diagram, the container model, discussed in Chapter 5, Agile Solution Architect – Designing Continuously Evolving Systems, captures the next level of context and explains the different components of the system:

Figure 10.12 – AVTS container diagram using C4

The component model discussed in Chapter 7, Technical Agility with Patterns and Techniques, as shown in the following diagram, captures the third level, such as the details of a particular service or component:

Figure 10.13 – AVTS component diagram using C4

There are many other supplementary diagrams possible with C4, including a system landscape diagram, a deployment diagram, and a communication diagram. The deployment model from the AVTS scenario is depicted in the following diagram:

Figure 10.14 – AVTS deployment diagram using C4

As explained with a series of AVTS architecture diagrams, C4 helps in zooming in on more details and provides different architecture views targeting different stakeholders with expressive diagrams.

In this chapter, we have learned the importance of documentation in developing software systems following Agile development methodologies. We have learned the reasons for documentation, why documentation is considered a flow barrier, and some of the challenges associated with traditional documentation methods, such as exceeded budget, no one reading the documentation, the fact that it is a waste of effort, change tolerance, and documentation silos.

Furthermore, we have explored the Lean-Agile documentation and the adoption of evolutionary collaboration as an alternative approach for documentation. We have learned about alternative methods, such as documentation as code, generating documentation, focusing on models, and the use of visual aids. Additionally, this chapter examined the adequacy of documentation and principles for good documentation, such as purpose-driven documentation, consumer-driven documentation, delivering just barely enough documentation, and the timely delivery of documentation. We have also explored how much documentation is enough using the Cockburn scale. In addition, we have reviewed various elements of architecture documentation and explored an integrated tools ecosystem that is pertinent to good documentation. Models are vital for architecture documentation, and in this context, we have examined MBSE and, specifically, the C4 model. Later in this chapter, we also learned about different architectural artifacts with examples from Snow in the Desert.

In this chapter, we have covered an architect’s view of documentation in Agile software development. The next chapter will explore how to achieve architecture alignment with Lean-Agile governance and safety nets.