AI finds facts. Code decides what they mean.
Ask a language model whether a document is GDPR-compliant and it will tell you. Confidently, fluently, and with no way for anyone to check.
That answer is worthless, and not because the model is bad at law. It is worthless because nobody — not you, not your DPO, not a regulator — can reconstruct how it got there. Run it again next week against a slightly different prompt and you may get a different answer about the same file. There is no citation to check, no rule to point at, and no way to explain to an auditor why the system said what it said.
So we split the problem in two.
The split
The model is asked only questions it is genuinely good at, all of which are questions about the text in front of it:
- Is there a health condition mentioned on this page? Quote it.
- Is there something that looks like a national identifier? Quote it.
- Is there language that reads like consent? Quote it.
These are reading-comprehension questions. A model can answer them well, and — critically — every answer comes with a quote you can go and look at.
What the model is never asked is what any of that means. Whether a health condition makes a document high risk, whether a tax number is a "special category", whether a right to limit processing is triggered — all of that is decided afterwards, in code, by versioned rulesets that cite the article they rest on.
model → "there is a health diagnosis on page 4, here is the quote"
code → "under GDPR Art. 9(1) that is special category data;
Art. 9(2) requires a specific condition → high risk"
The model contributes facts. The rules contribute law. Neither does the other's job.
What this buys
The same inputs always produce the same verdict. The rule evaluation is deterministic. Given a set of findings and a ruleset version, the answer is fixed. Two runs cannot disagree.
Every verdict carries its citation. Not a citation the model generated — one attached to the rule that fired. When a verdict says a document is high risk under GDPR, it names Art. 9(1) and Art. 9(2) because those are literally the rules that matched.
A correction is cheap. This is the part that surprised us most. When a regulation pack is wrong — and packs are written by people, so some are — fixing it means editing a YAML file and recomputing verdicts from findings already stored. No document is re-read. No tokens are spent. A mistake in how we modelled Brazil's LGPD costs a SQL read per document to fix, not a re-scan of the entire corpus.
That last property is only available because the facts and the law are stored separately. If the verdict had been the model's opinion, correcting the law would mean asking again — and paying again, for every document, every time anyone's understanding improved.
One verdict is the wrong shape
The second thing that falls out of this split is that a single global answer stops making sense.
We started with a compliant/non-compliant flag, which is what everyone expects. It broke on California. Under §1798.140(ae), sensitive personal information triggers a consumer right to limit use under §1798.121 — which is neither compliant nor non-compliant. It is a third thing: an obligation you now have.
So verdicts are computed per regulation, and the same document can legitimately land in three different places:
| Regulation | Verdict | Rests on |
|---|---|---|
| EU GDPR | High risk | Art. 9(1), Art. 9(2) |
| California CPRA | Attention required | §1798.140(ae), §1798.121 |
| India DPDP | Low risk | s.2(t), s.4, s.6 |
That is not the system being indecisive. Those three answers are all correct, because the same fact carries different legal meaning in different jurisdictions. A product that collapses them into one number is discarding the information you actually needed.
Where it is honest about not knowing
Two places, both deliberate.
When no regime we model applies, the verdict is not_in_scope — and that is emphatically not the same as "no personal data". We found this the way you find most real bugs: by seeding actual documents. A file containing two email addresses came back with contains_personal_data: true, findings_count: 2, and a verdict of not_in_scope. Had we labelled that verdict "No personal data", the badge would have read exactly that, directly above a line saying "Items of personal data: 2".
The engine was right. Personal data was present; no modelled jurisdiction had been established for it. The label was the lie. So not_in_scope now renders as "Not in scope", with a sentence underneath that distinguishes the two cases.
The second is coverage. If a long document was only partly read — pages skipped, a window truncated — the assessment says so, next to the verdict. A confident "no health data found" on a 340-page document where the system silently read 100 pages is worse than no answer at all. It is the exact failure the feature exists to prevent, dressed up as a result.
The uncomfortable part
None of this makes the output legal advice, and we say so on every assessment. Compliance is a property of how data is processed across an organisation. A document alone cannot establish it. What this can do is find the personal data in a corpus, tell you which laws plausibly bite, and show its working — so that a qualified person spends their time judging rather than searching.
That is a smaller claim than "AI compliance". It has the advantage of being one we can actually keep.