Data-subject requests
A privacy desk where disclosure and deletion cannot drift into two different answers.
The report and erasure share one selector; the audit records a fingerprint instead of recreating identity.
CI assertedExport and erasure are usually separate code paths, so a desk can disclose one set of data and delete another. An audit log that repeats the erased identity can then undo the very operation it records.
Disclosure and erasure run from one subject selector and must match count for count in every namespace. Unverified requesters are refused before a read, and irreversible action parks for a named DPO.
The job, the gate, and the learning path.
The plan is content-addressed. Each run becomes a journal. The person is an explicit node—not an optimistic note in the system prompt.
Production history changes the next run—after review.
Refused and malformed cases become evidence for safer intake recommendations while the irreversible erasure path remains deliberately untriggered and human-gated.
Assertions, not a happy-path demo.
The repository runs the keyless floor on every release. The exact fixtures and expected outcomes are committed beside the agent.
- 01
Report count equals erasure count namespace by namespace.
- 02
Unverified identity is refused before any protected data is read.
- 03
The audit names a fingerprint and the approver, never the erased person.
What you will learn by rebuilding it.
- How subject reports, portable bundles, and forget operations share scope.
- Why irreversible erasure should not begin from an unauthenticated trigger.
- How retention, consent withdrawal, replicas, and audit evidence fit one model.
no API key required$ git clone https://github.com/AreevAI/areev
$ cd areev/examples/agents/data-subject-requests
$ python/smoke.sh
$ python/improve.sh