codex icon indicating copy to clipboard operation
codex copied to clipboard

iOS Remote 1.2026.307: project/task list empty after app relaunch (cold-start initialize appears to omit experimentalApi)

Open hissincn opened this issue 3 weeks ago • 13 comments

Summary

On iPhone ChatGPT 1.2026.307, Codex Remote can connect to a macOS host and run tasks, and a task opened from its push notification (thread-id deep link) works. But the project list and the task/thread list are empty after the app is relaunched. Signing out and back in on the phone restores the list; force-quitting the app and reopening breaks it again.

This looks like the iOS cold-start initialize no longer declaring capabilities.experimentalApi, so every project-scoped call is rejected by the host.

Environment

  • iPhone, iOS 27.3
  • ChatGPT iOS 1.2026.307 (App Store JP/SG, released 2026-11-10; US store is still 1.2026.300)
  • macOS 27.3 (26C5035r)
  • ChatGPT desktop 26.1106.51428 (build 26605), bundled codex-cli 0.167.0-alpha.4.1
  • Remote control pairing is healthy: remoteControl/client/list returns the phone (platform=ios, appVersion=1.2026.307, recent lastSeenAt)
  • Host state: 900+ threads / 33 projects in state_5.sqlite; custom provider (model_provider = "magpie" via a local OpenAI-compatible proxy)

Steps to reproduce

  1. Pair the iPhone with the macOS host and open Codex → Remote → the Mac.
  2. On the phone, sign out and sign back in.
  3. Open the host: projects and tasks are listed normally.
  4. Force-quit ChatGPT (swipe up) and reopen it.
  5. Open the same host: the project list is empty and the task list shows nothing.

Actual behavior

  • Project list: empty.
  • Task list: empty ("no tasks").
  • Archived tasks: still render.
  • Push notification for a task: still opens and resumes that thread correctly.
  • Creating a new task from the phone still works.

Host-side evidence

Using a second stdio codex app-server against the same state DB, initialized as client codex_chatgpt_ios_remote:

initialize capabilities request result
none project/list error: project/list requires experimentalApi capability
none thread/list with projectId (a value or null) error: thread/list.projectId requires experimentalApi capability
none thread/list flat (archived:false, limit:200, sortKey:"updated_at", sourceKinds:[]) 100 rows
none thread/list with archived:true 100 rows
experimentalApi: true project/list 33 projects
experimentalApi: true thread/list 100 rows

The flat list returns data under the same custom provider, so this is not a provider-bucket problem — only the experimental-gated calls fail.

Analysis

  • The app-server gates project/* and thread/list.projectId per connection, based on the client's own initialize params (codex-rs/app-server/src/request_processors/initialize_processor.rs, checked in message_processor.rs).
  • client_tracker.rs closes the old connection and opens a new one on every initialize, so capabilities are not carried over from a previous connection.
  • The observed behavior is consistent with: the post-login connection sends capabilities.experimentalApi, while the cold-start connection (restoring a stored session) does not. The host has no setting to grant the capability to a connection that did not declare it.

Workaround

  • Do not force-quit the app; when the list goes empty, sign out and back in.
  • Or install 1.2026.300 (US store), which does not show this regression.

Request

  • Persist/send capabilities.experimentalApi on cold-start reconnects after a stored session is restored, or
  • make the mobile UI fall back to the flat thread/list when project/list is unavailable, instead of rendering an empty list.

I could not capture the phone's raw initialize payload (remote-control traffic is not logged on the host), so the capability difference is inferred from the reproducible behavior plus the host-side differential above.

hissincn avatar Nov 11 '26 13:11 hissincn

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #60778

Powered by Codex Action

github-actions[bot] avatar Nov 11 '26 13:11 github-actions[bot]

Confirming this regression on ChatGPT for iPhone / Codex Remote.

Reproduction from Nov 12–13, 2026:

  1. My existing Codex projects and tasks are still visible and work normally on the desktop host.
  2. On iPhone, Codex Remote connects to the existing host, but its normal project/task list is empty.
  3. Search on iPhone can still find and open the existing task conversations.
  4. Yesterday (Nov 12), signing out of ChatGPT on iPhone and signing back in restored the list.
  5. This morning (Nov 13), when I opened ChatGPT again, the projects/tasks were missing from the list once more.

Expected: Existing projects and tasks remain visible in the Remote list across app launches/sessions without requiring repeated sign-outs.

Actual: Re-authentication temporarily restores the list, but the fix does not persist. The original tasks are not lost, as confirmed by the desktop and mobile search.

This appears consistent with the app-relaunch/session-restoration regression reported here. I have not independently confirmed the underlying technical cause.

code4mao avatar Nov 12 '26 21:11 code4mao

Cross-reference for triage: I added an independent iPhone 17 Pro + macOS Codex Remote reproduction, including the particularly important behaviour that a task initiated on iOS executes on the Mac, vanishes from the mobile list, but remains directly accessible through a completion notification: https://github.com/openai/codex/issues/60778#issuecomment-6866489145

One diagnostic caution: the Windows/WSL reproduction documented at https://github.com/openai/codex/issues/60778#issuecomment-6813730134 captured capabilities.experimentalApi: true on all observed failed-state initializations, and successful non-empty host thread/list response generation, while the iPhone list remained empty. This suggests the original missing-experimentalApi explanation here may describe one pathway but is not established as the general root cause. Please also check relay response delivery and iOS-side decoding/filtering/state hydration during cold-start reconnects.

A supported privacy-safe client diagnostic procedure and a confirmed owner/target release would help affected users avoid repeatedly signing out or reinstalling without a durable fix.

terryhur avatar Nov 13 '26 22:11 terryhur

I'm also affected: projects are missing in Codex Remote in the ChatGPT iOS app. This seriously disrupts my work and daily life. My current workaround is using VNC from my phone to control ChatGPT directly on my computer. Please prioritize a fix.

acgxv avatar Nov 14 '26 05:11 acgxv

Another workaround that works for me: use Search in iOS Codex Remote to find an existing thread, open it, and continue working, even while the project list is empty. Sharing in case this helps others.

acgxv avatar Nov 14 '26 07:11 acgxv

Follow-up to my earlier cross-reference: as of 14 November 2026, my ChatGPT iOS 1.2026.307 Codex Remote project/session list has spontaneously returned and remains functional through subsequent use, without signing out, reinstalling or changing the Mac host/pairing. See my original reproduction in #60778.

I have not established what changed (server-side fix, staged rollout or transient recovery), and this should not be taken as proof the underlying regression is resolved for everyone. Thank you to the reporters and investigators.

terryhur avatar Nov 14 '26 11:11 terryhur

Correction (15 Nov 2026, Sydney): The spontaneous recovery I reported in https://github.com/openai/codex/issues/60799#issuecomment-6876309984 was temporary. Codex Remote sessions were visible all Saturday night but had disappeared again by Sunday morning (approximately 06:33 AEDT), without sign-out/reinstall or a reported host setup change.

Additional potentially important observation: During the working interval, ChatGPT iOS showed an apparently different sidebar/navigation layout: Codex sessions were mixed with ordinary ChatGPT conversations under the main “Recents” list. When the regression returned, Codex entries vanished from Recents and the dedicated Codex session list was blank again.

This does not establish an experimental flag as the cause, but it raises a testable question about server-driven navigation/UI variants, client state hydration, and whether multiple session-list sources are used. Together with #60778's host-side nonempty thread/list responses in another failing reproduction, please consider investigating the mobile list rendering/configuration and relay path. No durable fix confirmed; the bug is still affecting this user.

terryhur avatar Nov 14 '26 19:11 terryhur

Update — November 15, 2026: recurrence confirmed. My iOS task list failed again, while a fresh codex doctor still found zero missing/stale/duplicate rollout-index records. All repaired rows and the restored file remain unchanged, and the desktop history list still works. The earlier recovery was temporary; index repair is not a demonstrated durable fix or general root cause. Updated evidence is at the top of the full report.


Additional verified recovery on iOS Remote 1.2026.307: my task list became empty again shortly after creating a task, despite the Mac staying connected. After repairing historical rollout/state-index inconsistencies on the host, I checked the iPhone and confirmed that the normal list returned.

Full diagnostic report, repair scope, before/after checks, and limitations: https://github.com/openai/codex/issues/60778#issuecomment-6887106511

SQLite integrity was healthy, but codex doctor identified two stale rollout paths and an archived parent/continuation identity mismatch. After a backup-preserving repair, rollout/index parity passed with zero missing rows, stale paths, or duplicate IDs; all four affected historical sessions were readable, and the paginated history records were unchanged. No host restart, sign-out, re-pairing, or security-setting change was performed as part of the repair.

This adds a host-side historical-index/lineage diagnostic path. I did not capture the phone's failing initialization or list response, so this does not confirm or refute the experimentalApi hypothesis for other reproductions. The recovery is confirmed on my phone, but durability across later relaunches and the precise mechanism remain unverified.

brunocechet avatar Nov 15 '26 01:11 brunocechet

Adding another occurrence of the empty project/task list on iOS, observed on November 15, 2026.

  • Client: ChatGPT for iOS 1.2026.307 (build 42345155361), iOS 26.6.1.
  • Host: Mac mini. The iPhone appears in the Mac’s paired-device settings, and the iPhone’s Codex screen shows the Mac selected with a green status indicator.
  • Steps: Open Codex in the iOS app and select the paired Mac. The screen displays No tasks yet and Start a task to see it here. None of the existing Mac projects appear.
  • Expected: The connected Mac’s existing Codex projects and tasks are available to browse.

Search and sign-out/sign-in workarounds have not been verified for this occurrence.

maxizh avatar Nov 15 '26 07:11 maxizh

Same issue with iphone and window

synd276 avatar Nov 16 '26 13:11 synd276

I'm seeing similar empty project and chat lists on Android, with a Windows laptop hosting WSL-backed projects. This is a cross-platform symptom report; I have not confirmed that it shares the iOS-specific cause described above.

My Android phone connects to the laptop through Remote Control, but the project picker only shows “Current directory.” None of my three saved desktop projects appear, and I cannot see their existing project chats on the phone either.

The desktop app's list_projects tool confirms all three saved projects, associated with a remote host named WSL and Linux paths under /home/user/Projects/.

Expected: The connected phone shows the saved WSL projects and their existing chats. Actual: Only “Current directory” is shown, with those projects and chats missing.

Exact Android and app versions have not yet been collected. I have not tested whether signing out and back in changes the behavior, whether app relaunch triggers it, or whether experimentalApi capabilities are involved.

I also reported these observations in #24271: https://github.com/openai/codex/issues/24271#issuecomment-6939652732

Aamir2020 avatar Nov 17 '26 05:11 Aamir2020

Confirming the same user-visible regression on Codex Remote (observed November 17, 2026).

Steps / observations

  1. Connect the ChatGPT mobile app to the desktop Codex host. Existing remote sessions are visible in the app.
  2. Restart/relaunch the ChatGPT app.
  3. Return to Codex Remote: the previously visible session/conversation list is now empty.
  4. Push notifications from those sessions still appear. Tapping a notification successfully opens the corresponding existing conversation, despite that conversation being absent from the normal list.

Expected: Previously visible remote sessions should remain discoverable in the list across app restarts.

Actual: The list becomes empty after relaunch, but individual conversations are still accessible via notification deep links. This strongly suggests a listing/state-restoration problem rather than the underlying conversations being deleted.

I have not captured protocol traffic, confirmed an app build/OS version, or independently identified the root cause. In particular, this observation does not establish that experimentalApi is missing; other reports in this thread have found failures even when that capability is present.

This is disruptive because the only reliable way to reopen a session may be to find an old notification.

ms1995 avatar Nov 18 '26 01:11 ms1995

Workaround: Restore missing Codex threads in ChatGPT on iPhone

I found a workaround for an issue where Codex conversations disappear from the ChatGPT iOS app when using a remote connection to a Linux server.

The issue: The Codex thread list appears empty, even though the remote server is connected and all conversations still exist.

Workaround:

  1. Get a direct link to any existing Codex conversation.
  2. The link should have this format: codex://threads/
  3. Open this link on your iPhone.
  4. ChatGPT opens the selected conversation, and the entire list of previously missing Codex threads is automatically restored.

Results:

  • No server restart required.
  • No need to reinstall Codex.
  • No need to log out and back in.
  • No need to reconnect the remote server.
  • All previously missing conversations become visible again.

Confirmed: This workaround has been successfully tested by two independent users experiencing the same issue.

Possible cause: Opening a thread through a deep link may trigger a refresh or initialization of the thread list that fails during normal app startup.

This is a temporary workaround, not a permanent fix. Hopefully, this information will help the developers identify and resolve the underlying issue.

assistantzapusk-blip avatar Nov 19 '26 06:11 assistantzapusk-blip