Most AI governance lives in a slide deck or a policy PDF nobody reads at deploy time. That document does not stop a model from leaking PII, does not catch silent drift, and does not tell an auditor who approved which model on what data. Real governance is a stack of controls wired into the pipeline, where each control removes a specific, named risk. If a control is not enforced in code at a point where the pipeline can block, it is theatre.
A control counts only if it can block a deploy or a request, and only if someone is paged when it fires.
Retrofitted governance costs six to ten times more
Most data and AI platform failures in production are not model failures. They are governance failures: a PII leak nobody designed around, a model decision nobody can audit, a dataset overwritten instead of versioned. The fix, when it eventually arrives, costs six to ten times more than designing for it at the start, because a control added to a live system does not inherit the original design. It sits beside it, with gaps at every seam. Role-based access bolted onto a warehouse that assumed shared visibility is a filter on top of the wrong model. Redaction added after ingestion arrives too late, because the sensitive data is already in your logs, your feature store, and your training sets.
The same property holds for the model layer. A system deployed without an audit trail cannot reconstruct the decision behind a disputed outcome, and adding one later means touching every boundary that was sealed without it. This is not a compliance argument. It is an engineering argument about cost and risk, and it is why governance requirements belong in discovery, scoped alongside functional ones, not in a post-incident review.
The eight controls and the risk each removes
Map every governance claim to a tool and the failure it prevents. If you cannot name the failure, delete the control.
- Data lineage: trace every feature to source so you can answer "why did the model say that" and reproduce a decision. We use OpenLineage with dbt and Airflow metadata.
- PII redaction at ingestion: strip sensitive data before any model or log sees it. Microsoft Presidio at the ingestion boundary, not as a later filter. In our EU insurance work, redaction ran before any model touched a claim.
- Access control: scope who reads which dataset and who promotes a model. Postgres row-level security plus a registry permission model, not a shared admin token.
- Model and version registry: pin every deployed model to a version, training data snapshot, and approver. MLflow Model Registry with stage gates.
- Drift and performance monitoring: detect input drift and live metric decay before users do. Evidently or whylogs feeding alerts; backtesting on a schedule.
- Human-in-the-loop: route low-confidence or high-impact outputs to a reviewer. A confidence threshold plus a review queue, sized to volume.
- Audit logging: append-only record of inputs, model version, output, and reviewer for every decision. This is what an auditor actually asks for.
- Eval gates in CI: block promotion when accuracy, a fairness slice, or a safety check regresses against a held-out set.
The controls around the model: security and data governance
The eight controls above govern the model layer. They stand on a security and data foundation with its own non-negotiables, each defined at design time rather than granted as a convenience during build:
- Least-privilege access everywhere: every service, user, and process gets only the access it needs, enforced with row and column-level controls in the warehouse itself, so policy cannot be bypassed by querying the store directly.
- Encryption at rest and in transit for data assets, model artefacts, and API payloads, with key management designed into the infrastructure rather than added to it.
- Secrets management: keys, credentials, and certificates live in vaults and rotate on a schedule, never in code or committed configuration.
- Threat modelling before the architecture is finalised: finding attack surfaces on paper is an order of magnitude cheaper than finding them in production.
- Schema and contract enforcement at pipeline boundaries, so an upstream change cannot silently corrupt downstream models and dashboards.
- Retention and deletion by design: GDPR, PDPA, and sector obligations met with deletion workflows that propagate through derived datasets and training sets.
- Data quality monitoring: completeness, freshness, and distribution checks that alert before a data problem becomes a model problem.
- Security testing in CI alongside the eval gates: static analysis, dependency scanning, and governance assertions that fail the build when a control regresses.
In financial services, insurance, healthcare, and government, none of this is optional. A credit model without explainability creates exposure under EU AI Act obligations as they come into force, an insurance QA system without PII controls creates GDPR liability at the point of processing, and for organisations in Singapore and across Southeast Asia, PDPA obligations follow the data into every derived store. The projects that reach production in regulated environments are the ones where these controls were scoped at discovery.
What to build first, and what is theatre
Sequence by regulatory and reputational blast radius, not by ease. Build the controls that prevent an irreversible incident before the ones that make reporting prettier.
- PII redaction at ingestion and access control. A leak is irreversible and the most common cause of a real incident.
- Model registry and audit logging. Without these you cannot answer the two questions every regulator asks: which model, and who approved it.
- Eval gates and drift monitoring. These stop slow degradation, which is the failure mode nobody sees until a metric has already moved.
- Human-in-the-loop last, scoped to the decisions that actually warrant a reviewer.
Theater is a 40-page responsible-AI charter with no enforcement hook, a fairness dashboard nobody is paged on, and a model card written once and never regenerated. The decision rule: a control counts only if it can block a deploy or a request, and only if someone is paged when it fires.
Implementation: enforce at the boundaries
Two boundaries carry most of the load. At ingestion, redaction and lineage run before data lands in any store, so logs and feature tables are clean by construction rather than scrubbed after the fact. At promotion, the registry refuses to advance a model that lacks an approver, a data snapshot, and a passing eval; CI runs the eval gate on every model PR and fails the build on a regressed slice. In our government IDP work on heterogeneous bank statements, the same audit trail that satisfied compliance also gave us the per-document record we needed to debug extraction errors. Governance and observability are the same pipe.
One anti-pattern to avoid: redaction as a downstream filter. Once raw PII is in a log line or a feature store, you have already created the liability. Move it to the boundary.
The five-question audit you can run tomorrow
- Pick your most important deployed model. Can anyone name its exact version, training data snapshot, and the person who approved promotion, in under ten minutes?
- Ask where PII is removed. If the answer names a filter that runs after data lands in a store or a log, the liability already exists.
- Find the last time an eval gate blocked a promotion. If it has never fired, it is either not wired in or not strict enough to matter.
- Ask who was paged the last time drift crossed a threshold. No pager, no monitoring, whatever the dashboard says.
- Take one production decision from last quarter and try to reconstruct it end to end. The time this takes is the time your next audit will take, multiplied by every decision in scope.
Teams that pass all five have governance. Teams that pass none have a PDF. Most sit in between, and the gaps this surfaces are, in our experience, the exact list a regulator or enterprise procurement team finds six months later, in a worse meeting.
The business case
A guardrail stack is what lets a regulated client say yes. In finance, insurance, and government engagements, the audit trail, redaction, and eval gates were not overhead, they were the reason the system shipped to production instead of staying a proof of concept. The stack also lowers the cost of every future change: when each control is enforced in code, a new model or feature inherits governance instead of triggering a fresh review. Write the policy if you must, but spend the budget on the eight controls. The PDF documents the stack; it is not the stack.



