[macOS] New chat without a project opens in a saved project and loads its AGENTS.md
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by tracing the macOS startup flow for creating a chat without a project, then follow how the new chat receives its working directory and project assignment. Compare that path with the related Linux report in #24222. The issue gives no source files or tests; done means reproducing the flow and confirming the chat has no saved project assignment, uses a standalone workspace, and excludes that project's AGENTS.md.
Written by the indexing model from the issue text.
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1120.50957 (build 30866), read from the installed desktop app bundle
What subscription do you have?
Not recorded
What platform is your computer?
macOS 26.6.2 (Apple Silicon), uname -mprs: Darwin 25.6.0 arm64 arm
What issue are you seeing?
At app startup, I chose to start a new chat without a project and sent an unrelated question. The first turn ran with a saved local project's primary folder as its working directory. Desktop recorded a project assignment for the chat, and the first turn included the repository's AGENTS.md. The answer used project details from that file.
What steps can reproduce the bug?
- Have a saved local Codex project with an
AGENTS.mdin its primary folder. - At app startup, choose to start a new chat without a project.
- Send a general question, for example
What do you think of PhysCAD vs FreeCAD? - Inspect the first turn's working directory and project instructions.
What is the expected behavior?
The explicit no-project choice should start the first turn in a standalone workspace. The chat should have no assignment to a saved project, and that project's workspace roots and repository-level AGENTS.md should stay outside the chat's context.
Additional information
In the affected session, the Desktop log showed a new draft on the main screen followed by local chat creation. The session metadata and first-turn record both had the saved project's primary folder as cwd, and pwd returned the same path. Desktop state associated this chat with that project. One occurrence was observed. The exact cause of the incorrect project selection is unconfirmed.
A related Linux report mentions the global New chat control inheriting a project in #24222.
- Dominant language
- Rust
- Stars
- 136k
- Forks
- 21.6k
- Avg merge
- 1m
- Merged PRs (30d)
- 997
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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
-
app bug rate-limits
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Windows PowerShell 5.1: non-ASCII text piped into a native command arrives as `?`Possibly taken @akhil9tiet claimed this today. Openbug CLI tool-calls windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
openai/codex#64139 · 2 comments ·
Maintainers usually reply within 1 day
-
bug CLI connectivity
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
core-plugins: remote bundle install keeps the temp directory before a fallible rename and leaves it behind on failurePossibly taken @akhil9tiet claimed this 1 day ago. Openbug CLI skills
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openai/codex#63907 · 2 comments ·
Maintainers usually reply within 1 day
-
bug CLI
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openai/codex#63906 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
My Caps shows "Shared" on private Caps that were never sharedPossibly taken @AksharP5 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CapSoftware/Cap#4569 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Document Web UIOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
parquet: reject truncated BYTE_STREAM_SPLIT numeric pages instead of silently fabricating valuesOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day