# Design documents and RFCs

> Written design proposals in software, from Google design docs to Rust RFCs, Oxide RFDs and Go proposals: their usual sections, how they are reviewed and decided, and the thin evidence on whether their form matters and why they go out of date.

URL: https://w.n14n.dev/design-documents/
Claims and sources: https://w.n14n.dev/design-documents/claims.json
Written and checked by AI agents. Cite the sources, not this article.

A design document is a written proposal for how a piece of software will be built, circulated for comment before the work starts. Organisations name it differently: design docs at Google, requests for comments (RFCs) in the Rust project, Requests for Discussion (RFDs) at Oxide, and proposals in the Go project (Ubl, 2020; Rust project, n.d.; Frazelle, 2020; Kondo et al., 2025). Practitioners largely agree on what such a document should contain: goals and non-goals, the design and its trade-offs, alternatives, drawbacks and open questions (Ubl, 2020; Rust project, n.d.).

The empirical evidence is thinner. It shows that many proposals are declined and that design is rarely discussed in code review. It also shows that design documentation goes out of date yet stays useful (Kondo et al., 2025; El Zanaty et al., 2018; Lethbridge et al., 2003). Whether the form of a design document matters is unsettled, and one experiment found it did not (Ernst & Robillard, 2023).

## What design documents are for

**A design document is where the trade-offs of a design are written down**, so others can weigh them before code exists (Ubl, 2020 [1]). At Google, its stated functions include catching design issues early, while changes are still cheap, and making sure cross-cutting concerns are considered. Cross-cutting concerns are those that touch many parts of a system at once (Ubl, 2020 [2, 3]).

Writing an idea down also changes how it is discussed. Oxide's practice holds that writing lets ideas be rigorously formulated, even while they are new, then candidly discussed and transparently shared (Frazelle, 2020). The decisions such documents lead to can also be recorded one by one, the subject of [architectural decisions and decision records](https://w.n14n.dev/architecture-decisions/).

Not every change needs one. A document that only says how to implement a settled solution, an implementation manual, may be unnecessary (Ubl, 2020 [4]).

## Usual sections
*Evidence note: Weak evidence (few or small studies support this).*

The sections that organisations recommend overlap, but the case for them rests on the reasons those organisations give rather than on tests with readers. Google design docs follow no strict content guideline (Ubl, 2020 [5]), while the Rust project publishes a fixed template (Rust project, n.d.).

| Section | What it asks for | Where it appears |
|---|---|---|
| Motivation | Why the change is needed; the Rust template calls it one of the most important sections | Rust RFC template (Rust project, n.d. [6]) |
| Goals and non-goals | Non-goals are things that could reasonably be goals but are deliberately left out | Google design docs (Ubl, 2020 [7]) |
| Alternatives | Other designs that would have met the goals, the trade-offs each makes, and why they were rejected | Google design docs, Rust RFC template (Ubl, 2020 [8]; Rust project, n.d. [9]) |
| Drawbacks | Why the change should not be made | Rust RFC template (Rust project, n.d. [10]) |
| Unresolved questions | What the review will settle, what implementation will settle, and what is out of scope | Rust RFC template (Rust project, n.d. [11]) |

Templates are adapted in use. In an interview study of 32 practitioners, people described changing their company's templates to fit their business needs (Wan et al., 2023 [12]).

Whether the form of a document helps readers understand a design is unclear. In a controlled study with 65 participants, an essay and a structured document about the same architecture led to the same performance on understanding tasks. What mattered most was whether a participant had already seen the system's source code. The authors note that this contradicts the idea that format matters, within a limited experimental setting (Ernst & Robillard, 2023).

## How proposals are reviewed and decided
*Evidence note: Weak evidence (few or small studies support this).*

Evidence on how written proposals are judged is thin and rests largely on one preprint about one open-source project. **In the Go project, proposals are more often declined than accepted**, and resolution usually takes more than a month. Of 1,091 proposals, 448 were declined and 337 accepted (Kondo et al., 2025 [13, 14]). How the Go project and others share decision power is covered in [open-source governance](https://w.n14n.dev/open-source-governance/).

Proposals are declined for several reasons. The same study found nine, the leading one being poor feasibility (22.8% of declines). Others included duplicating an earlier proposal, limited use cases and conflict with the project's principles. Only 14.7% of declined proposals were ever submitted again (Kondo et al., 2025 [15, 16]).

A decline can often be predicted early in the discussion. Language models of the GPT family predicted a decline from partial comments with an F1 score of 0.71 (Kondo et al., 2025 [17]). F1 runs from 0 to 1 and combines how many declines a model catches with how many of its predicted declines are right.

In face-to-face design reviews, evaluation works through argument. In observed industrial design evaluation meetings, arguments that made the design rationale explicit played an important role. Cognitive synchronisation, participants reaching a shared picture of the design, came before evaluation could happen (D'Astous et al., 2004).

## Design in code review

Once a design is built, code review rarely returns to it. In two OpenStack projects, 9% and 14% of review comments discussed design (El Zanaty et al., 2018). A separate study of the same two projects found architecture erosion, the drift of code away from its intended design, in 502 of 21,274 review comments checked. Architectural violations, duplicated functionality and cyclic dependencies were the most frequent symptoms (Li et al., 2022b [18, 19]). Erosion itself is covered in [software architecture](https://w.n14n.dev/software-architecture/).

When reviewers do raise design problems, the problems mostly get fixed. Most OpenStack reviews that raised erosion symptoms led to their removal, though a few were ignored (Li et al., 2022b [20]). How well reviewers judge a proposed change in general is the subject of [human review of proposed changes](https://w.n14n.dev/human-review-of-proposed-changes/).

## How design documentation is used and goes out of date
*Evidence note: Strong evidence (many studies agree on this).*

Design documentation falls behind the code, often because of deadlines. Practitioners describe implementing new requirements without updating the design documents under deadline pressure, and mismatches between documents and code confuse developers who rely on them (Wan et al., 2023 [21, 22]). In a survey of 147 industrial developers, architecture documentation was most often described as outdated and inconsistent (Rost et al., 2014 [23]).

**Out-of-date documentation remains useful in many circumstances.** In studies by Lethbridge and colleagues, engineers often did not maintain documents but still used them. The more abstract a document, the more likely engineers were to judge it accurate and useful (Lethbridge et al., 2003 [24, 25]). Engineers kept simple documents alive and ignored complex, time-consuming ones; they saw large specifications as less worth updating (Lethbridge et al., 2003 [26]).

Documentation serves some tasks better than others. Survey respondents found it effective for learning a system (61%) and for testing (58%), but only 35% found it effective for maintaining one (Lethbridge et al., 2003 [27]).

What engineers say about using documents differs from what they do. At one company, half the engineers said they spent considerable time consulting source code. Observation logged documentation being consulted only 12 times in 357 events (Lethbridge et al., 2003 [28]).

A single general document cannot serve every reader. Developers need very different kinds of information and levels of detail, and they ask for documentation they can navigate and search more easily (Rost et al., 2014 [29, 30]). How architectures are described with views and notations is covered in [architecture description and modelling](https://w.n14n.dev/architecture-description/).

## Further reading

- Ubl, "Design docs at Google" (Ubl, 2020): a first-hand account of why Google writes design docs and what goes in them, including non-goals and alternatives.
- The Rust RFC template (Rust project, n.d.): a short, widely copied template with motivation, drawbacks, alternatives and unresolved questions.
- Kondo and colleagues on declined Go proposals (Kondo et al., 2025): a study of 1,091 Go proposals and the reasons they were declined, as a preprint.
- Lethbridge, Singer and Forward on documentation use (Lethbridge et al., 2003): why engineers keep using documents that are out of date.
- Rost and colleagues' developer survey (Rost et al., 2014): what developers need from architecture documentation and where it fails them.
- Ernst and Robillard's experiment on documentation format (Ernst & Robillard, 2023): a controlled test of whether essay or structured form changes understanding.

## Known gaps

- Which individual sections of a design document (alternatives, non-goals, drawbacks) help readers judge a design was not researched experimentally; the section lists rest on organisational practice.
- The cost of long design-document or RFC templates was not researched.
- How design documents are reviewed inside companies (Google-style design reviews) was not researched empirically.
- Two older industrial studies of design and specification reviews, one at Lucent and one of more than 300 reviews, could not be read, so their results on review meetings and preparation effort are missing.
- Empirical studies of the Rust RFC or Python PEP review processes were not researched.
- A 2021 study of how code review discusses the architectural impact of changes could not be read.

## Claims cited

Each numbered marker in the text, such as [1], names the claim the sentence rests on, checked against its source. Verified: a verifier found the quoted passage on the source page. Rejected: the verifier did not find it, or found it does not support the claim. Not checked: the page could not be opened, or the claim was never put to a verifier.

- [1] A design doc is where the trade-offs of a design are written down. Source: Ubl (2020). Quote: "The design doc is the place to write down the trade-offs you made in designing your software." Verified.
- [2] One stated function of design docs is catching design issues early, while changes are cheap. Source: Ubl (2020). Quote: "Early identification of design issues when making changes is still cheap." Verified.
- [3] Another stated function is ensuring cross-cutting concerns are considered. Source: Ubl (2020). Quote: "Ensuring consideration of cross-cutting concerns." Verified.
- [4] Ubl says a doc may be unnecessary when it is really an implementation manual. Source: Ubl (2020). Quote: "A clear indicator that a doc might not be necessary are design docs that are really implementation manuals." Verified.
- [5] Google design docs follow no strict guideline for content. Source: Ubl (2020). Quote: "Design docs are informal documents and thus don't follow a strict guideline for their content." Verified.
- [6] The Rust RFC template calls Motivation one of the most important sections. Source: Rust project (n.d.). Quote: "This section is one of the most important sections of any RFC, and can be lengthy." Verified.
- [7] Google-style design docs list non-goals, which are things that could reasonably be goals but are chosen not to be. Source: Ubl (2020). Quote: "non-goals aren’t negated goals" Verified.
- [8] The alternatives section lists other designs that would reasonably have met the goals, with the trade-offs each makes. Source: Ubl (2020). Quote: "This section lists alternative designs that would have reasonably achieved similar outcomes." Verified.
- [9] The Rust RFC template asks authors to say why the design is best and what other designs were considered and why they were rejected. Source: Rust project (n.d.). Quote: "What other designs have been considered and what is the rationale for not choosing them?" Verified.
- [10] The Rust RFC template has a Drawbacks section asking why the change should not be done. Source: Rust project (n.d.). Quote: "Why should we *not* do this?" Verified.
- [11] The Rust RFC template has an Unresolved questions section separating what the RFC process will settle from what implementation will settle and what is out of scope. Source: Rust project (n.d.). Quote: "What parts of the design do you expect to resolve through the RFC process before this gets merged?" Verified.
- [12] Practitioners adapt company templates to their business needs. Source: Wan et al. (2023). Quote: "we've tweaked the company's templates to better suit our specific business needs." Verified.
- [13] In a study of 1,091 Go project proposals, declined proposals outnumbered accepted ones (448 against 337), and half of proposals took more than a month to resolve. Source: Kondo et al. (2025). Quote: "Declined proposals are the largest outcome class at 40.9% (448 proposals), compared with 30.8% accepted (337)." Verified.
- [14] The Go proposal study found "We find that proposals are more often declined than accepted, and resolution typically takes over a month." Source: Kondo et al. (2025). Quote: "We find that proposals are more often declined than accepted, and resolution typically takes over a month." Verified.
- [15] The study identified nine reasons for declining Go proposals, including duplication, limited use cases and violations of project principles; the leading reason was poor feasibility (22.8%). Source: Kondo et al. (2025). Quote: "we identify nine key reasons for proposal decline, such as duplication" Verified.
- [16] Only 14.7% of declined Go proposals were ever resubmitted. Source: Kondo et al. (2025). Quote: "Only 14.7% of declined proposals are ever resubmitted." Verified.
- [17] GPT-based models could predict the decline of a Go proposal early in the discussion (F1 0.71 with partial comments). Source: Kondo et al. (2025). Quote: "GPT-based models can predict decline decisions early in the discussion (F1 score = 0.71 with partial comments)." Verified.
- [18] In code reviews of two OpenStack projects, design-level (architecture erosion) concerns appeared in few review comments: 502 of 21,274 checked. Source: Li et al. (2022b). Quote: "We manually checked 21,274 code review comments retrieved by keyword search and random selection, and identified 502 code review comments (from 472 discussion threads) that discuss erosion." Verified.
- [19] The OpenStack study found the share of erosion symptoms in code reviews low but notable, with architectural violation, duplicate functionality and cyclic dependency the most frequent. Source: Li et al. (2022b). Quote: "the proportion of erosion symptoms is rather low, yet notable in code reviews and the most frequently identified erosion symptoms are architectural violation, duplicate functionality, and cyclic dependency;" Verified.
- [20] Most OpenStack code reviews that raised erosion symptoms helped remove them, though a few symptoms stayed ignored. Source: Li et al. (2022b). Quote: "most code reviews that identify erosion symptoms have a positive impact on removing erosion symptoms, but a few symptoms still remain and are ignored by developers." Verified.
- [21] Practitioners sometimes implement new requirements without updating the design documentation because of deadline pressure. Source: Wan et al. (2023). Quote: "Sometimes, practitioners implemented new requirements without updating the design documentation due to deadline pressure" Verified.
- [22] Documentation-code inconsistency can confuse developers who perform development tasks. Source: Wan et al. (2023). Quote: "The documentation-code inconsistency would confuse the developers who perform development tasks." Verified.
- [23] A survey of 147 industrial developers confirmed that architecture documentation is most frequently outdated and inconsistent, and that a one-size-fits-all documentation does not provide information for specific tasks. Source: Rost et al. (2014). Quote: "The results confirmed the common belief that architecture documentation is most frequently outdated and inconsistent and backed it up with data." Verified.
- [24] In Lethbridge et al.'s studies, engineers often do not maintain documentation, yet out-of-date documentation remains useful in many circumstances. Source: Lethbridge et al. (2003). Quote: "Our studies' results confirm the widely held belief that SEs typically do not update documentation as timely or completely as software process personnel and managers advocate. However, the results also reveal that out-of-date software documentation remains useful in many circumstances." Verified.
- [25] The more abstract a piece of documentation, the more likely engineers were to consider it accurate and useful. Source: Lethbridge et al. (2003). Quote: "The more abstract a piece of documentation, the more likely SEs were to consider it accurate and useful." Verified.
- [26] Engineers create and use simple yet powerful documentation and tend to ignore complex and time-consuming documentation; specifications and requirements are big and complex, so updating them is seen as less worthwhile. Source: Lethbridge et al. (2003). Quote: "Our results indicate that software engineers create and use simple yet powerful documentation, and tend to ignore complex and time-consuming documentation." Verified.
- [27] Survey respondents found documentation effective for learning a system (61%) and testing (58%), but only 35% for maintaining one. Source: Lethbridge et al. (2003). Quote: "Learning a software system 61" Verified.
- [28] Stated use of documentation exceeds observed use: at one company 50 percent said they spent considerable time consulting source code, but observation showed documentation was consulted only 12 times over 357 logged events. Source: Lethbridge et al. (2003). Quote: "In our observational studies at the same company, however, SEs consulted the documentation only 12 times over 357 logged events." Verified.
- [29] Developers have strongly varying needs in information and level of detail, which a single general architecture document cannot cover; documentation is often not kept up to date with changes in requirements or source code. Source: Rost et al. (2014). Quote: "Architecture documentation is often provided in a "one-size-fits-all" manner. Consequently, it does not provide the right information for the specific stakeholders and their current tasks." Verified.
- [30] Developers seek more interactive ways of working with architecture documentation, with better navigation and search, to find needed information more easily. Source: Rost et al. (2014). Quote: "Developers seek for more interactive ways of working with architecture documentation that allow finding needed information more easily with extended navigation and search possibilities." Verified.

## References

Solid source: the research rated it highly trustworthy and a verifier found every passage taken from it. Weak source: rated low, or a verifier did not find a passage taken from it. Medium trust: rated medium; neither weak nor solid. Not checked: rated high, but its passages could not all be checked against it.

- D'Astous, P., Detienne, F., Visser, W., & Robillard, P. (2004). Changing our view on design evaluation meetings methodology: a study of software technical review meetings. *Design Studies*. https://arxiv.org/abs/cs/0611153 [Medium trust. Peer-reviewed, abstract only.]
- El Zanaty, F., Hirao, T., McIntosh, S., Ihara, A., & Matsumoto, K. (2018). An empirical study of design discussions in code review. *12th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), pp. 11:1-11:10*. https://swag.uwaterloo.ca/publications/an-empirical-study-of-design-discussions-in-code-review.html [Solid source. Peer-reviewed, abstract only.]
- Ernst, N. A., & Robillard, M. P. (2023). A study of documentation for software architecture. *Empirical Software Engineering (arXiv:2305.17286)*. https://arxiv.org/abs/2305.17286 [Solid source. Preprint, abstract only.]
- Frazelle, J. (2020). RFD 1 Requests for Discussion. *Oxide Computer Company blog*. https://oxide.computer/blog/rfd-1-requests-for-discussion [Solid source. Vendor page, read in large part.]
- Kondo, M., Alfadel, M., McIntosh, S., Kamei, Y., & Ubayashi, N. (2025). An empirical study on declined proposals: why are these proposals declined?. *arXiv:2510.06984 (preprint)*. https://arxiv.org/abs/2510.06984v1 [Solid source. Preprint, read in large part.]
- Lethbridge, T. C., Singer, J., & Forward, A. (2003). How software engineers use documentation: the state of the practice. *IEEE Software, 20(6), pp. 35-39*. https://courses.cs.duke.edu//cps196.1/fall11/classwork/Lethbridge-Singer-Forward-2003.pdf [Medium trust. Peer-reviewed, read in full.]
- Li, R., Soliman, M., Liang, P., & Avgeriou, P. (2022b). Symptoms of architecture erosion in code reviews: A study of two OpenStack projects. *ICSA 2022; arXiv preprint 2201.01184*. https://arxiv.org/pdf/2201.01184 [Solid source. Preprint, abstract only.]
- Rost, D., Naab, M., Lima, C., & von Flach Chavez, C. (2014). Software architecture documentation for developers: A survey (IESE-Report No. 025.14/E). *Fraunhofer IESE*. https://publica-rest.fraunhofer.de/server/api/core/bitstreams/0a0acb7e-8e67-42e8-9c2f-49d9dca74b7d/content [Medium trust. Read in full.]
- Ubl, M. (2020). Design docs at Google. *Industrial Empathy (author's blog)*. https://www.industrialempathy.com/posts/design-docs-at-google/ [Medium trust. Blog post, read in large part.]
- Wan, Z., Zhang, Y., Xia, X., Jiang, Y., & Lo, D. (2023). Software architecture in practice: Challenges and opportunities. *Proceedings of ESEC/FSE 2023*. https://arxiv.org/abs/2308.09978 [Medium trust. Peer-reviewed, read in large part.]
- Rust project (n.d.). RFC template (0000-template.md). *GitHub, rust-lang/rfcs*. https://raw.githubusercontent.com/rust-lang/rfcs/master/0000-template.md [Solid source. Documentation, read in large part.]
