What problem does it solve?
After importing Architecture Decision Records into a memory-backed graph, data corruption such as broken references, circular supersede chains, and inconsistent statuses can silently accumulate. This Skill reads back the persisted adr-patterns and adr-edges namespaces and surfaces these integrity issues before they propagate.
Core Features & Use Cases
- Dangling Reference Detection: Finds edges pointing at ADR IDs that no longer exist in the adr-patterns namespace.
- Supersede Cycle Detection: Identifies circular supersedes relationships (e.g., ADR-A supersedes ADR-B and vice versa) and exits with code 1.
- Status Mismatch Reporting: Flags ADRs that are the source of a supersedes edge but whose own status is not marked Superseded.
- Use Case: Run it in CI with VERIFY_STRICT=1 as a fail-closed gate after adr-index to guarantee the ADR graph is healthy before publishing a release.
Quick Start
Ask the assistant to verify the ADR graph integrity by running the adr-verify check and report any dangling references, cycles, or status mismatches.