← Reddit

I was a solo dev who couldn't trust AI generated code without reviewing it, so I built a codebase map that shows what breaks before it ships

Reddit · whyweru · July 29, 2026
A solo developer built a codebase mapping tool that visualizes repository structure, dependencies, and the blast radius of code changes to identify what breaks before shipping. The tool was created to solve the problem of AI-generated code that appeared functional in isolation but silently broke other parts of the project. Maintaining fast dependency indexes as repositories grow emerged as the most significant technical challenge encountered during development.

Detailed Analysis

A solo developer's frustration with reviewing AI-generated code has produced a purpose-built tool that maps codebase structure to expose the "blast radius" of changes before they're merged. The core problem described is familiar to anyone running Claude Code or similar coding agents on non-trivial repositories: the agent produces code that looks correct in isolation, but the developer has no visibility into what else in the system that change quietly affects downstream. Attempting to solve this by having Claude itself perform code reviews proved inefficient—burning tokens without actually understanding how the codebase's pieces connect to one another. In response, the developer built a static analysis tool that constructs a call graph, dependency map, and data-flow model of a repository, then uses that structural map to show every file and function impacted by a proposed change.

The technical insight here is a useful one for the broader ecosystem of AI coding tools: understanding "blast radius" is fundamentally a graph problem, not a language-model reasoning problem. Feeding an LLM a diff and asking it to reason about downstream effects is expensive and unreliable because the model has no persistent, efficient representation of the codebase's actual structure—it has to reconstruct that understanding from scratch (or from limited context) every time. A dedicated dependency index, built once and updated incrementally, can answer "what breaks" queries deterministically and cheaply, leaving the LLM to focus on what it's actually good at: generating and reasoning about code semantics, not tracing call graphs across thousands of files. This division of labor mirrors a broader pattern emerging in agentic coding tooling, where symbolic or structural tools (linters, type checkers, dependency graphs, test runners) are increasingly paired with LLM agents to compensate for the models' weak spots—verification, exhaustive search, and precise state tracking.

The developer's noted engineering challenge—keeping the dependency index fast as the repo scales—is the crux of why this class of tooling is hard to build well. Static analysis tools historically face exactly this tradeoff between completeness and performance, and doing it in a way that's fast enough to run on every PR or every agent turn (rather than as a slow nightly batch job) is a nontrivial systems problem, especially for dynamically typed languages or large monorepos with complex import graphs.

This anecdote reflects a broader trend in how developers are adapting their workflows around AI coding agents like Claude Code, Cursor, and GitHub Copilot Workspace. As these agents become more autonomous and capable of making multi-file changes, the bottleneck shifts from "can the AI write the code" to "can I trust and verify the code it wrote." That has spurred a wave of tooling built specifically to sit between the agent and the merge button: blast-radius visualizers, automated regression predictors, and diff-aware test selectors. Anthropic and other model providers have leaned into "agentic coding" as a flagship use case, but the community-level response—developers building their own verification layers rather than trusting the model's self-review—suggests that trust and observability, not raw code-generation quality, are now the primary constraints on how much autonomy people are willing to grant coding agents in production codebases. The question posed at the end, asking whether blast-radius visibility would change how developers review agent-authored PRs, cuts to the heart of the current moment in AI-assisted software engineering: capability has outpaced the tooling needed to safely supervise it.

Read original article →