Skip to content

CF-3: Plan-mode decision for Val, with a live capture; question acceptance steps - #369

Merged
BunsDev merged 1 commit into
mainfrom
cf3-plan-decision
Oct 22, 2026
Merged

BunsDev merged 1 commit into
mainfrom
cf3-plan-decision

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Part of #276 (CF-3), tracker #273. Documentation only; no behaviour changes.

Slice 2: a decision for Val

docs/reviews/2026-10-22-cf3-plan-mode-decision.md asks whether Modex's Plan mode should start Codex turns in Codex's native plan collaboration mode (turn/start with collaborationMode: { mode: "plan" }) instead of today's prompt prefix.

Live capture, 2026-10-22, codex-cli 0.163.0, model gpt-6-astra. The same task ran twice, read-only, with every command approval declined. The task: add a greeting file, language undecided.

Today (prefix) Native plan mode
Question none: assumed English one requestUserInput: Language, with three options plus Other; answered via codexQuestions / codexAnswerResponse
Plan final agentMessage a plan item plus 75 item/plan/delta, and no final agent message
Tokens 38,483 61,226
Time 22 s 21 s

Recommendation: yes, but only together with rendering Codex's plan items. Without that, a native Plan turn would show only the preamble.

Costs:

  • collaborationMode, plan items and deltas are all EXPERIMENTAL in the schema.
  • The mode's preset overrides model and effort unless Modex passes them in settings.
  • A question adds a round trip.
  • Claude is unaffected and still sends no structured questions.

The full protocol log and the probe are kept outside the tree; the doc gives the SHA-256.

Slice 3: human acceptance steps

docs/reviews/2026-10-22-cf3-question-acceptance.md gives Val's steps for a native question in the real app:

  • setup, including turning default_mode_request_user_input on and off again;
  • desktop, keyboard only;
  • VoiceOver;
  • iPhone: native card, refusal, answer from the phone, losing a race, VoiceOver, older Companion.

The rows are added to #281's checklist. The iPhone rows need the companion PR for slice 1 and a Companion build Val uploads to TestFlight.

human-requests.md ("Not done here") and status.md (Known rough edges) link both documents.

Validation: git diff --check is clean. Facts in the documents were checked against the source (backends/codex.ts, QuestionCard.tsx, TurnContent.tsx, event-journal.md) and against codex app-server generate-json-schema --experimental for 0.163.0.

Waiting for Val's go-ahead before merging.

🤖 Generated with Claude Code

…tance steps

Slice 2 of #276 is a decision for Val, not code. This adds a write-up of whether Modex's Plan mode
should run Codex turns in its native plan collaboration mode, with a live capture from codex-cli
0.163.0 comparing today's prompt prefix against native plan mode on the same task. Native mode asked
a structured question and returned its plan only as a `plan` item, which Modex does not render yet.

Slice 3 adds human acceptance steps for a native question in the real app (keyboard only,
VoiceOver, iPhone) for #281's checklist, and links both from human-requests.md and status.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Oct 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 22, 2026 7:29pm UTC

Request Review

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main 0e674e7 cf3-plan-decision 6739186 +/-
65% 65% 0%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@BunsDev
BunsDev added this pull request to the merge queue Oct 22, 2026
Merged via the queue into main with commit f223cb4 Oct 22, 2026
11 checks passed
@BunsDev
BunsDev deleted the cf3-plan-decision branch October 22, 2026 21:33

This branch was successfully deployed

1 active deployment
Preview — 6739186d Deployed Oct 22, 2026 by vercel[bot]
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