What happened
A customer writes: delete my account. The AI already built a "Delete account" button, and it does something. Maybe it deletes the row and leaves orphaned bookings. Maybe it deletes everything, including invoices you may be required to keep. And maybe it only marks "deleted", and the name keeps appearing on a screen someone forgot to filter.
One question decides it: can this be undone? Hiding is a pipe: you can always move from it to deletion. Full deletion is a wall: once it's deleted, there's no way back, and everything that depended on it breaks silently. And because it goes into the data structure, you decide before the first user, not when the request arrives.
The decision. Two answers, two prices.
Hide, and delete what identifies
The account is closed. Name, phone and email are deleted. Bookings and invoices remain, without anyone who identifies them.
The price. Decide field by field what identifies a person, and build it up front. Meanwhile, every screen has to remember that a closed account isn't shown. In return: both privacy and correct reports. And you can always go all the way.
Delete everything
Everything that points to the customer disappears from the system.
The price. Also bookings and invoices you may be required to keep, and reports that suddenly don't add up. There's no way back. In return: nothing to leak. The cleanest option for privacy.
There's no right way here. There's a price, and someone has to choose it before the first customer asks.
What the decision leads to
One decision, four places. This is what changes in each of them, whichever answer is chosen.
The data structureWhat identifies a person and what doesn't, and where each one sits. Decided before there are users, because afterwards it's a migration.
Every screen and every reportA closed account doesn't appear in lists, search or emails. One filter on the server, not on every screen separately.
What has to be retainedInvoices and records the law requires you to keep. That's a question for an accountant, not for the AI.
BackupsWhat's deleted from the system still sits in a backup. For how long, and who can restore from it.
What was proven, and what not yet
This is how you know it holds:
A closed account doesn't appear on any screen, search or email
In reports, totals stay correct after a deletion too
Whatever was decided as identifying really isn't in the database anymore
Without the decision, this is what hasn't been proven yet. With the decision, this is the handover verification list.
Who decides
Deletion is a business decision that looks like a button. It belongs to the business owner, with whoever builds, and sometimes with the accountant too. You can always delete later. You can't undo a deletion.