BackBencher

Evidence is the answer — local code intelligence for 50 languages, with the record behind every claim.

Documentação

Every answer names its evidence.

bb indexes your repository into a local graph of symbols, imports and call edges. Ask what breaks, what calls what, what changed — and read the file and line, the relationship it walked, and what it could not know.

npm install -g @backbencher/brain

The panel is a recorded response from this repository’s index — not a mockup.

bb_impact · recorded over this index12/21 files fresh · rest declared

What breaks if I rename resolveEmbeddingConfig?

src: 3 modules src · 3 ast: 105 modules, reached by the rename ast 105 modules brain: 15 modules, reached by the rename brain 15 modules bus: 3 modules bus · 3 cli: 3 modules cli · 3 config: 1 module, reached by the rename config · 1 contracts: 1 module contracts · 1 intelligence: 33 modules, reached by the rename intelligence 33 modules lsp: 24 modules lsp mcp: 4 modules mcp · 4 project: 3 modules project · 3 provider: 1 module provider · 1 security: 1 module security · 1 setup: 3 modules setup · 3 storage: 2 modules storage · 2 tool: 1 module tool · 1 util: 7 modules util · 7 renamed symbol · resolved in the config directory reached by the recorded rename · line weight = import weight

35 dependents across 21 files.

7 call it directly; the deepest chain is 4 hops. 8 of those files are modules on this map — the rest sit in harnesses outside src/.

35 stored calls rows · 7 direct · depth 4 · index: 12/21 files fresh (9 stale, declared)

  • src/config/config.ts:35structuraldeclares the symbol
  • src/brain/semantic/engine.ts:126usage-contextual5 dependents
  • src/brain/semantic/openai-embed.ts:43usage-contextual4 dependents

directories the rename reachesline weight = resolved imports210 modules · 635 importsdigest 6bdc7241

An answer you can check.

A search result tells you it found something. bb tells you where it is, what it walked to get there, and where the record stops. That is the difference between a lead and an answer.

Coordinates

Every hit is a file and a line — openable, not just readable. Each record also reports whether it is fresh, stale or missing, so a reader knows how far to trust it.

src/config/config.ts:35 **structural** · declares the symbol

The relation it walked

Calls, imports, extends, renders — each edge carries the rule that produced it and the evidence tier that rule earns. A guessed edge is never dressed as a measured one.

resolveEmbeddingConfig → loadConfig **usage-contextual** · 5 dependents

What it could not know

A bounded traversal names its bound. Unresolved references stay unresolved. Nothing is invented to make the answer look complete.

truncationReason: traversal: caller-depth-cap-reached **16 rows outside src/** · declared

Fifty languages. One graph.

One analyzer per language, all writing the same relationship vocabulary into one local SQLite file. Alias routes (TSX, Sass, Terraform) resolve through their parent analyzer instead of adding a branch.

Install once. Answer locally.

npm install -g @backbencher/brain

Evidence is the answer.