You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex App: add default parent folder setting for Start from scratch projects #19913
Confusing interactionappIssues related to the Codex desktop appconfigIssues involving config.toml, config keys, config merging, or config updatesenhancementNew feature or request
Please add a supported setting in the Codex App for the default parent folder used by Projects → Start from scratch.
Desired behavior:
User chooses a default project parent folder in Settings, for example: /Users/cfs/Documents/Codex/My Projects/
When the user clicks Projects + → Start from scratch and enters a project name, Codex creates the new project folder under that configured parent: /Users/cfs/Documents/Codex/My Projects/<Project Name>
The new project is then opened/registered in the sidebar from that folder.
If a same-named folder already exists, Codex can use the existing “Project 2” / unique-name behavior.
Right now, the app appears to create new scratch projects under the macOS Documents folder by default. For users who organize Codex work under a dedicated folder tree, every new project needs manual cleanup or a workaround.
Additional information
This should be an official app setting or config-supported behavior rather than requiring users to patch the installed macOS app bundle. Modifying a signed/notarized macOS app bundle invalidates code signing and can prevent the app from launching after a restart.
A reasonable UX could be:
Settings → General → Projects → Default project folder
Or a config key read by the app, such as default_project_parent
Example target path from my workflow:
/Users/cfs/Documents/Codex/My Projects/
Reacted by Rafael de Sousa, sacameron, Josh Aguilar, Junichi Sato, Marte Baquerizo, larryyangsen, Monroe Stone, Radim, Abhishek Jain, MMM and 34 more
Please fix this embarrassing oversight openai. What the hell is Sam Altman and friends doing releasing an application that forces data into a user's documents folder with no option to configure otherwise. I watched a video and got super stoked for the New Codex release but then spent 2 hours thinking I was insane because I couldn't configure where the default save location setting was for "project from scratch", come to find out you guys didn't even program in this most basic of all basic functionalities. Pathetic. Great first experience. Fucking pissed off and crashing out.
Reacted by Radim, Anton Rymarchuk, Gabriel Sotto, Pedro José Pereira Vieito, hyo, Stanislav Zmiev, Henry_C, jzhu-j3aiapps, Banruo Liu and tak8192
Reacted by NickSdot, Josh McKinney and Kevin Bourrillion
I also cannot use "Start from scratch" feature because projects are created not where I keep all my projects, so I have to create folders manually first and use "Use existing folder".
The lack of a configurable default parent directory is extremely user-hostile. Users have different repository layouts, volumes, backup policies, security requirements, and iCloud configurations; forcing new work into a hardcoded ~/Documents/Codex hierarchy is not an acceptable default without an override.
The situation is even more frustrating because Codex explicitly verifies that the projectless root is not a symbolic link. That means users cannot configure the directory in Settings or config.toml, and they are also prevented from using the normal Unix workaround to redirect it themselves. A hardcoded path plus deliberate symlink rejection leaves users with no clean escape route.
Please add a supported default-parent/projectless-workspace setting and persist it. At an absolute minimum, resolve symlinks and validate the real target instead of rejecting them outright. The current behavior disregards user ownership of the filesystem.
I can reproduce the same underlying behavior on Codex Desktop for Windows.
Environment:
Codex Desktop package: 26.715.3651.0
Windows 11
Current result: creating a new local project from the Projects UI creates it directly under the Windows Documents known folder, for example C:\Users\<user>\Documents\<Project Name>.
Desired parent in this workflow: C:\Users\<user>\Documents\Codex, but ideally the parent should be user-selectable.
A minimal implementation could be:
Add Settings → General → Projects → Default project folder with a native directory picker and a reset-to-default action.
Persist the selected absolute parent directory as a Desktop-owned setting.
Apply it only to newly created local projects / “Start from scratch”. Keep existing projects and projectless thread workspaces unchanged.
Preserve the current OS Documents folder as the default when no custom parent is configured.
If the configured directory is missing or not writable, show an actionable error and let the user reselect/reset it rather than silently creating the project elsewhere.
Reuse the existing unique-name behavior for same-named folders.
Local inspection of the shipped Desktop bundle indicates that the current creation path is selected in the Electron-side createDefaultWorkspaceRoot flow using the OS Documents path, while the creation dialog only asks for the project name. I could not find that Desktop-specific implementation or its persisted workspace-state keys in the public openai/codex source tree, so a Rust-only public-repo change would not appear sufficient.
I would be willing to implement and test this as a focused external contribution. Since the repository contribution policy is invitation-only, could a maintainer clarify:
whether an external PR would be welcome for this issue;
which repository/source tree owns the Desktop project-creation flow; and
whether the preferred persistence surface is a Desktop setting or a documented config.toml key?
If invited, I would keep the change limited to the setting, validation/fallback behavior, project-creation path selection, and focused cross-platform tests.
Confirmed that this remains present in a newer Codex Desktop for Windows package.
Environment
Codex Desktop package: 26.715.8383.0
Windows x64 build: 22631.6199
Desired default parent: D:\CodexWorking
Current behavior
The Projects → Add new project → Start from scratch flow provides no way to select or configure the parent directory. Settings search exposes no default-project-folder preference, and the user-level ~/.codex/config.toml / persisted workspace state does not provide an override for this flow.
Local inspection of the shipped Windows package confirms that the Electron-side creation path still does the equivalent of:
The creation dialog passes only projectName through electron-create-new-workspace-root-option, so the project is unconditionally rooted under the Windows Documents known folder.
Expected behavior
Please provide a supported Default project folder setting (or documented config key) specifically for newly created local Start from scratch projects. In this environment, selecting D:\CodexWorking should produce:
D:\CodexWorking\<Project Name>
Existing projects and projectless-chat storage should remain unchanged.
This matters especially on Windows because Documents may be OneDrive-backed, while development repositories may need to live on a separate local drive for performance, sandbox compatibility, storage policy, or organizational reasons. Redirecting the Windows Documents known folder globally or patching the signed app package are not safe substitutes for an app-owned preference.
Adding another concrete user report in support of this request.
I want all Codex projects to live under one common, user-configurable parent folder. In Codex App for macOS 26.727.40816, Projects → Start from scratch created:
~/Documents/Testing-a-new-project/
Meanwhile, projectless chats use a different convention under:
~/Documents/Codex/YYYY-MM-DD/<chat-name>/
That split is confusing and makes it difficult to keep Codex-created work organized. Please add a setting such as Settings → General → Projects → Default project folder, then create every new “Start from scratch” project at:
<configured-parent>/<Project Name>/
For example:
~/Documents/Codex Projects/Testing-a-new-project/
The setting should affect newly created projects without changing the registered paths of existing projects.
Reacted by Levan Kekelidze, Ted Tschopp, metrovoc and Bastoche2.0
Adding a current Windows data point and a request to prioritize this feature.
Environment: Windows 11, desktop package 26.1007.2314.0 (checked on 2026-10-11).
Why this matters: I want to choose a parent directory on a non-system drive once, then create each new project by entering its name. Having projects accumulate under the default Documents location on C: creates ongoing storage pressure and recurring cleanup/migration work as the number of projects grows. Manually creating a folder and selecting it for every project defeats the convenience of the new-project workflow. This is an important day-to-day requirement for me, not just a preference about folder organization.
Current implementation evidence: Read-only inspection of the installed desktop bundle shows that, when a new local project has no supplied source folder, createLocal calls createDefaultWorkspaceRoot. That function derives the parent from the OS Documents folder plus ChatGPT, then appends the sanitized/unique project name. I did not find a configurable parent being read in that creation path. This is code-inspection evidence; I have not run a separate UI reproduction test for this comment.
This build also contains Settings → General → Projectless task folder (projectlessWorkspaceRoot). That setting belongs to a different path. Please keep this request specifically about new named local projects / Start from scratch; changing projectless storage or the Git worktree root does not address it.
A focused solution would be:
Add a persistent Default parent folder for new projects setting with a native folder picker.
Create new projects at <chosen parent>\<project name>, retaining the existing name sanitization and collision handling.
Apply the preference only to future projects, preserving existing project paths.
If the selected drive/folder is unavailable or not writable, show an actionable error instead of silently falling back to C:.
Please prioritize this separately from the projectless-folder setting. Setting the location before project creation would prevent ongoing system-drive growth and avoid later relocation work. Could the team confirm whether this is planned and share any available status or target release? An explicit app setting would be much more practical than requiring users to redirect Windows Documents or modify the installed application.
Confusing interactionappIssues related to the Codex desktop appconfigIssues involving config.toml, config keys, config merging, or config updatesenhancementNew feature or request
Activity
github-actions commentedon Apr 28, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
BigMoonTech commentedon May 4, 2026
Please fix this embarrassing oversight openai. What the hell is Sam Altman and friends doing releasing an application that forces data into a user's documents folder with no option to configure otherwise. I watched a video and got super stoked for the New Codex release but then spent 2 hours thinking I was insane because I couldn't configure where the default save location setting was for "project from scratch", come to find out you guys didn't even program in this most basic of all basic functionalities. Pathetic. Great first experience. Fucking pissed off and crashing out.
radimbrixi commentedon May 9, 2026
Please fix this, its a nightmare that that is the first think I am searching in the app and its HARDCODED??? Really???
mikeysouthwell commentedon May 27, 2026
Please allow us to either set this in the Codex app UI or the config.toml as a global variable.
kevinb9n commentedon Jun 16, 2026
This is even more useful because without #11022 being fixed, moving them later is near-impossible.
maxceem commentedon Jun 17, 2026
I also cannot use "Start from scratch" feature because projects are created not where I keep all my projects, so I have to create folders manually first and use "Use existing folder".
zmievsa commentedon Jun 28, 2026
This issue happened to me as well. I'd love to fix it if codex team allows me to (i.e. PRs are invite-only).
pvieito commentedon Jul 11, 2026
The lack of a configurable default parent directory is extremely user-hostile. Users have different repository layouts, volumes, backup policies, security requirements, and iCloud configurations; forcing new work into a hardcoded
~/Documents/Codexhierarchy is not an acceptable default without an override.The situation is even more frustrating because Codex explicitly verifies that the projectless root is not a symbolic link. That means users cannot configure the directory in Settings or
config.toml, and they are also prevented from using the normal Unix workaround to redirect it themselves. A hardcoded path plus deliberate symlink rejection leaves users with no clean escape route.Please add a supported default-parent/projectless-workspace setting and persist it. At an absolute minimum, resolve symlinks and validate the real target instead of rejecting them outright. The current behavior disregards user ownership of the filesystem.
Ranats commentedon Jul 18, 2026
I can reproduce the same underlying behavior on Codex Desktop for Windows.
Environment:
26.715.3651.0C:\Users\<user>\Documents\<Project Name>.C:\Users\<user>\Documents\Codex, but ideally the parent should be user-selectable.A minimal implementation could be:
Local inspection of the shipped Desktop bundle indicates that the current creation path is selected in the Electron-side
createDefaultWorkspaceRootflow using the OS Documents path, while the creation dialog only asks for the project name. I could not find that Desktop-specific implementation or its persisted workspace-state keys in the publicopenai/codexsource tree, so a Rust-only public-repo change would not appear sufficient.I would be willing to implement and test this as a focused external contribution. Since the repository contribution policy is invitation-only, could a maintainer clarify:
config.tomlkey?If invited, I would keep the change limited to the setting, validation/fallback behavior, project-creation path selection, and focused cross-platform tests.
hughdidit commentedon Jul 21, 2026
Confirmed that this remains present in a newer Codex Desktop for Windows package.
Environment
26.715.8383.022631.6199D:\CodexWorkingCurrent behavior
The Projects → Add new project → Start from scratch flow provides no way to select or configure the parent directory. Settings search exposes no default-project-folder preference, and the user-level
~/.codex/config.toml/ persisted workspace state does not provide an override for this flow.Local inspection of the shipped Windows package confirms that the Electron-side creation path still does the equivalent of:
The creation dialog passes only
projectNamethroughelectron-create-new-workspace-root-option, so the project is unconditionally rooted under the Windows Documents known folder.Expected behavior
Please provide a supported Default project folder setting (or documented config key) specifically for newly created local Start from scratch projects. In this environment, selecting
D:\CodexWorkingshould produce:Existing projects and projectless-chat storage should remain unchanged.
This matters especially on Windows because Documents may be OneDrive-backed, while development repositories may need to live on a separate local drive for performance, sandbox compatibility, storage policy, or organizational reasons. Redirecting the Windows Documents known folder globally or patching the signed app package are not safe substitutes for an app-owned preference.
TedTschopp commentedon Jul 31, 2026
Adding another concrete user report in support of this request.
I want all Codex projects to live under one common, user-configurable parent folder. In Codex App for macOS 26.727.40816, Projects → Start from scratch created:
~/Documents/Testing-a-new-project/Meanwhile, projectless chats use a different convention under:
~/Documents/Codex/YYYY-MM-DD/<chat-name>/That split is confusing and makes it difficult to keep Codex-created work organized. Please add a setting such as Settings → General → Projects → Default project folder, then create every new “Start from scratch” project at:
<configured-parent>/<Project Name>/For example:
~/Documents/Codex Projects/Testing-a-new-project/The setting should affect newly created projects without changing the registered paths of existing projects.
caobotao1234-star commentedon Oct 11, 2026
Adding a current Windows data point and a request to prioritize this feature.
Environment: Windows 11, desktop package
26.1007.2314.0(checked on 2026-10-11).Why this matters: I want to choose a parent directory on a non-system drive once, then create each new project by entering its name. Having projects accumulate under the default Documents location on C: creates ongoing storage pressure and recurring cleanup/migration work as the number of projects grows. Manually creating a folder and selecting it for every project defeats the convenience of the new-project workflow. This is an important day-to-day requirement for me, not just a preference about folder organization.
Current implementation evidence: Read-only inspection of the installed desktop bundle shows that, when a new local project has no supplied source folder,
createLocalcallscreateDefaultWorkspaceRoot. That function derives the parent from the OS Documents folder plusChatGPT, then appends the sanitized/unique project name. I did not find a configurable parent being read in that creation path. This is code-inspection evidence; I have not run a separate UI reproduction test for this comment.This build also contains Settings → General → Projectless task folder (
projectlessWorkspaceRoot). That setting belongs to a different path. Please keep this request specifically about new named local projects / Start from scratch; changing projectless storage or the Git worktree root does not address it.A focused solution would be:
<chosen parent>\<project name>, retaining the existing name sanitization and collision handling.Please prioritize this separately from the projectless-folder setting. Setting the location before project creation would prevent ongoing system-drive growth and avoid later relocation work. Could the team confirm whether this is planned and share any available status or target release? An explicit app setting would be much more practical than requiring users to redirect Windows Documents or modify the installed application.
radimbrixi commentedon Nov 2, 2026
can we pls prioritize this issue pls?
@jif-oai @etraut-openai @felixxia-oai @bc-openai @charliemarsh-oai @fcoury-oai @anp-oai @iceweasel-oai Forward to Product owner pls or implement straight away pls...
dmiller423 commentedon Nov 8, 2026
This is hilarious, you really can't set project base dir?
I'm just going to use a symlink, but damn that's ...