Skip to content

fix(server): allow user input requests in default mode - #91

Merged
tarik02 merged 1 commit into
mainfrom
fix-default-request-user-input-instructions
Jul 29, 2026
Merged

fix(server): allow user input requests in default mode#91
tarik02 merged 1 commit into
mainfrom
fix-default-request-user-input-instructions

Conversation

@tarik02

@tarik02 tarik02 commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

What Changed

Default-mode developer instructions now use request_user_input when it is configured. When the tool is absent, agents fall back to a concise plain-text question. FORK.md records the fork-specific behavior.

Why

Tool availability is configurable, so treating it as unavailable in every Default mode session prevented agents from using it even when exposed.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • UI screenshots are not applicable
  • Animation or interaction video is not applicable

@github-actions github-actions Bot added size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Jul 29, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 454f8bd1e5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

The \`request_user_input\` tool is unavailable in Default mode. If you call it while in Default mode, it will return an error.

In Default mode, strongly prefer making reasonable assumptions and executing the user's request rather than stopping to ask questions. If you absolutely must ask a question because the answer cannot be discovered from local context and a reasonable assumption would be risky, ask the user directly with a concise plain-text question. Never write a multiple choice question as a textual assistant message.
In Default mode, strongly prefer making reasonable assumptions and executing the user's request rather than stopping to ask questions. If you must ask a question because the answer cannot be discovered from local context and a reasonable assumption would be risky, use the \`request_user_input\` tool when it is available. Otherwise, ask the user directly with a concise plain-text question. Never write a multiple-choice question as a textual assistant message.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add focused coverage for default-mode input instructions

This backend behavior change determines whether default-mode Codex uses the UI-backed input flow, but no focused test asserts that the generated instructions permit request_user_input when available and retain the plain-text fallback. The existing builder tests only cover the mode prefix, runtime metadata, and browser instructions, so a later upstream sync could silently restore the blanket-unavailable behavior; add explicit regression assertions for both clauses.

AGENTS.md reference: AGENTS.md:L108-L113

Useful? React with 👍 / 👎.

@tarik02
tarik02 merged commit 5ef8415 into main Jul 29, 2026
10 checks passed
@tarik02
tarik02 deleted the fix-default-request-user-input-instructions branch July 29, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant