com-example-compliance-GdprService · git:20260820.1cddfe2 · 2026-08-20 · sha256 cb276b1d8a09e69c
com-example-compliance-GdprService git:20260820.1cddfe2A
Immutable. This exact content never changes and is served at /api/v1/blob/cb276b1d8a09e69c.
--- 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 -->