com-example-compliance-GdprService · git:20260914.8205252 · 2026-09-14 · sha256 65bfff6cea7cde33

com-example-compliance-GdprService git:20260914.8205252A

Immutable. This exact content never changes and is served at /api/v1/blob/65bfff6cea7cde33.

---
description: "AI rules for com.example.compliance.GdprService"
globs: **/GdprService.java
alwaysApply: false
---

<!-- VIBETAGS-START -->
# Rules for GdprService

## Regulatory Compliance
- **Standard**: GDPR

### Rules for class GdprService
- **Clause**: Art. 17
- **Description**: Right to erasure — when invoked, deletes ALL PII for the given user across every connected store.

### Rules for method exportUserData
- **Clause**: Art. 20
- **Description**: Right to data portability — exports the user's data in a machine-readable format.

### Rules for method deleteAllUserData
- **Rule**: This operation is idempotent. Calling it multiple times must produce the same result as calling it once.
- **Reason**: Deleting a user's data multiple times must produce the same result as deleting once — must not throw on second invocation.
<!-- VIBETAGS-END -->