Repository navigation
Description
Environment
- ChatGPT desktop / Codex: 26.1013.31256
- Bundled Codex CLI/app-server package: 0.163.0-alpha.10.2
- macOS: 26.6.2, Apple Silicon
- Controller: ChatGPT mobile on iOS
- Observations refreshed: October 16, 2026
Problem
An existing local Codex chat, represented here as <AFFECTED_CHAT>, is accessible on the Mac and readable through read_thread using its exact ID. However, it is missing from mobile project views and mobile search.
The desktop groups this chat and another chat, <CONTROL_CHAT>, into a local multi-root project. Mobile shows a folder-derived project label and <CONTROL_CHAT> only.
The chat records and underlying project files remain present. This appears to be a visibility or membership reconciliation problem, rather than confirmed data loss.
Expected behavior
A chat explicitly assigned to a project on desktop should retain that membership and be discoverable through supported mobile Remote views and search.
A saved display name should remain usable even if the underlying title field is empty.
Verified metadata
The desktop client has:
- A registered local project,
<LEGACY_PROJECT_ID>. - A mapping to server project
<SERVER_PROJECT_ID>. - Explicit assignments of both chats to
<LEGACY_PROJECT_ID>. - No projectless override for
<AFFECTED_CHAT>. - Three attached roots, matching the server's project roots and ordering.
- The affected chat's working directory now included among those roots.
Server records show:
| Field | Affected chat | Control chat |
|---|---|---|
Saved name |
Present | Present |
title |
Empty | Populated |
preview |
Populated now | Populated |
project_id |
NULL | NULL |
archived |
0 | 0 |
source |
vscode | vscode |
thread_source |
agent_created_thread | voice_chat |
history_mode |
paginated | paginated |
has_user_event |
0 | 0 |
An earlier inspection found the affected chat's preview empty. It is now populated, but the listing discrepancy persists. Empty preview alone therefore does not explain the current behavior.
Current desktop migration metadata:
projectsMigrated: true
threadAssignmentsMigrated: false
pendingThreadAssignmentIds: 40 entries
affected chat included in pending entries: true
These flags are diagnostic observations, not proof of corruption or the root cause.
Read/list discrepancy
- Direct
read_threadsucceeds for<AFFECTED_CHAT>, returns its saved display name, idle status, and a history page. - The desktop app's latest 50-task listing includes
<CONTROL_CHAT>but not<AFFECTED_CHAT>. - That listing reports no unavailable hosts.
- The user reports that mobile search also cannot find the affected chat.
The 50-task listing is bounded and does not establish exhaustive absence from every server listing.
Recovery attempts
Restarting desktop, updating iOS, and refreshing the connection did not resolve the original visibility problem.
The prototype folder was subsequently attached to the existing project. Client and server now both contain three matching roots, but the affected chat remains missing. The user also reports that the suggested membership-refresh attempt did not fix visibility.
This investigation made no manual database edits, migration-flag changes, cache resets, or pairing changes.
Questions for maintainers
- Which membership source governs mobile Remote project views: desktop legacy assignments or server
threads.project_id? - What supported operation reconciles preserved client assignments with NULL server memberships?
- Can an
agent_created_threadwith a savedname, emptytitle, and paginated history be excluded from listing or search? - What redacted diagnostic export would help distinguish membership reconciliation from task-list filtering?
Related reports:
- Windows Codex Desktop selectively loses historical local sessions while older legacy threads survive, alongside incomplete project-assignment migration #41874
- Codex Desktop Remote: re-enrollment leaves existing threads assigned to the old host/project, causing “New chat” and a blank screen #37789
No credentials, account identifiers, actual task/project IDs, filesystem paths, chat bodies, or raw state files are included.
Activity
github-actions commentedon Oct 17, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
cybermaak commentedon Oct 17, 2026
Follow-up: chat visibility and project grouping are separate problems
Please keep this issue open. The server membership discrepancy was repaired, but the last mobile retest still did not reflect the desktop multi-folder project.
Mobile observations after the repair
After restarting the iOS app and disconnecting/reconnecting the Mac:
<AFFECTED_CHAT>appears in mobile Recents, but is displayed outside any project.<CONTROL_CHAT>only.Visibility in Recents is now confirmed. We have not established that the metadata repair caused that change, and we have not reverified mobile search. The remaining reported problem is project grouping/membership.
Controlled server checks on October 16
These checks used the installed bundled server,
0.163.0-alpha.10.2, with desktop build26.1013.31256.thread/listreturned the affected chat both in the complete interactive listing and when searching its saved name. Its underlyingtitleremained empty. Empty title therefore did not prevent discovery in these server tests.project_idfields were NULL, despite the preserved desktop assignments.thread/metadata/updateto assign both chats to the existing<SERVER_PROJECT_ID>, matching their desktop membership. We did not directly edit SQLite. Comparison of the two thread rows showed that onlyproject_idchanged. Fresh server reads confirmed persistence and returned both chats under that project.The mobile retest above still failed after this reconciliation.
Folder filter versus project filter
At the time of that retest, the desktop and server project records both contained the same three roots, in the same order. The affected chat's working directory was one of the attached secondary roots.
thread/listfiltered by<SERVER_PROJECT_ID>thread/listfiltered by<PRIMARY_ROOT>ascwdthread/listfiltered by<AFFECTED_SECONDARY_ROOT>ascwdThis is consistent with mobile grouping/filtering by working directory instead of explicit project membership or all attached roots. It is a hypothesis, not a confirmed observation of the mobile client's requests or implementation.
Current configuration recheck — October 17
A read-only recheck still finds both corrected server memberships. The desktop is now build
26.1013.40934; the bundled server version is unchanged. The project has also subsequently been consolidated to one primary folder, while the affected chat still records its former working directory. No fresh mobile verification of that later single-folder configuration is included here. The three-root reproduction above predates that consolidation.Questions for maintainers
cwd?Related reports #54498 and #54482 may help distinguish mobile folder grouping from desktop/server membership synchronization. No confirmed fix for the multi-folder mobile behavior is claimed.
All task/project identifiers, actual paths, project names, and chat contents remain redacted.
schmidtjochen-create commentedon Oct 22, 2026
Further observations on October 22: iPhone and second Mac still do not mirror the Mac mini
Please provide a supported resolution for consistent project names and chat membership across the host Mac mini, an iPhone, and a second Mac. The existing filesystem folder structure, source-folder attachments, original chats, and chat histories must be preserved.
Environment
Expected behavior
Saved named desktop projects and their original chats should appear consistently on all three devices. Several named projects intentionally share the same authorized primary source folder; they should remain separate projects rather than collapse into a group named after that folder.
Observed behavior and verification limits
thread/metadata/updateinterface to the existing canonical project ID. A fresh server read confirmed persistence. The already correct desktop assignment, working directory, original chat, and transcript remained unchanged.The inspected host-side records and original chat remain present. This is not confirmed data loss, but correct visibility and access to all original chats on the remote clients have not been demonstrated.
Already checked
No successful remote-client repair is claimed. This investigation made no direct SQLite edits, mass assignment changes, filesystem moves/deletions, duplicate chats, artificial activity workarounds, or app/Mac restarts.
Working-directory-based grouping is a hypothesis consistent with the symptoms and related reports, not a verified observation of the remote clients' requests or implementation.
Request to OpenAI maintainers
Please suggest a solution that preserves the current folder hierarchy and source-folder mappings. Renaming or splitting the shared source folders, relocating original files, recreating projects/chats, or editing live databases would not be an acceptable resolution for this setup.
Related reports: #40459, #36040, #24271, #54482, #54498.
No personal project names, concrete file paths, task/project/device/account IDs, chat contents, screenshots, credentials, databases, or raw logs are included.
anthknee commentedon Oct 22, 2026
The issue I had was that my desktop project structure did not match what I saw on Android Remote.
On desktop, these chats belonged to my VAE project. On mobile, with the same Mac selected:
visual-asset-engine-test.agent.I used Codex to investigate the project assignments and working folders. The saved project assignments pointed to VAE, but the chats still had different working folders from when they were created. The Features guide used a nested
.runtime/agentfolder. The Desktop relay canvas used an older test folder underDocuments/Codex.This suggested that mobile was grouping the chats by their working folders rather than displaying the desktop project structure. Correcting the project metadata did not fix the mobile view.
We then tested changing the Features guide’s working folder to the VAE project folder:
/Users/anthony/Developer/visual-asset-engine-testThe change initially read back successfully, but reopening the chat restored the old folder.
Further inspection showed that the old workspace was still applied, while the intended VAE workspace was pending. I sent this message in the original chat:
That new turn applied the pending workspace. Codex verified the folder change, and I checked that mobile now grouped the chat correctly.
We repeated this with Desktop relay canvas. It already had the correct workspace pending, so sending the same message fixed its mobile grouping too.
This worked for these two chats. The remaining question is why mobile showed the old folder grouping, and why the workspace change needed another turn before it took effect.