A superhero's girlfriend discovers their secret identity and the memory management system must selectively erase specific relationship data. The memory wipe algorithm needs to preserve good memories while removing secret identity knowledge. Partial memory deletion keeps causing glitches where she remembers weird fragments. Implement selective memory deletion while maintaining relationship coherence and preventing identity exposure. Handle contaminated memories that contain both precious moments and dangerous information. Your task: Design a memory wipe protocol that respects GDPR while erasing your superhero's entire dating history.
Why You're Doing This
This tests selective data manipulation, dependency tracking, and maintaining data integrity while removing specific elements. You're building a system that can surgically modify interconnected data without corrupting the remaining structure—essential for data anonymization and selective deletion systems.
Take the W
✓ Preserves relationship memories while removing identity data
✓ Handles partial contamination through selective editing
✓ Maintains emotional coherence of remaining memories
Hard L
✗ Removes all memories indiscriminately
✗ Leaves obvious identity clues in edited memories
✗ Creates impossible or contradictory memory sequences
Edge Cases
⚠ Memories where identity and romance are inseparable
⚠ Cascading contamination from edited memories
⚠ Memory sequences that only make sense with identity knowledge
⚠ Attempts to restore deleted memories
Input Format:
Memory database with contamination levels and identity risk assessment
Expected Output:
Sanitized memories with preservation report and side effect monitoring