Repository navigation
Description
Summary
In the unified ChatGPT/Codex macOS desktop app, the current chat's project information exposed to the agent disagrees with the project shown in the sidebar (as reported by the user). An explicit project-assignment operation acknowledges the expected project, but repeated reads still return projectId: null.
This makes the agent incorrectly tell the user that a chat is projectless even when the user sees it under the intended project. Please investigate the assignment/readback inconsistency and clarify how agents should retrieve effective project context.
Environment
- ChatGPT desktop 26.1016.61520, build 21421
- Bundle identifier: com.openai.codex
- macOS 26.6.2, Apple Silicon / arm64
- Local execution; existing saved local folder project
- Observed October 26, 2026
- Both Work and Codex sidebar surfaces were observed through the tools during the conversation.
User workflow and impact
The user reports starting the conversation from an existing local project in Work, then switching to Codex. The user also reports seeing the current chat highlighted under that project in the sidebar. The agent did not directly inspect that UI; that part of the evidence is user-reported.
The user reports having needed to ask which project the agent is in, receive a projectless answer, and then request explicit association repeatedly for months. That recurrence is user-reported, not a multi-session reproduction performed for this report.
The current working directory correctly matches the saved project's folder. This report does not establish lost file access, lost transcripts, or incorrect execution location.
Tool reproduction and observed responses
Names, identifiers and local paths below are anonymized; the response structure and null/non-null outcomes are preserved.
list_projectsreturns the intended saved project with a non-null local project ID and the expected folder.list_threadsreturns the active chat with:{ "id": "<same-chat-id>", "kind": "codex", "projectId": null, "hostId": "local", "cwd": "<intended-project-folder>" }- Invoke
move_thread_to_projectwith that exact chat ID, the saved project ID, andhostId: "local". - The operation returns
isError: falseand:{ "source": "codex", "threadId": "<same-chat-id>", "hostId": "local", "projectId": "<intended-project-id>" } - Immediately call
list_threadsagain: the same active chat still hasprojectId: null, with the correct working directory. - A further read during preparation of this report still returned
projectId: null.
The tools used were the Codex app's mcp__codex_app__list_projects, list_threads, and move_thread_to_project.
Expected behavior
An acknowledged explicit assignment should be reflected by subsequent reads, or the operation should return an actionable failure/pending state. The agent-visible effective project identity should agree with the desktop sidebar.
If a null explicit project ID is intentional because project membership is inferred from the folder or another store, expose/document that effective association and its source so agents do not wrongly diagnose a projectless chat.
Scope and uncertainty
This demonstrates a contradiction between assignment acknowledgement and subsequent agent-visible readback. It does not establish whether the fault is persistence, stale catalog/readback, multiple assignment stores, or intended folder-based grouping without a surfaced effective identity. The Work-to-Codex switch is not proven to cause the mismatch; the missing assignment was observed while the sidebar surface was Work as well.
Related context: #24222 (project-context clarity) and #46413 (earlier macOS project metadata/migration report). Neither is claimed to be the same root cause.
No transcript, raw logs, credentials, private thread/project IDs, or local file paths are attached.
Activity
github-actions commentedon Oct 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
robbyluo-tech commentedon Nov 4, 2026
Additional reproduction — Nov 4, 2026
I reproduced the assignment/readback mismatch in another local-folder project on macOS:
list_projectsreturned the existing local project.list_threadsshowed the active local conversation withprojectId: null, although itscwdmatched the project's folder.move_thread_to_projectwith that conversation, the existing project ID, andhostId: "local". The call returned success and the target project ID.list_threadsreads still returnedprojectId: null.Expected: after a successful move, project membership should be reflected in subsequent reads and the sidebar, or the response should explain that the change is pending or unsupported.
For this reproduction, the exact desktop app build and subscription were not captured. No app restart or delayed readback was tested.
darrenodell commentedon Nov 4, 2026
goodman-oai commentedon Nov 16, 2026
The move acknowledged the intended local project, but repeated
list_threadscalls still returnedprojectId: nullwhile the sidebar showed the chat in that project. The earlier reproduction in #53486 also verified that the assignment was saved.