arch-diagram
/arch-diagram
Generate an architecture diagram from RNA data. Teaches the traversal — the user picks the output format.
When to Use
When the user asks for an architecture diagram, system overview, service map, or component diagram of a repo that has an RNA index.
RNA Query Sequence
Execute these in order. Each step builds on the previous.
Step 1: Orientation (entry points, hotspots, outcomes)
repo_map(repo="<path>")
Entry points reveal deployment units (each entry point = a runnable service/script). Hotspot files reveal where complexity concentrates. Active outcomes reveal what the system is for.
More from open-horizon-labs/repo-native-alignment
record
Record a business artifact (.oh/ metis, signal, guardrail, or outcome update). Use when capturing learnings, measurements, constraints, or updating outcome status.
4setup
Install and configure the Repo-Native Alignment (RNA) MCP server. Downloads the binary, configures the MCP server, pre-warms the code index, and updates AGENTS.md with tool guidance.
3adr-sync
Backfill ADR frontmatter with direct executable validation refs, compile/check ADR validation manifests, and report missing real checks without inventing them.
1dead-code
Detect potentially dead code using RNA graph data. Finds public functions with zero non-test callers. No code changes needed — queries existing graph edges.
1review-readiness
Agent-led PR/working-tree review triage. Start from the diff, add RNA graph/business context only where it changes review decisions, and state when raw git diff is enough.
1