Repository navigation
Description
What variant of Codex are you using?
Codex Desktop / Codex App on macOS.
What feature would you like to see?
The global new-chat composer should default the project selector to No project / General instead of preselecting the last active project.
Only chats opened explicitly from a project context, such as a project sidebar/page or a project-specific "new chat" action, should preselect that project.
Why this matters
A new chat often does not pertain to any repo or project. It may be a general question, GitHub/account/admin task, browser task, planning task, product question, debugging triage, or a prompt where the correct project is not known yet.
When the composer silently defaults to the last active project, it is easy to start a thread in the wrong repo. For a coding agent, that is a risky default because project context affects search, files, shell cwd, permissions, memory, and the user's mental model of where the work is happening.
Expected behavior
- Global new-chat entrypoint defaults to
No project/ General. - Project-scoped new-chat entrypoints default to that specific project.
- The dropdown includes an explicit
No projectoption. - If preserving the current behavior is useful for some users, expose it as an opt-in setting such as
Default new chats to last active project.
Observed behavior
The new-chat project dropdown can default to a previous project/repo, requiring manual switching back to no-project mode before starting unrelated chats.
In local state this appears to correspond to an active project selection such as active-workspace-roots, but the product issue is the UX default: a global new chat should not inherit project scope unless the user intentionally starts from that project.
Related issue
Related to #24222, which covers the broader General/Project thread context model and moving threads between contexts. This issue is the narrower request for the default selection in the global new-chat composer.
Activity
github-actions commentedon May 27, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
grandmaster451 commentedon Sep 5, 2026
The top-level New chat button is the important entry point here, not just the project selector or keyboard shortcuts.
In my current macOS Codex workflow, clicking the global New chat button after working in a project still starts the next chat inside a project. Each project already has its own new-chat button, visible when hovering over that project, so the two entry points should have distinct, predictable scopes:
The existing New standalone chat command is useful, but asking users to remember a different shortcut does not fix the behavior of the prominent global button. Likewise, having the assistant create one standalone chat is only a one-time workaround. The requested change is to the button's default behavior on every click.
Suggested acceptance check: open a chat in project A, click the top-level New chat button, and submit an unrelated prompt. The resulting chat should remain outside all projects. Then use project A's own new-chat button and verify that the resulting chat belongs to A. Repeat after switching to another project.
This describes my observed workflow and requested behavior; it is not a claim that I have identified the implementation bug or reproduced it across all app versions.
klday commentedon Sep 8, 2026
Additional user report observed on September 8, 2026, in the macOS desktop app, version 26.901.31953 (read from the installed app's CFBundleShortVersionString).
The user clicked the global New chat control at the top of the sidebar, outside any project, intending to start an unrelated conversation. After sending the message, the new conversation appeared under an existing local project. The user explicitly confirmed they had not used a project-specific New chat action.
The resulting assignment was verified with the app's task-list tool: the conversation had that local project's non-null projectId and its folder as cwd. The project folder was already supplied as the conversation's working directory when the first message reached the assistant. Another unrelated conversation was also associated with the same project, although its creation steps were not independently verified.
Expected: the global New chat entry point should start without project context unless the user explicitly chooses a project, or clearly require a project choice before sending.
Actual: a conversation intended to be independent acquired an unrelated project's association and working directory. This affects the agent's file context as well as sidebar organization.
The exact composer selector state before submission was not captured, so this report does not establish whether the cause is retained project selection or a separate routing defect. No deterministic repeatability claim is being made.
Please also provide a supported way to remove an existing conversation from a local project while preserving its history. The assistant's available sidebar-move control did not detach the other affected conversation; its projectId and cwd remained unchanged.
Personal project names, absolute paths, task identifiers, and conversation transcripts are omitted from this public report.
apoorvdarshan commentedon Sep 29, 2026
Reproduced on the current macOS ChatGPT desktop app after the recent update. With a project active, pressing ⌘N opens a new window that remains attached to that project. From a projectless chat, ⌘N remains projectless. I also have “Default to standalone chat” enabled in Popout Window settings, but it does not change ⌘N’s behavior.
grandmaster451 commentedon Oct 4, 2026
Follow-up to my September 5 report: this still affects my regular New chat button in the main window on macOS, with Codex Desktop 26.930.31730 (12947) installed (macOS 27.0, build 26A428).
After working in a project, I click the global New chat button to start an unrelated conversation, but it still defaults to a project. This is the global entry point, not a project's own new-chat action.
Some additional configuration evidence may help distinguish the entry points:
desktop.hotkey-window-projectless-default-enabledis alreadytruelocally. The shipped setting descriptor describes it as “Whether new popout-window tasks default to projectless mode.” That explains why enabling the standalone preference under Popout Window does not govern the main-window button, although the distinction is easy to miss.CmdOrCtrl+Nbinding to the nativenewProjectlessTaskcommand gives me the standalone behavior I want. This is my remapped shortcut, not a claim about the app's default Cmd+N behavior. It does not change the ordinary button's behavior.Please expose a supported preference for global new chats to default to No project, covering the main-window button, or let that button honor a clearly named global standalone preference. Explicit project-scoped new-chat actions should continue to select their respective projects. Please also make the popup-only setting's scope clear in the UI.
A useful regression check across supported desktop operating systems: open a chat in project A, click global New chat, submit an unrelated prompt, and verify that the resulting chat has no project association. Then use A's own new-chat action and verify that it belongs to A; repeat after switching to B. The intended scopes should be consistent while retaining each OS's native shortcut conventions.
The button behavior above is my reported workflow; the installed version, local setting, shortcut mapping, and shipped descriptor were inspected. This is not a claim of an automated UI reproduction or verification on Windows/Linux.
Ray8mu34 commentedon Nov 4, 2026
Same issue on Windows 11 in the ChatGPT/Codex desktop app, noticeable since November 3, 2026.
Repro: Open a conversation in a local project, then click the global New chat button at the top of the sidebar. The new composer inherits the previous project's directory. In Work mode, the global new-task entry correctly starts without a project.
Restarting did not help. Regenerating
.codex-global-state.jsoninitially showed no project, but the issue returned after restoring the project list and opening a project conversation.Ctrl+Alt+Ocreates a standalone chat successfully; the regular button remains affected.Please compare the Work and Codex initialization paths. Global New chat should default to no project, while project-specific actions should retain their context—or provide an explicit setting for this behavior. Silently inheriting a directory makes it easy to give an unrelated coding task access to the wrong files.
Alven-Yang commentedon Nov 9, 2026
Additional macOS desktop feedback: inherited project selection can send intended local work to a remote server
Reported on November 9, 2026.
I use both local projects and projects on a remote server. After I open a project, starting a new chat from the sidebar's general/Recents new-chat entry defaults to that previously opened project. If that project is remote, I can unintentionally start a task intended for my own computer in a remote-server chat.
This makes the retained selection consequential: it determines the machine and working directory available to the agent, not just where a chat is organized in the sidebar. I should not have to remember which project I last visited to know where an unrelated new task will run.
Please make both defaults configurable by the user:
A regression check should cover opening a remote project, then starting an unrelated chat through the general/Recents entry with "This computer" configured as the default. The new chat should honor that setting, rather than inherit the remote host. Explicitly starting a chat inside the remote project should still use its remote environment.
This describes my reported experience, not a fresh automated reproduction or a claim of a verified backend routing defect. No destructive action or data loss is alleged. Private project names, server identifiers, paths, screenshots, and conversation contents are omitted.
Submitted with an assistant at my explicit request.
iamhectorlopez commentedon Nov 20, 2026
On macOS in Codex mode (desktop app
26.1111.71704, build29030), the new-chat composer shows This computer and Choose project when no project is selected. Opening Choose project shows saved projects and New project, with no visible standalone option or indication that the chat is already set to start without a project.I read Choose project as a required step and went looking for a way to start a standalone chat. Please show No project as the current value in the composer and as an explicit option in the picker, including when it is already selected.
0009-0009-1013-986X commentedon Nov 22, 2026
This may duplicate #21165 (comment).
edudetor commentedon Nov 30, 2026
I’m seeing the same behavior in ChatGPT Work on Windows. When I click the global New Chat button after working in a project, the last project stays selected. For unrelated chats, I have to clear that selection manually before sending my first message. It adds friction, and it’s easy to miss.
Please make the global New Chat start with No project selected by default. Starting a chat from within a project should still preselect that project.