codex - 💡(How to fix) Fix Agents.md is empty in /status in current session where created. [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#20232Fetched 2026-04-30 06:31:22
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×4closed ×1commented ×1unlabeled ×1

Root Cause

The current wording is confusing because it makes debugging workspace instructions harder than it should be.`

RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

codex-cli 0.125.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.4

What platform is your computer?

Darwin 25.2.0 arm64 arm

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

No response

What issue are you seeing?

AGENTS.md exists in my current working directory, but /status still shows Agents.md: <none>. This looks misleading.

Current directory in the session is: ~/Documents/ObsidiavVault/Dosgate/master-agent

And the file is there: ~/Documents/ObsidiavVault/Dosgate/master-agent/AGENTS.md

So from my side it looks like /status is not showing the actual filesystem state, but some cached or session-initialized state. If AGENTS.md was created after the session started, I can understand why it may not be loaded automatically, but then /status should make that clearer.

Right now Agents.md: <none> reads like “there is no AGENTS.md here”, which is not true.

It would be better if /status showed one of these explicitly:

  • AGENTS.md exists but was not loaded in this session
  • AGENTS.md detected after session start
  • AGENTS.md not present at session initialization

The current wording is confusing because it makes debugging workspace instructions harder than it should be.`

What steps can reproduce the bug?

Uploaded thread: 019dd9fb-4e0c-7af2-837f-a58428c3581b

What is the expected behavior?

I expect to see not <none> in /status where field AGENTS.md

Additional information

I didn't try to restart session.

extent analysis

TL;DR

The issue can be mitigated by providing clearer feedback in the /status command when the AGENTS.md file is created after the session starts.

Guidance

  • The current behavior suggests that the /status command may be showing a cached or session-initialized state, rather than the actual filesystem state.
  • To verify this, try restarting the session after creating the AGENTS.md file and check if the /status command reflects the updated state.
  • Consider modifying the /status command to provide more explicit feedback, such as "AGENTS.md exists but was not loaded in this session" or "AGENTS.md detected after session start".
  • The issue may be related to the timing of when the AGENTS.md file is created and when the session is initialized.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The issue may not be entirely resolved without modifying the underlying behavior of the /status command. The suggested changes are intended to provide clearer feedback and improve the debugging experience.

Recommendation

Apply workaround: Modify the /status command to provide more explicit feedback when the AGENTS.md file is created after the session starts, as this will improve the debugging experience and provide clearer information about the state of the filesystem.

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 Agents.md is empty in /status in current session where created. [1 comments, 2 participants]