The problem
Legal rules are highly specific: “A German fine notice (Bußgeldbescheid) without a calibration certificate is not a red flag” — sentences like these do NOT belong in a generic system prompt that applies to every document and every country.
Our solution
For each document type, language and country we maintain a dedicated rulebook (a “playbook”). It sets out:
- What should NOT be flagged as a risk (see the example above).
- Concrete recommended actions depending on the situation.
- Additional guidance for the AI that applies only in this context.
At runtime, the final prompt is assembled from this. Both the in-depth analysis and the public quick check draw on the same rulebook — a single source of truth.
The benefit
We can add new countries or document types without touching the generic prompts — and without causing regressions in the other jurisdictions.




