feat: align output negotiation and protocol maintenance#411
Merged
liujuanjuan1984 merged 18 commits intomainfrom Apr 10, 2026
Merged
feat: align output negotiation and protocol maintenance#411liujuanjuan1984 merged 18 commits intomainfrom
liujuanjuan1984 merged 18 commits intomainfrom
Conversation
Collaborator
Author
|
独立审查结论:未发现阻塞性问题,当前 PR 的代码与文档变动总体合理,能够覆盖并闭合本分支对应的四个 issue 目标。 代码变动审查
优雅性与稳健性审查
PR 标题与描述审查
PR 与 issues 关系审查
残余风险
|
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.
概览
本 PR 汇总当前分支已完成的四组相关改动:
codex-a2a的维护者文档、兼容性文档与默认验证闭环实践acceptedOutputModes提升为 task-scoped 协议契约,并补齐text/plainonly 客户端的稳定文本降级按模块说明
文档与维护者入口(#407)
docs/maintainer-architecture.md,补充维护者视角的模块边界与主调用链docs/compatibility.md,显式说明 compatibility-sensitive surface 与 contract-honesty 边界README.md、CONTRIBUTING.md、相关 docs 跳转关系,区分用户入口与维护者入口默认验证闭环(#407)
bash ./scripts/doctor.sh明确为主验证入口doctor.sh中补齐mypy、构建产物生成与 built wheel smoke testOutput Negotiation 与文本降级(#408 #409)
acceptedOutputModes规范化后持久化到 task metadatatext/plain时,将结构化DataPart稳定降级为紧凑 JSON 文本,避免关键信息静默丢失JSON-RPC / 协议层收敛(#410)
jsonrpc.methods、workspace_control等处的重复字段校验样板,保持现有协议行为与错误语义不变验证
bash ./scripts/doctor.shIssues
Closes #407
Closes #408
Closes #409
Closes #410