Architecture decisions
On the first of each month the decision keeper updates the index of your numbered decision records and, with GitHub connected, checks them against your code.
A year after a choice is made, nobody remembers why. The reasons were in a meeting or a chat thread, and the code has moved on since. A new teammate repeats an old argument, or undoes a choice without knowing it was one.
Here each decision is a page in Decisions/, numbered ADR-001, ADR-002 and on, with its status, its date and its owner. The first run writes ADR-001, which records the choice to keep decisions here, and the index. On the first of each month at 9:00 the decision keeper rewrites the index from each record's status. With GitHub connected it also checks each accepted decision against the code, and lists merged pull requests that changed the architecture with no record.
You and your team write the decisions and accept them. The decision keeper never changes what a record says, never accepts a proposal and never deletes a page. Every change it makes waits for your review.
The agents
Decision keeper
Keeps the decision index current and checks the records against the code every month
At 09:00, on day 1 of the month
How it works
- 1
Name the repository. Write it under Repository on Index.md as owner/name, if you left it empty at install.
- 2
Write one page per decision. Name it by the next number and the decision, such as ADR-002 Use Postgres for orders.md, and fill in the context, the decision, the options and the consequences.
- 3
Accept it when the team agrees. Change its status from proposed to accepted. When a new decision replaces an old one, the new page says so and the old one becomes superseded.
- 4
The decision keeper runs on the first of each month at 9:00. It updates the lists on Index.md and writes what it found under Last check.
- 5
Read the check. A record that does not match the code needs a new decision or a change to the code.
- 6
Open Decision finder.html to look a decision up. Type a word from a record's title, status, date or first paragraph, and click a Supersedes or Superseded by link to read the other record under it.
More for product and engineering
- Bug triageOpen bugs ranked every weekday by severity and age, with an order to fix them.
- ChangelogRelease notes every Friday from merged pull requests and closed issues.
- Engineering statusA Monday status page and a board of shipped, in progress and blocked work.
- Feature requestsFeature requests scored on reach, impact and effort, ranked every Monday.
- IncidentsA page per incident, a postmortem draft for each and a monthly review.
- Metrics glossaryOne page per metric with owner and formula, checked monthly against your pages.