Catch hallucinated sources. Fetch every citation URL, verify every quoted snippet actually appears in the source, return a trust score 0-1.
Doesn't just check the URL is reachable. Fetches the page, normalizes the text, and verifies the quote is there.
Exact substring + token-overlap sliding window. Tolerates LLM paraphrase and punctuation drift.
0-1 per citation, aggregate 0-1 per answer. Cut LLM responses at threshold = 0.6. Surface red dots in UI.
Concurrent fetch from Cloudflare's edge. 6s timeout per URL. 2.5MB body cap. Sub-2s for 8-citation answers.