plugins/ruflo-adr/README.md
ADR lifecycle management -- create, index, supersede, and link Architecture Decision Records to code.
Manages Architecture Decision Records through their full lifecycle (proposed, accepted, deprecated, superseded). ADRs are stored as markdown files in docs/adr/ and indexed in AgentDB with causal edges tracking supersedes/amends/depends-on relationships. Includes compliance checking that scans git diffs for ADR violations.
claude --plugin-dir plugins/ruflo-adr
| Agent | Model | Role |
|---|---|---|
adr-architect | sonnet | ADR lifecycle management, code-ADR linking via grep/blame, AgentDB graph storage |
| Skill | Usage | Description |
|---|---|---|
adr-create | /adr-create <title> | Create a new ADR with sequential numbering and AgentDB registration |
adr-index | /adr-index | Build or rebuild the ADR index and dependency graph in AgentDB |
adr-review | /adr-review [--branch BRANCH] | Review code changes against accepted ADRs for compliance violations |
# Lifecycle
adr create <title>
adr list
adr status <adr-id> <new-status>
adr supersede <old-id> <new-id>
# Compliance
adr check # Scan recent git changes for ADR violations
adr graph # Show ADR dependency graph
adr search <query> # Semantic search across ADRs
proposed --> accepted --> deprecated
\--> superseded by ADR-XXX
Relationships tracked as causal edges: supersedes, amends, depends-on, related.
@claude-flow/cli v3.6 major+minor.bash plugins/ruflo-adr/scripts/smoke.sh is the contract.This plugin owns the adr-patterns AgentDB namespace. It defers to ruflo-agentdb ADR-0001 §"Namespace convention" for naming rules. Reserved namespaces (pattern, claude-memories, default) MUST NOT be shadowed.
adr-patterns follows kebab-case <plugin-stem>-<intent> per the convention. The plugin uses it for semantic ADR search and for cross-project pattern transfer (via hooks_transfer in ruflo-intelligence).
bash plugins/ruflo-adr/scripts/smoke.sh
# Expected: "10 passed, 0 failed"
ruflo-agentdb — namespace convention owner; backing store for the ADR graphruflo-ddd — document domain decisions as ADRsruflo-sparc — Architecture phase (Phase 3) produces ADRsruflo-migrations — schema change decisions recorded as ADRsruflo-jujutsu — ADR-aware diff analysis on PRsruflo-intelligence — hooks_transfer ships ADR patterns across projectsMIT