text from project root codex.md gets appended into .codex/instructions.md on every session
Resolved 💬 0 comments Opened Apr 23, 2025 by Stewart86 Closed Apr 25, 2025
What version of Codex is running?
v0.1.2504221401
Which model were you using?
doesn't matter
What platform is your computer?
Linux 6.14.3-arch1-1 x86_64 unknown
What steps can reproduce the bug?
- have
instructions.mdin~/.codex/and open a project that contains codex.md - run a few
codexsessions - notice that in
instructions.mdafter--project-doc--line, project levelcodex.mdtext will be appended intoinstructions.mdfile
What is the expected behavior?
instructions from individual project codex.md file should not be appended in to the system config file.
What do you see instead?
_No response_
Additional information
Seems like a critical bug IMO as other projects might be affected with context not relevant to the session. Also incur unnecessary cost by reading duplicated tokens context.