codex icon indicating copy to clipboard operation
codex copied to clipboard

Support notify for user approval events

Open BobbyWang0120 opened this issue 5 months ago • 1 comments

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

BobbyWang0120 avatar Sep 06 '25 11:09 BobbyWang0120

Makes sense, the breath of notifications needs to increase

Kingwolf123 avatar Sep 07 '25 01:09 Kingwolf123

Relevant PR https://github.com/openai/codex/pull/2973 and issue https://github.com/openai/codex/issues/2961

MarkusJLechner avatar Sep 09 '25 08:09 MarkusJLechner

This is a duplicate of https://github.com/openai/codex/issues/2961, so I'm going to close this and consolidate.

etraut-openai avatar Nov 09 '25 17:11 etraut-openai