Skip to content

Feature Request: Opt-in sharing of local Codex projects across accounts on one trusted device #60337

Open

Description

@txdd2333

Summary

Please make local project visibility and continuity across ChatGPT/OpenAI accounts configurable in Codex Desktop, rather than forcing either universal sharing or universal isolation.

Both requirements are legitimate:

  • People using personal and company accounts need strong account and organization boundaries.
  • An individual developer using multiple authorized accounts on one trusted computer may want a single persistent set of local projects. Switching which account is authenticated should not unnecessarily disrupt ongoing work.

This is a product feature request, distinct from the bug where projects disappear even after returning to the original account.

Real-world workflow and regression

I use Codex Desktop on one personal, trusted computer for long-running local development work.

  1. Open an existing local project with Account A and work through a task.
  2. When Account A reaches its usage limit, sign in with another account that I am authorized to use.
  3. Continue work in the same local project without recreating the sidebar entry, rediscovering project paths, or rebuilding task context.
  4. Switch back later, retaining the local project organization.

Previously, project visibility was much more continuous across account changes. With recent desktop behavior, the Projects list can be empty or differ after signing into another account, although the underlying source directories are still on the device. Other reports describe loss of project groupings even after switching back.

It is not yet established whether the account-scoped project catalog is an intentional design change or a regression. Either way, the current experience creates unnecessary setup and recovery work for this workflow.

Local filesystem access/sandbox approval is not the same thing as project-list visibility or permission to access an account's private conversation history. These should be handled separately.

Proposed design

1. Explicitly choose how local project registrations are scoped

Provide a setting such as Local project visibility:

  • Account-isolated (default): project registrations and account-specific state are separate.
  • Shared on this trusted device (opt-in): selected local folder registrations remain visible when switching among locally authorized accounts.

Optionally, allow per-project visibility: "Only this account" vs. "Authorized accounts on this device." An import/link-existing-project action could be a minimal first step.

2. Make task continuity explicit and safe

A shared local folder entry alone does not solve the entire workflow: users also need to resume relevant work.

Offer a user-approved handoff of selected task context (e.g., project instructions, an editable summary of decisions, pending steps, relevant file paths/commit references). If full thread history cannot legally or technically be shared across accounts, keep it private and make the limitation clear—do not silently merge transcripts, cloud data, or account identities.

3. Honor organizational security boundaries

  • Never share credentials, tokens, billing/usage state, private cloud conversations, or account-specific resources merely because a folder is shared.
  • Managed organization policy must be able to prohibit cross-account local project sharing and handoffs.
  • Make sharing status visible and reversible.
  • Handle permissions, migration, conflicts, and unavailable folders predictably.

4. Avoid destructive account-switch or upgrade behavior

Regardless of the selected visibility mode, switching A → B → A or updating the app must not silently lose Account A's project registrations, project IDs, or thread-to-project associations. Provide a supported recovery/migration flow for affected existing users.

Suggested acceptance criteria

  • Projects can remain account-isolated by default.
  • On an unmanaged trusted device, an individual can opt into sharing specified local folder registrations across authorized accounts.
  • Switching A → B → A never loses an existing account's projects or associations.
  • A shared project can be continued via an explicit, permission-respecting task handoff; no automatic access to private account-specific chats.
  • Managed organizations can disable shared mode.
  • Updates preserve settings and offer safe migration/recovery.

Why this matters

For a personal Codex Desktop installation, the local project/workspace and the currently authenticated service identity are related but not identical concepts. Treating every account switch as a new local workspace undermines long-running development, especially when the developer switches between accounts due to usage limits.

I am not asking for weaker security. I am asking for a clear choice that supports different threat models and working styles instead of making one model mandatory for everyone.

Related reports and alternative needs

Please clarify the intended account-vs-device scoping model for local project registrations and consider providing a user-controlled, policy-aware option.

Activity

  1. added
    enhancement
    app
    session
    on Nov 9, 2026
  2. github-actions commented on Nov 9, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. 0xZoharHuang commented on Nov 10, 2026

    @0xZoharHuang

    One acceptance case I would add is switching A → B → A with two independent choices: sharing the local project layout, and sharing sent-prompt recall within the same local thread. Someone may want the same sidebar at work while still keeping personal prompt text out of their work profile.

    On macOS 15.5, desktop 26.1103.60933 (25894), the active native Projects list was empty while the local project records and the previous profile's assignments were still present. Restoring those assignments offline with their original IDs made the projects visible in the native sidebar after relaunch. Explicit “no project” choices matter here: matching only by working directory can group a chat the user deliberately removed.

    A small regression test for an opt-in implementation would be to move one chat, leave a second chat in the same directory explicitly ungrouped, switch profiles, and check both. With recall separately enabled, send the same harmless text twice in one thread, switch back, and check that ↑ recalls both sends there and neither in an unrelated thread.

    I published synthetic fixtures and verification notes. The sidebar restoration was observed in the desktop UI; the recurring helper's full A → B → A keyboard check is still pending.

    A separate folder-registration test, prompted by #60223: importing just the folder catalog should succeed even when the test database has no chat table. That makes the distinction from sharing explicit thread assignments testable. The desktop might still display chats the destination could already see by working directory. We also tested narrowing the sharing group: changing consent leaves the native state alone, and an old recovery point cannot write into the new group. Synthetic test cases.

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

    appenhancementsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions