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

2.0 KiB

id title status assignee created_date updated_date labels dependencies priority
task-032 Privacy Gradient Trust Circle System To Do
2025-12-04 21:12 2025-12-05 01:42
feature
privacy
social
task-029
medium

Description

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.

Acceptance Criteria

  • #1 Trust circle configuration UI
  • #2 Per-contact precision settings
  • #3 Group-based trust levels
  • #4 Precision degradation over time working
  • #5 Visual representation of trust circles on map
  • #6 Consent management interface
  • #7 Integration points with zkGPS task
  • #8 Privacy-by-default enforced

Implementation Notes

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