Skip to content
ruvnet avatar

Adr Verify

Read-back integrity checker for the ADR graph that flags dangling refs, supersede cycles, and status mismatches.

CCM score
73 of 100
skills.sh installs
689
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three checks: dangling edge references, supersede cycles, and source ADRs whose status is not Superseded
  • Runs scripts/verify.mjs with VERIFY_FORMAT=json for JSON output and VERIFY_STRICT=1 to fail on any issue
  • Exits 1 on supersede cycles by default, or on any issue in strict mode, making it suitable as a CI gate
  • Designed for use after adr-index and before ADR-related releases; cannot detect ADRs deleted from disk without edges

Install

$ npx -y skills add ruvnet/ruflo --skill adr-verify -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

ADR Verify

Companion to adr-index. After import, reads the persisted graph and surfaces integrity issues:

  • Dangling refs — edge points at an ADR ID that doesn't exist in adr-patterns. Common cause: the referenced ADR is in a sibling repo or got deleted.
  • Supersede cycles — ADR-A supersedes ADR-B and ADR-B supersedes ADR-A (or longer cycles). Always data corruption.
  • Status mismatches — an ADR is the source of a supersedes edge but its own status isn't Superseded. Usually a missed status update during a successor ADR's promotion.

What this skill cannot catch: an adr-patterns row for an ADR that was deleted from disk and has zero edges referencing it or from it — invisible to every check above (issue #2666). If the reported ADR count looks higher than what's actually on disk, run adr-reindex, not adr-verify again.

When to use

  • Right after adr-index to confirm the graph is healthy
  • In CI as a fail-closed gate (VERIFY_STRICT=1 exits 1 on any issue)
  • Before publishing an ADR-related release

Steps

node plugins/ruflo-adr/scripts/verify.mjs

Details

Repository
github.com/ruvnet/ruflo
Categories
Technical Documentation, Code Review & Quality, Git & Releases
First seen
Jun 3, 2026

Questions

What does the adr-verify skill check in my ADR graph?

It reads back the adr-patterns and adr-edges namespaces and surfaces dangling references, supersede cycles, and status mismatches. A supersede cycle makes the script exit with code 1, and strict mode fails on any issue.

How do I install the adr-verify skill?

Run npx -y skills add ruvnet/ruflo --skill adr-verify -y in a project. The skill then runs the verify script against the graph that adr-index populated.

Should I run adr-verify after adr-index or adr-reindex?

Run adr-verify right after adr-index to confirm the graph is healthy. If the ADR count looks higher than what is on disk, run adr-reindex instead, because adr-verify cannot detect an ADR deleted from disk with no edges.

Which skills lead the Technical Documentation category next to adr-verify?

adr-verify sits in the Technical Documentation category, alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. It is the read-back companion to adr-index and is meant for CI gating.

More from ruvnet/ruflo

All 236

Similar to Adr Verify

More Technical Documentation