Step-by-step answer
Core 75–90 min8 stepsBuild a scoped memory store with provenance-based deletion
A SQLite memory store where a Scope can only come from the session factory and every read takes one, so no code path can search without a matter. Erasure walks derived_from edges from a subject's records and returns a report of what was deleted, retained with a legal reason, rebuilt, and held elsewhere; a per-kind retention sweep lists what is due on a date.
Back to the exercise