Change History as a Volatility Signal, and Where It Misleads
The book proposes measuring volatility from version control instead of opinion. Here is why that beats memory, and three ways the record can still fool you.
A linter is good at the question "does this file import that one?" It is much worse at "is this function in the right place?" A utilities helper that quietly makes an HTTP call passes every path check. The book's closing chapter sketches two ambitious next steps: language models that read for intent, and systems that rearrange themselves while running. Both are presented as research directions. Neither is a product.
The first proposal is a language model fine-tuned on LVD-structured codebases. It would study import graphs and what each component actually does, looking for two kinds of fault: dependencies pointing upward from stable to volatile layers, and components whose behaviour does not match the layer they sit in. The contrast with a rule-based linter is semantic reasoning. A function that talks to a remote service belongs in Resources whichever directory it currently occupies.
Detection leads to repair. Suppose a payroll service has a tax lookup buried in a Utils function. The book imagines the model proposing a change that moves the lookup into a Resources module, passes the result in as a parameter, and updates every call site. Beyond single fixes it describes impact analysis, which would combine the dependency graph with the model's understanding to estimate how many files change and which public APIs might break, and finally whole-module layer extraction, which it calls the most ambitious application of all.
The chapter is candid about the difficulty. Generated refactorings must preserve behaviour, and while property-based testing and checks of pre- and postconditions can raise confidence, complete verification is expensive.
It also poses a research question: can a model classify components into the correct layer with accuracy above 90 percent? The sharpest observation comes with it. Accuracy has to be judged against expert consensus, and experts disagree with each other, so studies of agreement between human raters are a necessary first step before any benchmark means much.
The second direction asks whether a system could respond to observed volatility at runtime. The book offers three steps of increasing boldness.
The book lists the obstacles to the last one directly: keeping things consistent during a migration, handling requests already in flight, and preventing oscillation, where a component bounces between layers as its volatility hovers near a boundary. Anyone who has fought a thermostat with no dead band will recognise that last worry. The research question it poses is whether a system can safely reorganise its layers without interrupting service, and it points to self-adaptive systems and autonomic computing as fields with decades of work but little contact with volatility-based design.
These are proposals and open questions, which the book offers as natural extensions of its principles, and they have not been demonstrated. Their value today is as a list of what would have to be true: that layer assignment can be judged semantically, that refactorings can be checked for equivalence, and that structure can change safely under load.
If you only borrow one thing, borrow the benchmark problem. Before trusting any automated judge of layer placement, find out how often your own experts agree. For the measurement side of the story see automated volatility measurement. For what exists in the companion tooling, see lvd-lint, and for restructuring a system by hand, step by step, read migration patterns that keep the system running.