The docs/architecture/adr folder contains the architecture decision records (ADRs) for our project.
ADRs are short text documents that serve as a historical context for the architecture decisions we make over the course of the project.
An Architecture Decision Record (ADR) is a document that captures an important architectural decision made along with its context and consequences. ADRs record the decision making process and allow others to understand the rationale behind decisions, providing insight and facilitating future decision-making processes.
We adhere to Michael Nygard's ADR format proposal, where each ADR document should contain:
- Title: A short descriptive name for the decision.
- Link to Issue: A link to the issue that prompted the decision.
- Link to Pull Request: A link to the pull request that implements the ADR.
- Link to Tracking Issue: A link to the tracking issue, if applicable.
- Status: The current status of the decision (proposed, accepted, rejected, deprecated, superseded)
- Context: The context that motivates this decision.
- Decision: The change that we're proposing and/or doing.
- Consequences: What becomes easier or more difficult to do and any risks introduced as a result of the decision.
When creating a new ADR, please follow the provided ADR template file and ensure that your document is clear and concise.
The ADRs will be stored in a directory named docs/adr
, and each ADR will be a file named NNNN-title-with-dashes.md
where NNNN
is a four-digit number that is increased by 1 for every new adr.
The life cycle of an ADR is as follows:
- Proposed: The ADR is under consideration.
- Accepted: The decision described in the ADR has been accepted and should be adhered to, unless it is superseded by another ADR.
- Rejected: The decision described in the ADR has been rejected.
- Deprecated: The decision described in the ADR is no longer relevant due to changes in system context.
- Superseded: The decision described in the ADR has been replaced by another decision.
Each ADR will have a status indicating its current life-cycle stage. An ADR can be updated over time, either to change the status or to add more information.
We welcome contributions in the form of new ADRs or updates to existing ones. Please ensure all contributions follow the standard format and provide clear and concise information.