Repository navigation
Conversation
Recognize terminal host results without borrowing unrelated tool call IDs. Accept omitted empty plaintext markers only against an otherwise identical caller-scoped checkpoint, and cover restart, failover, cancellation and isolation boundaries.
This branch has not been 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.
问题与修复
续接校验会将终端客户端注入的合法宿主结果误判为缺失工具调用;客户端回传完整历史时省略空的
encrypted_function_args: [],也可能让已保存的检查点匹配失败,返回continuation_history_incomplete。codex_app、codex_tui下的create_thread/send_message_to_thread宿主结果,避免借用无关工具调用的 ID。宿主载荷及显式调用 ID 仍须通过原有校验。spawn_agent、send_message、followup_task;不接受反向增加标记、非空或 null 标记、参数变化或嵌套字段变化,不修改传入历史或推断加密引用。验证
git diff --check通过。此 PR 基于最新上游 main,仅包含续接修复;与自定义模型功能 PR 独立。验证使用合成历史,未重放真实用户会话。