Support notify for user approval events
What feature would you like to see?
Currently, Codex only allows the notify configuration to run scripts when a completion finishes. This is useful for post-processing and alerts, but it does not cover all workflows.
A common need is to also trigger notifications when Codex pauses for user approval before performing an action. For example, if Codex requires confirmation to execute a command, it would be valuable to allow notify to run a script at that point. This would let developers implement reminders, custom approval flows, or external alerting systems.
Proposed enhancement: • Extend notify support to approval events. • Provide the same context payload available in completion notify, plus any additional metadata about the pending approval.
This would improve automation and usability for teams that want tighter integration between Codex and their external systems.
Are you interested in implementing this feature?
No response
Additional information
No response
Makes sense, the breath of notifications needs to increase
Relevant PR https://github.com/openai/codex/pull/2973 and issue https://github.com/openai/codex/issues/2961
This is a duplicate of https://github.com/openai/codex/issues/2961, so I'm going to close this and consolidate.