Foundations of AI Governance as an Engineering Discipline
A Failure That Should Never Have Happened
On a Tuesday morning in March, a security engineer at a mid-sized fintech received an automated alert: a fine-tuned proprietary model, weighing 13.4 GB and trained on eight months of customer transaction data, had been served from a public endpoint for the previous nine hours. The endpoint was not the production inference cluster. It was a forgotten staging bucket, fronted by a developer VPN account whose entitlements had not been revoked when the engineer left the company four months earlier. No firewall rule blocked egress, no token-rotation policy had ever fired on the service principal, and no anomaly detector was watching the bucket because, in the company's service catalog, the bucket had been tagged as `internal-ml-experiments`, a label that no downstream control ever consumed.
Within the first seventy-two hours the incident team confirmed two uncomfortable facts. First, the model had been scraped at least once by an unknown IP space in Eastern Europe, evidenced by an irregular spike in chunked GET requests consistent with a resumable download of a `safetensors` blob. Second, the model's training set—embedded as a series of LoRA adapters and sharded parquet snapshots—contained roughly 1.2 million rows of identifiable consumer credit metadata, including partial Social Security numbers, account balances, and merchant category histories. The legal exposure was enormous; the technical exposure was worse, because no one could prove what had or had not been extracted.
The fintech had a model governance policy. It was fifty-three pages long, lived in a shared drive, and had been signed off by the chief risk officer eighteen months earlier. It described acceptable use of training data, required code review for model promotions, mandated access logging, and reserved the right of the model risk office to audit any deployed artifact. Every one of those clauses had been honored in spirit. None of them had been enforced by any system. The policy was a description of intent; the failure was the absence of a mechanism.
This chapter opens with that incident because it is, in nearly every dimension, representative. Across industries, AI governance collapses for the same family of reasons: documentation is mistaken for control, controls are described in prose rather than implemented as code, and the line between "we have a policy" and "the policy is enforced" is treated as a continuum when in fact it is a chasm. The thesis of this book is that AI governance must be engineered, and engineering means three things: making governance decisions mechanically enforceable, making the evidence of their enforcement continuously measurable, and making the whole system auditable by parties who were not in the room when the controls were designed.
To make that thesis concrete, the chapter does five things. It introduces a definition of governance anchored not in policy documents but in three observable properties—provenance, attribution, and constraint enforcement—that any system, regardless of stack, can be tested against. It lays out an AI-specific risk taxonomy spanning data, model, prompt, output, and lifecycle dimensions. It draws a sharp distinction between policy, control, and assurance, and shows how engineering closes the gap between them. It enumerates five governance pillars—identity, audit, cost, compliance, and lifecycle—and shows how each becomes an engineering surface, not a documentation surface, through a worked case study of a regulated bank deploying LLM-assisted underwriting. Finally, it places the book's remaining chapters on the map so that the reader can see, from the first page, where the argument is going.
The reader who finishes this chapter should be able to do four things: articulate why a policy document is not a governance system, name the AI-specific risks that distinguish AI governance from classical IT or data governance, sketch a control-pillar matrix for any AI workload, and recognize the failure modes that produce incidents like the one above.
The Three Observable Properties of Any Governance System
A useful definition of governance must be falsifiable. If we cannot test whether a system is governed, we have not defined governance, we have defined aspiration. The definition used throughout this book rests on three properties, each of which can be observed, instrumented, and audited without access to intent, motivation, or organizational chart.
Provenance is the property that every artifact in an AI system can answer the question "where did this come from?" For a model, that means a verifiable chain from base weights, through fine-tuning data, through training code, through evaluation results, to the artifact identifier and the system serving it. For a dataset, that means a verifiable chain from source system, through transformation code, through quality checks, to the consumer. For a prompt template, that means a versioned identifier with author, approver, and target model. Provenance is most often described as "lineage," but lineage is a graph structure; provenance is a graph structure with cryptographic guarantees at the edges, meaning that any link in the chain can be re-derived from a hash, a signature, or an append-only log rather than from a memory or a wiki page.
A useful test for provenance: pick any artifact in production at random, hand its identifier to a stranger, and ask them to reproduce its full history from system-of-record data alone, without asking anyone in the company. If the stranger needs to ask a person, provenance is broken. If the stranger can do it from logs, content-addressable storage, and signed metadata, provenance holds.
Attribution is the property that every consequential action can be tied to an authenticated principal. In AI systems the consequential actions are wider than in classical systems because the unit of risk is not just an API call but a generated output. Attribution means that for every inference request, every model promotion, every dataset registration, every prompt-template edit, every cost-incurring batch job, and every override of an automated control, the system records an authenticated identity, a timestamp, and a justification. Attribution is not the same as logging. Logs record what happened; attribution records who caused it and under whose authority.
A useful test for attribution: pick any output that the system produced last week—a denied loan, a generated customer response, a recommended content item, an automated redaction—and ask whether the system can produce, in under one minute, the identity that caused it to be produced. "The model did it" is not an answer. "An authenticated user invoked model version v3.2.1 with prompt template pt-cs-007 under service principal `underwriting-prod-eu`, which produced this output" is an answer.
Constraint enforcement is the property that the rules of the system are enforced by the system itself, not by the discipline of its operators. A constraint is anything that says "this shall not happen" or "this shall happen only with X." Examples: a fine-tuned model shall not be served from outside a private network; personally identifiable information shall not appear in a prompt to a third-party model; a model with fairness metrics below threshold shall not be promoted to production; monthly inference spend per tenant shall not exceed a budget; a deprecated model version shall not receive more than one percent of traffic for more than seven days.
A useful test for constraint enforcement: attempt to violate each known rule through the system's normal API surface, without using a back door, a console session, or a privileged account. If any rule can be violated through the normal API, the constraint is not enforced; it is documented. Constraint enforcement is what turns governance from a document into a system.
These three properties are not independent. Provenance without attr