Worked example
Inheriting a legacy codebase
“Two projects, both legacy, in a stack I don’t know — and I switch between them daily.”
The oldest version of the problem and still the most expensive: undocumented domain vocabulary, logic hiding in config files, and no author left to ask. A derived map removes the structural half of every reload, which is the half you were rebuilding by reading.
- Read the domain map before any code — or map one folder, never the root
- Cross complexity with churn to find where the risk actually sits
- Check blast radius and existing tests before touching anything