Skip to content

[Windows] Local project list is empty on Account B but restored on Account A (same PC) #60223

Open

Description

@sonyoungdeuk

Summary

On the same Windows PC and same Windows user profile, the Codex desktop app shows over 20 locally registered projects for ChatGPT Account A, but an empty Projects list for Account B. Switching back to Account A immediately restores all 20+ entries.

Reproduction steps

  1. Sign in to Codex on Windows with ChatGPT Account A.
  2. Confirm that 20+ local development folders are listed in the Projects sidebar.
  3. Switch to ChatGPT Account B on the same Windows machine and Windows user profile.
  4. Observe the Projects list is empty.
  5. Switch back to Account A.
  6. Observe all 20+ project entries return without re-adding folders.

Actual behavior

The visible list of local projects depends on the authenticated ChatGPT account, even though the project folders are stored on the same local computer. No local project files are deleted.

Expected behavior / request for clarification

Please clarify whether account-scoped local project lists are intended. If not, preserve the local project registrations when switching accounts. If isolation is intentional, please provide an option to import/share local folder registrations across accounts on the same Windows profile, without mixing account-specific conversations or authentication.

Impact

The user has 20+ ongoing projects, including Unity game development, Maya automation, audio and video tools. They routinely use two ChatGPT accounts on one workstation. Re-registering each local folder on Account B is time-consuming.

Environment

  • Windows desktop ChatGPT/Codex app (exact app build not yet verified)
  • Same physical PC, same Windows user profile
  • Two different ChatGPT accounts
  • Screenshot of the populated Projects sidebar available if needed

Notes

This is not the A → B → A data-loss case: the project list reliably reappears on A. This report concerns whether account-specific visibility of local folder registrations is intentional, and the lack of a way to reuse them on B.

Related: #59895 and #59959 (account-switch-related project list issues, although those describe loss even after returning to A).

Activity

  1. added
    bug
    app
    windows-os
    on Nov 8, 2026
  2. secheverrianogal-beep commented on Nov 8, 2026

    @secheverrianogal-beep

    Proposed remediation / product clarification (not implemented)

    Please clarify whether local folder registrations are intended to be account-scoped or Windows-user-scoped. If account isolation is intentional, a deliberate import/re-register workflow for local folder references would avoid repeated manual setup. If registrations are intended to be local-profile scoped, keep that non-secret local metadata separate from account-specific conversations, credentials, and cloud state.

    Do not silently share conversations or authentication between accounts merely because they reference the same local folder.

    Regression coverage: A → B → A switching on one Windows profile; disjoint conversation stores for both accounts; missing folders; migration/rollback; no local registration loss and no cross-account conversation exposure.

    Consolidated proposal index: #60227 (section 4). This is a design proposal, not a claim that account scoping is a bug.

  3. lokizeraa commented on Nov 9, 2026

    @lokizeraa

    Additional reproduction on Windows desktop app package OpenAI.Codex 26.1103.3517.0, observed 2026-11-09. Switching ChatGPT accounts on the same Windows profile makes the local project inventory empty. This user reports that local project registrations previously remained available across account switches.

    Local read-only checks found 19 project records still present in state_5.sqlite and 41 existing thread-to-project associations intact. The desktop list_projects tool returned an empty projects array. In .codex-global-state.json, the local-projects catalog with all 19 entries was preserved under electron-account-renderer-state-v1.inactive[previous-owner].globals, while the active top-level catalog was absent. Inspection of the installed account-switch state handling is consistent with moving renderer globals into an inactive account slot and clearing them when the destination account has no saved slot. No evidence from these checks that the project folders were deleted.

    A separate project/thread migration problem had required local recovery on 2026-11-06; that recovery did not prevent this account-switch recurrence. Backups were made again before preparing a targeted local-catalog recovery. Live recovery is not yet verified because the application must reload the restored catalog after shutdown.

    Please clarify intended account scoping and provide a supported, explicit way to reuse local folder registrations on the same trusted computer across the user's own accounts. Preserve existing per-account state and keep cloud projects, authentication and account-specific conversation privacy separate. If this is a regression, please cover A -> B -> A switching and existing local catalog migration with tests. The user requests a durable fix because repeated disappearance disrupts ongoing work.

    No credentials, raw state files, private paths, project names or conversation contents are included in this report.

  4. secheverrianogal-beep commented on Nov 10, 2026

    @secheverrianogal-beep

    Investigación de #60223 — actualización 2026-11-10

    GitHub

    Incidencia: openai/codex#60223
    Título: [Windows] Local project list is empty on Account B but restored on Account A (same PC).
    Estado: abierta. Etiquetas: bug, windows-os, app.

    Evidencia revisada

    • El reporte describe que el catálogo local aparece con la cuenta A, desaparece con B en el mismo perfil de Windows y reaparece al volver a A. No hay evidencia de borrado de carpetas.
    • Comentario de lokizeraa (9 nov., paquete OpenAI.Codex 26.1103.3517.0): inspección local encontró 19 registros de proyecto en SQLite y 41 asociaciones hilo-proyecto; el catálogo se conservaba dentro de electron-account-renderer-state-v1.inactive[previous-owner].globals, mientras faltaba el catálogo activo. El llamador informa que list_projects devolvía un array vacío. Es evidencia diagnóstica aportada por el comentarista, no una reproducción independiente ni un diagnóstico confirmado por mantenedores.
    • Comentario previo de secheverrianogal-beep ya propone aclarar el contrato de ámbito y evitar mezclar conversaciones/autenticación.
    • El índice #60227, sección 4 contiene una propuesta equivalente, por lo que no se abre otra incidencia duplicada.

    Duplicados y relación

    Inspección del código público

    Archivo inspeccionado: codex-rs/app-server/src/request_processors/projects.rs, blob 4a04d6cac4f93219e52456a92c458cd382b0824f.

    El handler project_list usa thread_store.list_projects(...) y convierte el resultado en respuesta. En ese handler no hay filtro explícito de cuenta. El README de app-server documenta el ámbito por cuenta para el descubrimiento de historial de conversaciones (currentAccountOnly), pero eso no define el contrato del catálogo de proyectos. Falta inspeccionar el código Electron que gestiona electron-account-renderer-state-v1 y el mecanismo de cambio/restauración de cuenta.

    Diagnóstico y propuesta

    Hecho: la evidencia apunta a pérdida de visibilidad del catálogo activo, no a eliminación demostrada de registros ni carpetas.

    Hipótesis: el cambio de cuenta separa los renderer globals y no restaura el catálogo esperado para la cuenta de destino. No está confirmado por el código que se ha inspeccionado.

    Pendiente de definir por producto: si el catálogo de referencias locales pertenece al perfil Windows o a cada cuenta.

    Propuesta: si es por perfil, mantener el catálogo local no secreto separado de conversaciones, credenciales y estado cloud. Si es por cuenta, conservar catálogos independientes y ofrecer importación explícita de referencias de carpetas. No compartir conversaciones ni autenticación. Añadir pruebas A→B→A, dos catálogos diferentes, cuenta de destino sin catálogo, carpetas ausentes, migración/rollback y aislamiento de conversaciones.

    Trazabilidad y estado

    No se ha modificado código ni datos locales.

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

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions