feat: add agentteam MVP with fan-out/fan-in execution flow Refs #2#4
Open
gangcaiyoule wants to merge 17 commits into
Open
feat: add agentteam MVP with fan-out/fan-in execution flow Refs #2#4gangcaiyoule wants to merge 17 commits into
gangcaiyoule wants to merge 17 commits into
Conversation
Contributor
Author
|
背景
这次改动的目标,是在尽量不影响现有单 Agent 行为的前提下,为 本次改动
设计说明
当前行为
测试 mvn "-Dcheckstyle.skip=true" "-Dtest=AgentTeamPromptProviderTest,SubAgentToolPolicyTest,TeamMasterToolPolicyTest,SubAgentExecutionIsolationTest,TaskDecompositionServiceTest,MasterAgentOrchestratorTest,SingleAgentRegressionTest" test结果: 风险与后续
|
… to .gitignore These worktree artifacts were created during local multi-agent coding tests. They were committed as gitlinks (mode 160000), which caused GitHub to report "Can't automatically merge" when creating PRs. - Removed 3 gitlink entries from .agentteam/worktrees/ - Added .agentteam/ to .gitignore to prevent future accidental commits Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ack for coding tasks - HostModeExecutionGateway.resolveWorkspacePath() now resolves relative paths against session-registered worktree root instead of user.dir - ParallelCodingOrchestrator throws ParallelCodingException instead of silently falling back to Docker sandbox - Added WORKTREE_UNAVAILABLE and PLAN_NOT_PARALLELIZABLE error codes Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Adapted AgentTeamExecutionContext to include worktreePath field - Migrated SubAgentCodingExecutionService to new context-based API - Merged ExecutionErrorCodes from both branches - Updated tests to use new AgentTeamRoleExecutionPort interface Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Changed fallback test to expect ParallelCodingException instead of silent Docker fallback - Fixed lambda signatures to match new AgentTeamRoleExecutionPort interface Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
基于 Git Worktree 的并行多 Agent 代码生成
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.
Pull Request 描述
本 PR 实现了
agentteam第一版 MVP,目标是为 OpenManus-Java 增加一个可运行的多 agent 协作执行主链路。当前版本已支持主 agent 对大任务进行拆解,并将无依赖子任务分发给多个 subagent 并行执行,最终由主 agent 汇总结果。实现范围聚焦在
fan-out / fan-in的最小可运行闭环,暂不支持 DAG、角色系统、持久化和代码 worktree 隔离。更改类型
请选择适用的选项:
相关Issue
Refs #2
更改详情
请详细描述您的更改:
agentteam独立模块结构:com.openmanus.agentteam.applicationcom.openmanus.agentteam.domaincom.openmanus.agentteam.infraTaskGroup/SubTaskfan-out / fan-in测试
请描述您为验证更改而运行的测试。
测试配置:
补充说明:
BUILD SUCCESSworkflow-stream -> agentteam -> task pool -> subagent -> aggregation主链路检查清单
截图(如果适用)
无
额外的上下文
当前 PR 仅提交 AgentTeam 第一版 MVP,重点是先打通最小可运行链路。
当前明确未覆盖的能力包括:
审查者注意事项
请特别注意以下方面:
审查清单(审查者填写):
该 PR 为阶段性提交,后续会继续在 #2 下推进 AgentTeam 的后续能力。