Skip to content

(codex): hide non-interactive codex exec sessions like SDK sessions #1145

Closed

Description

@devsuitup

Since #1132 the sidebar lists every Codex rollout under ~/.codex/sessions, including non-interactive codex exec runs. On JB's workstation all 23 Codex rollouts of 2026-11-20 have "originator":"codex_exec": automation (reviews and fixes launched by scripts), not conversations a person opens. They flood the project lists, on top of the worktree projects of #1137.

Claude's equivalent is already handled: sessions launched through the Agent SDK are hidden by default (Settings → Sessions › Sidebar list, "Hide SDK sessions", hideSdkSessions, #486).

Expected:

  • a Codex rollout whose session_meta.originator is codex_exec is treated like an SDK session: hidden by default under the same setting (label and docs say it covers both CLIs), still searchable, and shown when the setting is off;
  • interactive Codex sessions (codex_cli_rs and others) are unaffected;
  • tests with real rollout headers; CHANGELOG entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions