Repository navigation
test(codex): MCP elicitation answers on the wire (I10) - #2707
Open
kinqsradio wants to merge 2 commits into
Open
kinqsradio wants to merge 2 commits into
kinqsradio wants to merge 2 commits into
Conversation
Contributor
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Wire-level tests for I10:
answer_requestruns 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::testsgave 58 passed, 0 failed, includinga_form_that_wants_data_is_cancelled_on_the_wire_without_asking,a_url_request_is_cancelled_on_the_wire_without_askingandan_approval_waits_for_the_person_and_is_answered_from_their_verdict.cargo clippy -p orbyn-core --all-targets -- -D warningsfinished 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