Part 13
2 chapters
Putting It Together
A final project that combines the patterns, and working with AI and LLM tools on pattern-heavy code.
Chapter 39
Final project
One booking through all seven domain areas: an acceptance test written first, undo in reverse on an ExitStack, publishing after the commit and a single composition root.
Chapter 40
Working with AI and LLM tools
Three hand-written drafts of one pricing function, three gates (types and lint, shape rules, a behaviour oracle) and a model client behind a Protocol, tested with recorded replies.