Using ADRs with AI agents to review pull requests
An architecture decision record (ADR) is a short document that captures an architectural decision, the context behind it and its consequences. ADRs have been a popular way to document decisions in software architecture for years, and many teams write them.
Most ADRs live in a Git repository or a Confluence space. They explain why things are the way they are, and people read them when they remember to. What they're rarely used for is checking that the code still follows them.
I believe AI agents can change this, and open up new patterns for how we use ADRs. What if you could use your ADRs as context for an agent that reviews every pull request, and flags the changes that go against the decisions your organization has already made?