amber-backend/docs
Claude 418f566603 Add client_logs collection for background device diagnostics (feedback 2 §4)
The family runs Amber on hardware I can't debug directly, so the app batches
a low-volume diagnostic stream here: uncaught errors, player error codes,
per-session playback summaries, and the audio-delay a user dials in to fix
desync (the "a track falls behind" signal).

- Migration 1788000000_client_logs.js: owner-create-only, superuser-read-only
  (list/view/update/delete = null); fields kind/event/message/meta/appVersion/
  platform/device/ts + created.
- client_logs.pb.js: nightly cron trims rows older than 14 days.
- docs/telemetry-contract.md: event catalogue, how I query it, and the
  privacy/redaction guarantees (host-only, never a token or full URL).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 11:49:04 +02:00
..
auto-update-contract.md Fix auto-update file gating: mark releases.file protected (#16) 2026-07-20 11:48:07 +02:00
device-auth-contract.md device approve page: manual code-entry for the QR-less path (#55) 2026-07-20 11:06:51 +02:00
onboarding-contract.md Family onboarding site: invite-gated signup, template config, /get/tv 2026-07-22 18:23:05 +02:00
telemetry-contract.md Add client_logs collection for background device diagnostics (feedback 2 §4) 2026-07-23 11:49:04 +02:00