Skip to content

Open a phone pairing invitation in its exact conversation - #350

Merged
n0rpan merged 4 commits into
mainfrom
mobile/open-session-invitation-current
Dec 3, 2026
Merged

n0rpan merged 4 commits into
mainfrom
mobile/open-session-invitation-current

Conversation

@n0rpan

@n0rpan n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Part of #95. A Pair phone and open session QR or pasted invitation can carry the exact conversation into OX Mobile. The phone saves the normal pairing first, then resolves the scoped target from a signed catalog and verifies the exact thread again in a fresh subscription before opening it. If the thread is gone or ambiguous, the pairing remains available in Projects. Leaving Projects cancels the pending open.

The pairing form and both camera adapters use the same invitation parser, including either fragment order. Existing manual codes and host-only invitations still use the usual pairing flow. The desktop continues to generate the same URL format.

Based on 51a337a. Verified 416 mobile tests, host invitation parser tests, an XTool arm64 iOS link, and an Android emulator APK build. Physical camera and conversation routing are still to be tested.

Registry invitations may carry #pair=<code>&thread=<id~scope hash>. Parse the fragment strictly in the shared phone_link helper, keep the target out of registration, resolve it from the host's live catalog after pairing, and verify a fresh exact ready snapshot before navigating. Pairing and project fallback survive a failed resolution.
@n0rpan n0rpan added the full-ci label Dec 3, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T10:36:13.678104Z 86383f2 PR opened
🔒 Security Review ✅ Completed 2026-12-03T10:38:01.416415Z 86383f2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/queue 86383f2

@n0rpan

n0rpan commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator Author

In line to merge. Commit 86383f2 is reviewed with nothing blocking; it has entered the merge queue.

@n0rpan
n0rpan added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit 64368fc Dec 3, 2026
74 of 88 checks passed
@n0rpan
n0rpan deleted the mobile/open-session-invitation-current branch December 3, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant