Skip to content

Add setting to disable the auto-resolve in 60 seconds for questions #28969

Open

Description

@antoyo

What version of Codex CLI is running?

codex-cli 0.141.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.5

What platform is your computer?

Linux 7.0.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 01 May 2026 15:49:22 +0000 x86_64 GNU/Linux

What terminal emulator and version are you using (if applicable)?

Alacritty

Codex doctor report

not available

What issue are you seeing?

Codex will automatically accept the recommended answer to a question within 60 seconds.

What steps can reproduce the bug?

  1. Go to plan mode
  2. Write a plan prompt that will make Gpt to ask you a question
  3. Notice you have a 60 second delay to answer the question

What is the expected behavior?

There should be a setting to disable the 60-second auto-resolving.

Additional information

No response

Activity

  1. added
    bug
    on Jun 18, 2026
  2. added
    enhancement
    CLI
    plan
    config
    on Jun 18, 2026
  3. github-actions commented on Jun 18, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. gergo-hortobagyi commented on Jun 24, 2026

    @gergo-hortobagyi

    This is a blocker for everyone using Codex for proper planning and production level development and renders the request_user_input tool completely useless. The only solution now is downgrading to 0.140.0 - I would recommend to introduce a stricter enforcement of feature toggles for any feature that may affect end-user supervision and control.

  5. fcnjd commented on Jun 26, 2026

    @fcnjd

    Agree here, it's a normal usecase to thoughtfully prompt an agent, then letting it work in the background - having plans auto-answer basically kills this and forces the user to be always actively watching and interacting. Please add a setting for that - I'd personally prefer having it off by default as this is not keeping any questions from being asked to the user under the circumstance they don't know about this autoresolve feature and therefore simply waiting too long until focusing the window again.

  6. irm-codebase commented on Jun 28, 2026

    @irm-codebase

    Just to voice that this is something that should be given heavy priority.
    If your project has high complexity, 60 seconds to make a decision is simply too little.

    If the limit was added due to some hang up on OpenAI's background architecture, then I'd honestly prefer an option for the tool to fail rather than the bot merrily implementing changes I did not request.

  7. ScyDev commented on Jun 28, 2026

    @ScyDev

    Who thought this was a good idea to auto enable for everyone?

  8. jordi735 commented on Jun 30, 2026

    @jordi735

    Guys can we disable this globally already. As I write this I'm working on two projects at the same time and went to the toilet just now. It auto-resolved bad answers for both of them. It's like the 5th time this has happened to me. Just remove it

  9. fcnjd commented on Jun 30, 2026

    @fcnjd

    Generally, this is something that should be solved upstream - I'd be happy to contribute a fix, so to the dev team I'd much apreciate an invite. That being said, I found a workaround: It's - for whatever reason - up to the agent to call the plan tool with or without autoresolve. That means I could get rid of that by placing the following in my ~/.codex/instructions.md file:

    # Global Codex Instructions
    
    When using Plan mode or otherwise asking the user for input, wait indefinitely for the user's answer. Do not set or pass `autoResolutionMs` to `request_user_input` unless the user explicitly asks for auto-resolution in the current thread. If user input is required before continuing, ask without an auto-resolve timeout.

    HOpe that helps anyone.

  10. LovelyQuantum commented on Jul 1, 2026

    @LovelyQuantum

    Why isn't there even an environment variable to disable this feature QAQ?

  11. kaiwu-astro commented on Jul 2, 2026

    @kaiwu-astro

    extremely annoying ... if some dev think these questions can even be "auto resolved", then what is the point of raising the questions? Why not just let AI decide everything and make a lot of trash?

  12. 77 remaining items

  13. n00mkrad commented on Aug 30, 2026

    @n00mkrad

    Nothing from OpenAI.
    The go-to fix (for the VSCode extension at least) is to do simple find-and-replace every update:

    File: <PATH_TO_VSCODE>\data\extensions\openai.chatgpt-<VERSION>-win32-x64\out\extension.js

    Replace item/tool/requestUserInput with e.g. item/tool/requestXserInput which intentionally breaks the time tracking which disables the timeout without any side effects.

    You could write a hook that checks for this on every session start in case an update overwrites it again. Keep in mind that the JS is loaded once at startup, so either restart VSC or go to the command palette and run "Restart Extension Host" after making the edit.

  14. thomak-dev commented on Sep 5, 2026

    @thomak-dev

    Current version of ChatGPT app and Astra, still same problem.

  15. fcnjd commented on Sep 6, 2026

    @fcnjd

    @shijie-oai We're happy to hear from you, and the change already implemented. However it would really help to have that off by default for any questions asked, not only the plan mode. This behavior should become a setting, and ideally it should require opt-in, not opt-out. However it's still present in the current CLI version.

  16. ktiays commented on Sep 18, 2026

    @ktiays

    Why this issue still hasn't received a clear response after several months. I don't know what OpenAI is thinking—does OpenAI believe we're already in the AGI era and that human intervention is optional? This is an extremely irresponsible approach.

    Until OpenAI can take responsibility for the mistakes caused by the models they release, I will not accept such completely uncontrollable behavior.

  17. causer commented on Sep 25, 2026

    @causer
  18. hippoley commented on Sep 26, 2026

    @hippoley

    One protocol-level point seems worth preserving regardless of what UI/config switch lands:

    human_answer
    timeout
    dismissal
    client_disconnect
    policy_auto_resolution
    

    should be different outcomes.

    Returning answers: {} for a timeout collapses a machine-generated lifecycle event into something that looks like a completed human interaction. That makes downstream audit, replay, multi-session orchestration, and remote approval semantics much harder to reason about.

    A safer shape would be something like:

    {
      "status": "expired",
      "actor": "system",
      "reason": "timeout",
      "answers": null
    }

    and only an actual human action should produce status: "resolved" with human answers.

    Then auto-resolution, if retained at all, can be an explicit policy layered on top of an expired request rather than being encoded as if the human answered. That separation matters especially for background/multi-session workflows where a user may legitimately return minutes or hours later.

  19. The-Karl-with-a-K commented on Sep 28, 2026

    @The-Karl-with-a-K

    please address this openAI it is breaking my workflows

  20. johnmwhitman commented on Sep 28, 2026

    @johnmwhitman

    The question under the timer is what silence should mean, and we answered it by reversibility. We ran ten agents with two opposite silence rules on purpose. For routine amendments, silence counted as a pass, so an absent reviewer couldn't stall the work. For destructive actions, silence was not assent and explicit approval was required. Default-open for the reversible, default-closed for the irreversible. Reversibility was the dividing line between the two regimes.

    Disclosure: this is from a book we sell, https://book.hool.dev (free sample at /sample).

  21. mikebeaton commented on Oct 6, 2026

    @mikebeaton

    Just to voice that this is something that should be given heavy priority. If your project has high complexity, 60 seconds to make a decision is simply too little.

    If the limit was added due to some hang up on OpenAI's background architecture, then I'd honestly prefer an option for the tool to fail rather than the bot merrily implementing changes I did not request.

    At least for this case, if you see it happening, you can click in the 'other answer' space and it halts the timeout, then you can take your time to actually understand the question and give a considered response.

    (This observation does not negate the fact that it should be possible to disable the timeout, as requested in this and other issues, so that you don't have to sit watching for this.)

  22. axisrow commented on Oct 9, 2026

    @axisrow

    +1

  23. spajus commented on Oct 17, 2026

    @spajus

    This is still not done after all this time? Oh wow. Anthropic must be tired of winning by now.

  24. axisrow commented on Oct 17, 2026

    @axisrow

    This is still not done after all this time? Oh wow. Anthropic must be tired of winning by now.

    Seems like the resolved, just did not close the issue.

  25. whereisdw commented on Oct 18, 2026

    @whereisdw

    Until there's a toggle, a workaround that at least makes sure you see the question before it resolves itself: Codex has no hook for questions (PermissionRequest only covers approvals), but every question is written to the session log right away, so you can watch for it.

    In ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl, a question is a response_item with payload.type == "function_call" and payload.name of either:

    • request_user_input (blocking): when you answer, a function_call_output with the same call_id follows, so a call with no output yet means it's waiting on you.
    • request_user_input_async (the desktop app's default-mode questions, the ones that still auto-resolve): these get {"accepted":true} back instantly, so treat any that appeared in the last few minutes as new.

    A loop that tails the recently modified rollouts every few seconds and fires osascript -e 'display notification …' (or a curl to an ntfy topic for your phone) when it sees a new call_id is enough. I posted a tested ~45-line version here. The log format isn't a stable API, so it may need adjusting after updates.

    Disclosure: I build Lidnight, a macOS menu bar app that now does this check (Mac + phone alert with the question text) alongside keeping the Mac awake while Codex works.

  26. balabommablock-cpu commented on Oct 26, 2026

    @balabommablock-cpu

    A status check for anyone landing here, read from the current main source (codex-rs/tui/src/bottom_pane/request_user_input/mod.rs), since the thread mixes old and new behaviour:

    • Blocking questions (Plan mode) never time out.
    • Non-blocking questions still do: about 60s with no sign, then a visible 60s countdown, then an empty answer is sent.
    • Any key press or paste while the question is open stops the timer for that question. So if you're watching, you're safe. The problem is when you're away.
    • There's still no setting. autoResolutionMs is deprecated in the protocol and the TUI uses fixed times.

    So "resolved" above is true for Plan mode only.

    The smallest change that would close most of this thread:

    1. One setting, e.g. question_timeout = "never" | <seconds>, honoured the same way in the CLI, app and IDE.
    2. What @hippoley said: send a timeout as a timeout, not as an empty answer. Then the model can say "you didn't reply, so I went ahead with X", and you see that when you're back.

    Silence is a fine default for small choices. It just shouldn't look like a yes.

  27. hippoley commented on Nov 9, 2026

    @hippoley

    Small follow-up after checking the current thread's source-level status report: the remaining 60-second behavior appears to affect non-blocking questions, while blocking Plan-mode questions do not time out. That makes the protocol distinction in my earlier comment even more important.

    I would keep two changes separate:

    1. A user-facing timeout policy (for example never or a configured duration) for non-blocking questions.
    2. A truthful lifecycle result when the deadline is reached: expired/timeout with no human answer, rather than an empty answers object that looks like a completed response.

    The second property should hold regardless of whether the first setting is added. It prevents downstream agents, audit logs and replay systems from treating silence as consent.

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

    CLIbugconfigplan

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions