2395a6e566
- detect.py: truncate started_at to seconds so dedup key survives JSON round-trip - store.py: dedup by (activity_id, iso-started_at) string key, not object equality - server.py: extract _scan_segment_for_user helper; trigger background scan for the creating user's activities when a new segment is saved