Skip to content

Codex agent sessions show AGENTS.md instructions instead of actual session titles #339

Description

@solankydev

Description

Image

In the Agent sessions view for Codex, every session title appears to start with # AGENTS.md instructions instead of showing the actual Codex session title or prompt-derived title.

From the screenshot, the list shows repeated entries such as:

  • # AGENTS.md instructions · codex
  • # AGENTS.md instructions for E:\Personal\sw-projects...
  • # AGENTS.md instructions for E:\Work\software-projec...

This makes it difficult to identify or reopen the intended Codex session, because many unrelated sessions collapse to the same visible title.

Expected behavior

Each Codex agent session should display its actual session title, or another user-distinguishable title derived from the real session, rather than the shared AGENTS.md instruction header.

Actual behavior

All or most Codex agent sessions are titled from the AGENTS.md instructions content, so the session list contains many nearly identical titles.

Screenshot context

The screenshot shows the Intelligent Terminal Agent sessions panel with Agent sessions: Codex at the top and a list of sessions where the visible title repeatedly begins with # AGENTS.md instructions.

Environment

  • Shell shown: PowerShell
  • Agent/session type: Codex
  • App: Intelligent Terminal

I do not know whether this is caused by the session title extraction logic reading injected/user-level instructions before the actual session prompt, but the visible result is that the session list is not using useful per-session titles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions