Skip to content

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

Closed

Description

@ryan6416

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

Activity

  1. added
    bugSomething isn't working
    CLIIssues related to the Codex CLI
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    on Apr 9, 2026
  2. github-actions commented on Apr 9, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. etraut-openai commented on Apr 13, 2026

    @etraut-openai
    Contributor

    Thanks for the bug fix. This will be addressed in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions