Add autonomous multi-thread collaboration loop - #3
Merged
Conversation
CCDawn
marked this pull request as ready for review
July 17, 2026 13:06
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.
变更内容
ccdawn-autonomous-collaboration-loop,在用户确认一次后持续协调同项目现有 Codex 会话完成各自任务。MERGE_READY、本地main集成和最终清理契约。原因
此前多会话协调可以讨论和暂停恢复,但缺少持续驱动者。发起会话中途结束时,其他 Agent 容易一直等待;接管者也可能仅凭聊天中的“已采纳”替失活 Agent 宣告完成。测试缓存清理还可能触发多轮无价值调查。
行为变化
RECOVERY_PENDING_EVIDENCE,只有可独立重验的 artifact、commit 和验证才能形成MERGE_READY_RECOVERED。main集成和验证可沿用一次授权;远程 push、PR merge 和发布仍需独立授权。验证
py -3 scripts\validate_ccdawn_skills.py --warnings-as-errorspy -3 -m unittest discover -s tests -p "test_*.py":13 passedPEER_ADAPT收敛,无暂停、无用户闸门。MERGE_READY_RECOVERED,按序合入本地main,集成测试 1 passed。限制
send_message_to_thread仍是协作消息而非硬中断。闭环依赖活跃会话在 checkpoint 读取消息,并通过可接管状态避免原发起会话成为单点故障。