codex - 💡(How to fix) Fix /status no longer reports AGENTS.md in 0.120.0 [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17776Fetched 2026-04-15 06:28:31
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×4commented ×1cross-referenced ×1marked_as_duplicate ×1

Code Example

Directory:            <workspace>
Permissions:          Custom (workspace-write, never)
Agents.md:            <none>

---

Considered rule documents:

- root AGENTS.md
- backend-scoped AGENTS.md
- general repository-level rule documents
- backend-specific rule documents
- frontend-only rule documents marked as not applicable

---

Considered rule documents:

- root AGENTS.md
- frontend-scoped AGENTS.md
- general repository-level rule documents
- frontend-specific rule documents
- UI-specific rule documents when the task is a UI task

---

Agents.md:            ../../AGENTS.md
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

0.120.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.4

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

Windows Terminal WSL

What issue are you seeing?

In 0.120.0, /status shows:

Directory:            <workspace>
Permissions:          Custom (workspace-write, never)
Agents.md:            <none>

However, fresh sessions still apply the AGENTS rules correctly.

Backend-scoped task evidence:

Considered rule documents:

- root AGENTS.md
- backend-scoped AGENTS.md
- general repository-level rule documents
- backend-specific rule documents
- frontend-only rule documents marked as not applicable

Frontend-scoped task evidence:

Considered rule documents:

- root AGENTS.md
- frontend-scoped AGENTS.md
- general repository-level rule documents
- frontend-specific rule documents
- UI-specific rule documents when the task is a UI task

This shows the AGENTS instructions are loaded, scoped, and used, even though /status says otherwise.

What steps can reproduce the bug?

  1. Prepare a repository with a root AGENTS.md.
  2. Add nested AGENTS.md files for scoped subdirectories such as backend and frontend areas.
  3. In those files, require Codex to print the considered rule documents at the beginning of its response.
  4. Start Codex in the repository with 0.120.0.
  5. Run /status.
  6. In fresh sessions, run one task in a backend-scoped directory and one task in a frontend-scoped directory.

What is the expected behavior?

/status should report the applicable AGENTS.md file(s), not <none>.

At minimum, it should show the nearest governing AGENTS.md for the current working directory. If multiple AGENTS files are in scope, the status output should reflect that consistently.

Additional information

0.118.0 works correctly.

Using an isolated home/config environment, /status in 0.118.0 correctly showed a relative path to the governing AGENTS.md in the parent repository hierarchy instead of <none>.

Example:

Agents.md:            ../../AGENTS.md

0.120.0 appears broken only in /status.

  • In 0.120.0, debug prompt-input still injects AGENTS instructions at session startup.
  • Fresh backend/frontend sessions still obey the AGENTS rules and output the required document list.
  • This strongly suggests a /status display / discovery regression rather than a real AGENTS loading failure.

extent analysis

TL;DR

The issue is likely a regression in the /status command's ability to display applicable AGENTS.md files in Codex CLI version 0.120.0, which can be worked around by using a previous version like 0.118.0 where the functionality is known to work correctly.

Guidance

  • The problem seems isolated to the /status command, as AGENTS rules are still applied and loaded correctly in fresh sessions.
  • To verify the issue, follow the steps provided to reproduce the bug, focusing on the difference in behavior between 0.120.0 and 0.118.0.
  • Consider using version 0.118.0 for tasks that require accurate /status output regarding AGENTS.md files until the regression is fixed.
  • Review the changelog or release notes for 0.120.0 to see if there are any known issues or changes related to the /status command or AGENTS loading.

Example

No specific code snippet is applicable here, as the issue pertains to the behavior of the Codex CLI tool itself rather than user-written code.

Notes

The fact that 0.118.0 works correctly and the issue seems limited to the display of AGENTS files in /status suggests this is a specific regression rather than a fundamental problem with AGENTS loading or application.

Recommendation

Apply workaround: Use version 0.118.0 for critical tasks requiring accurate /status output until the issue in 0.120.0 is resolved, as it is known to correctly display applicable AGENTS.md files.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix /status no longer reports AGENTS.md in 0.120.0 [1 comments, 2 participants]