Skip to content

Code Bearings Handbook

Code Bearings indexes your TypeScript project into a graph of files, symbols, modules, and dependencies — then projects that truth onto every surface where you need it.

Truth stays canonical. AI helps explain, teach, and project. The human stays in charge.

Code Bearings never fabricates information. Every claim in a change brief, module card, or hover tooltip traces back to source code evidence. Purpose modes (Bug Hunter, Learning, Architecture, Exploration) are lenses over the same canonical truth — they help you think differently, not see differently.

PackageRole
@code-bearings/coreShared product logic — extraction, graph, review, rendering
@code-bearings/cliCommand-line interface
@code-bearings/vscodeVS Code extension

Core owns truth. CLI is thin. Extension is thin. No forked product.

LayerWhatExample
A. Extracted TruthFacts from source code”Function X calls function Y”
B. Derived StructureComputed from Layer A”Module M has fan-in 7, risk score 25”
C. Human NarrationExplanations over A+B”This change removes error handling from a high-traffic path”