Five retrieval strategies
Implemented and benchmarked head-to-head: naive first-context and last-context baselines, flat chunk RAG over the whole document, a chapter-summary chain (rank extractive chapter summaries, then retrieve chunks inside the best chapters), and hierarchical book RAG (score chapters → retrieve chunks within → expand to neighboring chunks).