精简多 Agent 审核与调度规则 0723#17
Draft
wlvh wants to merge 1 commit into
Draft
Conversation
wlvh
force-pushed
the
agent/simplify-multi-agent-review
branch
3 times, most recently
from
July 23, 2026 12:53
2b1ccbc to
15ff487
Compare
wlvh
force-pushed
the
agent/simplify-multi-agent-review
branch
from
July 23, 2026 13:03
15ff487 to
f8da5a6
Compare
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.
1. 背景与目标
多 Agent 模式会显著增加 token、墙钟时间和人工裁决负担,但这些运行时复杂度不应继续膨胀阶段 prompt。本 PR 现在只聚焦两件事:把稳定的多 Agent 治理边界集中到中文
AGENTS.md,以及精简、去漂移并补齐 PR review prompt 的证据与严重度标准。按用户 R3 范围调整,
zh/docs/development_workflow/README.md的全部修改已整体撤销;该文件当前与main完全一致。本轮按用户要求只维护中文路径;英文对应内容暂不修改,并显式记录
en-pending。2. 实现方案
zh/AGENTS.md增加三条通用多 Agent 治理:主会话最终负责、Agent 一致不等于证据、调查与审查默认只读;同时吸收原 review prompt 中独有的“最小语义结构”和松耦合规则,并同步文件自描述。zh/prompts/pr_review_system.md删除具体模型与 connector/app 权限假设,以 Issue、权威文档和实际读取材料为审核输入;删除与AGENTS.md重复的质量标准,将剩余表达约束合并到最终报告章节,并新增 P0 / P1 / P2 的唯一严重度定义与“定级即承诺”规则。zh/docs/development_workflow/README.md;此前关于双审路由、Finding 验证调度、稳定步骤 ID 和运行时调度原则的修改均已从本 PR 撤销。3. 变更范围
zh/AGENTS.mdzh/prompts/pr_review_system.md4. 文档影响
受影响文档:
zh/AGENTS.mdzh/prompts/pr_review_system.md说明:
zh/docs/development_workflow/README.md已恢复为main版本,不属于当前 patch。capability_contract.json中的能力边界,不改变interact.md中的用户可观察行为,也不改变业务人员使用方式,因此无需更新用户能力文档。en/AGENTS.md的对应语义和尚未发布的英文 prompt 路径标记为en-pending,后续单独完成双语语义等价审核。5. 用户与架构影响
用户可见变化:
架构变化:
6. Review / 修复记录
confirmedmain一致confirmedmain,唯一完整定级规则保留在pr_review_system.mdconfirmedmainAGENTS.md文件简介未覆盖新增多 Agent 协作边界confirmedzh/AGENTS.md自描述已同步confirmedpr_review_system.md3.4 使用“测试覆盖与可信度”confirmedrejectedpr_review_system.md使用更精确的 P0/P1 主审复核门槛confirmedconfirmedpr_review_system.md3.5 新增 P0/P1/P2 SSOT;未证实高风险项保持待验证confirmedzh/docs/development_workflow/README.md的全部修改confirmedmain...agent/simplify-multi-agent-review只剩zh/AGENTS.md与zh/prompts/pr_review_system.md7. 已知限制与回滚
已知限制:
en-pending。回滚方式:
8. 最终自检
main...agent/simplify-multi-agent-review核对实际 diffzh/docs/development_workflow/README.md已从 PR diff 中消失TESTING.md判断:本 PR 为文档 / prompt 变更,无行为性代码改动,不新增测试test / pytest已通过interact.mdarchitecture.md