Repository navigation
Record a live Codex question: Modex reads it, Codex takes the answer (CF-3) - #357
Merged
Merged
Conversation
…(CF-3) With Val's approval, one codex-cli 0.163.0 turn (gpt-6.1-sol, read-only) in Codex's plan collaboration mode was asked to put one clarifying question through its question tool. The native item/tool/requestUserInput request is now a fixture. codexQuestions read it as the fixtures predicted, and Codex accepted codexAnswerResponse's answer and completed the turn with a plan item. A unit test replays the sample; no code changed. The capture also found a limit, now documented and listed under Known rough edges. In 0.163.0 Codex offers the question tool only in its plan collaboration mode, and Modex's Plan mode is a prompt prefix on an ordinary turn, so a live Codex turn in Modex never asks a question card. Enabling it means sending Codex's plan mode and showing its plan items. That is a decision for Val. Part of #276 (CF-3), tracker #273. Coven-Harness: Claude Code / claude-opus-5-5
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
BunsDev
marked this pull request as draft
October 20, 2026 23:59
BunsDev
marked this pull request as ready for review
October 21, 2026 00:40
This was referenced Oct 22, 2026
4 tasks done
This branch was successfully deployed
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.
Part of #276 (CF-3), tracker #273. This records native plan-mode parser/answer compatibility; it does not close CF-3 app or human acceptance. Val approved the live turn.
Live capture (codex-cli 0.163.0, model
gpt-6.1-sol, read-only, no commands)A probe (
apps/desktop/.probes/cf3/capture-question.mjs, not committed) drovecodex app-serverdirectly. It started a turn in Codex's plan collaboration mode, asked for one clarifying question, parsed the request with Modex's owncodexQuestions, and answered with Modex's owncodexAnswerResponse.item/tool/requestUserInputcarryingthreadId,turnId,itemId,questions: [{ id: "greeting_language", header: "Language", question, isOther: true, isSecret: false, options: [English, Spanish with descriptions] }],isBlocking: trueandautoResolutionMs: null. The schema marks that last field deprecated in favour ofisBlocking.{ answers: { greeting_language: { answers: ["English"] } } }. Codex accepted it and completed the turn with aplanitem, "1. Updategreeting.txt… 2. Verify…", not an agent message.The sample is now
apps/desktop/test/fixtures/codex-request-user-input-0.163.0.json, andtest/human-requests.test.tsreplays it, 11/11. No code changed, because the parser and the answer were already right. So there's no red step: the test pins existing behaviour to native data.The limit it found (documented, under Known rough edges)
With default 0.163.0 settings, Codex offers the question tool in native plan collaboration mode;
default_mode_request_user_inputis off by default. The separate #348 capture enabled that opt-in flag through Modex: the card sent Blue and the model replied Blue. This direct probe does not exercise the app broker/card/transport, and human acceptance remains open.Modex's Plan mode currently uses an ordinary turn. Native Plan integration would require selecting
collaborationModeand showing Codex'splanitems, which Modex does not read yet. #358 corrects the documentation to distinguish these evidence scopes.That changes how Plan mode behaves for Codex, so it's left as a decision.
Docs:
docs/human-requests.md(live evidence; Not done here),docs/task-context.md(a correction to the clarifications section),docs/status.md(Known rough edges).pnpm build,pnpm typecheckpassed.Coven-Harness: Claude Code / claude-opus-5-5