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.
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 giving your agent this text:
ripwire is installed for this repo. Work as an orchestrator: plan and decide in this conversation, and give each self-contained piece of work (anything needing more than a few file reads) to a subagent with a fresh context.
Before you open or search any file, run the one command that fits the question, then read every file range it names in one turn, in parallel:
- new here, or which parts of the code matter → `ripwire .`
- how does X work, where is the code for X → `ripwire . --for="<the question in your words>"`
- add a feature or change behaviour → `ripwire . --for="<the change you are making>"` first, then the commands below for the symbols it names
- where is X defined → `ripwire . --defs=X`
- who calls X → `ripwire . --callers=X`
- what breaks if I change X → `ripwire . --impact=X`
- is X risky to change → `ripwire . --callers=X`
- find an exact string or literal → `ripwire . --grep="the text"`
- unused or dead code → `ripwire . --dead-code`
- about to write a new function, helper or test → `ripwire . --exemplar="<what it does>"`, and reuse or imitate what it names
- after changing a function's signature or behaviour → `ripwire . --edit-check=X` (the callers it now breaks)
If the answer already holds what you need, stop there; search on your own only for what it says is missing.
Read only the lines you need: for `path:L-E` or `l=`..`e=`, Read offset=L limit=E-L+1 (enough before an Edit), not the whole file.
Subagents: start each subagent's prompt with these lines and tell it to work the same way.
Before you say done: run `ripwire . --quality-delta` and fix anything it says got worse, or use what it reports to improve the code you touched.
To have Claude Code receive it at the start of every session, run skills/install.sh --hook-workflow (from a prebuilt
install: bash ~/.local/share/ripwire/skills/install.sh --hook-workflow). It registers a SessionStart hook that adds this
same text; nothing is registered without that flag. With the text, agents chose the right first command more often:
how it was measured.
Want every detail? The reference guide 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. Its bottom line: a good lookup accelerator for one developer, and load-bearing for an orchestrated fleet. It halved the research spend, redirected two tasks before work was wasted, caught at least one bug before it shipped, and made code-quality checks a per-task gate: about 2× on the whole workflow, 10–25× per lookup.
The full report (image and a text version)
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
--callersquery 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-checkflagged 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-deltaat 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
- 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.
- The contract checker (the shipped-bug preventions). Beyond the 5-of-6 catch above,
--edit-checkgave 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. - 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.
- 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.
Fifty years of software-engineering results, and research from last month. 50 repositories and 85 papers folded, McCabe (1976) through to two published in the last two months, each row in docs/LINEAGE.md naming the lesson taken and the file it lives in
Beside those sits a labelled survey of 240 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: nineteen of the folded papers are from 2026, two published in the last two months and none in the last thirty days (dates as of 2026-11-26; 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.
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.
Latest: 0.7.0, practical for large repositories on small and normal-sized machines: llvm-project (80,576 source files of the 180,650 git tracks) indexes cold in 28 s at a 5.1 GB peak; complete answers on 126 of 213 held-out tasks, against 68 for the next tool. Release notes · the presentation · the changelog, with thanks to the contributors named there.
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
and 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 skills that teach your agent when to reach for it, not just how, for every agent it finds on the machine. If your agent can run shell commands, Claude Code, Codex, Cursor, Windsurf, Gemini, opencode, aider, it is set up the moment the install finishes; the MCP server is the optional second interface. Install it and ask it something before you finish reading this page:
RIPWIRE_REPO=redhat-et/ripwire bash -c "$(curl -fsSL https://raw.githubusercontent.com/redhat-et/ripwire/main/scripts/install.sh)"
export PATH="$HOME/.local/bin:$PATH" # where it installed; the installer prints this line if you need it
cd your-repo
ripwire . --for="<the change you are about to make, in words>"
Every install route (prebuilt, from source, per-agent skills, hooks, the MCP server) is in INSTALL.md.
Reach for the CLI first, it is the cheaper interface. The MCP server is the optional second way in, and its convenience has a cost the shell pipe does not carry: its verb schemas sit in your agent's context every session, whether or not it calls them.
How ripwire compares
Six tools on one machine (Apple M5 Pro, 18 cores, 48 GB), one tool at a time, default settings, measured 2026-11-22:
ripwire 0.7.0, codegraph 1.6.2, cbm 0.12.1, graphify 0.9.108, graft 0.29.0, crg 2.4.0. ripwire's column is a
profile-guided release build (scripts/pgobuild.sh, what CI ships), not the default cmake --build build (LTO on,
PGO off) that PGO beats by 6-16% cold. Bold = the best value in a
row. How each number was measured: docs/EVALS.md §2b.
Speed
| Wall clock | ripwire | codegraph | cbm | graphify | graft | crg |
|---|---|---|---|---|---|---|
| Cold index, envoy | 2.3 s | 37.6 s | 14.6 s | 102.8 s | 22.8 s | 58.6 s |
| Cold index, vscode | 5.1 s | 173.9 s | 61.1 s | 257.5 s | 54.6 s | 184.5 s |
| Cold index, llvm-project (limit 1 h) | 28 s | 509 s | 291 s | stopped at 1 h | failed | stopped at 1 h |
| First answer from nothing, envoy | 3.0 s | 38.5 s | 15.3 s | 108.8 s | 24.7 s | 58.9 s |
| First answer from nothing, vscode | 6.2 s | 176.3 s | 61.8 s | 267.7 s | 59.5 s | 184.8 s |
Cold = index from nothing. "First answer from nothing" = the cold index plus one question asked through each tool's documented
query entry (ripwire --for), the sum of the two medians: what an agent waits for at the start of a session. ripwire: median of 5 runs;
others: median of 3; all on 2026-11-22 on a quiet machine. llvm-project: one run per tool, each alone, limit 1 hour and
36 GB; "stopped at 1 h" is our limit, not the tool failing (crg had parsed 16,600 of 77,918 files; graphify had finished
parsing and was still building). graft failed: its parser aborted on 59,479 of 73,559 files and the process exited with
an error after 42 s, the same on a second attempt.
Memory
| Peak memory | ripwire | codegraph | cbm | graphify | graft | crg |
|---|---|---|---|---|---|---|
| Indexing envoy | 0.7 GB | 5.3 GB | 2.0 GB | 3.4 GB | 3.4 GB | 2.1 GB |
| Indexing vscode | 1.1 GB | 12.0 GB | 4.5 GB | 4.0 GB | 5.5 GB | 3.2 GB |
| Indexing llvm-project (limit 36 GB) | 5.1 GB | 16.1 GB ▲ | 19.2 GB ▲ | 9.5 GB at the stop | 5.9 GB at the failure | 5.5 GB at the stop |
| Index on disk, vscode | 0.3 GB | 2.0 GB | 1.6 GB | 0.6 GB | 1.3 GB | 5.5 GB |
▲ = more than a 16 GB machine has. Peak resident memory over the whole process tree, background daemon included; GB = 2³⁰ bytes. llvm-project: ripwire's figure is the larger of its cold index (3.7 GB) and its first question; ripwire indexes 80,576 of the 180,650 files git tracks. codegraph sizes itself to the machine, so its figures are what it took with 48 GB available. Its llvm-project peak is not much above its vscode peak because, measured per file indexed, vscode cost it about 3.5 times as much: 16,305 files at 12.0 GB on vscode (almost all TypeScript), 76,181 files at 16.1 GB on llvm-project (mostly C and C++); its vscode figure repeats within 7% over three runs (11.9 to 12.6 GB).
Answers
| One call per task · 213 held-out tasks | ripwire | codegraph | cbm | graphify | graft | crg |
|---|---|---|---|---|---|---|
| Complete | 126 | 68 | 66 | 55 | 34 | 53 |
| Partial | 83 | 98 | 117 | 123 | 137 | 114 |
| Missed | 4 | 47 | 30 | 35 | 42 | 46 |
| Complete, of the 135 tasks that touch two or more files | 57 | 16 | 14 | 12 | 4 | 5 |
| Failed calls | 0 | 0 | 0 | 0 | 0 | 0 |
| Says when the answer was cut | 209 | 197 | 207 | 163 | 0 | 193 |
| Gives the next call to continue, of those cut | 209 of 209 | 0 of 197 | 206 of 207 | 163 of 163 | , | 0 of 193 |
What the tasks are. Each task is a real commit from an open-source project. The question is that commit's message, and the tool answers from the code as it was before the commit. The right answer is what the commit actually changed: every file it edited and every function it modified. 135 of the 213 touch two or more files, half of those three or more, and 97 of those 135 name none of the functions they change.
Where they come from. 37 repositories in 11 languages, none used while building or tuning any tool compared here: Python (httpx, attrs, marshmallow, jinja) · JavaScript (prettier, Chart.js, undici, express) · TypeScript (excalidraw, vitest, redux-toolkit, mobx) · Shell (sdkman-cli, LinuxGSM, bats-core, shellspec) · Rust (clap, starship, zellij) · Go (lazygit, hugo, urfave/cli) · Java (jsoup, commons-io, junit5) · C++ (aria2, CLI11, googletest) · C (libuv, zstd, nginx) · C# (FluentValidation, NLog, CsvHelper) · Ruby (puma, liquid, rubocop).
What the questions look like (from a separate development set built the same way, so the 213 stay unpublished):
- Go, one file: "prettify error message for catch-all conflict with existing path segment" (gin)
- C++, two files: "Add
SliderWithCallbackcomponent. Add SliderOption::on_change. Useful to observe a change to the value." (FTXUI) - Rust, three files: "Refactor:
merge_exit_codesnow takes animpl IntoIterator<Item = ExitCode>. This way, callers don't need to collect into a slice / vec." (fd) - Python, three files: "Allow customization of help option right from its decorator. Removes
click.decorators.HelpOptionclass." (click)
Complete = names every file the change touched and locates every function it changed; partial = some of
them; missed = none, or the call failed. One call per task, each tool's documented free-text entry, default
settings; graft ran without its init step. The same grader scored all six tools, its rules fixed before any tool ran on
these tasks; one task (of 214) was excluded beforehand because the grader could not score one tool's answer format on
it. "Says when cut" and "gives the next call" are read from each answer's own text under definitions written before any
count was taken; a pointer to run another tool without arguments does not count as a next call.
Setup outside the repository (from each tool's own documentation, not measured): ripwire reads and writes
nothing outside the repository. graphify reads the API keys in the environment to pick an LLM backend and writes
~/.claude/CLAUDE.md; graft's init reads your past coding-agent transcripts and, with gh signed in, your last 50
merged PR reviews (graft ran here without init), and it edited the tracked .gitignore (observed); codegraph writes
agent configuration for 9 agents, cbm for 45 agent surfaces; crg writes its own .gitignore.
The goal: one question, one complete answer.
Terminality is the objective. Ask the codebase a question and the answer should carry everything you need, no follow-on grep, no three more whole-file reads to fill in what it left out. A call followed by three greps is the same search paid for twice: it does not save you tokens and it does not make the coding faster.
Two jobs, one goal. An agent meeting a codebase does two things, and ripwire is shaped for both:
- Orient,
ripwire .One call gives the ranked map: the main subsystems, the program entry points, the symbols that matter most, and a count of every file the ranking left out. The most important information about a new tree, in as few calls as possible. - Ask,
--for,--expand,--callers,--path, … After that, each question gets a lean answer: as few bytes as it can spend while still answering the question fully, so no follow-up grep is needed.
That is the goal, and not every answer reaches it yet; the stair-steps below are how we get there.
The two stair-steps that make it reachable, honest about what is missing, priced in what it spends
Two things make that reachable in practice, and neither is the destination. Answers are honest about their own limits, a count that cannot be a total is labelled a floor, a zero means "none found" and never "none exists", every truncation is disclosed, so an answer never looks more complete than it is, and the map never degrades the code by guessing. And an answer can be given a token budget, so what one costs is something you ask for rather than discover; where a complete answer will not fit, it says it went over rather than silently dropping the row you needed.
Those two are the stair-steps: honest about what is missing, priced in what it spends. The step they climb toward is a question fully answered in one call, which is not always trivial to reach, and where it is not, the output says so rather than pretending otherwise.
How we measure the climb. A complete answer to every code question is genuinely hard, and it is reached over many releases rather than in one. Until an answer can be complete, it owes you three things: it stays bounded in size, it is fully honest about what it does not know, and it gives you a clue where to look next. So every change is judged on more than "was it right":
- Complete answers: the share of questions answered so you can act without re-checking.
- Honest-partial rate: how often an incomplete answer says what it is missing, instead of sounding confident.
- False-confidence rate: wrong answers that claim to be complete, the worst case, held near zero.
- Next-clue usefulness: for partial and wrong answers, whether following the answer's first suggested next step reaches what the question needed, within one hop. Graded blind.
- Recoverability: for every cut answer, whether following its
next=returns everything that was cut. - Tokens per complete answer: total tokens an agent spends across a scenario, divided by the questions it got fully answered.
- Cut-row recoveries: how often a needed item arrived only through a continuation.
Answering comes first; efficiency is how we get there. We aim for answers about as lean as the leanest tools, but a byte budget is never allowed to cost an answer. We have gone too far toward short answers before and cut information that was needed, so now every size limit has one of two jobs: a runaway guard far above typical answers (it catches an output bug, and says so when it trips), or a stair-step target where anything over it must be explained. A capped answer is always measured against the same answer uncapped, and the one that answers better wins.
A cut is only honest if you can get the rest back. Disclosing a cut is the floor, not the bar: a capped
answer plus the next= it prints must return everything the uncapped answer had. A test that checks this for every
budget option on every command is being built, so that "the answer was cut" always comes with "and here is the rest".
What a budget may spend first. When a budget is tight, ripwire drops bytes that carry no answer before it drops answers: repeated legend text, duplicated paths, bodies whose signature already says what you need. Only then the lowest-ranked rows, each counted. A whole section never disappears without a marker.
Budgets are yours to set, never ours to impose. The defaults and the setups ripwire wrap writes carry no
budget that cuts a typical answer; a budget is a choice the caller makes, with its cost disclosed.
Efficiency is counted per complete answer, across the whole task. Bytes per answer can fall while the task gets more expensive, if the agent then has to ask again. So the efficiency figure is tokens per complete answer over a whole scenario, orient, then the questions that follow, not bytes per call.
Ranking is the tool's best guess; the next= is the safety net, and we measure how often the net is needed. ripwire cannot always know which row answers the question; it goes by ranking. When a needed item appears only after following an answer's next=, the honesty layer saved the answer but the ranking put that item below the cut. We count those per round:
- Recovered through next=: the item was cut but recoverable, one extra call. Driving this down is ranking work.
- Lost: the item was cut with no marker or no working next=, a bug, fixed first.
Same answer, a fraction of the tokens, read this table first if your agent is on a budget
How these ten rows were measured, 2026-08-08, figures in ~tokens (≈ bytes/4), every ratio from a real run reproduced by the command in its row
Ten everyday moments, re-measured on this repository, 2026-08-08. Figures are ~tokens (≈ bytes/4);
every ratio comes from a real run, reproduced by the command in its row, raw byte counts and exact
commands in
docs/EVALS.md §5.
Ordered understand → navigate → review-the-change:
| Ask it | Command | ripwire | naive read | token savings |
|---|---|---|---|---|
| "Orient me in this repo" | ripwire . |
~5.6K tok | ~20K–25K tok, read README.md (+docs/ARCHITECTURE.md) |
3.6×–4.5× |
| "Where is X handled?" | ripwire . --for="…" |
~2.1K tok | ~4.9K–20K tok, grep -rn <term> src/, then read the file it points at |
2.3×–9.3× |
| "What do I already know?" | ripwire . --recall="…" |
~15K tok | ~445K tok, read all 119 markdown docs this repo carries | 29.2× |
| "Set me up for this task" | ripwire . --pack-task="…" |
~2.1K tok | ~16K–80K tok, read every relevant file, whole | 7.7×–37.7× |
| "Show me this one function" | ripwire . --expand=SYM |
~260–16.5K tok body (+~5.7K for the ranked-neighborhood bundle) | ~43K–174K tok, read the whole file it lives in | 2.6×–670× |
| "Who calls this function?" | ripwire . --callers=SYM |
~580 tok | ~40K–52K tok, grep -rn SYM src/ (mostly noise), then open 2–3 files to sort real calls from mentions |
69.2×–89.1× |
| "Is it safe to change this?" | ripwire . --impact=SYM + --uses=SYM |
~1.3K tok | ~18K tok, open every direct-use file, whole | 14.4× |
| "I have a stack trace" | ripwire . --from-trace=FILE |
~1.4K tok | ~124K–298K tok, grep all 7 frame names, then open the innermost file(s) | 86.9×–208.6× |
| "I changed these files, tests? blast radius?" | ripwire . --situ |
~410 tok | ~3K–132K tok, git diff + grep -rn <syms> test/, then open the candidates |
7.3×–324.2× |
| "Review this PR/diff" | ripwire . --pr-context=REF |
~1.9K tok | ~4.8K–51K tok, git diff REF, then open the touched files |
2.6×–27.5× |
Same-correct-answer verification, and the honesty line these ratios come with
These aren't summaries that gamble with information. Each row is scored
same-correct-answer-or-it-doesn't-count, and both sides were checked, not assumed: orient surfaces
this repo's own pipeline files (ingest.cpp, graph.h, serialize.h) in the first screen, the same
three docs/ARCHITECTURE.md names as central; the --for row lands mcpStale
(src/mcpindex.h:633), the actual staleness check, 5th-ranked; --recall lands the container-rule
doc (AGENTS.md) that states, verbatim, the same "no std::map" rule CONTRIBUTING.md explains in
full; --pack-task names the same three touch points a human would, cachelint.h, mergeCachePack
(src/main.cpp:1787), the lintrules.h helpers it reuses; --expand hands back the
requested function's complete, unmodified body, the ranked-neighborhood addition costs the same
~22.6 KB regardless of which function you ask for, confirmed on two (a fixed floor, not per-function
variance); --callers on langOfPath names its 2 real callers, the same ones a grep hit-list
buries under 5 files of comment-only mentions; --impact+--uses on coversOrEquals names the same
2 direct call sites --uses alone would, plus (disclosed) a transitive reach --uses doesn't cover
at all; --from-trace resolves all 7 frames of a real call chain by name to the same definitions a
per-frame grep would eventually find, mixed with call sites and comments; --situ on a 2-file diff
names the same 6 real test harnesses, 2 of which a filename grep across test/ cannot find even
after opening every one of its 41 candidates, a completeness gap, not just a byte one; --pr-context
surfaces co-change partners (test/regression.sh, src/main.cpp) a raw git diff has no way to
know were usually touched and weren't this time, Fowler's Shotgun Surgery checked rather than
merely named (the backtest is in docs/EVALS.md). The map ranks and discloses, it never paraphrases
your code, and every truncation is disclosed in the header.
The honesty line, made concrete: the same auto-selection behind the --expand row also runs the
other way. On a small file (pageRankDouble in src/pagerank.cpp, 5,559 B) the ranked bundle would
cost 27,916 B, nearly 5× more than the file, so ripwire serves the file itself instead, disclosed
as mode="whole-file" on the response, not silently.
docs/EVALS.md §7 lists that and the other counterexamples
this project publishes against itself.
Where those savings compound: an orchestrator that matches tasks to models, every lane it spawns starts cold on the same tree. The map is the one artifact that does not have to be rediscovered per agent, and the quality verbs hand a verdict back instead of a pile of files to re-read
The shape: plan the work, then run a loop that matches each task to the model that fits it. Every thread it spawns opens with an empty context on a repository it has never seen. Orienting an empty context to a large repository is the most repeated cost in the whole system, and the one this tool was built for, it is also the cost that grows with the size of the tree, which is why the pattern matters more the bigger the repository gets.
--for and --pack-task answer it in a single call, at the per-call rates in the table above,
instead of a grep-and-read tour that every lane pays over again from scratch.
The return path matters as much. --quality-delta, --test-gate and --edit-check answer what did
I make worse, which tests must run, did I change a contract, quantitative answers a lane can
hand back as a verdict, rather than a transcript the orchestrator has to read to find out what
happened.
What is and is not claimed here. Every figure on this page is a single-agent measurement. That the saving compounds with the number of cold orientations follows from the fixed-cost mechanism, but it is pre-registered and unrun, the reason the pattern is worth trying, not a result this project has published.