Before submitting#
Area#
apps/mobile
Steps to reproduce#
- Sign into T3 Connect in the Android app.
- Start with Ongoing Agent Activity enabled.
- Add a direct connection to a T3 server using a normal pairing link.
- Open Settings → Notifications.
- Turn off Ongoing Agent Activity.
- Wait for the operation to finish.
Expected behavior#
Ongoing Agent Activity stays off for this device.
Changing this phone's activity preference should not link saved environments to T3 Connect or require permission to administer those environments.
Actual behavior#
The switch becomes temporarily disabled, then returns to on without an error dialog.
Changing the preference also attempts to link saved directly paired environments to T3 Connect. The host rejects POST /api/connect/link-proof with HTTP 403 because normal pairing does not grant relay:write. That failure rolls back the device preference.
Both toggle directions use this linking flow. The failure was reproduced on Android; iOS uses the same code path but has not been verified on a physical device.
Impact#
Minor bug or occasional failure
Version or commit#
Android 1.3.0 (likely also iOS)
Logs or stack traces#
[atom-command] live activity disable failed
CloudEnvironmentLinkError: Could not obtain environment link proof.
POST /api/connect/link-proof
HTTP 403
EnvironmentScopeRequiredError: This request needs the relay:write scope, which this client does not have.
Screenshots, recordings, or supporting files#
https://github.com/user-attachments/assets/1133135d-286c-4c13-bde1-4c7a0cd14f73
Fixed by #9786. Both toggle directions now skip environment linking when the connection lacks
relay:write, preventing the permission failure from rolling back the device preference.