Pre⁠-⁠filter vs Post⁠-⁠filter Retrieval in RAG

The code passed all tests. Documents came back correctly. The security hole was invisible. Until I thought about what the vector index was actually doing.