The Source-Drift Trap: Why Client RAG Answers Lose Their Citations Between Ingestion and Delivery

Symptom: Answers reach a client deck with a generic 'according to the documents' line and no page or passage to point at. Root cause: Parsed output is often stored as flat text, which drops page numbers, table boundaries, and the character offsets a verifier needs to highlight a passage.

How do you recognize it?

  • Answers reach a client deck with a generic 'according to the documents' line and no page or passage to point at.
  • Citations resolve to a file name but not to the paragraph, so a reviewer cannot confirm a claim within a minute of opening the source.
  • Figures pulled from scanned appendices or layout-heavy tables come back as near-miss numbers that pass a skim but fail a spot check.
  • After a client replaces a contract or brief, answers keep quoting the superseded version, and the account team only notices when the client does.
  • Retainer reports show high answer volume while the share of client-facing figures that trace to a page stays unmeasured.

Why does it happen?

  • Parsed output is often stored as flat text, which drops page numbers, table boundaries, and the character offsets a verifier needs to highlight a passage.
  • Retrieval returns the top chunks, but the generation prompt does not require the model to name the chunk it relied on, so attribution becomes optional in practice.
  • Document versions live in the file store instead of the index, so a replaced file keeps serving stale chunks until someone rebuilds the index by hand.

How do you fix it?

  • Pull ten live answers from one client workflow, trace each claim to a page, and log every miss as either a parsing defect or a prompt defect.
  • Route scanned and layout-dense inputs through an OCR step such as jina-ocr-v1 before chunking, and keep page anchors in each chunk's metadata.
  • Run any client-facing figure through a passage-linking check such as CiteLLM before it leaves the account, and hold the output if no passage resolves.
  • Attach a version identifier to every chunk and purge prior entries whenever a client replaces a file, then confirm the purge with one test query.

Services for this topic: RAG Tooling in the catalog.