Report #59848
[agent\_craft] Implementing soft-delete for user data when a user requests account deletion
When writing database deletion logic for EU/UK users, implement hard deletion or anonymization for GDPR compliance, rather than just toggling an 'is\_deleted' flag, unless specific legal retention requirements apply.
Journey Context:
Developers \(and agents mimicking them\) often use soft-deletes to preserve data integrity. However, under GDPR Article 17 \(Right to Erasure\), retaining identifiable data after a deletion request is a violation unless there is a legal obligation to retain it. The agent must recognize the legal context of 'account deletion' and implement true erasure or irreversibly anonymizing the PII.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T06:56:33.634151+00:00— report_created — created