← BFSI series
BFSI · REGULATORY DATA ENGINEERINGFIRST DRAFT · 29 OCTOBER 2026

Lineage for GDPR and the EU AI Act: Connecting Data to Purpose

Practical data engineering for banking, financial services and insurance.

Editorial image for Lineage for GDPR and the EU AI Act: Connecting Data to Purpose
AI-generated editorial photograph for this topic; illustrative, not a product or client screenshot.
First draft for review

Proposed design and demonstration. Not executed; no client results or compliance assurance claimed.

The engineering problem

A technical map can show where a personal-data field moved. A privacy or AI governance reviewer also needs to understand why it moved, who used it and which system purpose justified that use. Lineage becomes more useful when linked to a purpose register.

Design the data contract

Map a fictional customer-support dataset from collection through transformation, retrieval and application use. Record the responsible roles, data categories, recipients and retention decisions in the appropriate governance records. GDPR Article 30 concerns records of processing activities; technical lineage can support those records but is not the same thing.

The EU AI Act uses a risk-based framework. Do not assume every banking assistant is subject to the same obligations or deadlines. Determine the system purpose, organisational role and applicable requirements with the responsible governance team, and check current official guidance before publishing a dated implementation schedule.

Proposed architecture

Proposed architecture: Personal-data categories; Purpose + processing records; Authorised use + lifecycle rules; Governed AI application; Retention + evidence review
Proposed architecture with component roles, contract fields, control boundaries and operational evidence. Not a tested deployment.

Proposed demonstration

  1. Create fictional records with a defined collection purpose.
  2. Map permitted transformations and downstream uses.
  3. Attempt an out-of-purpose retrieval using a restricted test role.
  4. Compare the technical map with the processing record and retention behaviour.

Use fictional records in a disposable environment. Record the source version, configuration, expected outputs and any limitations before executing the exercise.

What to measure

  • Mapped uses with documented purpose
  • Unexplained downstream copies
  • Access and retention test failures

Keep failures in the results and compare repeated runs against a defined baseline. This first draft contains no executed benchmark or production result.

Evidence to keep

Keep the purpose decision and technical evidence linked. This article illustrates an engineering pattern and does not replace a jurisdiction-specific assessment.

The next step is a reproducible implementation, sanitised screenshots and a measured validation record. Any regulatory applicability must be assessed for the institution, activity and jurisdiction; EU frameworks do not automatically apply to every New Zealand bank or insurer.

Worked example and design decisions

A contact record collected for service updates is copied into a prototype assistant index. The technical copy may be easy to trace, but the team still needs a documented purpose and an assessment of whether that new use and audience are permitted.

Use this scenario to write the expected result before building the pipeline or agent. Identify the exact source facts, the permitted transformations and the outcome that a reviewer should see. Keep the reference result independent of the implementation under test.

A concrete data or asset contract

The following is a proposed application contract, not an assertion that these are native vendor API fields. Adapt names and types to the selected platform while preserving their intended meaning.

Proposed fieldMeaning and implementation concern
processing_activityDefined use of the data
data_categoryCategory, not unnecessary raw values
system_roleResponsible organisational role
recipient_classPermitted downstream recipients
retention_rulePurpose-linked retention decision
technical_flow_refSupporting lineage reference

Document null semantics, stable identifiers and schema ownership with the contract. A missing observation, a zero amount and a denied lookup are different states and should not collapse into the same empty response.

Implementation blueprint

1. Define purpose and roles

Identify the actual system use, who operates it and who receives its outputs. Avoid classifying a system only from the fact that it uses an LLM.

2. Link governance records to technical paths

Use stable references from processing records to systems, datasets and transformations. Technical lineage supports review but does not supply every legal fact in the record.

3. Test permissions and retention

Exercise restricted retrieval and removal workflows using synthetic identities. Check derived stores and indexes as well as primary tables.

4. Review changes in use

A new model, audience or automated action can change the assessment. Revisit the applicable requirements with the responsible governance team.

Failure analysis: test the uncomfortable case

A primary table is removed while a derived index still serves the record. Include secondary copies, cached contexts and retained evidence in the scoped lifecycle design.

Build this condition into the synthetic test set. Capture the observed output, the control that should detect the issue and the recovery decision. If the system returns a polished but unsupported result, record that as a failure rather than a successful request.

Operational ownership and runbook

Keep a change register for purposes and recipients. Use current official guidance for applicability and dates; this engineering design should not be read as a complete GDPR or AI Act assessment.

A useful incident record identifies the affected product or capability, the relevant run or request, the business time represented and the owner of the next action. Distinguish restoring infrastructure from restoring correct service output. Preserve enough versioned evidence to explain the recovered state.

Evidence required before a production claim

The core design controls for this topic are: Purpose records; role and recipient mapping; technical flow references; retention tests; and scoped legal review.

  1. Contract review: confirm field meaning, intended use, owner and access boundaries.
  2. Positive and negative tests: include the worked example, invalid inputs, restricted access and the failure case described above.
  3. Repeatable measurements: retain configuration, workload size, timing method, failures and the baseline used for comparison.
  4. Recovery evidence: demonstrate the documented recovery route and validate the resulting data or application behaviour.

This expanded article remains a proposed technical design. Environment-specific configuration, screenshots and measured outcomes should be added only after the implementation is executed and reviewed.

References and scope

References checked 29 October 2026. Sources provide context; the architecture and exercise are proposed editorial examples, not vendor-certified implementations.

CONTINUE THE BFSI SERIESReal-Time Pipelines for Fraud, Credit Risk and Reporting →