Design documents and RFCs
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). 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).
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.
Not every change needs one. A document that only says how to implement a settled solution, an implementation manual, may be unnecessary (Ubl, 2020).
Usual sections 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), 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.) |
| Goals and non-goals | Non-goals are things that could reasonably be goals but are deliberately left out | Google design docs (Ubl, 2020) |
| 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; Rust project, n.d.) |
| Drawbacks | Why the change should not be made | Rust RFC template (Rust project, n.d.) |
| Unresolved questions | What the review will settle, what implementation will settle, and what is out of scope | Rust RFC template (Rust project, n.d.) |
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).
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 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). How the Go project and others share decision power is covered in 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).
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). 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). Erosion itself is covered in 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). How well reviewers judge a proposed change in general is the subject of human review of proposed changes.
How design documentation is used and goes out of date 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). In a survey of 147 industrial developers, architecture documentation was most often described as outdated and inconsistent (Rost et al., 2014).
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). Engineers kept simple documents alive and ignored complex, time-consuming ones; they saw large specifications as less worth updating (Lethbridge et al., 2003).
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).
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).
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). How architectures are described with views and notations is covered in architecture description and modelling.
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.
First published .
Known gaps
What this article cannot tell you yet.
- 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.
References
- Solid source
- Rated highly trustworthy by the research, and every passage taken from it was found in it.
- Weak source
- Rated low, or a passage taken from it was not found in it.
- Medium trust
- Rated medium by the research.
- Not checked
- Rated high, but its passages could not all be checked against it.
Show all 11 references
- 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.
- 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.
- 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.