Skip to content

/resume does not show sessions that had /goal as the first message #22517

@sirmalloc

Description

@sirmalloc

What version of Codex CLI is running?

codex-cli 0.130.0

What subscription do you have?

Pro 20x

Which model were you using?

gpt-5.5

What platform is your computer?

Darwin 25.4.0 arm64 arm

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

Ghostty 1.3.1

What issue are you seeing?

Any session started with a /goal message will not appear in the list of sessions when doing /resume.

What steps can reproduce the bug?

Session will not appear in resume list with this flow:

  1. Launch codex
  2. /goal tell me a joke
  3. Exit codex
  4. Launch codex
  5. /resume
  6. Session does not appear in the list

However, the session will appear with this flow:

  1. Launch codex
  2. say hi, get response
  3. /goal tell me a joke
  4. Exit codex
  5. Launch codex
  6. /resume
  7. Session started with hi appears in the list

What is the expected behavior?

Session should appear in the /resume list regardless of the initial message.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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