codex - 💡(How to fix) Fix CLI: first-party completion sound still needed despite hooks / terminal notifications [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17235Fetched 2026-04-10 03:43:35
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
0
Author
Timeline (top)
labeled ×4unlabeled ×2commented ×1cross-referenced ×1
RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

CLI

What feature would you like to see?

Codex CLI still needs a first-party, curated completion sound / notification experience.

The current hook-based and terminal-based options are useful, but in practice they do not fully solve the problem for long-running CLI turns.

This is not about VS Code / IDE extension support. This is specifically about the Codex CLI.

Why the existing options are not enough in practice:

  • notify hooks are flexible, but they push the burden of implementation, OS quirks, permissions, and audio-backend choice onto the user.
  • Terminal-native paths like BEL / terminal notifications are often too quiet, inconsistent, or limited by the terminal environment.
  • Custom hook-based audio solutions can technically work, but the resulting sound experience is often still poor in practice: silent, distorted/crackly, unexpectedly too loud, or otherwise not something I would call a polished built-in solution.

So the real request is a first-party CLI experience for turn-complete audio notifications that is:

  • opt-in
  • cross-platform
  • curated / sensible by default
  • distinct from the IDE extension path
  • better than "just write your own hook script"

A good solution could still coexist with hooks. Hooks are valuable for custom integrations, but they are not the same thing as a built-in, reliable, user-friendly completion sound in the CLI itself.

Additional information

Context: issue #3962 was clarified by an OpenAI maintainer on April 9, 2026 as being for the IDE extension, with a request to open a separate CLI issue so CLI feedback does not get lost.

Related history:

  • #3962 collected both extension and CLI discussion, but is now explicitly scoped to the extension.
  • #6210 previously requested an optional sound when a CLI turn ends, but was closed as a duplicate of #3962 before that scoping clarification.
  • This new issue is intended to restore a dedicated tracking thread for the CLI side specifically.

If the team would rather track this by reopening or relinking #6210 instead, that would also work for me.

extent analysis

TL;DR

Implement a first-party, curated completion sound experience for the Codex CLI, providing an opt-in, cross-platform, and user-friendly audio notification.

Guidance

  • Consider developing a built-in audio notification system for the Codex CLI that is distinct from IDE extension solutions and hook-based implementations.
  • Evaluate existing terminal-native notification methods (e.g., BEL, terminal notifications) and assess their limitations in providing a polished audio experience.
  • Design a solution that coexists with custom hook-based integrations, allowing users to opt-in to the built-in audio notification system.
  • Research cross-platform audio libraries or frameworks to ensure consistency across different operating systems.

Example

No specific code example can be provided without further technical details, but a potential approach might involve using a cross-platform audio library to play a curated sound when a CLI turn is complete.

Notes

The solution should prioritize a user-friendly experience, ensuring the audio notification is not too loud, distorted, or inconsistent. It's also important to consider the relationship between this feature and existing issues (#3962, #6210) to avoid duplicating efforts.

Recommendation

Apply a workaround by developing a custom hook-based audio solution until a first-party implementation is available, as this can provide a temporary fix for users needing audio notifications in the Codex CLI.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING