plugins/ruflo-adr/commands/adr.md
$ARGUMENTS
Manage Architecture Decision Records. Parse $ARGUMENTS to determine the subcommand:
adr create <title> -- Create a new ADR with the next sequential number.
docs/adr/ for existing ADRs to determine the next numberdocs/adr/ADR-NNN-<slug>.md from the standard templatemcp__claude-flow__agentdb_hierarchical-store at path adr/ADR-NNNadr list -- List all ADRs with their status.
Glob for docs/adr/ADR-*.mdRead each file's frontmatter/header to extract statusadr status <adr-id> <new-status> -- Update an ADR's status.
<adr-id> (e.g., ADR-042 or just 042)adr supersede <old-id> <new-id> -- Mark an ADR as superseded by another.
<old-id> status to "superseded by [ADR-<new-id>]"<new-id>mcp__claude-flow__agentdb_causal-edge from old to new with relation "supersedes"adr check -- Scan recent git changes for ADR violations.
git log --oneline -20 to get recent commitsgit diff HEAD~20..HEAD --name-only to get changed filesGrep those files for ADR references (ADR-\d+)adr graph -- Show ADR dependency graph.
mcp__claude-flow__agentdb_causal-query for all ADR relationshipsadr search <query> -- Semantic search across ADRs.
mcp__claude-flow__memory_search with the query in namespace adr-patternsGrep ADR files for keyword matches