The "ripgrep of AI context": parse entire repositories in milliseconds, compute call graphs and PageRank blast radius, enforce quality delta gates, and route context directly to agents over MCP.
Rust port & rewrite of the original C++23 engine by Red Hat Emerging Technologies / David Brewster.
brew install casonadams/tap/ripwire-rs
echo "deb [trusted=yes] https://casonadams.github.io/homebrew-tap/apt stable main" | sudo tee /etc/apt/sources.list.d/casonadams.list && sudo apt update && sudo apt install ripwire-rs
curl -fsSL https://casonadams.github.io/homebrew-tap/rpm/casonadams.repo | sudo tee /etc/yum.repos.d/casonadams.repo && sudo dnf install ripwire-rs
cargo binstall ripwire-rs || cargo install ripwire-rs
git clone https://github.com/casonadams/ripwire-rs.git && cd ripwire-rs && make install
Delivering dense, deterministic signal to LLMs without token bloat or hallucinated imports.
Calculates the transitive blast radius of any symbol modification. Pinpoint affected callers and contract breaks up to 16 hops deep before landing changes.
Enforces cognitive complexity bars, contract arity checks, and test reachability against git HEAD. Flags regressions early in CI/CD or local pre-commit hooks.
Native Model Context Protocol implementation exposing exploration, blast radius query, file splicing, doc drift, and variable slicing to any MCP-compatible coding agent.
Intra-procedural forward and backward def-use dataflow slicing. Trace exact parameter mutations and variable lifetimes without running the program.
Analyzes historical git commit topology to surface hidden coupling and shotgun surgery risks. Know which companion files always change together.
Vendored Tree-Sitter grammars compiled directly into the binary with lock-free string interning via Lasso and parallel traversal via Rayon.
Zero-flag, language-agnostic extraction of embedded SQL DML (SELECT, INSERT, UPDATE, DELETE, JOIN) across string literals in all host languages. Resolves table read/write lineage directly to .sql definitions, linking migrations, backend services, and tests.
Carve task context into a shared core plus N Louvain-community subagent slices (--pack-task --partition=N), predict parallel worktree collisions and landing order (--plan-lanes), and scout multi-branch merges (--merge-scout).
Air-gapped by design. Zero network calls, zero tracking, zero model training, and zero data leakage. Code never leaves your workstation; ripwire-rs purely extracts local AST context for your chosen agent harness. Automated secret redaction enabled by default.
First-class tree-sitter AST queries extracting definitions, function signatures, and call sites—with automatic cross-language embedded SQL table lineage extracted from string literals in all 36 languages.