plan-mode-prompt TUI notification does not fire for plan-mode clarification questions in codex-cli 0.118.0

Resolved 💬 2 comments Opened Apr 9, 2026 by ryan6416 Closed Apr 13, 2026

Summary

plan-mode-prompt appears broken in codex-cli 0.118.0.

With:

[tui]
notifications = ["user-input-requested", "plan-mode-prompt"]
notification_method = "osc9"

user-input-requested notifications fire correctly, but plan-mode-prompt does not fire when Codex enters the plan-mode clarification questionnaire and waits for input.

Repro

Control case that works:

codex

Prompt:

Before continuing, ask me to choose exactly one option for project priority:
1. speed
2. correctness
3. maintainability
Do not proceed until I answer.

Observed: desktop notification appears while Codex is waiting.

Failing case:

codex

Prompt:

You are in plan mode. Do not implement anything. Ask me 2-3 clarifying questions before proposing a plan for reorganizing my dotfiles and shell setup.

Observed:

  • Codex enters plan mode
  • renders the Question 1/3 questionnaire UI
  • waits for input
  • no desktop notification appears

Also reproduced with:

codex --no-alt-screen

Environment

  • codex-cli 0.118.0
  • macOS
  • reproduced in Ghostty, iTerm2, and Terminal.app

Expected

When Codex is waiting for input in the plan-mode questionnaire flow, plan-mode-prompt should fire a TUI notification.

Notes

PR #13495 says it added plan-mode-prompt and manually tested plan mode. In my testing, the notification pipeline works for user-input-requested, but not for this plan-mode flow. That suggests either:

  • a regression, or
  • plan-mode-prompt is not emitted for the Question 1/3 questionnaire path

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗