Summary
Build a VS Code extension that shows codebase-intelligence metrics inline — PageRank, blast radius, coupling, tension as CodeLens or gutter decorations.
Motivation
- Every major competitor ships a VS Code extension (CKB, Serena, Brokk, vexp)
- Inline metrics make architectural awareness passive, not active
- Extension can drive adoption — developers discover the tool through the IDE
- Complements MCP (agents) and CLI (CI) as the third distribution channel
Features
- CodeLens annotations: show PageRank, blast radius on file headers
- Gutter decorations: color-code lines by complexity/risk
- Hover info: dependency count, coupling, tension on hover
- Status bar: current file's risk score
- Command palette: "Show Hotspots", "Show Dead Exports", "Analyze Forces"
- Tree view: module structure with cohesion verdicts
Approach
- Use existing CLI
--json output as data source
- Extension calls
codebase-intelligence <path> file <file> --json for per-file data
- Cache results per git HEAD (invalidate on change)
- Webview panel for graph visualization (optional, stretch goal)
Acceptance Criteria
Priority
Medium-term — Every competitor has one, but MCP/CLI are higher ROI first.
Summary
Build a VS Code extension that shows codebase-intelligence metrics inline — PageRank, blast radius, coupling, tension as CodeLens or gutter decorations.
Motivation
Features
Approach
--jsonoutput as data sourcecodebase-intelligence <path> file <file> --jsonfor per-file dataAcceptance Criteria
Priority
Medium-term — Every competitor has one, but MCP/CLI are higher ROI first.