chiguyong
|
871e20876f
|
test(integration): U9 重写集成测试覆盖流水线模式
- 33 个测试覆盖 F1-F16 全部场景
- F1: 手动团队组建 (@team:expert1,expert2)
- F2: 默认团队模板 (@team:dev_team)
- F3: 流水线串行执行 (3阶段 A→B→C)
- F4: 并行阶段执行 (无依赖)
- F5: 阶段失败和依赖失败传播
- F6: SharedWorkspace 数据传递
- F7: 上下文隔离 (独立 ConfigDrivenAgent)
- F8: 事件序列验证 (team_formed → plan_update → phase_started → phase_completed → team_synthesis)
- F9: TeamStatus.PLANNING 状态流转
- F10: 循环依赖检测
- F11: 无效专家引用 fallback
- F12: LLM 分解失败 fallback
- F13-F16: 去中心化协作、用户干预、团队解散、动态专家管理
|
2026-06-18 02:26:59 +08:00 |
chiguyong
|
28ca5b6001
|
fix(experts):修复 ExpertTeamRouter 模板引用 bug + 修复损坏的集成测试
U1: resolve_expert_configs 中使用 copy.deepcopy(template.config) 替代直接引用,
防止 is_lead 赋值污染共享模板(与 BoardRouter 的 P1 修复保持一致)。
U2: 移除 test_expert_team.py 中对已移除类的导入(CollaborationPlan, MergeStrategy,
ParallelType, PhaseStatus, PlanPhase),删除使用这些类的测试。保留不依赖已移除类
的 8 个测试。U9 将重写为流水线模式测试。
|
2026-06-18 01:23:25 +08:00 |
chiguyong
|
7384ecb03e
|
feat: Expert Team Mode — plan-execute collaboration with conversation UI
Implements B+C hybrid Expert Team Mode with ExpertConfig, CollaborationPlan,
TeamOrchestrator, ExpertTeamRouter, HandoffTransport, SharedWorkspace, and
Expert wrapper. Frontend includes ExpertTeamView, ExpertMessage,
PlanVisualization, team store, and WS event handlers.
Code review fixes: sentinel-based close, per-phase retry, name validation,
Vue component integration, teamState dedup, Redis reset, plan reassign,
event_type validation, hmac timing-safe compare, message dedup,
reactive updatePhases, O(1) phase lookup, iterative DFS, bounded Queue.
232 unit tests passing.
|
2026-06-14 22:20:14 +08:00 |