Adds the full draft of Chapter 6. This chapter has had only a single
review so far; readers should expect further edits and refinements
before the final book release.
Known issue:
- In the generated PDF, some code blocks appear before the section
titles they belong to. This seems to be a Pandoc rendering quirk.
I’ll investigate and fix later; for now, treat the Markdown as the
source of truth.
No functional changes to earlier chapters.