
Songhaoz666andClaude Opus 4.8
f2662e4268
复审整改(PR #26):删死开关 helper、文档对齐"无条件"、swarm.health 改内部、#6 降为 Refs
回应 Fasthei 终审三点:
1) [P1 文档/代码冲突 + 死代码] 删除从不被调用的 *_enabled() helper(autonomous_tasks.proposals_enabled
/ task_competition.task_competition_enabled / convergence.convergence_report_enabled)及其
import os;模块 docstring 与四份协议文档(autonomous-task-generation / task-competition-protocol
/ review-loop-protocol / convergence-protocol)从"默认关/未接入/待 PR/cutover 转无条件"全部改为
"无条件接入(无开关)",删除引用死 helper 的过时集成代码样例;同步删除三个模块单测里的
"flag default OFF" 断言。
2) [P1 验收] #6 "Closes" 降为 "Refs":#6 DoD 需 ARB 决策记录链接,当前只有 owner 指示断言、无链接。
product-positioning.md 改为如实记录决策来源(owner 指示 + 本 PR + 文档)并把"补 ARB 记录链接(或
owner 明确接受断言)"列为关闭 #6 的前置;纠正其"flag 门控、默认行为不变"的过时表述(重构已无条件)。
3) [P2 契约卫生] assess_swarm_health 不再 emit_event("swarm.health")(避免向订阅全部的 Manager 回调
投递未注册事件);改为存 run.metadata["health"] + 内部 health_log。test-swarm-guard 相应断言
"无 swarm.health 外发 + 内部 health_log 已记"。
本地受影响 11 套全绿。影响范围:agent_swarm(orchestrator 模块/文档/测试);不改 Manager↔Swarm 契约。
Refs #6
Refs #7
Refs #8
Refs #11
Refs #12
Refs #18
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 16:48:27 +08:00
..
2026-06-10 13:22:54 +08:00
2026-06-10 13:22:54 +08:00
2026-06-10 14:08:08 +08:00
2026-06-10 16:48:27 +08:00
2026-06-09 16:21:18 +08:00
2026-06-10 12:51:32 +08:00
2026-06-10 16:48:27 +08:00
2026-06-10 16:11:47 +08:00
2026-06-10 13:22:54 +08:00