Repository navigation
docs(agents): 文档漂移审计(首个真实多代理用例)+ 修复 4 处确认漂移 - #47
Merged
Merged
Conversation
…ow recipe P1.3: the repo's first real multi-agent workflow. Eight documents audited by one agent each, then every candidate refuted-or-confirmed by a separate agent: 26 candidates, 21 rejected, 4 confirmed. Fixes all four - the security baseline risk table still called audit and menu closure 未完成 after M2 closed them, its section 11 required SESSION_SECRET/TOKEN_SECRET which exist nowhere and are not needed (tokens are opaque and stored hashed), and doc-index plus foundation-progress still described M9-3b as 待 PR/合并 although PR #39 merged on 2026-10-05, wording that merge commit itself wrote. Records the recipe, the measured 80% rejection rate, the deliberate decision not to gate this semantic drift class, and a new rule that merging updates the live status board.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Summary
P1.3:本仓第一个真实的多代理编排用例。我选的题目是本仓最疼的那类问题——文档漂移。
编排形状(两阶段,逐候选独立复核)
stale-path / stale-command / stale-status / contradiction;提示词里明确列出不要报什么(措辞、将来计划、建议类意见)。confirmed;标准是"宁可漏报不要误报"。结果:26 条候选 → 驳回 21 → 确认 4(全部已修)
security-baseline.md风险表:审计日志未闭环 / 菜单权限未闭环仍写"未完成",而 M2 早已 Donesecurity-baseline.md§11 要求"必须配置SESSION_SECRET或TOKEN_SECRET"——这两个键在仓库里根本不存在,平台令牌是随机 opaque、只存 hash、不需要签名密钥doc-index.md:252M9-3b 写"待 PR/合并",而 PR #39 已于 2026-10-05 合并b45d319)foundation-progress.md三处同一漂移(总览行 / §6 / M9 表)其中第三条特别值得记:那句"待合并"正是由那次合并提交自己写下的(
b45d319把"关闭回归窗口"改写成"待 PR/合并关闭"),之后再无人动。量出来的教训(已写进
docs/agent-workflow.md§6)Verification
pnpm check:repoexit 0(本轮的verification-log条目本身也被证据门禁校验通过)doc-index与foundation-progress里无待 PR/合并、已实现待评审残留(剩余匹配只有 §1.5 规则文本与历史记录里的引用,均有意保留)b45d319),而不是只信审计结论Review Focus
SESSION_SECRET/TOKEN_SECRET这一处——它是把文档改成与实现一致,还是你认为应该反过来补实现?security-baseline风险表里"仍无审计查询端点/UI"这一事实写入是否合适备注
5 条候选未被复核认可也未驳回(复核代理未覆盖到),我按"宁可漏报"原则丢弃而非采信;重跑一次可把它们坐实。