Skip to content

[macOS Desktop] Project assignment acknowledged but list_threads still returns projectId null #57127

Closed as duplicate

Description

@darrenodell

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.

  1. list_projects returns the intended saved project with a non-null local project ID and the expected folder.
  2. list_threads returns the active chat with:
    {
      "id": "<same-chat-id>",
      "kind": "codex",
      "projectId": null,
      "hostId": "local",
      "cwd": "<intended-project-folder>"
    }
  3. Invoke move_thread_to_project with that exact chat ID, the saved project ID, and hostId: "local".
  4. The operation returns isError: false and:
    {
      "source": "codex",
      "threadId": "<same-chat-id>",
      "hostId": "local",
      "projectId": "<intended-project-id>"
    }
  5. Immediately call list_threads again: the same active chat still has projectId: null, with the correct working directory.
  6. 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

  1. added
    bug
    app
    app-server
    on Oct 26, 2026
  2. github-actions commented on Oct 26, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. robbyluo-tech commented on Nov 4, 2026

    @robbyluo-tech

    Additional reproduction — Nov 4, 2026

    I reproduced the assignment/readback mismatch in another local-folder project on macOS:

    1. list_projects returned the existing local project.
    2. list_threads showed the active local conversation with projectId: null, although its cwd matched the project's folder.
    3. I called move_thread_to_project with that conversation, the existing project ID, and hostId: "local". The call returned success and the target project ID.
    4. Two immediate subsequent list_threads reads still returned projectId: null.
    5. A screenshot supplied privately shows the conversation in a custom sidebar section while the target local project is listed separately. The screenshot and private project/conversation names, IDs, and paths are not attached here.

    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.

  4. darrenodell commented on Nov 4, 2026

    @darrenodell
    Author
  5. goodman-oai commented on Nov 16, 2026

    @goodman-oai
    Contributor

    The move acknowledged the intended local project, but repeated list_threads calls still returned projectId: null while the sidebar showed the chat in that project. The earlier reproduction in #53486 also verified that the assignment was saved.

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

    appapp-serverbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions