🔒 Privacy and Data Handling Implementation
Overview
Ensure recovery data is handled with maximum security, transparency, and user control.
Goals
- Clear disclosure of what data is used
- No recovery details in AI provider logs
- User can export/delete all data
- Separate from analytics/telemetry
- Volvox-managed infrastructure
Data Classification
| Data Type |
Sensitivity |
Storage |
Retention |
| Conversation content |
HIGH |
Encrypted, user-only |
User-controlled |
| Learned patterns |
HIGH |
Encrypted, anonymized |
User-controlled |
| Check-in times |
MEDIUM |
Encrypted |
90 days default |
| Trigger logs |
HIGH |
Local-first, encrypted |
User-controlled |
| Tool usage |
LOW |
Anonymized |
1 year |
| Message interactions |
LOW |
Anonymized |
1 year |
Technical Measures
Encryption
- At rest: AES-256 for all stored data
- In transit: TLS 1.3 for all API calls
- Key management: Hardware security modules (HSM)
Anonymization
- User IDs hashed (SHA-256 + salt)
- No PII in AI provider logs
- Recovery details never leave device unencrypted
Data Minimization
- Collect only what's needed
- Automatic deletion after retention period
- User can set shorter retention
User Controls
Privacy Settings
Data Export
- JSON format, human-readable
- Includes: conversations, patterns, preferences
- Delivered via secure email link
- Link expires in 24 hours
Data Deletion
- Immediate deletion (soft delete + purge)
- Confirmation required (type "DELETE")
- 7-day grace period (can undo)
- Permanent purge after 7 days
AI Provider Privacy
OpenAI/Anthropic Integration
- Use zero-retention endpoints where available
- No training on user data
- Anonymized request IDs
- Audit logging (internal only)
mem0 Integration (#423)
- Encrypted memory storage
- User owns their memory
- Cross-user isolation
- Geographic data residency
Compliance
GDPR (EU Users)
- Right to access (export)
- Right to deletion (forget me)
- Right to portability (JSON export)
- Data processing agreement
CCPA (California Users)
- Disclosure of data collection
- Right to deletion
- Right to opt-out (of analytics)
HIPAA Considerations
- Not a covered entity
- Voluntary best practices
- Encourage clinical integration
Implementation Tasks
Acceptance Criteria
Related
Part of Sobers v2
🔒 Privacy and Data Handling Implementation
Overview
Ensure recovery data is handled with maximum security, transparency, and user control.
Goals
Data Classification
Technical Measures
Encryption
Anonymization
Data Minimization
User Controls
Privacy Settings
Data Export
Data Deletion
AI Provider Privacy
OpenAI/Anthropic Integration
mem0 Integration (#423)
Compliance
GDPR (EU Users)
CCPA (California Users)
HIPAA Considerations
Implementation Tasks
Acceptance Criteria
Related
Part of Sobers v2