Skip to content

Commit 55825c3

Browse files
authored
Merge pull request #2080 from richardcase/adr
📖 docs: add ADR template and first ADR
2 parents 9a92b0c + 4da8b88 commit 55825c3

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

docs/adr/0000-template.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# 0. Title
2+
<!-- A short and clear title which is prefixed with the ADR number -->
3+
4+
* Status: [proposed | rejected | accepted | deprecated | … | superseded by [ADR-0005](0005-example.md)] <!-- mandatory -->
5+
* Date: 2020-10-29 [YYY-MM-DD - date of the decision] <!-- mandatory -->
6+
* Authors: [list of GitHub handles for the authors]
7+
* Deciders: [list of GitHub handles for those that made the decision] <!-- mandatory -->
8+
9+
## Context
10+
<!-- What is the context of the decision and whats the motivation -->
11+
12+
## Decision
13+
<!-- What is the decision that has been made -->
14+
15+
## Consequences
16+
<!-- Whats the result or impact of this decision. Does anything need to change and are new GitHub issues created as a result -->
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# 1. Use ADRs to record decisions
2+
3+
* Status: proposed
4+
* Date: 2020-10-29
5+
* Authors: @richardcase
6+
* Deciders: [list of GitHub handles for those that made the decision] <!-- mandatory -->
7+
8+
## Context
9+
10+
Currently decisions that affect ongoing CAPA development are being made via:
11+
12+
1. CAEP for larger or more impactful pieces of work
13+
2. Discussions on issue, PRs, in Slack or in the bi-weekly community call.
14+
15+
The decisions made via 2) are not easily discoverable and may not be documented. The CAPA project needs a way to record these decisions so they are easily discoverable by the contributors when they are looking to understand why something is done a particular way.
16+
17+
## Decision
18+
19+
The project will use [Architectural Decision Records (ADR)](https://adr.github.io/) to record decisions that are applicable across the project and that are not explicitly covered by a CAEP. Additionally, in the implementation of a CAEP decisions may still be made via discussions and so ADRs should be created in this instance as well.
20+
21+
A [template](./0000-template.md) has been created based on prior work:
22+
23+
* https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions
24+
* https://adr.github.io/madr/
25+
26+
## Consequences
27+
28+
When decisions are made that affect the entire project then these need to be recorded as an ADR. For decisions that are made as part of discussion on issues or PRs a new label could be added `needs-adr` (or something similar) so that its explicit. For decisions made on slack or via Zoom call someone will need to take an action to create the PR with the ADR. Maintainers and contributors will need to decide when a "decision" has been made and ensure an ADR is created.

0 commit comments

Comments
 (0)