Back to the notebook Compliance

Compliance Is an Architecture Property, Not an Add-On

The EU AI Act and GDPR cannot be layered onto a finished system. Trying to do it that way means building twice — and the second build is always more expensive.


There’s a widespread idea about when compliance enters the picture: at the end. The system is built, it works, and then someone arrives with a checklist to verify that everything is regulation-compliant. If a gap turns up, it gets closed.

This sequence barely works for GDPR. For the EU AI Act, it doesn’t work at all. And the reason isn’t legal — it’s structural.

Why Some Requirements Are Not Features

A checklist implies that compliance is a list of items you tick off one by one. Some items genuinely are like that — a cookie banner, a privacy policy page. Those can be bolted on at the end.

Others aren’t items at all. They’re properties of the entire system. An audit log that makes it traceable who decided what, when, with what degree of AI involvement — that isn’t a field you add. It’s a decision about how every action in the system gets processed in the first place. Retrofitting it doesn’t touch one corner. It touches every place where anything is ever decided.

The same goes for human-in-the-loop. The EU AI Act requires, at certain points, that a human confirms an AI decision before it takes effect. That’s not a button. It’s a statement about how the control flow runs through the system — where it pauses, who approves, what happens if nobody does. A system built without that pause doesn’t have the place for it. You don’t add it. You rebuild the flow.

Why Does the Retrofit Cost More Than the Initial Build?

Building compliance in from the start carries a premium. The audit log schema costs design time. The approval points cost architecture effort. That’s real, and it feels like a delay because it adds nothing you can show in a demo.

Deferring compliance to the end costs the same premium — plus the cost of cutting into a finished system. Plus the risk that changes deep enough to matter will introduce new bugs. Plus the pressure of doing this work against a deadline, because the audit date or the launch date is now fixed. The initial build is architecture work done in calm. The retrofit is architecture work done under stress, on a system you cannot afford to break in the process.

The math is clear, and it still surprises people every time.

What Does “By Design” Actually Mean in Practice?

Compliance by design means four requirements have to be visible in the architecture sketch before the first line of code exists — AI labeling, human-in-the-loop controls, audit logs, and deletion concepts. It is not a slogan when taken seriously:

  • AI labeling and transparency belong in the pipeline where AI-generated content is produced — not in a display layer on top of it. What must be labeled has to be marked at the source, or the information gets lost in transit.
  • Human-in-the-loop belongs in the control flow. The question “where does the system pause and wait for a human” gets answered at design time, not during testing.
  • Audit logs fit for a regulator belong in the data model. Which action, which actor, what AI involvement, what timestamp — these fields are created with the table, not added afterward.
  • Legal basis, deletion concepts, right of access belong in the data architecture. If data is stored in a way that a deletion request can’t fully reach it, that’s an architecture problem, not a legal one.

None of these requirements are exotic. All four are known long before any system is built. The only mistake is treating them as “later.”

The Sentence That Belongs in Every Planning Meeting

Compliance belongs in the same conversation as the database choice and the service boundaries — not in a later one. It’s a property the system either has or doesn’t have, and properties get built in while you’re building.

A compliant system doesn’t emerge from passing an audit at the end. It emerges from an audit that finds nothing — because there’s nothing to find. That’s cheaper, calmer, and ultimately the only approach that holds up under a serious review.

Frequently asked

Can EU AI Act compliance be retrofitted into an existing system?
Only at significant cost. Audit logs and human-in-the-loop controls are not individual features — they are properties of the entire system. Retrofitting them means rebuilding control flow under deadline pressure, on a running system, with the added risk of introducing new bugs.
What does compliance by design mean in concrete terms?
Compliance by design means AI labeling, human-in-the-loop controls, audit logs fit for a regulator, and deletion concepts are visible in the architecture sketch before the first line of code exists — not as a checkpoint to be addressed later.
Why does retrofitting compliance cost more than building it in from the start?
The initial build is architecture work done in calm. The retrofit pays the same effort plus the cost of cutting into a finished system, plus the risk of introducing new bugs, plus deadline pressure from a fixed audit or launch date.