Why newsrooms are the right test case
Most retrieval-augmented generation (RAG) deployments are judged on answer quality: does the model produce a fluent, correct response? In a newsroom, that question is secondary. A claim without a traceable source is unpublishable regardless of whether it happens to be accurate. The citation is not a nice-to-have attached to the answer; it is the product.
This inverts the usual evaluation order. An editor reading a generated draft needs to distinguish between two very different failures:
- Retrieval failure — the corpus did not contain the fact, or the retriever did not surface it.
- Generation failure — the fact was retrieved, but the model misstated, over-generalised or fabricated it.
These have different remedies. Retrieval failure points to index coverage, chunking or query construction. Generation failure points to prompting, model choice or grounding constraints. If the system only returns text, the editor cannot tell which one occurred, and the correction workflow has no anchor. Knowing which upstream document produced which sentence is the minimum requirement for a correction to be issued with confidence.
Newsrooms are therefore a useful stress test for open-source retrieval systems that cite their sources. They force provenance to be designed rather than bolted on.
Provenance is a schema, not a feature
A citation rendered as a footnote is a presentation artefact. A citation that can be re-derived is a data structure. The distinction matters because the second is what allows an editor to audit an answer months later, after the corpus has changed.
The schema needs to attach to each generated span, not to the document as a whole. A single answer frequently draws on several sources, and a document-level citation set cannot tell you which sentence came from which source.
A workable span-level record contains at least:
{
"span_id": "s-0042",
"text": "The agency revised its guidance in the same quarter.",
"provenance": [
{
"doc_id": "doc-8817",
"chunk_id": "doc-8817-c03",
"span_start": 412,
"span_end": 508,
"retrieval_score": 0.71,
"retriever": "bm25+ann-fusion",
"index_version": "2024-11-03T09:14Z"
}
],
"query": "agency revised guidance quarter",
"query_id": "q-1190"
}
The fields that are most often omitted are the ones that matter most.

Store the retrieval query alongside the result. A citation without the query that produced it cannot be replayed. The query is the input to the retrieval function; without it, you have an output with no way to check the function.
Version the index. If the corpus is re-indexed, a past answer can no longer be re-derived against the state it originally saw. An index version identifier lets you reconstruct the retrieval context for any historical answer. This is the difference between an audit and an anecdote.
Record the retriever identity. A hybrid BM25 and approximate-nearest-neighbour pipeline behaves differently from a dense-only pipeline. If the retriever changes, old citations may not reproduce, and you need to know that before you attribute the discrepancy to the model.
The failure modes this exposes
Once provenance is recorded at span level, several failure modes become visible that are otherwise invisible.
Chunk boundaries silently truncate evidence
Chunking is a lossy operation. A claim may depend on a qualifier that sits one sentence outside the chunk boundary. The retriever returns the chunk, the model reads the chunk, and the generated span is accurate with respect to the chunk but misleading with respect to the document. Because the chunk is cited, the citation looks correct. The truncation is only detectable if the stored span offsets let you retrieve the surrounding context and compare.
Re-ranking changes citations between runs with no visible diff
Re-ranking reorders retrieved passages. If the answer text is stable but the citation set is not, two runs of the same query can produce the same sentence attributed to different documents. Without a stored trace, this appears as non-determinism in the model. With a trace, it is clearly a retrieval-pipeline change. The distinction determines whether you fix the prompt or the ranker.
Aggregation across documents produces claims no single document supports
A model asked to summarise several retrieved passages will often produce a synthesis that is true of the set but not of any member. Each individual citation is valid; the aggregate claim is not attributable. Span-level provenance makes this visible because the span will carry multiple document identifiers, and an editor can see that no single source states the claim as written.

These are not exotic edge cases. They are the ordinary behaviour of retrieval systems under real corpora, and they are precisely the behaviours that a document-level citation scheme hides.
A rule for deployment
The deployment rule that follows from this is narrow and testable:
If the citation cannot be re-derived from the stored trace, the answer is not verifiable.
Re-derivation means: given the stored query, the stored index version and the stored retriever identity, the system can reproduce the retrieved span and confirm that it supports the generated claim. If any of those inputs is missing, the citation is a label, not evidence.
This has an uncomfortable consequence. Provenance retention is not a logging convenience; it is a records question with a schedule. Logs are typically rotated, sampled or discarded. Records are retained according to a policy, with defined retention windows, access controls and deletion procedures. A newsroom that treats provenance as a log will eventually find that the trace it needs for a correction has aged out.
The honest trade-off
Retaining full span-level provenance at query, chunk and index-version granularity is expensive in storage and in operational complexity. It requires an index-versioning discipline that many retrieval pipelines do not have, because re-indexing is usually treated as an in-place update. It also slows down the write path, since every generated span must be joined to its retrieval record before the answer is returned.
The alternative is cheaper and worse. Without the trace, every correction becomes an investigation, and every investigation depends on whether the original operator happened to keep the intermediate state. The trade-off is between predictable storage cost and unpredictable editorial cost. For a newsroom, the second is the one that cannot be absorbed.
A middle path exists: retain full provenance for published or publishable answers, and retain only aggregate statistics for exploratory queries. This keeps the records obligation aligned with the editorial obligation, rather than applying it uniformly to every retrieval the system performs.
What this means for open-source retrieval
Open-source retrieval stacks make the provenance schema inspectable in a way that closed systems do not. The retriever, the chunker and the ranker are all visible, so the trace can be validated against the actual pipeline rather than trusted as a vendor abstraction. That is the practical argument for provenance-first design in open source: the citation is only as trustworthy as the pipeline that produced it, and an open pipeline can be audited.
The design work is not in the model. It is in the schema that records what the model was shown, and in the retention policy that keeps that record available when an editor needs it. Answer quality is a moving target. Provenance is a contract.
