Core Abstraction
class EventBus {
subscribe (...) {
publish (...)
}
src/core/bus.ts:12Product Detective File
arch-insight compresses repository context into actionable paths, mapping core abstractions, dependencies, evidence, and trade-off rationale.
Quick Start
npx arch-insight install-release Core Abstraction
class EventBus {
subscribe (...) {
publish (...)
}
src/core/bus.ts:12Architecture Report
Trade-offs
Async decoupling brings
higher implementation complexity
to preserve reliability.
Evidence Path
src/flows/order.ts:87 Main flow
No context compression means repeated cost on every pass.
Each analysis restarts from zero with no reusable structure.
Directory-level summaries cannot explain architectural intent.
Output sounds generic, not like your engineering organization.
Findings do not convert cleanly into next actions.
Replace broad traversal with path signals and spend time where decisions actually live.
Set the goal first, then narrow into high-value files.
Group evidence by intent, not folder hierarchy.
Explain decisions before implementation details.
Every claim maps back to source code.
Document benefits, costs, and risk together.
Directory Tree (Noise)
Critical Path (Signal)
Start with one command and keep shipping structured insight.
CLI
npx arch-insight install-release