ADR Reference Guard

•
2
•

Scans markdown files to detect and flag references to superseded or deprecated Architectural Decision Records (ADRs).

ADR Reference Guard is a specialized utility for maintaining documentation integrity by identifying outdated architectural references within a codebase. It audits markdown files for ADR mentions, cross-references them with the project's decision records directory, and verifies their current status using YAML frontmatter metadata. By warning users when a referenced decision has been superseded or deprecated, it helps prevent the propagation of stale technical guidance without interrupting development workflows or making unauthorized changes to the source files.

Características Principales

01Automatically locates ADR directories using common industry-standard glob patterns.
02Designed as a manual check to ensure full user control over documentation updates.
032 GitHub stars
04Parses YAML frontmatter to check for superseded or deprecated status.
05Identifies ADR references in text patterns (ADR-NNNN) and markdown links.
06Provides non-blocking warnings with suggested replacement ADRs when available.

Casos de Uso

01Pre-PR audit to ensure all architectural references in new documentation are current.
02Post-architecture update to find and flag legacy documentation that points to old decisions.
03General documentation maintenance to verify the relevance of technical guides and READMEs.