Summary
/status shows Agents.md: <none> even when AGENTS.md exists and appears to be loaded.
Environment
- Codex CLI
v0.120.0
- macOS
Darwin 25.4.0 arm64
- Model:
gpt-5.4
- Collaboration mode:
Default
Description
In my session, /status consistently showed:
However:
- The current working directory was a project root containing a root-level
AGENTS.md
- I also added another
AGENTS.md at the workspace root to rule out a workspace-root mismatch
- The assistant still appeared to read and follow the project
AGENTS.md
This makes it look like the issue is in the status display logic, or in a mismatch between status path resolution and actual AGENTS loading behavior.
Steps to Reproduce
- Open Codex CLI in a project directory that contains a root-level
AGENTS.md
- Confirm the file exists and is readable
- Run
/status
- Observe that
Agents.md is shown as <none>
Observed Behavior
/status shows Agents.md: <none>
AGENTS.md exists at the active project root
- Another
AGENTS.md also exists at the workspace root
- The assistant still appears to follow the project instructions
Expected Behavior
- If
AGENTS.md is found and loaded for the active project or workspace, /status should show that file instead of <none>
- If
/status is intentionally checking a different directory than the session cwd, it should clearly indicate which directory it checked
Why This Is Confusing
It is hard to tell whether:
AGENTS.md was not discovered
AGENTS.md was discovered but not displayed
- the status panel is stale
- the status panel is using different path resolution logic than the actual instruction loader
Privacy / Redaction
This report is redacted and does not include:
- private note contents
- tokens or credentials
- identifiable local paths
- repository names unrelated to reproducing the bug
Summary
/statusshowsAgents.md: <none>even whenAGENTS.mdexists and appears to be loaded.Environment
v0.120.0Darwin 25.4.0 arm64gpt-5.4DefaultDescription
In my session,
/statusconsistently showed:However:
AGENTS.mdAGENTS.mdat the workspace root to rule out a workspace-root mismatchAGENTS.mdThis makes it look like the issue is in the status display logic, or in a mismatch between status path resolution and actual AGENTS loading behavior.
Steps to Reproduce
AGENTS.md/statusAgents.mdis shown as<none>Observed Behavior
/statusshowsAgents.md: <none>AGENTS.mdexists at the active project rootAGENTS.mdalso exists at the workspace rootExpected Behavior
AGENTS.mdis found and loaded for the active project or workspace,/statusshould show that file instead of<none>/statusis intentionally checking a different directory than the session cwd, it should clearly indicate which directory it checkedWhy This Is Confusing
It is hard to tell whether:
AGENTS.mdwas not discoveredAGENTS.mdwas discovered but not displayedPrivacy / Redaction
This report is redacted and does not include: