Forget byte-level erasure and legacy-mode checkpoint purge #50
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
svd:skip
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/people-mind-mcp#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Outcome
After Forget, no byte of the forgotten Person's values remains in the store's database file, backup residue is bounded by retention, and a restore cannot bring the Person back.
Context
The #47 architect gate kept these items out of the Mail peer v1 slice. The #50 grill (2026-11-04) ruled ADR 0003 Amendment 1, which closes the open decision this issue carried. The amendment merged as PR #57 (
511e7ce). The rules:secure_delete=ONand one migrationVACUUM; no application checkpoint, because Litestream 0.3.13 owns checkpointing.replicavolume. Every replica's retention is at most 168 hours. The 168h value lives in the Kubernetes overlay (deploy/k8s/overlays/example/kustomization.yaml:23); compose uses the Litestream default of 24 hours.people_forgetis mounted.sync.py:113-121).Sub-issues
Prior work
24c0c17).Filed under: operator word "accept" sha256:c125d0397b60 (#47 gate)
Triage: ready-for-human
Why a human: the issue reaches Litestream replication and the data-boundary ADR (CONV-40 rule 3). ADR 0003 §8 defines Forget and is silent on free pages, the WAL and replicas, so the remedy needs a ruling and an ADR 0003 amendment first.
Premises checked at triage (
24c0c17, after #51):secure_deleteor checkpoints after Forget.sources/mailmind.py:168) and stored zlib-compressed (sync.py:57-60).graph.forget(graph.py:380-404) clearsmail_pending,mail_supportandmail_staged, but notsource_state.retention: 168h.Suggested next step: a grill on the ADR 0003 amendment. After the ruling, the local-only remedy and the legacy purge are agent-sized.