LVD in Ten Minutes
The whole idea of Layered Volatility Decomposition in one sitting: sort code by how often it changes, depend only downward, and let nine layers do the rest.
If you learned LVD from the first edition, you carry a picture of eight stacked bands. The second edition asks you to add a ninth on top and to lower one coefficient by three hundredths. That sounds like a footnote, yet it touches an axiom, a chapter number and every figure that opens a chapter. Here is what changed, why the author did it, and what a team with the old picture should do about it.
The preface is blunt about the motive. The first edition described eight layers and, in the author's words, left one out. The user interface was never absent from the book: it was the standing example of fast-changing code in the early chapters, and it played the presentation tier in every comparison with other architectures. What it never received was a layer. The book treated it as a client of the architecture instead of a part of it.
The new edition reverses that. The changes are small in number, so a side-by-side view is the quickest way to hold them:
| Item | First edition | Second edition |
|---|---|---|
| Number of layers | Eight, with the UI outside the model | Nine, with the UI as Layer 9 |
| Top of the stack | Agents at 1.0 | UI at 1.0, Agents at 0.97 |
| Rules for UI code | None; it was a client | Axiom A6, added in this edition, restricts the UI's imports |
| Chapter numbering | The original sequence | New Chapter 10; chapters after the ninth renumbered |
| Chapter-opening figures | Eight bands | Unchanged: read them with a ninth band on top |
The remaining chapters were revised to fit the nine-layer model. That is the inventory the preface gives, and the rest of this article is about the reasoning behind it and the consequences of it.
Two observations carry the argument. First, a front end is rarely a separate system in the way a third-party consumer is. It sits in your repository, shares type definitions with the layers beneath it and is edited by your own teams. Second, in most systems it is the code that changes most often. Together they describe a gap in the model exactly where a gap hurts most: the busiest code had no placement rules at all.
UI code also goes wrong in its own recognisable ways, and the author points out that each one is a dependency problem. Logic about the business leaks into view components, screens skip the API and talk to data access directly, and feature folders import each other until nothing can change alone.
Picture a loyalty-points rule. It starts life in a checkout component to decide whether a button is enabled, gets copied into a basket summary, and is copied once more into an email preview. Nobody chose to put business logic in the view. The view was simply the nearest place to write it, and no rule said otherwise.
Placing the UI above the API layer is the easy half. A designer can ask for a new screen at the start of any sprint, whereas an API contract moves when the API is versioned. The harder question is how the UI relates to Agents, whose configurations are tuned constantly.
The book settles it with the effective-volatility principle from its early chapters: a component can never be steadier than the things it depends on. Trace the arrow for a chat screen. The screen consumes the agent's stream of events, its requests for confirmation and the shapes of the results its tools return. Whatever the agent's owners change in those contracts, the screen has to absorb, and then it adds its own churn of layout and interaction on top.
The reverse arrow never needs to exist, because none of the layers below has any use for a screen. The UI takes input from everything under it and supplies input to nothing, which is a plain description of the top position.
The coefficient change follows from that. Agents drop from 1.0 to 0.97 and the UI takes 1.0; the preface describes this as making room at the top. In my reading, the size of the gap means little. What matters is that Agents are now strictly below the UI, so no two layers tie.
A new Chapter 10 describes the UI layer in full, using a folder organisation drawn from current React practice, while the new axiom A6 restricts which imports the UI may use. Those details belong to the book, and I will not reconstruct them here.
Everything from this point on is my own commentary: general engineering practice applied to the change, not a summary of the book. Check it against the chapters before you rely on it.
The good news is that nothing underneath appears to move. The preface gives no sign that the layers below Layer 9 change role or order, and only one coefficient is adjusted. Adoption is an addition to a map, not a re-sort of your codebase. A sensible sequence looks like this:
These are the checks I would run in the first week. None depends on the detail of Chapter 10; they follow from the failure modes above.
grep -rEn "from ['\"].*(repository|prisma|knex|server/)" src/ui
Adapt the pattern to your naming. Every hit is either a mistake or a sign that the data the screen needs has no proper contract yet.None of this is free, and a few caveats are fair.
On the plus side, the preface notes that the first edition set an exercise in Chapter 4: prove that adding a ninth layer preserves the model's theorems. That suggests the author treated growing the stack as something the model was designed to absorb. How well the formal chapters carry it is for you to check in the book.
You do not need to start over. Read the preface for the framing, then the new chapter. When a chapter opens with a figure of eight bands, add the ninth in your head, as the preface asks. If the argument for the new layer interests you more than the changelog, the case for a separate UI layer goes deeper, and UI layer violations shows what the failure modes look like in practice. If you are new to the model altogether, the nine layers explained is a better first stop than a changelog.