slm forget "query" --dry-run
slm delete <fact_id> --yes
slm gdpr export --profile <name> --output export.json
slm gdpr erase --profile <name> --dry-run
Erasing a profile does not stop at memory.db. SLM checks the data folder after the erasure and removes the profile from the relational rows, the full-text index including free pages, the vector index and its history, the graph store's entity nodes, queued saves in pending.db, the encrypted request journal, the recall queue, the MCP cache, the reversible originals kept by compression, write receipts, and an erased picture's stored original and backup mirror.
The result reports what happened. slm gdpr erase --json returns success: false for an incomplete erasure and lists what was removed and what remains, with the step that retries it. The stored receipt is written after every step, so it cannot read COMPLETE over a failed sweep.
Backups are the one place an erasure cannot rewrite, because an edited copy would stop matching its checksums and could not be restored. Each backup that holds the profile is recorded as an erasure obligation. The obligation is replayed on every restore and ends only when the backup is deleted or re-read and found clean, never by age. A backup SLM cannot read counts as an obligation too. Files you exported, cloud backups already uploaded and another computer's data folder are yours to remove.
The full export is plain JSON. It covers every table in memory.db with a profile column, the profile record, the code graph, a media section of records without picture bytes, learning signals, the audit chain entries about you and pending saves. Embeddings are left out unless you pass --include-embeddings. The file describes its own omissions under export_manifest, and on failure the CLI writes no file.
The doc's own framing applies here: these are controls that can support a compliance program. It does not provide a BAA, a DPA or a certification. Profiles are a recall boundary inside one install, not a substitute for operating-system accounts or a multi-tenant authorization service.