| 1 | # 1. Use ADRs in Vector |
| 2 | |
| 3 | Date: 2023-10-18 |
| 4 | |
| 5 | ## Status |
| 6 | |
| 7 | Accepted. |
| 8 | |
| 9 | ## Context |
| 10 | |
| 11 | Vector has undergone many changes since the development of Vector 2022 |
| 12 | began in 2019. Since that time there have been many changes to the skin that |
| 13 | have shaped its architecture and had implications on the MediaWiki |
| 14 | platform and broader ecosystem. |
| 15 | In order to better understand, and keep a record of, these and future |
| 16 | changes, we are implementing architectural decision records (ADRs). |
| 17 | |
| 18 | ## Decision |
| 19 | |
| 20 | We are adopting architecture decision records. The format of these |
| 21 | records are numbered markdown files with the /doc/adr directory. |
| 22 | The format will follow the Michael Nygard ARD style as described |
| 23 | on the following web page: |
| 24 | |
| 25 | https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions.html |
| 26 | |
| 27 | ## Consequences |
| 28 | |
| 29 | When an decision that is deemed important to the codebase or the ecosystem |
| 30 | is made inside this repository, it is up to the deciding individuals |
| 31 | to create a new markdown file in this directory and add an ADR with regards |
| 32 | to that decision.The ADR should be brief and may link to Phabricator or |
| 33 | other places that hold more context around the decision. |
| 34 | |
| 35 | ADRs may also be used to propose changes by framing the ADR as a proposal |
| 36 | and marking the status as "proposed". If there is agreement to adopt the |
| 37 | ADR, it's status should be change to "accepted". |
| 38 | |
| 39 | ADRs can also be marked "deprecated" or "superseded". |
| 40 | |
| 41 |