Skip to content

Projects containers disappeared #44269

Open

Description

@ahimmelreich

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.903.61454

What subscription do you have?

Business subscription

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Windows Codex shows “No projects” after restarting the PC. intralynked-agents and Intralynked CORE remain in the local database with correct folder paths and are visible on mobile. Existing tasks appear under Recents, but the desktop project-list API returns no local projects.

What steps can reproduce the bug?

Restart of PC does not help to solve the issue.
Mobile phone shows both projects.

What is the expected behavior?

Image

Additional information

No response

Activity

  1. added
    app
    on Sep 9, 2026
  2. added
    bug
    windows-os
    app-server
    on Sep 9, 2026
  3. github-actions commented on Sep 9, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. LiTarPc commented on Oct 12, 2026

    @LiTarPc

    Additional diagnostic report from another affected Windows installation: all saved local projects disappeared after an unexpected system shutdown, while chats and checked project directories remained available.

    Environment

    • Component: Codex desktop app on Windows, local execution.
    • Windows 10 Pro 22H2, x64, build 19045.6466.
    • Application package: OpenAI.Codex, version 26.928.2636.0, confirmed from AppxManifest.xml. The About dialog version was not separately collected.
    • Local Codex executable: codex-cli 0.159.2.
    • UI language: Russian.
    • Incident investigated on 2026-10-12, Europe/Moscow (UTC+03:00).

    Observed incident sequence

    This is an observed incident, not a reliably reproduced test case.

    1. Several saved local projects had previously been available in the sidebar.
    2. The computer unexpectedly shut down.
    3. After returning to the application, the user noticed that the entire Projects section displayed “Нет проектов” (“No projects”).
    4. Existing chats remained visible under Recent.
    5. Read-only diagnostics confirmed an empty project list and the continued existence of multiple corresponding working directories.

    The exact time when the project list became empty is unknown. A causal relationship between the shutdown and the project-list problem has not been established. The issue was not deliberately reproduced.

    Actual behavior and app diagnostics

    Before manual re-adding of project folders:

    • The app's list_projects tool returned:
      {"schemaVersion":2,"projects":[]}
    • Sidebar grouping was still set to project.
    • The Projects section was not collapsed.
    • Inspected existing local chats retained their working-directory paths, but had projectId: null.
    • Multiple corresponding local working directories still existed on disk. Not every historical directory or individual project file was verified.

    Read-only inspection of ~/.codex/.codex-global-state.json found:

    • "local-projects": {}
    • For the local host in app-server-projects-migration-by-host:
      • version: 1
      • projectsMigrated: true
      • threadAssignmentsMigrated: false
    • Sidebar preferences included mode: "project" and initialized: true.

    The inspected .codex-global-state.json.bak also contained an empty local-projects object.

    These are post-incident observations. No pre-incident snapshot was available to determine when those values changed. The migration flags do not prove that migration caused the problem or was running when the computer shut down. The underlying project registry in the database was not inspected, so this report does not establish whether registry rows were deleted or only became unavailable to the application.

    Windows System log evidence

    Event Recorded time (MSK, UTC+03:00) Details
    EventLog 6008 2026-10-12 10:32:03 (07:32:03 UTC) Reports that the previous unexpected shutdown occurred at 2026-10-12 10:19:35 local time.
    Microsoft-Windows-Kernel-Power 41 2026-10-12 10:31:56 (07:31:56 UTC) Recorded during the subsequent startup following an unclean shutdown.

    These events confirm an unexpected system shutdown. They do not establish whether it was caused by power loss, an OS crash, or another cause, and do not prove that it caused the project issue.

    Expected behavior

    Saved project registrations and chat-to-project organization should survive a computer/application restart. If an interrupted save or migration prevents loading the project list, the app should attempt recovery from a valid previous state or provide a clear recovery/error message.

    Impact and recovery status

    • Previously saved project organization became unavailable, although chats remained accessible.
    • No deletion of the checked working directories was observed.
    • During the later recovery discussion, three projects were present again after folders were re-added; the app's project-list tool returned those three registrations.
    • Existing chat-to-project assignments were not verified as restored. The user needed instructions for moving retained chats into the re-added projects.
    • The assistant did not directly edit application state files or project registrations during diagnosis.

    Possible investigation areas (unconfirmed)

    Project-registration recovery after unclean shutdown; persistence during interrupted writes; consistency between the migrated registry and retained chats; handling of an empty project list when migration is marked completed.

    A sidebar screenshot was supplied during diagnosis and showed “No projects” alongside retained chats. It is not attached to this comment. No feedback-generated session ID is available for this report.

    This report is submitted with the affected user's authorization. Account email, private project names, full local paths, credentials, raw databases, and session transcripts have been omitted.

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-serverbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions