Retention and Deletion
In this article
- List every store that holds a customer's data in an agent system, from the database to the backups.
- Decide for each store whether to delete, propagate the deletion by lineage id, or keep the data as a documented exception.
- Explain why a token, a search chunk or a trace can still hold a customer after the main record is gone.
- Name the evidence that proves each decision.
- Terms defined here: retention policy, propagated deletion, legal hold.
Overview
A customer writes to your support team: "Delete everything you have about me." In a plain web app you remove a row from the users table and reply. With an agent in the loop, that row may have been copied long ago into pieces of text kept for search, cached answers, logs of each model call, the agent's memory and a test case.
Take a made-up online shop. Its support agent issued a 250.00 EUR refund on order O-1077 for customer c-77; c-77 disputes the refund and now asks for erasure. You will list the eight places c-77's data sits, give each one a decision (delete, propagate or documented exception) and name the evidence that proves it.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Copies everywhere
- Following the copies
- The eight stores of c-77
- Exceptions that keep data
- The erasure workflow
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions