Skip to content

Codex Mobile only shows projects with recent chats #23952

Closed

Description

@colonelpanic8

What variant of Codex are you using?

App / Codex Mobile through the ChatGPT mobile app, connected to Codex Desktop / Remote Control.

What happened?

Codex Mobile does not show all projects that are visible in Codex Desktop. Logging out and back into the ChatGPT mobile app refreshes the list, but the refreshed list still only appears to include projects that have recent chats/threads.

Projects that exist in Desktop Codex but do not have recent chats remain hidden on mobile.

Expected behavior

Codex Mobile should list all projects available to the connected Codex Desktop account/workspace/host, not only projects that happen to have recent thread activity.

Actual behavior

The mobile project list appears to be hydrated from a recent chats/threads feed instead of the full project inventory:

  1. Codex Desktop shows multiple projects.
  2. ChatGPT mobile app / Codex shows only a subset of those projects.
  3. Logging out and back into the mobile app makes some missing projects appear.
  4. The projects that appear after login are the ones with recent chats.
  5. Projects without recent chats remain missing from the mobile project list.

Why this seems related to existing issues

This looks closely related to #18640, where the Desktop sidebar/project history appears to depend on a global recent thread/list page rather than project-scoped loading. The mobile behavior seems like the same class of bug, but from the Codex Mobile project selector: project visibility appears coupled to recent thread presence.

It may also be adjacent to #22748, but this is not just about pinned projects/threads. The affected projects exist in Codex Desktop and should be selectable on mobile even when they do not have recent chat activity.

Workarounds observed

  • Logging out and back into the ChatGPT mobile app can refresh the visible list, but only for projects with recent chats.
  • Creating/opening a recent chat in a previously missing project may make that project eligible to appear on mobile.

Additional information

I can provide screenshots/app versions if helpful. The most important repro detail is that mobile visibility seems correlated with recent chat activity, not with whether the project exists in Desktop Codex.

Activity

  1. added
    bugSomething isn't working
    iOSIssues related to the Codex iOS app
    app-serverIssues involving app server protocol or interfaces
    on May 21, 2026
  2. kwatkins commented on May 22, 2026

    @kwatkins

    +1 Also see this behavior. I did remove some archived sessions from mac side (the codex app lacks a good cleaning pattern) and it may of had some.downstream impacts behaviors etc

  3. pdwhoward commented on May 26, 2026

    @pdwhoward

    Same problem

  4. keithlee commented on May 27, 2026

    @keithlee

    I'm also missing chats from projects that are already opened

  5. cantonalex commented on May 27, 2026

    @cantonalex

    Issue on android here

  6. luc4t commented on May 27, 2026

    @luc4t

    I'm also missing chats from projects that are already opened

    same for me. sometimes renaming the chat helps

  7. luc4t commented on May 27, 2026

    @luc4t

    Forked chats from the APP are also not shown inside the Codex Mobile App.

  8. idia commented on May 27, 2026

    @idia

    I'm experiencing nearby Issue but the oppposite.. Android Codex mobile...
    I cannot see recent sessions... only like 20 hours - 2 days and earlier...
    Desktop Codex shows all sessions.

  9. luc4t commented on May 27, 2026

    @luc4t

    I'm experiencing nearby Issue but the oppposite.. Android Codex mobile... I cannot see recent sessions... only like 20 hours - 2 days and earlier... Desktop Codex shows all sessions.

    yes the same for me, this makes codex mobile useless at the moment

  10. SylvainWinning commented on May 27, 2026

    @SylvainWinning
  11. luc4t commented on May 27, 2026

    @luc4t

    working again with the latest chatgpt beta version on android

  12. AdamBerri commented on May 27, 2026

    @AdamBerri

    Hey all, was able to figure out a fix (well codex was)

    Please excuse the slop cannon but just give this to codex and things should fix

    Codex Mobile Control Sync Bug

    Date fixed: 2026-05-27

    Symptom

    Codex Desktop was working normally, and ChatGPT mobile showed the desktop as connected, but mobile Codex did not show the current desktop Codex chats/threads.

    The desktop and mobile apps were signed into the same account, so this was not an account mismatch.

    Root Cause

    The issue was stale desktop-side remote-control enrollment state.

    ChatGPT mobile can show a green connected desktop while still being attached to an old Codex remote-control environment. Clearing the mobile app cache or reinstalling ChatGPT does not fix this, because the stale identity is stored on the Mac side.

    Related GitHub issue:

    #24749 (comment)

    Local Evidence

    The Mac had the same state described in the GitHub issue:

    • ~/.codex/state_5.sqlite contained the remote_control_enrollments table.
    • That table had one enrollment row.
    • ~/.codex/.codex-global-state.json contained remote-control identity keys.
    • Deleting those keys while Codex Desktop was still open did not stick, because the running app wrote the old IDs back from memory.

    Relevant keys:

    electron-local-remote-control-environment-id
    electron-local-remote-control-installation-id
    electron-remote-control-client-enrollments
    codex-mobile-has-connected-device
    added-remote-control-env-ids
    

    Backups Created

    Before making changes, backups were created under:

    /private/tmp/codex-remote-reset-20260527
    

    The backup included:

    state_5.sqlite.before-reset
    .codex-global-state.json.before-reset
    

    Fix

    The important part is that Codex Desktop must be fully quit before clearing the desktop remote-control state. If Codex is still running, it can restore the stale IDs from memory.

    Run this from Terminal:

    osascript -e 'quit app "Codex"'
    sleep 3
    
    sqlite3 ~/.codex/state_5.sqlite \
      "delete from remote_control_enrollments;"
    
    node -e "const fs=require('fs'); const p=process.env.HOME+'/.codex/.codex-global-state.json'; const j=JSON.parse(fs.readFileSync(p,'utf8')); for (const k of ['electron-local-remote-control-environment-id','electron-local-remote-control-installation-id','electron-remote-control-client-enrollments','codex-mobile-has-connected-device','added-remote-control-env-ids']) delete j[k]; fs.writeFileSync(p, JSON.stringify(j,null,2)+'\n');"
    
    open -a Codex

    After Codex reopens, reconnect/re-pair Codex mobile control from ChatGPT mobile.

    Result

    After the desktop remote-control environment was reset and Codex was reopened, ChatGPT mobile showed the current Codex desktop threads again.

    Do Not Delete

    Do not delete:

    ~/.codex/auth.json
    

    That file contains Codex authentication state and is not part of this stale remote-control enrollment fix.

    Rollback

    If needed, restore from the backups in:

    /private/tmp/codex-remote-reset-20260527
    

    The SQLite backup can be copied back to:

    ~/.codex/state_5.sqlite
    

    The global state backup can be copied back to:

    ~/.codex/.codex-global-state.json
    

    Only do rollback while Codex Desktop is fully quit.

  13. colonelpanic8 commented on Jun 5, 2026

    @colonelpanic8
    Author

    I think this is fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app-serverIssues involving app server protocol or interfacesbugSomething isn't workingiOSIssues related to the Codex iOS app

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions