docs(rfc): codex phase-2 二次实测 — passthrough 推迟 / askuser schema 捕获#2220
Merged
Conversation
并行深挖 passthrough + askuser 后,初判结论翻转(§7/§8): §7 passthrough → 推迟(实测否定): §2 只验了 clientUserMessageId round-trip + turn/steer 的 ACK,没验效果。 补做 3 组效果探针(Bedrock gpt-5.5):长文 pivot / 数数追加 / tool 占用中 steer —— turn/steer 全部 ACK 成功但模型不采纳 steered 输入(silent no-op)。开 passthrough 会让 /urgent/并发消息被 codex 静默丢弃,比现有 Collect 模式更差。决策:不 ship,保持 Collect。教训:协议 ACK≠语义生效。 §8 askuser → 可实现(schema 已 live 捕获): 方法名 item/tool/requestUserInput(需 --enable default_mode_request_user_input, 旧猜名 request_user_input 错误致 server 退出)。请求/响应 schema、阻塞性、 空答案致 re-ask 死循环全部实测确认。难点:codex 真阻塞,要加回 claude askuser RFC 删掉的 pending 表/TTL/RPC 回写(~2-3d,独立 PR)。 推荐顺序更新:embedded_context(已交付#2219) → askuser → ~~passthrough~~推迟。
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.
概述
并行深挖 codex backend 剩余两个 Phase-2 feature(passthrough + askuser)后,初判结论翻转。本 PR 仅文档(
codex-backend-phase2-feasibility.md§7/§8),把实证发现沉淀下来,并阻止 ship 一个会丢消息的 passthrough。§7 passthrough → 推迟(实测否定)
初判(§2)"原语齐备、适配器可行"——但只验证了
clientUserMessageIdround-trip +turn/steer的 ACK,没验证 steer 对模型输出的实际效果。补做 3 组效果探针(Bedrock gpt-5.5):{turnId}turn/steerACK 成功但模型不采纳 steered 输入(silent no-op)。 开 passthrough 会让/urgent/并发消息被 codex 静默丢弃 —— 比现有 Collect 模式更差(Collect 可靠排队+投递)。决策:不 ship,codex 保持 Collect。§8 askuser → 可实现(schema 已 live 捕获)
初判 "BLOCKED:schema 未验证" —— 现已 live 捕获补全:
item/tool/requestUserInput(需--enable default_mode_request_user_input;旧猜名request_user_input错误致 server 启动退出){questions:[{id,header,question,options:[{label,description}],isOther,isSecret}]}{result:{answers:{qid:{answers:[label]}}}}(按 id 键控;label 即值)难点:codex 真阻塞,要加回 claude askuser RFC 明确删掉的 pending 表/TTL/RPC 回写(claude 是 fire-and-forget)。~2-3d,独立 PR。
推荐顺序更新
passthrough→ 推迟(Bedrock steer 实测无效;非-Bedrock 未测,可能 per-provider 复活)测试计划
go build ./...通过(无代码改动)🤖 Generated with Claude Code