Repository navigation
Open
Labels
area:frontendClient-side implementationClient-side implementationfeature:telemetryContent-free event measurement and verified ingestionContent-free event measurement and verified ingestionready-for-agentFully specified, ready for an AFK agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Milestone
Description
Parent
Spec #1929. Native parent: #1934.
What to build
When the Human enables notifications, the App reports whether permission and registration actually succeeded. If some paired Hosts are offline, denied or revoked, the measured result reflects partial/failed registration and its recovery. The same permission-result contract covers camera, microphone and speech at their existing user interactions without copying media or recognized words.
Acceptance criteria
- Reuse the accepted mobile telemetry owner from Mobile telemetry 1: opt in, pair a Host and observe first native chat activation #1935; no second SDK, identity, queue, settings switch or Host authority.
- Emit
mobile_permission_resultonly for an explicit permission interaction or an observed state change on resume. Distinguish granted, denied, unavailable and undetermined; repeated permission polls and temporary OS dialogs do not create extra events or App sessions. - Connect permission outcomes to existing notification, camera, microphone and speech flows. Do not request any extra OS permission just for analytics. Device capability absence, request denial and state change are distinguishable with bounded fields.
-
mobile_push_registration_resultfollows the real PushSession registration episode, not OS permission alone. Record success/partial/failed/unavailable, bounded reasons, bucketed failed-Host count and random attempt ID, never a Host ID or push token. - Re-registration after an offline Host becomes reachable is a new logical retry episode; network-route fallback within one attempt is not. Multiple callbacks/token refresh events cannot duplicate a terminal outcome for the same episode. Test unpair/revocation while a registration is pending.
- Result classification and display continue to use the existing PushSession behavior. Analytics failure never prevents registration, notification delivery, badge maintenance or unpairing.
- Extend the existing permission/PushSession tests through the injectable telemetry sink. Cover denial, unavailable native build, all/partial/no registrations, offline retry, token rotation, opt-out, restart and duplicated callbacks. Inspect serialized outbound records for tokens, addresses, names and arbitrary error text.
- Separately verify physical iOS and Android permissions and real Host registration through the shared QA queue. Demonstrate a real content-free test notification as product-path evidence; this does not create an analytics delivery denominator. Correlate tagged PostHog events with the native actions.
- Provide a focused permission/registration analysis definition split by platform/build/environment. Show OS-permission results and registration results separately, with partial registration explicit. Do not present permission granted as push delivery or use simulator callbacks as physical delivery evidence.
- Record automated, physical-device, PostHog and Human QA evidence separately; respect Mobile telemetry 1: opt in, pair a Host and observe first native chat activation #1935's consent/identity/queue rules in every state.
Blocked by
- Mobile telemetry 1: opt in, pair a Host and observe first native chat activation #1935 — shared telemetry contract and first-slice Human QA acceptance must be available. Green CI or merge alone does not satisfy the Human QA gate.
Not included
Notification click/routing/decision analytics belong to #1937. No changes to notification content, paired-device permissions, production receivers, Beta distribution or push infrastructure.
Metadata
Metadata
Assignees
Labels
area:frontendClient-side implementationClient-side implementationfeature:telemetryContent-free event measurement and verified ingestionContent-free event measurement and verified ingestionready-for-agentFully specified, ready for an AFK agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Activity