codex icon indicating copy to clipboard operation
codex copied to clipboard

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

Open antoyo opened this issue 5 months ago • 49 comments

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

antoyo avatar Jun 18 '26 19:06 antoyo

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

  • #27458

Powered by Codex Action

github-actions[bot] avatar Jun 18 '26 19:06 github-actions[bot]

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.

gergo-hortobagyi avatar Jun 24 '26 21:06 gergo-hortobagyi

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.

fcnjd avatar Jun 26 '26 15:06 fcnjd

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.

irm-codebase avatar Jun 28 '26 14:06 irm-codebase

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

ScyDev avatar Jun 28 '26 17:06 ScyDev

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

jordi735 avatar Jun 30 '26 15:06 jordi735

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.

fcnjd avatar Jun 30 '26 21:06 fcnjd

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

LovelyQuantum avatar Jul 01 '26 15:07 LovelyQuantum

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?

kaiwu-astro avatar Jul 02 '26 14:07 kaiwu-astro

Feature no one asked for, enabled automatically for everyone, without a possibility to easily disable it. Seems like I could possibly be a product manager in Codex too since this got a green light to be added and implemented.

microHoffman avatar Jul 02 '26 22:07 microHoffman

Inherently insane to just add this behaviour without opt-in (or an option to disable it) but then also doing nothing about it (not even acknowledging it) for two weeks now. At least https://github.com/openai/codex/issues/28969#issuecomment-4847883145 seems to work for now, thanks @fcnjd!

prookie avatar Jul 04 '26 08:07 prookie

This completely breaks planning mode, needs to be fixed ASAP

erdostamasa avatar Jul 07 '26 20:07 erdostamasa

Thanks for making Codex open source! I was at your event last night in Seoul!

I don't know if the team is aware, but this is a serious trust and safety issue for users of codex. The isuse has been present for about 3 weeks now. Claude Code seems to have vibe copied the idea (in a much worse way than Codex btw; at least your implementation has a clear countdown and doesn't apply to EVERY decision), and the community there too responded with a mixture of shock and anger. This is a serious issue, and I'm sure that many more than have posted here are bit by it. Some perhaps without knowing it as they step away to make a coffee.

While Codex is open source, it is not currently open to contribution, or else I'm sure many others would have already submitted a patch. I have a fairly minimal one here: https://github.com/ianthetechie/codex/commit/b757b6c6cfcde0bcb25e7f95f2ace84410042b0d. Would any of the Codex team be open to a contribution + discussion?

ianthetechie avatar Jul 09 '26 02:07 ianthetechie

Prohibiting Codex from passing autoResolutionMs via AGENTS.md no longer seems to work with GPT 5.6 (latest VS Code extension).

n00mkrad avatar Jul 09 '26 21:07 n00mkrad

In fact, the tool appears to ignore ANY value passed (or not passed) to autoResolutionMs.

n00mkrad avatar Jul 09 '26 21:07 n00mkrad

This nonsense should have never been merged, and should definitely be disabled by default. It's not a computer game where you have to choose an answer in time under pressure.

spajus avatar Jul 10 '26 06:07 spajus

This is a much bigger productivity killer than one might expect and a simple setting to disable the option in the harness would significantly improve the UX for many users including me, so I'm commenting to increase the weight of this issue such that it hopefully gets resolved faster. Thank you.

Ahaeflig avatar Jul 10 '26 08:07 Ahaeflig

Any updates on this? This is a productivity killer...

itpropro avatar Jul 10 '26 12:07 itpropro

It’s been so long, and there still hasn’t been any response or resolution... I’m really disappointed.

nannb666 avatar Jul 10 '26 20:07 nannb666

Any updates on this?

novicode1 avatar Jul 10 '26 21:07 novicode1