背景与动机
ADR 旨在作为提出新功能设计与新流程的主要机制,用于收集社区对某个问题的意见,并记录设计决策。 一份 ADR 应当提供:- 相关目标与当前状态的背景信息
- 为实现目标而提出的变更
- 优缺点总结
- 被放弃的方案空间以及放弃原因
- 参考资料
- 变更日志
创建新的 ADR
请阅读流程。使用 RFC 2119 关键词
编写 ADR 时,应遵循与编写 RFC 相同的最佳实践。 编写 RFC 时,会使用关键词来表示规范中的要求。 这些词通常会使用大写形式:“MUST”、“MUST NOT”、“REQUIRED”、“SHALL”、“SHALL NOT”、“SHOULD”、“SHOULD NOT”、“RECOMMENDED”、“MAY” 和 “OPTIONAL”。 它们的解释应以 RFC 2119 中的定义为准。ADR 目录
已接受
- 无
已提议
草稿
- 无
已拒绝
已弃用
This is a location to record all high-level architecture decisions for new feature and module proposals in the Cosmos Hub. An Architectural Decision (AD) is a software design choice that addresses a functional or non-functional requirement that is architecturally significant. An Architecturally Significant Requirement (ASR) is a requirement that has a measurable effect on a software system’s architecture and quality. An Architectural Decision Record (ADR) captures a single AD, such as often done when writing personal notes or meeting minutes; the collection of ADRs created and maintained in a project constitute its decision log. All these are within the topic of Architectural Knowledge Management (AKM). You can read more about the ADR concept here.
Rationale
ADRs are intended to be the primary mechanism for proposing new feature designs and new processes, for collecting community input on an issue, and for documenting the design decisions. An ADR should provide:- Context on the relevant goals and the current state
- Proposed changes to achieve the goals
- Summary of pros and cons
- Discarded solution spaces and why they were discarded
- References
- Changelog
Creating new ADR
Read about the PROCESS.Use RFC 2119 Keywords
When writing ADRs, follow the same best practices for writing RFCs. When writing RFCs, key words are used to signify the requirements in the specification. These words are often capitalized: “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL. They are to be interpreted as described in RFC 2119.ADR Table of Contents
Accepted
- n/a
Proposed
Draft
- n/a