The Truth Pipeline: AI in Data Quality and Observability

Z

ZharfAI Team

May 28, 2026Updated July 30, 202610 min read
The Truth Pipeline: AI in Data Quality and Observability

Data observability tells a team what changed, where, and when. Data quality asks whether information is fit for a defined use. Neither automatically establishes that a value means the right thing. A perfectly fresh, complete table can still encode the wrong business definition.

AI can detect unusual distributions, correlate incidents with lineage, summarize failures, and suggest tests. It should not silently repair production data or declare semantic truth without accountable domain review.

Separate four kinds of confidence

Teams often collapse different questions into one “quality score.” Keep them separate:

  1. Pipeline health: Did jobs, storage, APIs, and orchestration run as expected?
  2. Data conformance: Do values satisfy schema, format, range, uniqueness, and referential rules?
  3. Semantic correctness: Does the field represent the agreed business concept?
  4. Decision fitness: Is the data timely, complete, and appropriate for this particular use?

An order-status column may pass all technical checks while mapping “cancelled after shipment” differently in two systems. Revenue can reconcile to finance and still be inappropriate for a tax filing because recognition rules differ. State the use and accountable owner before calling data “good.”

Use current quality concepts, not a universal score

ISO 8000-8:2015, confirmed in 2022 and current as of July 2026, describes fundamental information and data-quality concepts and prerequisites for measurement within quality management. It does not prescribe one magic dashboard score.

ISO/TS 8000-81:2021, confirmed in 2025, specifies a profiling procedure for structured data, including structure, column, and relationship analysis. Its scope does not include deriving data rules or measuring the extent of nonconformity. Profile first, then define rules with domain owners.

Build dimensions that match the use:

  • completeness of required fields and population coverage;
  • validity against formats, domains, and constraints;
  • consistency across systems and time;
  • uniqueness and entity-resolution quality;
  • timeliness, freshness, and event latency;
  • accuracy against a credible reference where available;
  • lineage and provenance completeness;
  • interpretability of definitions, units, grain, and exclusions.

Report dimensions separately. A composite score can hide a critical failure behind healthy columns.

Write data contracts around decisions

A useful contract says more than column type. It records:

  • producer, consumer, domain owner, and incident owner;
  • dataset grain, business meaning, unit, timezone, and allowed values;
  • required and conditionally required fields;
  • freshness and completeness expectations;
  • historical correction and late-data behavior;
  • privacy classification and access;
  • versioning and compatibility policy;
  • downstream uses and uses explicitly not supported;
  • validation queries and sample cases.

For a net_revenue metric, define refunds, tax, discounts, currency conversion, recognition date, test accounts, late adjustments, and restatement policy. If two teams need different definitions, publish two named metrics rather than forcing an ambiguous shared field.

Observe the complete data path

Instrumentation should cover source extraction, transport, transformation, orchestration, storage, semantic models, reports, features, retrieval indexes, and exports. For each run capture code or query version, parameters, input and output identifiers, row counts, timing, status, and ownership.

OpenLineage is an open framework and extensible specification for lineage metadata built around datasets, jobs, runs, and events. It can improve interoperability in lineage collection. It does not prove that every transformation is captured or that the SQL implements the intended definition.

Test lineage completeness with known paths. Manual spreadsheets, reverse ETL, dashboard calculations, notebooks, exports, and vendor transformations often sit outside the graph. Label inferred lineage separately from runtime-observed lineage.

Detect anomalies without creating alert debt

Static tests are best for known invariants: primary-key uniqueness, nonnegative quantity, accepted currency, mandatory consent state. Statistical detection helps with unknown change: row-count shifts, distribution movement, seasonality breaks, category appearance, and relationship changes.

For each alert define:

  • monitored population and window;
  • baseline and seasonality treatment;
  • threshold or model version;
  • minimum volume and materiality;
  • likely downstream impact;
  • owner, severity, and response time;
  • suppression, grouping, and recovery logic;
  • evidence required to close.

Tune on incidents, not alert counts. Measure precision, missed known incidents, time to detect, time to acknowledge, time to contain, recurrence, and engineer effort. A system that fires daily without ownership trains people to ignore it.

Let AI explain, not invent

An AI incident assistant can retrieve recent deployments, failed tests, schema changes, lineage, logs, and prior runbooks. It can draft a timeline and rank hypotheses. Require citations to the underlying evidence and separate:

  • observed fact: “row count fell 42% after job version 8.3”;
  • correlation: “the change occurred in the same window as a connector release”;
  • hypothesis: “pagination may have stopped after the first page”;
  • verified cause: confirmed by reproduction or code review;
  • remediation: approved action with owner.

Never allow a model to rewrite data, change a contract, suppress an alert, or backfill history without explicit authority and reversible execution. Prompt injection can enter through logs, field values, documentation, or tickets; retrieved text is data, not trusted instruction.

Semantic correctness requires domain evidence

Observability can show that customer_status changed from five values to six. It cannot decide whether “paused” belongs inside “active” for a regulatory report, customer-success dashboard, or invoice process.

Use a semantic review packet:

  • plain-language definition and decision;
  • source-of-record and authoritative reference;
  • grain and population;
  • inclusion, exclusion, null, and edge cases;
  • examples from real records;
  • reconciliation with adjacent metrics;
  • approver and effective date;
  • impact on historical comparisons.

Maintain a metric registry with ownership and change history. When meaning changes, version or restate deliberately. Do not let a generative catalog description overwrite a governed definition.

Monitor AI systems as data consumers and producers

AI creates new surfaces: training data, feature stores, prompt context, embeddings, retrieval indexes, evaluation sets, feedback, model output, and human corrections. Data checks must follow each surface.

The voluntary NIST AI Risk Management Framework structures risk work around Govern, Map, Measure, and Manage. NIST states that AI RMF 1.0 is under revision as of 2026; the published 1.0 remains the reference until a successor is issued.

NIST AI 800-4, published in March 2026, identifies categories and open challenges in deployed-AI monitoring, including functionality, operations, human impact, security, compliance, and model behavior. It reports a fragmented, nascent field and open questions; it is not a mandatory standard or complete monitoring method.

For AI pipelines track data coverage, label policy, evaluation integrity, retrieval freshness, unsupported-output rate, harmful feedback loops, and human override. A healthy endpoint latency does not demonstrate a safe or correct answer.

A worked incident: revenue falls overnight

At 07:00, a revenue dashboard shows a 38% decline.

  1. Freshness checks pass; the warehouse and dashboard updated on time.
  2. Row count fell only for one payment provider.
  3. Runtime lineage links the affected table to connector version 8.3 deployed overnight.
  4. The AI assistant cites logs showing pagination stopped after the first page and drafts a hypothesis.
  5. An engineer reproduces the behavior and confirms the cause.
  6. The team rolls back through an approved path and backfills the missing interval.
  7. Finance reconciles totals to the provider and approves the restatement.
  8. The contract gains a page-completeness check and deployment canary.

Observability found a technical failure quickly. Finance established semantic and quantitative correctness. The model accelerated investigation but did not approve the repair.

Design incident response around blast radius

An incident should connect symptom to consumers. Lineage helps identify dashboards, features, regulatory reports, customer exports, and models that may be affected. Classify:

  • affected data and time window;
  • known and possible downstream consumers;
  • decisions already made;
  • privacy, security, contractual, or regulatory impact;
  • containment and safe fallback;
  • correction, backfill, notification, and replay;
  • evidence for validation and closure.

Quarantine or clearly mark suspect assets. Prevent automated consumers from reading a partially repaired table when consistency matters. Record who authorized a backfill and retain before-and-after counts.

Measure the observability program itself

Track:

  • percentage of critical assets with owner, contract, lineage, and runbook;
  • monitored versus unmonitored pipeline surface;
  • alert precision and repeat-alert share;
  • detection, acknowledgement, containment, and recovery time;
  • incidents first found by users;
  • data downtime weighted by consumer criticality;
  • semantic-definition changes and restatements;
  • recurrence after corrective action;
  • test coverage for known incident classes.

Avoid vanity coverage. A hundred generic null checks on low-value tables do not outweigh one unmonitored regulatory export. Prioritize by decision harm and recoverability.

Connect process evidence to data evidence

Data problems often originate in business workflow: an approval skipped, a status entered late, a workaround outside the system. Process mining can reveal where records are created or corrected, but it also depends on trustworthy events. Our process-mining guide explains that reciprocal relationship.

Create a shared map:

  • business event and responsible role;
  • system record and source owner;
  • transformation and platform owner;
  • metric or model consumer;
  • control, evidence, and incident route.

This prevents a data team from “fixing” a value that accurately reflects a broken process, or an operations team from blaming a pipeline for inconsistent entry rules.

Release gates

Before declaring a critical dataset observable, require:

  • named domain, producer, consumer, and incident owners;
  • decision-specific contracts and semantic definitions;
  • reconciled source coverage and tested lineage;
  • static, statistical, and relationship checks;
  • alert materiality, routing, grouping, and closure criteria;
  • controlled AI explanation with evidence citations;
  • privacy, security, retention, and access controls;
  • blast-radius analysis and consumer notification;
  • reversible repair, backfill, and restatement procedures;
  • monitoring of the monitors and regular control tests.

Use our audit-evidence assurance guide to preserve proof that controls ran and exceptions were resolved.

Source notes

Reviewed 2026-07-30. Main sources are ISO 8000-8:2015, which remains current after confirmation in 2022; ISO/TS 8000-81:2021, confirmed in 2025; the OpenLineage specification overview; the NIST AI RMF page; and NIST AI 800-4. ISO 8000-8 provides concepts and measurement prerequisites, not a universal score. Profiling and lineage reveal structure and movement; they do not alone establish semantic correctness. NIST AI 800-4 catalogs monitoring challenges rather than mandating a complete method.

Questions data leaders should ask

Does a green pipeline mean correct data?

No. It means selected technical checks passed. Semantic and decision fitness need domain definitions, reconciliation, and use-specific evidence.

Should AI automatically fix anomalies?

Only for narrowly authorized, reversible actions with validated rules and approval proportional to impact. High-impact correction and backfill should remain controlled.

Is lineage complete once a graph appears?

No. Validate coverage. Manual files, BI formulas, notebooks, reverse ETL, and vendor transforms are common blind spots.

What is the first useful deployment?

Choose one critical metric or model input, map its end-to-end lineage, define its semantics and controls, and rehearse a realistic incident.

A trustworthy pipeline exposes its limits

Data trust is not the absence of alerts. It is the ability to explain meaning, origin, transformation, uncertainty, consumers, controls, and correction. AI can shorten the distance from symptom to hypothesis. Accountable owners still establish what the data means and whether it is fit for the decision.

#Data Quality#Observability#Analytics#AI Operations

Related Posts

Ready to Start Your AI Project?

Get in touch with our team to discuss how we can help your business.