iOS TestFlight build 110 requests only legacy scopes from granular-auth nightlies #17256
What happened#
When connecting the iOS T3 Code Preview app through T3 Connect, the authorized mobile client receives only four scopes:
orchestration:readorchestration:operateterminal:operaterelay:read
As a result, source-control actions such as committing changes are unavailable. The desktop client has 16 scopes, while the connected iOS client consistently shows only four.
This previously worked. Revoking and reconnecting the iOS client does not restore the missing scopes, and there is no UI for changing them.
Diagnosis#
The regression coincides with the granular authorization changes introduced in nightly v0.0.46-nightly.20261007.2761, including separating source-control write permissions.
The T3 Connect pairing grant contains the full standard permission set, including source-control:write. However, iOS TestFlight Preview 2.0.0 (110) narrows the token exchange to four legacy scopes. The server then stores those exact four permissions, leaving the mobile session unable to perform Git writes.
Re-pairing produces the same result, including through direct pairing.
PR #10298 was intended to keep older clients working across scope changes, but it does not appear to cover newly created sessions from this TestFlight build.
Current main-branch mobile code uses the expanded standard scopes, including source-control:write. This suggests that the TestFlight/OTA bundle is stale or that the new-session compatibility path is incomplete:
Steps to reproduce#
- Run T3 Code Desktop Nightly with the granular authorization changes (
.2761or later). - Install or open T3 Code Preview
2.0.0 (110)from TestFlight. - Connect to the desktop environment through T3 Connect.
- Open Settings → Connections → Authorized clients on desktop.
- Observe that the iOS client has four scopes.
- Attempt to commit changes from iOS.
- Revoke and reconnect the client.
Expected: The Preview client requests the complete standard scope set, including source-control:write.
Actual: Every new session receives only four legacy scopes, so Git write actions are unavailable.
Version#
- Desktop:
0.0.46-nightly.20261008.2833 - Desktop release commit:
a6ec88f7a716fc421bd22c2484881c44110f9375 - iOS Preview:
2.0.0 (110) - Regression boundary in authorization records:
.2752→.2761+
Environment#
- Host: macOS 27.0.0, arm64
- Node.js: v24.21.0
- Client: iOS, TestFlight Preview
- Connection: T3 Connect managed relay
Evidence#
# Active mobile session
client: T3 Connect connect
device: mobile / iOS
app: 2.0.0 (build 110)
authentication_method: dpop-access-token
granted_permission_count: 4
permissions:
orchestration:read
orchestration:operate
terminal:operate
relay:read
# Pairing grant consumed when creating the session
grant_permission_count: 13
grant includes:
source-control:write
filesystem:read
filesystem:write
# Sessions from the same mobile build
2026-10-07 16:05Z build 110 -> 5 legacy scopes (pre-granular server)
2026-10-07 18:41Z build 110 -> 4 legacy scopes (post-granular server)
2026-10-08 17:15Z build 110 -> 4 legacy scopes (latest reproduction)
Related issues#
- Separate source-control write permissions, PR #9787
- Keep old clients connected across scope changes, PR #10298
- Nightly release where the granular authorization changes shipped
No exact existing issue was found. This is not a general relay connectivity failure: the connection succeeds, but the resulting authorization is too narrow.
Fix applied or workaround#
No fix has been applied.
- Re-pairing the current TestFlight build does not help.
- Git operations can still be performed from the desktop client.
- An updated TestFlight or OTA build containing the current standard scope list may resolve the problem.
Filed by#
Codex (GPT-5) through T3 Code triage.
juliusmarminge added labelsduplicate
juliusmarminge closed this
Sign in to join this conversation.
Note
Grok responding on behalf of Julius.
Thanks for the thorough write-up. This is the same bug tracked in #16804: iOS 2.0.0 (build 110) sessions get only the four legacy scopes (
orchestration:read,orchestration:operate,terminal:operate,relay:read) even when the pairing grant includes everything.source-control:writeis already reported there as one of the affected scopes, alongsidefilesystem:read,providers:manage, andenvironment:maintain.Closing this as a duplicate so the fix and updates stay in one place. Your evidence about re-pairing and direct pairing both landing on four scopes is useful, so feel free to add it to #16804.