AGENTS.md leaks across projects / or caching issue

Resolved 💬 4 comments Opened May 29, 2026 by nosthrillz Closed May 29, 2026

What version of the Codex App are you using (From “About Codex” dialog)?

26.506.21252 (2575)

What subscription do you have?

Pro

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

I have two projects: project A, and project B
In project A, I have configured custom commands and mentioned them in the AGENTS.md
In project B, both yesterday and today, I have noticed the agent attempting to run those custom commands, even though they don't exist in Project B.

What steps can reproduce the bug?

Uploaded thread: 019e727e-470e-78e2-9056-ea53ef8e49e6

What is the expected behavior?

I would expect agents to not have any clue about other projects' AGENTS.md files

Additional information

<img width="770" height="143" alt="Image" src="https://github.com/user-attachments/assets/6eb4be2b-cd20-4bb3-9791-fdd3f3fcdab9" />

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗