Skip to content

test(codex): MCP elicitation answers on the wire (I10) - #2707

Open
kinqsradio wants to merge 2 commits into
mainfrom
test/i10-elicitation-dispatch
Open

kinqsradio wants to merge 2 commits into
mainfrom
test/i10-elicitation-dispatch

Conversation

@kinqsradio

@kinqsradio kinqsradio commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

What

Wire-level tests for I10: answer_request runs against a child that records its stdin, so the JSON-RPC answer is checked, not just the helper functions. A form that asks for data and a URL request are each cancelled with a valid answer and never put to the person. A plain approval waits for the person's verdict (accept, decline), and an allowed approval with a required field that has no default is declined. The I10 row text now says a URL request is cancelled (it was described as refused). The row stays open: it needs a real Codex connector prompt.

Evidence

On the box: cargo test -p orbyn-core agents::driver::codex::tests gave 58 passed, 0 failed, including a_form_that_wants_data_is_cancelled_on_the_wire_without_asking, a_url_request_is_cancelled_on_the_wire_without_asking and an_approval_waits_for_the_person_and_is_answered_from_their_verdict. cargo clippy -p orbyn-core --all-targets -- -D warnings finished clean. My first draft of the URL test expected a method-not-found error; the run failed and showed the real behaviour is a cancel, so I corrected the test and the row.

AI usage

Tool: Claude Code 2.1.330. Model: claude-sonnet-5-5. Effort: medium. Human role: lead set the scope. Sources: none.

Agent review: Eng 3 checked the diff at fa98c55

@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 479f6e85-4d6a-493c-89ee-59192e18f16e

You can disable this status message by setting the reviews.output.walkthrough.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant