Mobile lists an unusable MacBook entry while running nightly requires a separate manual pairing
The phone lists “Ronish’s MacBook Pro”, but I cannot connect to that entry. AO nightly is running on the laptop. I connected manually and named the working connection “lap”, so the phone now shows both entries.
I expected the phone to find and connect to the running AO app automatically, without needing a second manual connection. The two entries make it unclear which one is the laptop I should use.
Agent-collected evidence
Collected on 2026-11-13 from Ronish’s laptop and connected iPhone using read-only diagnostics. This is separate from the user’s report above.
Affected builds
- Installed desktop:
0.14.11-nightly.202611130904, commita25ce92362d7. Confirmed with the installed app’s Info.plist and/Applications/Agent Orchestrator.app/Contents/Resources/daemon/ao --version. - Installed CLI
status --json: daemon ready, PID 764, loopback port 3001, data directory~/.ao/data, health OK. - Phone: iPhone 16, locally installed iOS Release build of mobile PR #8308 at
6f7f2063465233103275011b869cda7ba7a2401b. Separate test bundle ID, automatic updates disabled. The original connection observations and saved-record snapshot predate a later local UI experiment; that experiment does not establish a connection fix.
Observed records and routes
Read ao.hosts from the test app’s AsyncStorage manifest using xcrun devicectl device copy from. Read /api/v1/identity and /api/v1/mobile/status from the installed daemon. Tokens and unrelated phone storage are omitted.
| Record | Observed state |
|---|---|
| “lap” | Machine ID A, matching the installed daemon. Saved LAN route <LAN-IP>:3011 plus fixed HTTPS tunnel A. lastConnected is nonzero. |
| “Ronish’s MacBook Pro” | Different machine ID B, only fixed HTTPS tunnel B, lastConnected: 0. |
- Both saved records are associated with the same phone account.
- Machine ID B and tunnel B exactly match files under
~/.ao/dev/data/mobile/identity.jsonandnamed-tunnel.json. Copies of that identity also exist in old development snapshots. - Machine ID A and tunnel A exactly match
~/.ao/data/mobile/identity.jsonandnamed-tunnel.json. - The active packaged-app tunnel connector uses tunnel A’s configured credential, not tunnel B’s. Only equality results were inspected/reported; credentials were not printed.
- At collection time, the installed daemon reports mobile access enabled and
accountLinked: true. This is after manual pairing. It does not prove the directory registration was correct beforehand. - External identity probes from the agent’s environment received the same HTTP 403 / Cloudflare 1010 response for both tunnels. They do not establish a tunnel-specific failure or reproduce the phone’s failure.
What this establishes, and what remains unknown
The two visible entries are distinct AO installation identities, despite referring to the same physical laptop. The unusable saved entry corresponds to development data, while the working manual entry corresponds to the installed nightly. “lap” is not overwriting the other record: host import looks up entries by exact host ID.
This explains the confusing extra entry. It does not establish why the running nightly was not automatically usable before manual pairing. The pre-pairing account directory and desktop registration state were not captured. Investigate account registration/address publication, mobile account sync, and how temporary development installations are registered and presented. Do not assume a missing token or password rotation without evidence, or merge identities merely because their names match.
Related work considered
- #7412 / open PR #7566: reconnects an account-listed machine after its daemon lost the account token. Related recovery path; the token-loss condition was not established here.
- Open PR #7643: replaces stale typed passwords with validated account tokens in desktop remote-host connections. Different client/path.
- Open PR #7627: replaces legacy mobile pairings with an empty machine ID after QR repair. Both IDs here are nonempty; its description excludes existing duplicates and known different machines.
- #7976, fixed by #7977: CLI registration fallback after 429/502. No such response was captured for this case.
- #8002: delayed account-listing status after removal. Related stale state, but not this observation.
Duplicate search used the canonical OrchestratorInc/agent-orchestrator repository, open/closed issues and PRs, with remote/account/machine, development/machine, phone/pairing, stale host, and duplicate machine queries. No exact match found in the inspected results.
as this issue dont have any active assignee, I'd like to work on this one . will raise a pr shortly