Skip to content
Governed learning loop Context Graph Processing Graph Governed corpus How To? 10 reference agents Proof Documentation GitHub Open source Get started
10 / Privacy operations

Data-subject requests

A privacy desk where disclosure and deletion cannot drift into two different answers.

What this example teachesProvable disclosure and erasure

The report and erasure share one selector; the audit records a fingerprint instead of recreating identity.

Reference agent / keylessCI asserted
Before

Export 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.

With Areev

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 processing graph

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.

01 Subject request Access, portability, or erasure
02 Verify identity Refuse before reading when unresolved
03 Build one selection The same selector powers report and erasure
04 DPO gate Named approval with written reason
05 Disclose or erase Counts must match per namespace
06 Audit safely Record a fingerprint, never restored identity
Where it becomes adaptive

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.

History→Evidence→Proposal→Person→Next run↺
What the example proves

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.

  1. 01

    Report count equals erasure count namespace by namespace.

  2. 02

    Unverified identity is refused before any protected data is read.

  3. 03

    The audit names a fingerprint and the approver, never the erased person.

Use it as a pattern

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.
Run the two actsno API key required
$ git clone https://github.com/AreevAI/areev
$ cd areev/examples/agents/data-subject-requests
$ python/smoke.sh
$ python/improve.sh
committed fixtures deterministic floor human gates asserted
Read the complete README