2026-11-26 15:37 UTC

Ripwire offers coding agents a local code map and edit checks

state: seedheat: mediumuncertainty: mediumrelevance: mediumcoding-agents agent-context code-analysisRedHat-et

What is this?

Ripwire is an available open-source, local C++23 CLI and optional MCP server from GitHub maintainer RedHat-et. It builds a ranked map of code symbols and relationships for coding agents, and offers checks for change impact, relevant tests, and quality changes. The project says it runs offline without embeddings or an index server; its GitHub page lists version 0.6.10 and reports benchmark and field-report results. Those performance and quality figures are maintainer-published, not independently verified by the supplied evidence. The Hacker News post links to the project but contains no body or comments here; search results offer brief secondary descriptions, not substantive independent validation.

Why it matters

Ripwire targets a practical bottleneck in agentic coding: repeatedly discovering where code lives and what an edit might affect. A local, low-infrastructure map plus post-edit checks could help agents work in large repositories with less context gathering and make review gates easier to apply across parallel agents. The project reports substantial savings and useful catches, but those results come largely from its own evaluations and one uncontrolled engagement; the scale of real-world benefit and adoption remains uncertain.

Current assessment

What is new in this evidence: a Hacker News item dated 2026-11-23 points to an available project, and the fetched first-party GitHub page describes Ripwire’s current feature set and version 0.6.10. It indexes code locally, ranks task-relevant symbols and relationships, and supports caller/impact/test queries and edit-quality checks; it can be used through a CLI or optional MCP interface and is designed for multiple coding agents. The project claims no API key, embeddings, index server, or daemon are needed. Its page presents many measurements, including comparisons with other retrieval tools, but these are maintainer-produced evaluations; the supplied evidence does not establish independent replication or broad adoption. Its multi-agent field report is explicitly an account written by a model of one engagement, on a pre-0.5 version, and is not a controlled measurement. The page itself also notes limitations, including retrieval misses, cases where grep is preferable, and a contract-check heuristic false-positive mode. Secondary search results corroborate only the broad description of a local code-context tool and provide no stronger evidence of outcomes. Track independent evaluation, user uptake, and subsequent releases before treating the reported efficiency gains as established.

Measured heat

now 0 pts/hpeak 1 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 1933h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-07 02:27 (minted)⭐ origin echo-reconstructedThe HN post links directly to the project's own GitHub repository, which publishes the software and describes itself as “The ripgrep of AI c
Red Hat Emerging Technologies (redhat-et) on github (echo) · attributed from hn.story.50609921 · published time unknown
—
11-23 10:37first on hacker news · published · lag ?RedHat-et/ripwire: The ripgrep of AI context
futurecat
—
11-23 10:37amplified on hacker news 👑hn.story.50609921
futurecat
peak 1 · 0 comments · 103% of case engagement
09-07 02:27our radar first saw it · lag ?discovery anchor: hn.story.50609921—
pace: p14 vs 2088 stories at the 72h mark (now 77h old) — behind adobe-max-ai-agents-creative-tools-mcp (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnRedHat-et/ripwire: The ripgrep of AI context
Retrieved article excerpt

Open article · Retrieved 2026-11-23T11:22:05.093278+00:00

[CI](https://github.com/redhat-et/ripwire/actions/workflows/ci.yml)
[Release](https://github.com/redhat-et/ripwire/releases/latest)
[Licence](https://github.com/redhat-et/ripwire/blob/main/LICENSE)
[Standard](https://github.com/redhat-et/ripwire/blob/main/CONTRIBUTING.md)
[Runtime dependencies](https://github.com/redhat-et/ripwire/blob/main/THIRD_PARTY.md)
[Slides](https://github.com/redhat-et/ripwire/blob/main/present/ripwire-showcase.pdf)

[ripwire — the ripgrep of AI context](https://github.com/redhat-et/ripwire/blob/main/docs/assets/banner.svg)

# Rip'n Fast. Fewer Tokens. Better Code.

**The ripgrep of AI context. A map before your agent reads the repo — and a check on what it writes.**

[Trendshift: C++ Repository of the Week badge for redhat-et/ripwire](https://trendshift.io/repositories/217924?utm_source=trendshift-badge&utm_medium=badge&utm_campaign=badge-trendshift-217924)

Ranked, deterministic call graph: what to touch, what it breaks, which tests to run. On the edit: blast
radius, tests that reach it, thirteen quality kinds reporting only what got worse, forgotten co-changes, fields
read and written, names that resolve more than one way.

**Just want to use it?** Install it with the one line below, then start each coding session by telling your agent to
use it, for example: *"Use ripwire on this repo."* That is all most people need: the install also teaches your agent
when to reach for each command.

**Want every detail?** [The reference guide](https://github.com/redhat-et/ripwire/blob/main/docs/REFERENCE_GUIDE.md) covers install, commands, output
format, exit codes and limits. You do not need it to get started.

**Field report: what ripwire contributed to a large multi-agent coding engagement** — written by Claude Fable 5.0, the frontier model orchestrating ~20 coding agents over two days on a ~1,500-file C++/Metal codebase. Click for the full report.
> For a single developer, this tool is a good lookup accelerator. For an *orchestrated fleet*, it's load-bearing: it
> halved the research spend, twice redirected tasks before wasted work, prevented at least one silent-divergence shipped
> bug, and turned code-quality hygiene from a hope into a per-task mechanical gate. Whole-workflow ~2×; per-lookup
> 10–25×; and two moments where one call was worth more than the rest of the session's tooling combined.
>
> — the report's bottom line

[The full field report: what ripwire contributed to a large multi-agent coding engagement — headline numbers, where the value concentrated, the honest boundary, and the bottom line](https://github.com/redhat-et/ripwire/blob/main/docs/assets/field-report-multi-agent.jpg)

Text version of the report

**Field report: what ripwire contributed to a large multi-agent coding engagement**

*Context, genericized: one orchestrating session directing ~20 sequential/parallel coding agents over a ~1,500-file
C++/Metal codebase across two days — a deep architecture audit, then a 14-task feature wave (new subsystems,
measurement infrastructure, a search-archive migration), ending in a verified all-on release flip. Every agent was
instructed to lead with ripwire for orientation and to close with its quality gates.*

**The headline numbers**

- **Roughly half the total token spend of the audit/research phase, saved.** This is the operator's whole-phase
  estimate — it includes everything the research agents did, ordinary file reads and all, which makes it conservative
  rather than cherry-picked. The per-call factors underneath are much steeper: a single doc-recall call served the
  relevant sections of a 164KB planning document in ~6K tokens (~25×), and agents that led with the tool ran ~30–40%
  leaner on tool-call counts than agents doing raw read fan-outs over comparable questions.
- **Two tasks had their direction changed by a single call.** One task was chartered to activate a steering behavior
  the team believed was in production; one `--callers` query returned **zero production callers**, redirecting the
  task to the real gap (the data provider that behavior needed had never been wired anywhere). Another task
  refactored a widely-shared computation; `--edit-check` flagged **5 of 6 call sites** as incompatible — sites a text
  search had missed — that would otherwise have silently diverged from the canonical path the day the feature was
  enabled, surfacing months later as an unexplainable visual bug.
- **A dozen-plus real code-quality defects fixed, not waived, across ~15 implementing agents** — all caught by
  `--quality-delta` at each agent's "I think I'm done" moment: a 480-token duplicated routine, a fourth private copy of
  a shared RNG utility, a hand-duplicated cost function, a pair of near-identical functions with a flipped sign
  (correct at one boundary, quietly wrong at the other), test-fixture duplication across sibling suites, and functions
  that had quietly absorbed a second job. None of these would have failed a test; all of them are the sediment that
  rots a codebase under high-velocity multi-agent development. The gate made removing them routine instead of heroic.

**Where the value concentrated**

1. **Orientation and recall (the token win).** Ranked-signature task orientation and section-granular document recall
   meant agents started from *answers*, not file dumps. Recall over planning docs was the orchestrator's single
   most-used verb — the audit's entire framing came from two calls.
2. **The contract checker (the shipped-bug preventions).** Beyond the 5-of-6 catch above, `--edit-check` gave
   near-free proof-of-contract on every public-symbol change across the wave — the kind of verification that
   otherwise simply doesn't happen at agent speed.
3. **The quality gate as a *protocol*.** The measurable effect wasn't any single catch — it was that fifteen different
   agents, none sharing context, all converged on the same "fix or justify with a written reason" discipline, with an
   acknowledgments ledger that survived across tasks. Unattended orchestration usually leaks quality; here the
   leak-check was mechanized.
4. **Persistent notes.** Agents left gotcha notes pinned to symbols mid-wave (a caller-wiring law, an arming-rule
   invariant), which later agents' lookups surfaced automatically — cheap institutional memory between contexts
   that never met.

**The honest boundary**

- **The engagement's deepest findings did not come from the tool.** A structural capacity ceiling, a mis-derived
  constant, a floating-point re-association drift of 1 ulp, and a seed-keying bug were all found by *bespoke
  measurement the agents built* — baseline worktree diffs over full data fills, multi-arm attribution sweeps,
  funnels. The tool is a floor for honesty and orientation, not a substitute for measurement design.
- **Known false-positive mode, handled by its own documentation:** the contract checker's arity heuristic
  over-counts on defaulted trailing parameters (one task saw "incompatible=18" that were all fine). The tool's own
  trust-calibration notes say to verify by compiling in exactly this case, and agents that followed them lost nothing.
- For broad, common-word conceptual queries, plain grep-and-read still occasionally won — consistent with the tool's
  own guidance that it shines on specific technical asks.

**Bottom line**

For a single developer, this tool is a good lookup accelerator. For an *orchestrated fleet*, it's load-bearing: it
halved the research spend, twice redirected tasks before wasted work, prevented at least one silent-divergence shipped
bug, and turned code-quality hygiene from a hope into a per-task mechanical gate. Whole-workflow ~2×; per-lookup
10–25×; and two moments where one call was worth more than the rest of the session's tooling combined.

*The model's own report of one engagement, on a version before 0.5; not a controlled measurement. Controlled
measurements are in [docs/EVALS.md](https://github.com/redhat-et/ripwire/blob/main/docs/EVALS.md).*


**Fifty years of software-engineering results, and research from last month.** 49 repositories and 79 papers folded — McCabe (1976) through to **seven published in the last two months** — each row in [**docs/LINEAGE.md**](https://github.com/redhat-et/ripwire/blob/main/docs/LINEAGE.md) naming the lesson taken and the file it lives in

Beside those sits a labelled survey of **237 tools** that contributed nothing and says so. The two
sets are disjoint by construction, so they add rather than nest — a tool that gave a lesson is never
counted twice.

**Both halves are load-bearing, and they are doing different jobs.** The settled results are what
make the quality lens trustworthy: McCabe on complexity (1976), Halstead on volume (1977), Spärck
Jones on term specificity (1972), Nagappan & Ball on churn. Fifty years of replication means those
are not opinions, and a tool that measures your code should be built on the ones that survived.

The recent work is what makes it *current*: **seventeen of the folded papers are from 2026, seven
published in the last two months and three in the last thirty days** (dates as of 2026-09-08; every
row carries its arXiv id, so the claim is checkable rather than atmospheric). Retrieval for coding
agents, context-compression cost, placebo-controlled localization — that literature is months old,
not decades, and several rows were folded within weeks of the paper appearing.

Neither half alone would be enough. A tool built only on the classics would not know what an agent
needs; one built only on last month's preprints would have nothing underneath it. And the newest row
is a result that **failed** when it was tested here — which is the point of writing them down. All three counts are re-derived from that document's own tables by
`test/readmedriftcheck.sh` on every run, which fails if this page and those tables disagree, so the
claim cannot quietly drift. The row-by-row ledger is
[`docs/LINEAGE.md`](https://github.com/redhat-et/ripwire/blob/main/docs/LINEAGE.md).

**Languages:** Rust · C++ · Objective-C/C++ · C · Metal · CUDA · Python · Go · Swift · TypeScript ·
JavaScript · Java · Ruby · PHP · Lua · Elixir · Dart · Kotlin · GDScript · Clojure · Bash · C# · Protocol Buffers · JSON · TOML · YAML · Markdown — see
[language support and limits](https://github.com/redhat-et/ripwire#languages).

**Latest: 0.6.10** — more complete `--for` answers, warm runs on large repositories that use 35 to 67 % less CPU, and about half the peak memory of an index on macOS. [Release notes](https://github.com/redhat-et/ripwire#release-notes) ·
[the presentation](https://github.com/redhat-et/ripwire/blob/main/present/ripwire-showcase.pdf) · [the changelog](https://github.com/redhat-et/ripwire/blob/main/CHANGELOG.md) — with thanks to the
contributors named there.

---

[No API key. No embeddings. No index server. No daemon.](https://github.com/redhat-et/ripwire/blob/main/docs/assets/no-deps.svg)

**One process, no server** — indexes this repository in **0.25 s** using **6.6 MB**, against **46.8 s** and **391 MB** for the graph-database MCP server it was measured against; warm queries answer in **197 ms** to its **1,082 ms**

Measured on 48 matched questions across django, webpack and this repository. Across all three,
ripwire indexes in **0.25–0.45 s** and **6.6–16.5 MB** against that server's **23–52 s** and
**391–623 MB**. The full method, the wins named one by one and the losses included, is in
[Against the leading graph-database code-context MCP server](https://github.com/redhat-et/ripwire#against-the-leading-graph-database-code-context-mcp-server)
and [`docs/EVALS.md`](https://github.com/redhat-et/ripwire/blob/main/docs/EVALS.md).


One binary, offline — and the same line **activates the skills** for every agent it finds: Claude Code · Codex · Cursor · Windsurf · Gemini · opencode · aider

One self-contained binary on your own machine, offline, installed in one line — and the same line
installs *and activates* the task-shaped ski
futurecat10
🟧 echo.github ⭐The HN post links directly to the project's own GitHub repository, which publishes the software and describes itself as “The ripgrep of AI cRed Hat Emerging Technologies (redhat-et)——

Interpretation history

Decision trace