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.
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
Possible directions
notifyapp should includecwdor fullenvironment_contextopenai/codex#4005 for a real session id / cwd in the notify payload.Refs: README Limitations, openai/codex#4005.