Skip to content

[Codex App] Project membership differs between sidebar and list_threads; move_thread_to_project success not reflected in readback #53486

Open

Description

@davidsella604-glitch

Component and environment

Codex / ChatGPT Work desktop application on macOS. Observed October 12, 2026. Exact app version has not been collected. Sidebar grouping was set to project.

User-reported behavior

New chats started within a project sometimes appear only in Recents instead of under the project where they were created. The creation flow was not independently reproduced during this investigation.

Directly observed evidence

  1. A user-provided screenshot showed the affected active Codex chat beneath an expanded ChatGPT project in the sidebar.
  2. list_threads returned projectId: null for that same chat. Its recorded working directory was the local mirror for the intended ChatGPT project.
  3. Another Codex chat in the same project and working directory correctly returned the intended non-null project ID.
  4. move_thread_to_project was called for the affected local Codex chat with the intended ChatGPT project ID.
  5. The tool returned success, including the intended project ID and the correct thread ID.
  6. An immediate subsequent list_threads call still returned projectId: null for the affected chat.

This establishes a disagreement between sidebar placement, thread metadata, and the mutation acknowledgement/readback. It does not yet establish whether the underlying cause is persistence, stale readback/cache, or different membership models between the Work UI and Codex tools. No app restart or delayed readback was performed.

Expected behavior

A chat created in a project should retain that association and remain accessible under the project. After a successful project move, thread-list metadata and sidebar placement should consistently reflect the intended membership. If a move is asynchronous, its response should make that explicit and provide a way to verify completion.

Investigation / reproduction path

  • Start a local Work/Codex chat from a ChatGPT project.
  • Compare sidebar placement with list_threads project membership.
  • For a mismatched chat, invoke move_thread_to_project with the existing project ID.
  • Read membership back with list_threads and check whether the acknowledged association is reflected.
  • Check both immediate and delayed readback, and persistence across app restart.

Impact

Users cannot reliably determine whether chats belong to the project they selected. Agents using the thread-management tools receive metadata that disagrees with the visible sidebar, complicating project navigation and coordination.

Related reports

This report adds the observed projectId: null mismatch and successful-move/unconfirmed-readback evidence.

Private project names, local paths, project/thread IDs, conversation contents, and the user screenshot are omitted from this public report.

Activity

  1. added
    bug
    app
    app-server
    on Oct 12, 2026
  2. twentyfourkarats commented on Oct 13, 2026

    @twentyfourkarats

    Cross-platform corroboration from Windows is now filed as #53761.

    Windows reproduction adds a useful client-boundary comparison:

    • Browser-originated project assignments persist across refresh.
    • They then sync to Windows Desktop and appear to remain stable.
    • Desktop-originated project moves initially appear successful but later revert.

    That pattern is consistent with the possibility described here that the visible sidebar mutation, thread metadata, and durable project membership are not using the same persistence/reconciliation path.

    The Windows report intentionally does not assume the same root cause as this macOS issue, but the successful-move / non-durable-membership behavior is close enough that maintainers may want to compare the mutation acknowledgement, stored projectId, and reconciliation flow across platforms.

  3. omarpinarecords commented on Oct 19, 2026

    @omarpinarecords

    October 19 macOS follow-up: feedback receipt and two-chat metadata comparison

    Earlier text-only feedback receipt: no-active-thread-01a1552a-f508-72c2-9273-9671d4994857. No logs, session payload, screenshots or attachments were submitted. The two-chat comparison below was collected after that feedback submission.

    Owner-reported creation history: I opened New, selected the intended Local Project before sending the first message, and the chat appeared under that Project from the beginning. I also created a second chat in that Project and saw the same null listing; I did not see a Move to project option there. These creation/UI details are my report, not a newly reproduced creation test.

    Environment: macOS 27.0.1; ChatGPT/Codex desktop 26.1013.40934, build 20770. Bundled CLI/app-server: 0.163.0-alpha.10.2. Separately installed CLI/app-server: 0.163.0. Workspace Dependencies bundle: 26.1017.11052; that is a separate component, not the desktop app version.

    Read-only comparison, October 19, 2026:

    Same existing Local Project and working directory Desktop native list_threads Bundled app-server thread/read Standalone app-server thread/read
    Chat A, after an earlier separately authorized association correction projectId: null Non-null ID resolving through project/read to the intended Local Project Same non-null ID
    Chat B, left unchanged projectId: null projectId: null projectId: null

    The earlier correction to Chat A persisted across fresh app-server processes; the Desktop null remained. This follow-up did not move, resume, rename or change either chat. Matching working directories do not by themselves establish stored Project association.

    Narrow installed-code finding: in webview/assets/execution-11111e21e1a0.js, the native listing's thread adapter does not retain the raw server projectId. Its output mapper instead reads a separate sidebar-group lookup and falls back to null. The lookup traces to the group/thread-key map in app-initial-90eb42395b7d.js. This is static inspection of the installed build, consistent with the live discrepancy; it does not identify why the lookup lacks the expected association in this UI state or why Chat B has no stored ID.

    The existing Project is registered at its current folder, is trusted in config, and config/read(cwd, includeLayers:true) includes its project-local configuration. No configuration edit, directory relocation, restart or extra test chat was performed.

    Please compare the listing projection/group lookup with persisted Project association and the pre-first-message Project selection path. A null listing currently cannot distinguish Chat A's saved association from Chat B's absent server field. Private Project names, paths, thread/Project IDs and conversation contents are omitted.

  4. omarpinarecords commented on Oct 19, 2026

    @omarpinarecords

    October 19 follow-up: instruction evidence, dated sources, and local containment

    This supplements the earlier two-chat comparison; it reuses retained evidence and does not report a new reproduction. Research cutoff: 2026-10-19 19:08:13 UTC / 15:08:13 EDT.

    What we corrected locally: our user-owned workflow no longer treats Desktop list_threads.projectId as conclusive stored membership, or a null value as proof that Project instructions, skills or custom agents are missing. It now retains the separate server comparison. We explicitly read the current relevant instructions in the affected chat. This corrects our interpretation and current instruction use; it does not repair Desktop association projection or automatic refresh.

    The retained second-chat record contains the complete current global and Project instructions despite its null stored Project field. Both chats expose the same skill-path catalog and delegation-tool schema. One older automatic instruction snapshot in the first chat omitted a later paragraph. Catalog/configuration presence, source reading and actual agent execution remain separate. The comparison does not support attributing missing instructions or agents to null Project membership.

    Chronology and scope:

    Instruction-refresh evidence is separate: the April 2 response in #16403 is historical. PR #47458 merged September 23 and appears in stable 0.158.0, published September 28; it parallelizes existing instruction refresh, not unconditional file watching. Official 0.163.0 source pinned to commit conditionally reloads repository instructions on environment-selection/trust changes and separately queries host instruction providers. This is a possible explanation for in-place edit staleness, not proof of this Desktop host's provider, binary parity or incident cause.

    A May–June Community report also has two distinct outcomes: the May 30 permission-error repair did not establish recovery of the missing sidebar history still reported June 5. Its pagination discussion is a diagnostic lead, not a deployed fix.

    Still pending from OpenAI: clarify and correct the listing/persisted-membership and pre-first-message selection behavior, and document the applicable same-chat instruction-refresh contract. No released fix or original-failure recovery is established by this follow-up. The relationship to plugin/catalog issue #32636 or a past Workspace reinstallation remains unproved.

    No runtime tests, reinstall, restart, chat move, new chat, settings change, raw logs or private content accompany this update.

  5. rolldav commented on Oct 22, 2026

    @rolldav

    Additional macOS evidence collected on October 22, 2026, with desktop app version 26.1016.61520 and local Codex execution.

    The observed issue is more specific than a move acknowledgement alone:

    • Moving local conversations into an existing registered local project returned success with the intended project assignment.
    • Read-only inspection of the persisted local application state confirmed that the intended assignments were saved under thread-project-assignments. The affected conversations were absent from projectless-thread-ids.
    • Subsequent list_threads calls still returned projectId: null for two recently used conversations, while historical conversations in the same target project returned the correct project ID.
    • The recorded working directories remained correct. The target local project retained its primary source folder and secondary source folder in the intended order.
    • The mismatch remained in the final readback despite the assignments remaining on disk. It therefore cannot be described simply as a failed persistence write.

    Read-only inspection of the installed application suggests a possible reconciliation issue: thread listing derives membership from calculated sidebar groups, and group calculation can override persisted assignments with per-conversation workspace state. The actual in-memory values were not inspected, so this is a hypothesis, not a confirmed root cause.

    A targeted search of the app logs found no occurrences of Failed to save thread project membership or Failed to save sidebar state after moving thread. This does not exclude other errors.

    No application restart, session interruption, reindexing, or manual application-state modification was performed. Repeated moves did not provide reliable confirmation of the intended membership.

    Could OpenAI provide a supported way to reconcile persisted project membership with the calculated sidebar/thread-list membership while keeping existing sessions open? A successful move should either produce consistent readback or explicitly indicate that reconciliation is pending.

    Privacy: this report intentionally excludes conversation contents and titles, project names, personal filesystem paths, project/thread/session identifiers, screenshots, and raw logs. No session transcript or diagnostic attachment is shared.

  6. omarpinarecords commented on Oct 24, 2026

    @omarpinarecords

    October 23 macOS follow-up: user-created local Work task in a ChatGPT Cloud Project

    Verified text-only feedback receipt: no-active-thread-01a16bdb-9dca-7eb2-9f20-7938b754c873, submitted October 23, 2026, at 23:01:57 EDT / October 24 at 03:01:57 UTC. The documented Codex App Server feedback/upload call returned a matching successful response. includeLogs=false, extraLogFiles=null, threadId=null; no session transcript or diagnostic attachment was submitted. The returned ID identifies the feedback receipt, not a newly created user task.

    Environment and creation context

    • Active ChatGPT desktop app on macOS 27.0.1.
    • Installed app bundle: 26.1021.31345, build 21828. This is a bundle read, not an independent measurement of the loaded process's version.
    • Bundled Codex CLI/App Server: 0.164.0-alpha.11.1.
    • Visible surface: ChatGPT → Work, with an existing ChatGPT Cloud Project selected and “On your computer” checked before sending the initial request.
    • This was an independently user-created task, not a dot-created child. No Project move or reassociation was performed.

    Observed mismatch

    Repeated native list_threads reads during the running conversation returned kind=codex, hostId=local, and projectId=null for the same task. Local command execution succeeded.

    A desktop screenshot I supplied at 22:56:55 EDT shows that exact selected task beneath the intended Cloud Project. A fresh native listing at 22:57:07 EDT still returned projectId=null. The discrepancy therefore remained at the later observation; this test did not capture a null-to-correct transition.

    Native Project discovery also returned both the ChatGPT Project and a separate same-name local companion entry. Their existence does not establish which association model the null field represents.

    Effect on the assistant

    The assistant initially interpreted the null field as “no attached Project” / projectless, then corrected that conclusion after comparing the sidebar evidence. Instruction text was present in the session context, and supported native/connected tools separately retrieved live cloud documents and actual messages from prior chats explicitly associated with the Cloud Project. Those reads demonstrate available access routes; they do not prove automatic Project-memory loading or a complete current Sources inventory.

    This illustrates the practical impact: a null field can trigger misleading context and routing conclusions while the task is already sharing progress.

    Hypothesis and requested clarification

    I suspect a delay between task startup/initial progress and Project association becoming available to the agent. That remains a hypothesis. This occurrence establishes a sidebar/native-metadata mismatch, not transition latency, lost persistence, or an internal cause.

    The October 23 follow-up in #52632 reports a null-to-correct transition in a different, dot-created Mac task. It is a separate observation; no shared cause is established.

    Please clarify whether list_threads.projectId is authoritative stored membership or a sidebar projection. Provide a supported readback and distinguish association pending/loading, unknown/unavailable projection, and intentionally projectless before agents use the value for routing. Any correction should preserve the existing task and history.

    No app restart, task interruption, setting change, new reproduction task, or source mutation accompanied these checks. Private Project names, task/Project IDs, paths, conversation content, screenshots, raw logs and legal material are omitted.

  7. omarpinarecords commented on Oct 24, 2026

    @omarpinarecords

    Clarification of the October 23 test: Cloud Project context and app-server assignment are separate

    This clarifies my preceding test report, associated with verified text-only feedback no-active-thread-01a16bdb-9dca-7eb2-9f20-7938b754c873.

    This test has not proved a startup delay or a product defect. My earlier expectation that waiting should eventually make the task return the ChatGPT Cloud Project's ID was unsupported. The observed null value remains a field-scope/representation question.

    The source review distinguishes:

    1. ChatGPT Cloud Project context — related chats, instructions and sources. Where Work executes is a separate dimension. See official Projects guidance and Cloud Work guidance.
    2. Codex app-server Project assignment — the pinned official Thread definition describes projectId as the “Canonical project assignment owned by app-server, if any” and makes it optional. Its Project type includes filesystem roots. The installed bundled protocol schema independently has the same field description and nullable type. This does not establish a one-to-one contract between that app-server field, the desktop list_threads wrapper and ChatGPT Cloud Project membership.
    3. API Platform organization projects — a separate administration model for API access, keys and limits, not this chat's Cloud Project context. See official Admin APIs guidance.

    In this occurrence, the task was visibly grouped under the intended Cloud Project, instruction text was present in its session context, and supported tools retrieved live cloud documents and previous Project-chat messages despite the native null listing. Those explicit reads do not establish automatic Project-memory loading or complete Source parity, but null did not demonstrate that context access was broken.

    The October 1 Developer Community report describes ChatGPT showing Cloud plus Local Projects while Codex showed the local subset. Discussion #41716 discusses a proposed ChatGPT–Codex coordination model. These are user observations/proposals, not official architecture contracts. Public GitHub searches also found #56489, which reports both non-null Cloud Project IDs and null for local chats; that user report does not establish a universal “Cloud Project always returns null” rule.

    The supported conclusion is that Cloud Project context and a nullable app-server assignment are separate concepts. We have not established that the desktop wrapper must return the Cloud Project ID, that waiting should change it, or that every Cloud-associated null is intentionally by design.

    Please treat this October 23 occurrence as a request to clarify the field's supported scope and mapping. It does not establish lost membership, delayed association, missing context or a reproducible defect. This clarification does not dismiss the separately evidenced move/persistence/readback cases elsewhere in this issue.

    No additional feedback upload, reproduction, reassociation, restart, configuration change, diagnostic attachment or private-content disclosure accompanied this source review.

  8. JasonAuctus commented on Oct 28, 2026

    @JasonAuctus

    Additional macOS reproduction from October 28, 2026, matching the local-project creation/membership failure in this issue.

    Environment

    • ChatGPT desktop app: 26.1021.31345, build 21828, production channel
    • Bundled Codex CLI/App Server: 0.164.0-alpha.11.1
    • macOS: 26.5.2 (Apple Silicon)
    • Sidebar grouping: project

    Reproduction and observed result

    1. Expanded an existing registered local project in the sidebar and started a new chat from that project. The empty composer visibly identified the selected project before the first message was sent.
    2. After sending the first message, the chat appeared under Tasks/Recents rather than beneath the selected project.
    3. The desktop-native list_threads result returned projectId: null for the new chat even though its recorded working directory exactly matched the selected project's primary root.
    4. Read-only checks showed the persisted selected-project value and the per-computer new-task project mapping both pointed to the intended local project.
    5. The desktop's persisted thread-project-assignments entry also pointed to the intended legacy local-project ID, and the legacy-to-app-server project mapping existed.
    6. Calling the supported move_thread_to_project operation twice returned success with the intended project and thread, but immediate and later list_threads readback remained projectId: null and the sidebar placement did not change.
    7. A previous full app restart did not correct this behavior. No restart was performed during this investigation because unrelated active chats needed to remain running.

    Migration state

    The host-specific project migration state reports:

    • projectsMigrated: true
    • threadAssignmentsMigrated: false
    • pendingThreadAssignmentIds: 430 entries, including the affected chat

    The project registry, root, legacy assignment, and legacy-to-server mapping all remain present. This closely resembles the incomplete assignment/reconciliation signature in #55455 and the split membership authority described in #54482.

    Supported diagnostic

    A redacted codex doctor --json run reported healthy SQLite database integrity, but also reported:

    • 81 active rollout files missing matching state-DB rows
    • 19 archived rollout files missing matching state-DB rows
    • 83 duplicate rollout thread IDs

    No raw logs, project names, filesystem paths, account identifiers, thread/project IDs, conversation contents, or screenshots are included here.

    Please provide a supported reconciliation or repair path that preserves active chats and makes a project-selected new chat receive durable desktop/sidebar membership. In particular, can the stuck threadAssignmentsMigrated=false state be safely completed without shutting down unrelated running chats or editing private desktop state out of band?

  9. Rrolis commented on Nov 4, 2026

    @Rrolis

    Linux reproduction — November 4, 2026

    I can confirm the same project-assignment failure on Linux.

    Environment

    • OS: Ubuntu 26.04, x86_64
    • ChatGPT/Codex Desktop: 26.1029.61003, production channel
    • Bundled Codex: 0.166.0-alpha.6
    • App Server: 0.166.0
    • Installed and updated through the official OpenAI APT repository
    • The application was fully restarted after updating
    • Sidebar grouping: Projects

    Reproduction

    1. Expand an existing registered Local Project in the sidebar.
    2. Start a new chat from inside that project.
    3. Confirm that the composer shows the intended project.
    4. Send the first message.

    Actual result

    • The new chat appears under the general Tasks section instead of under the selected project.
    • The chat's recorded cwd exactly matches the project's primary folder.
    • list_projects returns the intended project with a valid, non-null project ID.
    • list_threads returns projectId: null for the affected chat.
    • .codex-global-state.json contains a thread-project-assignments entry pointing to the correct Local Project.
    • The legacy-to-app-server project mapping also exists.
    • The corresponding state_5.sqlite thread row has project_id = NULL.

    The migration state is:

    projectsMigrated: true
    threadAssignmentsMigrated: false
    pendingThreadAssignmentIds: 69
    affected test chat is included in pendingThreadAssignmentIds: true
    

    A full application restart did not repair the assignment.

    For earlier affected chats, the supported move_thread_to_project operation returned success, but subsequent list_threads readback still returned projectId: null.

    Diagnostic integrity checks

    A redacted codex doctor --json report shows:

    • state_5.sqlite integrity: OK
    • Other Codex SQLite databases: OK
    • App Server: running
    • Rollout files and state DB thread inventory: fully consistent
    • Missing active rows: 0
    • Missing archived rows: 0
    • Duplicate rollout thread IDs: 0
    • Network and authentication checks: OK

    This does not appear to be database corruption or missing thread data. It appears to be the same incomplete project-assignment migration or split-membership reconciliation problem described in this issue, now reproduced on the current Linux production build.

    Please provide a supported reconciliation or repair procedure that does not require editing Codex's private SQLite or global-state files.

    I can provide the exact affected thread/project IDs and the complete redacted codex doctor --json output privately if needed.

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