Codex macOS app omits project source folder from new task workspace roots and writable permissions
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Start by tracing how project source folders are carried into a newly created task's workspace_roots and permission_profile.file_system, including the configuration path across app relaunch. Reproduce with primary and secondary repositories, then verify that every configured folder receives workspace and writable permission entries without an approval prompt.
Written by the indexing model from the issue text.
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.803.41515
What subscription do you have?
PRO
What platform is your computer?
macOS 26, arm64
What issue are you seeing?
A secondary source folder configured on a Codex project which is not propagated to new tasks created for that project.
I added both repositories to the project:
/Users/nooblyf/github/pang
/Users/nooblyf/github/pang-server
I added the server folder before creating the task, fully quit and relaunched Codex Desktop, then created a new task. Despite this, the injected task context only includes the primary repository:
workspace_roots:
- /Users/nooblyf/github/pang
The server repository is also absent from the writable entries in permission_profile.file_system. The agent can read it through broader read access, but writing to it requires an approval prompt.
This is not stale state from an existing task. The folder was configured before task creation and the app was relaunched first.
What steps can reproduce the bug?
- Create or open a Codex project.
- Add two local repositories as source folders.
- Ask Codex what permissions has in this project.
- Fully quit Codex Desktop.
- Relaunch the app.
- Create a new task under that project.
- Ask Codex which workspace roots and writable paths it received.
- Observe that only the primary folder appears.
- Ask Codex to modify a file in the secondary folder.
- Observe that the write requires out-of-sandbox approval.
What is the expected behavior?
Every source folder configured on the project before task creation should:
- appear in the new task's
workspace_roots; - receive the appropriate writable permission entry;
- allow ordinary file changes without additional approval.
The project configuration should remain effective after relaunching the app.
Additional information
No response
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·