canvas-website/backlog/tasks/task-032 - Privacy-Gradient...

70 lines
2.0 KiB
Markdown

---
id: task-032
title: Privacy Gradient Trust Circle System
status: To Do
assignee: []
created_date: '2025-12-04 21:12'
updated_date: '2025-12-05 01:42'
labels:
- feature
- privacy
- social
dependencies:
- task-029
priority: medium
---
## Description
<!-- SECTION:DESCRIPTION:BEGIN -->
Implement a non-binary privacy system where location and presence information is shared at different precision levels based on trust circles.
Trust circle levels (configurable):
- Intimate: Exact coordinates, real-time updates
- Close: Street/block level precision
- Friends: Neighborhood/district level
- Network: City/region only
- Public: Just "online" status or timezone
Features:
- Per-contact trust level configuration
- Group trust levels (share more with "coworkers" group)
- Automatic precision degradation over time
- Selective disclosure controls per-session
- Trust level visualization on map (concentric circles of precision)
- Integration with zkGPS for cryptographic enforcement
- Consent management and audit logs
The system should default to maximum privacy and require explicit opt-in to share more precise information.
<!-- SECTION:DESCRIPTION:END -->
## Acceptance Criteria
<!-- AC:BEGIN -->
- [ ] #1 Trust circle configuration UI
- [ ] #2 Per-contact precision settings
- [x] #3 Group-based trust levels
- [x] #4 Precision degradation over time working
- [ ] #5 Visual representation of trust circles on map
- [ ] #6 Consent management interface
- [x] #7 Integration points with zkGPS task
- [x] #8 Privacy-by-default enforced
<!-- AC:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
**TypeScript foundation completed in task-029:**
- TrustCircleManager class (src/open-mapping/privacy/trustCircles.ts)
- 5 trust levels with precision mapping
- Per-contact trust configuration
- Group trust levels
- Precision degradation over time
- Integration with zkGPS commitments
**Still needs UI components:**
- Trust circle configuration panel
- Contact management interface
- Visual concentric circles on map
- Consent management dialog
<!-- SECTION:NOTES:END -->