ISO/IEC 5259 Data Quality Measures for RAG Sources and Prompt Inputs: Controls and Evidence
ISO/IEC 5259 gives you a data quality model, measures, a management system and a process framework for analytics and machine learning. It does not mention RAG, so applying it to retrieval corpora and assembled prompts is your own interpretation. Treat source quality as an ingestion-time control and prompt input quality as a per-interaction control. For each, define the control, a measurable check with your own threshold, and the evidence artifact. Runtime policy enforcement can act on what it observes in each interaction. It cannot establish corpus-level accuracy or provenance.
Evidence an auditor would need
- Scoping record: which ISO/IEC 5259 parts and characteristics were adopted for RAG, and who approved the scope.
- Ownership record: accountable owners for source quality and for prompt-input quality.
- Control register: for each control, the statement, the check, the threshold and the surface it applies to.
- Ingestion evidence: corpus quality reports, allow-list change history and rejected-item lists per run.
- Runtime evidence: a per-interaction decision record showing the action taken, the policy applied and the reviewer outcome for escalations.
- Limitations statement: what the checks do not verify, and where those gaps are covered.
What the ISO/IEC 5259 series covers, and what it does not
As of December 2026, the series comprises ISO/IEC 5259-1 to 5259-4 (2024), ISO/IEC 5259-5 (2025) and ISO/IEC TR 5259-6 (2026). Each part has a distinct role. Part 1 provides an overview, terminology, examples and a framework for assessing and improving data quality across life cycle phases so data are fit for their intended purpose. Part 2 defines a data quality model and measurable characteristics, with indicators for reporting, and supports both structured data and unstructured data such as text. Part 3 sets requirements and guidance for a data quality management system (DQMS) that adapts to different AI life cycles. Part 4 is a process framework, with emphasis on data labelling, evaluation and lifecycle management. Part 5 is a governance framework that defines the why and who rather than the how. TR Part 6 is a technical report on a visualization framework.
This layering is useful for control design. Governance assigns accountability, the DQMS defines requirements, the process framework shapes operation, and the measures define the checks. None of the part titles refer to retrieval-augmented generation, retrieval corpora or prompts. Everything that follows is a practitioner mapping, not something the standard prescribes. The standard is also voluntary, and it is not by itself a route to compliance with any specific regulation.
Two RAG surfaces, two control points
The mapping is clearer if you separate two surfaces. This is a practitioner framing, not an ISO construct.
The first surface is the source corpus and its index. Quality here is governed when content is ingested, chunked, embedded and refreshed. The controls are about the population of documents: which origins are permitted, how current the content is, whether extraction preserved the text, and whether duplicates or conflicting versions exist. Checks run in batches and produce corpus-level reports.
The second surface is the per-request context: the passages retrieved for one query and the prompt assembled from user input, system instructions, retrieved text and tool outputs. Quality here is a property of a single interaction. The controls ask whether this passage came from a permitted source, whether it contains sensitive data that should not reach the model, and whether it carries instruction-like content that should not be followed.
The distinction matters because the two surfaces fail differently. A corpus can pass every ingestion check and still deliver a sensitive or manipulated passage into one prompt. A runtime check can block that passage but cannot repair a corpus full of stale documents.
Control-to-evidence mapping
The rows below use familiar quality characteristics as working labels. Confirm exact names and definitions against the licensed text of Part 2 when you finalize the mapping. Thresholds are set by your organization, because the standard's summaries do not prescribe RAG values.
- Accuracy (source corpus, ingestion): Control: designate an owner and a verification step for each approved source. Check: sampled passages reviewed against the authoritative record, with an error rate you define. Evidence: sampling results with reviewer and date. Limit: accuracy is verified by people or upstream systems, not by a runtime layer.
- Completeness (indexed content, ingestion): Control: validate extraction and chunking. Check: share of source documents with full text extracted and required metadata present. Evidence: corpus quality report per ingestion run, including rejected items.
- Consistency (corpus, ingestion): Control: detect duplicates and conflicting versions of the same document. Check: count of unresolved conflicts per index build. Evidence: reconciliation report and the resolution decision.
- Currentness (corpus and retrieval): Control: require last-reviewed metadata and expire or flag stale content. Check: share of retrieved passages older than the permitted age for their content class. Evidence: freshness report at ingestion, plus age fields recorded with each retrieval.
- Credibility (source allow-listing, ingestion and runtime): Control: only allow-listed origins are indexed, and retrieved passages carry a source tag. Check: percentage of retrieved passages with a valid allowed-source tag. Evidence: allow-list change history and per-interaction decisions on untagged content.
- Prompt input conformance (runtime): Control: screen assembled prompts for sensitive data and injection patterns, then allow, redact, block or escalate. Check: detection results against the defined policy for each interaction. Evidence: a decision record per interaction showing the action taken, and the reviewer outcome where escalated.
What a runtime layer can and cannot verify
A layer in the execution path acts only on what it observes per interaction: the content of prompts, retrieved passages and tool calls, plus any metadata supplied with them. It can apply pattern and policy checks to that content and act on the result. It cannot establish whether a document is true, where it originated or how it changed over time unless those facts arrive as metadata. Even then, it is relying on the metadata, not verifying it.
This limit should be written into the evidence, not left for an auditor to discover. State which characteristics are checked at ingestion, which are checked per interaction, and which are asserted by upstream owners. Overstated evidence is a larger audit risk than acknowledged gaps.
Two governance points follow from Parts 3 and 5. Assign accountable owners for source quality and prompt-input quality separately from the teams that operate the controls. And treat both surfaces as in scope of the DQMS rather than as one-off tests, so that thresholds, reviews and corrective actions recur. Also note that ISO restricts the use of its content for AI purposes without written permission, so standard text should not be loaded into an internal knowledge base or prompts without it.
Where runtime policy enforcement fits
Runtime policy enforcement is relevant to the second surface and to tool calls made during an interaction. Trussed enforces policy in the execution path across models, agents, tools and MCP servers, at the level of individual interactions and tool calls. The available actions are allow, redact, block, rate limit and escalate for human approval. In this mapping, that supports controls such as sensitive data redaction, blocking of content from untagged sources, and escalation of ambiguous cases to a reviewer. Policy is enforced at runtime, not reviewed after the fact.
Each enforcement decision produces audit-ready evidence, so the record is a by-product of the control operating rather than a separate reconstruction. Trussed can be self-managed in the customer cloud, with configurable retention and data residency, which matters when evidence itself contains regulated content.
The boundary is the one described above. Trussed does not make claims about dataset provenance, model lineage or end-to-end tracing of agentic workflows, and it does not verify the accuracy of a source. Those controls sit at ingestion and in your data management processes.
From standard to evidence
Characteristic
A quality dimension from the data quality model, applied to a RAG surface.
Control
An ingestion-time or runtime rule that protects that dimension.
Measurable check
A test with an organization-defined threshold.
Evidence artifact
A durable record showing the control operated.
Review your RAG control-to-evidence mapping
Talk through how per-interaction enforcement and audit-ready evidence could support the runtime controls in your own mapping.
Talk to an Expert