Priority: P1
Parent: #34
Context
Once the service accepts external users (self-signup is now configurable per allow_self_signup), the project inherits basic privacy obligations: give users a way to see, export, and delete their data, and state how long data is kept.
Requirements
Policy (docs/privacy.md)
Export
Deletion
Retention
Acceptance criteria
privacy.md published
- Export + delete flows tested on a test Cognito user end-to-end
- Retention lifecycle rules applied in both envs
References
Priority: P1
Parent: #34
Context
Once the service accepts external users (self-signup is now configurable per
allow_self_signup), the project inherits basic privacy obligations: give users a way to see, export, and delete their data, and state how long data is kept.Requirements
Policy (
docs/privacy.md)Export
GET /me/export— returns a signed S3 URL to a JSON bundle of the user's nodes, edges, audit records (excluding embeddings unless requested)Deletion
DELETE /me— soft-delete user: remove Cognito account, tombstone their nodes (owner cleared), schedule a hard-delete Lambda to remove S3 bodies and DDB items within 30 daysRetention
Acceptance criteria
privacy.mdpublishedReferences