Skip to content
Reality Graph

Compliance

GDPR and AI Coding

Last updated: 2026-07-163 min read

Assess GDPR for AI coding by mapping the actual configured data flow across prompts, repository context, logs, telemetry and outputs. Then assign factual purposes, means, instructions and recipients before assessing legal duties. A local label, business plan or DPA is one fact-not a compliance verdict.

tests greendiff readauth.py geändertapprovalblockedgreen tests do not clear this
Contents

Map four flows independently

Prompts, repository context, pasted logs and telemetry can have different purposes, recipients and retention. A cloud prompt may be processed on behalf of a controller while provider telemetry is assessed separately. A hosted repository index may add a subprocessor chain even when model inference is described as local. Verify configuration and network behaviour rather than inferring the answer from marketing terms.

Four data flows, four assessment paths

Assessment follows the observed configuration; product marketing or a “local” label does not replace this map.
PromptRepository contextLogs/debug dataTelemetry/updates
ObserveWhich data actually crosses which boundary?Text, snippets, tickets or logs; destination and storage per configurationEditorial control mapping · 2026-07-16Operational assessment point, not a legally prescribed record format.Read paths, index/embedding, upload or remote retrievalEditorial control mapping · 2026-07-16Operational assessment point, not a legally prescribed record format.Production data, IDs, timestamps and destination of paste/uploadEditorial control mapping · 2026-07-16Operational assessment point, not a legally prescribed record format.Metadata, diagnostics, IP/account ID, endpoints and opt-out effectEditorial control mapping · 2026-07-16Operational assessment point, not a legally prescribed record format.
Role questionWho determines purposes/means; who acts on instructions?Assess client/employer, contractor and provider by purposes, means and instructionsEDPB Guidelines 07/2020 - controller and processor concepts (final, 2021) · 2026-07-16Functional mapping; concrete contract and factual assessment remains necessary.Controller/processor mapping plus possible indexing subprocessorsEDPB Guidelines 07/2020 - controller and processor concepts (final, 2021) · 2026-07-16Functional mapping; concrete contract and factual assessment remains necessary.Determine purpose and recipients of the concrete debugging flowEDPB Guidelines 07/2020 - controller and processor concepts (final, 2021) · 2026-07-16Functional mapping; concrete contract and factual assessment remains necessary.Assess provider purposes and further recipients separatelyEDPB Guidelines 07/2020 - controller and processor concepts (final, 2021) · 2026-07-16Functional mapping; concrete contract and factual assessment remains necessary.
Operational controlWhich technical or organisational limit is reviewable?Minimise, redact, bound context and document permitted useGDPR - Regulation (EU) 2016/679 · 2026-07-16Editorial implementation of Articles 5, 25 and 32 principles.Allow/deny lists, separate test data, remove secrets and personal-data fixturesGDPR - Regulation (EU) 2016/679 · 2026-07-16Editorial implementation of Articles 5, 25 and 32 principles.Synthetic data, redaction, access control and short retentionGDPR - Regulation (EU) 2016/679 · 2026-07-16Editorial implementation of Articles 5, 25 and 32 principles.Network observation, configuration control, compare contract/privacy noticeGDPR - Regulation (EU) 2016/679 · 2026-07-16Editorial implementation of Articles 5, 25 and 32 principles.
RecordWhich record supports the later assessment?Configuration, policy and sample without unnecessary content copyEditorial control mapping · 2026-07-16Operational assessment point, not a legally prescribed record format.Scope configuration, data-flow diagram, deletion/retention ruleEditorial control mapping · 2026-07-16Operational assessment point, not a legally prescribed record format.Incident/debug ticket with data category and approvalEditorial control mapping · 2026-07-16Operational assessment point, not a legally prescribed record format.Versioned configuration and observed endpointsEditorial control mapping · 2026-07-16Operational assessment point, not a legally prescribed record format.
Assessment follows the observed configuration; product marketing or a “local” label does not replace this map.

Move from observation to accountable assessment

  1. Inventory the operation. Record data categories, purpose, source, destination, recipient, storage and deletion for one configuration.
  2. Map factual roles. Apply Articles 4, 24 and 28 plus EDPB role guidance; do not assign roles from labels alone.
  3. Identify applicable duties. Assess legal basis, transparency, rights, processor terms, records, DPIA, security and transfers as the facts require.
  4. Select and test controls. Minimise context, separate real data from fixtures, configure access and retention, and observe whether network behaviour matches the design.
  5. Retain the decision boundary. Record assumptions, source date, unresolved facts, accountable approver and review date.

Local processing is a control, not a verdict

Processing that is verified to remain inside a controlled environment may remove one provider flow or international transfer from the design. It does not remove controller responsibility, purpose limitation, minimisation, security, retention or data-subject rights. Check telemetry, updates, hosted indexes and fallback services separately. The local review guide explains technical boundaries; legal role and duty assessment remains fact-specific.

Reality Graph is designed for local-first verification records, but that design does not establish GDPR compliance. Its written account of which data the product itself sends, and where to is one input to the same assessment, next to its configuration and the flows you observe, and a DPO or legal owner stays accountable for the conclusion.

This orientation provides

  • Primary source and as-of date
  • Functional role questions
  • Four configuration-specific data-flow assessment paths
  • Separation of legal anchor and operational control

It does not provide

  • Legal advice or a compliance verdict
  • Blanket roles for client, employer, freelancer or provider
  • Provider or plan approval
  • Compliance from local processing alone
Observe the flow, map factual roles, assess the duty, evidence the control.

FAQ

How should a team assess GDPR questions for an AI coding tool?
Start with the configured processing operation, not the product category. Observe personal-data categories, sources, destinations, recipients, storage and deletion across prompts, repository context, logs, telemetry and outputs. Then assess purposes, means and instructions to identify factual roles before applying Article 28, Chapter V or other duties.
Is source code personal data?
Not categorically. A repository or tool context can contain names, email addresses, identifiers, tickets, commit metadata, production logs or realistic fixtures relating to people. Classification is data- and context-specific; inspect the actual material exposed to the configured tool.
Is the client or employer always the controller?
No blanket role follows from that label. Under GDPR definitions and EDPB guidance, roles are functional: who determines purposes and essential means, and who processes on whose instructions. A contractor, provider or other participant may have different or additional roles for separate operations.
Is the tool provider always a processor?
No. A provider may act on instructions for one operation, determine its own purposes for another, and use subprocessors. Contracts are relevant, but the factual operation and influence over purposes and means must be assessed.
Does local processing solve GDPR compliance?
No. A verified local-only configuration can reduce or remove a particular external transfer, but local processing still needs a legal basis, minimisation, access control, security, retention and accountability where GDPR applies. Telemetry, updates, remote models or hosted indexes may also create separate flows.
Which records support the assessment?
Keep a versioned data-flow map, tool and network configuration, permitted-use policy, processor/subprocessor and transfer assessment where applicable, retention/deletion rule, and the records required for the concrete operation. Article 30 or a DPIA may apply depending on facts; neither is automatically required by the mere use of an AI coding tool.

Keep reading

Sources

Want to see what your last agent run would have looked like?

Request access