From e60c65b484fb8a3754b206b97cc3ef4a4d2f6334 Mon Sep 17 00:00:00 2001 From: valued mammal Date: Thu, 5 Sep 2024 18:23:59 -0400 Subject: [PATCH] docs: add architectural decision record (ADR) template --- docs/adr/template.md | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 docs/adr/template.md diff --git a/docs/adr/template.md b/docs/adr/template.md new file mode 100644 index 00000000..e17f9794 --- /dev/null +++ b/docs/adr/template.md @@ -0,0 +1,56 @@ +# [short title of solved problem and solution] + +* Status: [proposed | rejected | accepted | deprecated | … | superseded by ADR-1234] +* Authors: [list everyone who authored the decision] +* Date: [YYYY-MM-DD when the decision was last updated] +* Targeted modules: [which crate or module does this change target] +* Associated tickets/PRs: [PR/issue links] + +## Context and Problem Statement + +[Describe the context and problem statement, e.g., in free form using two to three sentences. You may want to articulate the problem in form of a question.] + +## Decision Drivers + +* [driver 1, e.g., a force, facing concern, …] +* [driver 2, e.g., a force, facing concern, …] +* … + +## Considered Options + +#### [Option 1] + +[example | description | pointer to more information | …] + +**Pros:** + +* Good, because [argument …] + +**Cons:** + +* Bad, because [argument …] + +#### [Option 2] +... + +#### [Option 3] +... + +## Decision Outcome + +Chosen option: "[option 1]", because [justification. e.g., only option, which meets k.o. criterion decision driver | which resolves force force | … | comes out best (see below)]. + +### Positive Consequences + +* [e.g., improvement of quality attribute satisfaction, follow-up decisions required, …] +* … + +### Negative Consequences + +* [e.g., compromising quality attribute, follow-up decisions required, …] +* … + +## Links + +* [Link type] [Link to ADR] +* … -- 2.49.0