Organizations operating AI systems in the EU face a structural tension between two competing obligations:
| GDPR Article 17: Right to Erasure | EU AI Act Article 12: Automatic Logging |
|---|---|
| Data subjects have the right to obtain erasure of personal data "without undue delay" when: consent is withdrawn, data is no longer necessary for its original purpose, the subject objects to processing, or the data was unlawfully processed. | High-risk AI systems must technically allow for "automatic recording of events (logs) over the lifetime of the system" to enable traceability of the AI system's functioning. |
SWT3 defines four clearing levels. Each level strips progressively more metadata while preserving the cryptographic fingerprint. The fingerprint formula never changes regardless of clearing level.
| Clearing Level | What Survives | What Is Purged | Art. 17 Posture |
|---|---|---|---|
| Level 0: Analytics | Full AI context: prompt text, response text, model name, provider, all metadata | Nothing purged | Does not satisfy Art. 17. Raw personal data is retained in the ledger. |
| Level 1: Standard | Model ID, provider name, prompt/response hashes, ai_context metadata | Raw prompt and response text | Partial. Prompt/response text is purged, but model and provider metadata may constitute personal data in some interpretations. |
| Level 2: Sensitive | Hashed model ID, numeric factors, fingerprint, CJT fields | Raw model name, provider name, all ai_context | Strong. All identifiable AI context is stripped. Only hashes and numeric verdicts remain. |
| Level 3: Classified | Numeric factors only (factor_a, factor_b, factor_c), fingerprint, CJT fields | All AI context, model ID is hashed, provider stripped | Full erasure. An auditor receives only a numeric pass/fail verdict with zero sensitive metadata. The fingerprint remains independently verifiable. |
When a data subject exercises their right to erasure under Article 17, SWT3 handles it as a first-class protocol event through AI-REV.1 (Anchor Revocation).
| Code | Reason | GDPR Mapping |
|---|---|---|
| 0 | unspecified | General revocation |
| 1 | model_recall | Not GDPR-specific |
| 2 | policy_violation | Art. 17(1)(d): unlawful processing |
| 3 | data_contamination | Art. 17(1)(d): unlawful processing |
| 4 | consent_withdrawal | Art. 17(1)(b): data subject withdraws consent |
| 5 | regulatory_order | Art. 17(1)(e): legal obligation to erase |
| 6 | error_correction | Art. 16: right to rectification |
When a consent withdrawal request is received:
witness.revoke(fingerprint, "consent_withdrawal"). This mints a new anchor with reason code 4 that references the original fingerprint.Organizations using traditional attestation or logging tools face a structural dilemma when handling erasure requests:
| Approach | Art. 17 Compliance | Art. 12 Compliance | Outcome |
|---|---|---|---|
| Delete everything (raw data + logs + hashes) | Satisfied | Broken. No audit trail remains. | Compliant with privacy law, non-compliant with AI logging law. |
| Retain everything (keep full logs for audit) | Violated. Personal data persists. | Satisfied | Compliant with AI logging law, non-compliant with privacy law. |
| Hash-then-delete (hash the payload, delete raw data) | Partial. Hash may constitute personal data under some DPA interpretations if it can be re-linked. | Partial. Hash proves something existed but cannot be independently verified without the original data. | Uncertain legal standing. Depends on DPA interpretation. |
| SWT3 Clearing Level 3 + AI-REV.1 | Satisfied. All personal data purged. Only numeric factors and fingerprint remain. Cannot be re-linked to the data subject. | Satisfied. Fingerprint is independently verifiable from the numeric factors alone. Full audit trail preserved. | Both obligations satisfied simultaneously. |
Article 17(3) defines exceptions where the right to erasure does not apply. SWT3's design aligns with two of these exceptions:
| Exception | GDPR Text (Summarized) | SWT3 Relevance |
|---|---|---|
| Art. 17(3)(b) | Compliance with a legal obligation requiring processing | EU AI Act Art. 12 requires automatic logging. SWT3's cleared anchors satisfy this obligation without retaining personal data, potentially eliminating the need to invoke this exception at all. |
| Art. 17(3)(d) | Archiving purposes in the public interest, scientific or historical research, or statistical purposes | SWT3 anchors at Clearing Level 3 are statistical in nature (numeric factors only). They can be retained for research and trend analysis without privacy risk. |
Data Protection Officers should verify the following when deploying SWT3 in GDPR-regulated environments:
witness.revoke() with reason code 4 (consent_withdrawal) for all affected anchors.jurisdiction, legal_basis, and purpose_class are set correctly in the SDK configuration. These fields survive all clearing levels and provide regulatory context to auditors.| Document | Relevance |
|---|---|
| FRIA + DPIA Integration Guide | Evidence mapping for Art. 27 (FRIA) and Art. 35 (DPIA). Complements this document's Art. 17 focus. |
| SWT3 Deployer Responsibility Matrix | Defines which obligations are the deployer's responsibility vs. witnessed by SWT3. |
| SWT3 Protocol Threat Model | T-9 (Clearing Level Downgrade) is directly relevant to GDPR compliance risk. |
| SWT3 Protocol Specification v1.3.0, Section 9.3 | Canonical clearing level definitions and AI-specific clearing rules. |