From: valued mammal Date: Thu, 5 Sep 2024 22:23:59 +0000 (-0400) Subject: docs: add architectural decision record (ADR) template X-Git-Tag: bitcoind_rpc-0.18.0~14^2~2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.EncoderStringWriter.html?a=commitdiff_plain;h=e60c65b484fb8a3754b206b97cc3ef4a4d2f6334;p=bdk docs: add architectural decision record (ADR) template --- 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] +* …