Skip to content

Codex notify path: fragile session matching (no session_id / cwd) #4

Description

@huiyu

Codex delivers the "needs you" (approval-requested) signal only to the `notify` program as argv JSON, which carries no session_id and no cwd (openai/codex#4005). agentdeck currently matches it to the newest Codex session in that directory (`lib/core.sh` `_ingest_notify` / `lib/agents/codex.sh`).

Problem

  • With multiple concurrent Codex sessions in the same directory, the waiting signal can be attributed to the wrong session.
  • Working / idle states (via hooks) are exact; only this notify-sourced "waiting" state is heuristic.

Possible directions

Refs: README Limitations, openai/codex#4005.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions