Advanced retrieval playbook for the Midnight Network documentation corpus. Use whenever searching, researching, or answering questions about Midnight, Compact, the Midnight SDK, or the corpus exposed by the midnight-manual MCP server (search, advanced_search, facets, get_chunks, get_document, list_sources). Teaches query modes (hybrid/vector/fts), multi-query fusion with advanced_search, per-facet filters with discovery and fail-fast recovery, version- and freshness-matched retrieval to avoid stale answers, plus HyDE, multi-query, step-back, symbol-aware code search, and trust-weighted selection — so you find authoritative, version-matched answers instead of firing one naive query.
2026-07-03