Stop Architecture Drift: Operationalizing ADRs with Automated Fitness Functions

Six months after we standardized on OpenSearch, a pull request introduced Datadog into a service. The ADR existed. It had been discussed, approved, and stored in the repo. The PR was still green. That is architecture drift. Not because engineers are careless. Because memory does not scale across hundreds of people and dozens of repositories. After we started checking ADRs in CI, we caught several…