feat(phase6): implement end-to-end enterprise scenario validation (U15)
- Add goal-driven agent skill config and pipeline config - Add 9 E2E integration tests covering all 7 capabilities: - SC1: Goal-driven SEO analysis (GoalPlanner→PlanExecutor→PlanChecker→ExperienceStore) - SC2: Knowledge Q&A with system operation (MultiSourceRAG) - SC3: Workflow with approval (WorkflowStore + approval node) - SC4: Self-evolution experience accumulation (ExperienceStore→PitfallDetector→PathOptimizer) - SC5: Parallel execution efficiency verification - SC6: Skill registry integration (capabilities, versions, health) - Cross-capability: Plan+Experience+Pitfall, Review+Experience, RAG+Workflow - All 2472 tests passing (9 integration + 2463 unit)
This commit is contained in:
parent
c606ffa64a
commit
b34f74f598
|
|
@ -0,0 +1,33 @@
|
|||
name: goal_driven_pipeline
|
||||
description: "目标驱动执行Pipeline"
|
||||
max_parallel: 5
|
||||
timeout: 3600
|
||||
|
||||
stages:
|
||||
- name: analyze_goal
|
||||
action: goal_planner.analyze
|
||||
type: skill
|
||||
config:
|
||||
enable_pitfall_check: true
|
||||
|
||||
- name: generate_plan
|
||||
action: goal_planner.plan
|
||||
type: skill
|
||||
dependencies: [analyze_goal]
|
||||
config:
|
||||
require_confirmation: true
|
||||
|
||||
- name: execute_plan
|
||||
action: plan_executor.execute
|
||||
type: skill
|
||||
dependencies: [generate_plan]
|
||||
config:
|
||||
max_parallel: 5
|
||||
retry_on_failure: true
|
||||
|
||||
- name: review_results
|
||||
action: plan_checker.review
|
||||
type: skill
|
||||
dependencies: [execute_plan]
|
||||
config:
|
||||
record_experience: true
|
||||
|
|
@ -0,0 +1,74 @@
|
|||
name: goal_driven_agent
|
||||
agent_type: goal_driven
|
||||
version: "1.0.0"
|
||||
description: "目标驱动的自主执行Agent,支持计划生成、并行执行、检查复盘"
|
||||
task_mode: tool_call
|
||||
supported_tasks:
|
||||
- goal_driven_execution
|
||||
- complex_analysis
|
||||
- multi_step_planning
|
||||
max_concurrency: 5
|
||||
|
||||
intent:
|
||||
keywords: ["分析", "调研", "生成报告", "对比", "优化方案", "计划", "规划"]
|
||||
description: "处理需要多步骤规划和执行的复杂任务"
|
||||
examples:
|
||||
- "分析竞品 SEO 策略并生成优化方案"
|
||||
- "调研3个技术方案并生成对比报告"
|
||||
- "制定市场推广计划并执行"
|
||||
|
||||
input_schema:
|
||||
type: object
|
||||
required:
|
||||
- goal
|
||||
properties:
|
||||
goal:
|
||||
type: string
|
||||
description: 任务目标描述
|
||||
context:
|
||||
type: object
|
||||
description: 上下文信息
|
||||
max_parallel:
|
||||
type: integer
|
||||
description: 最大并行步骤数
|
||||
default: 5
|
||||
|
||||
output_schema:
|
||||
type: object
|
||||
properties:
|
||||
plan:
|
||||
type: object
|
||||
description: 生成的执行计划
|
||||
execution_result:
|
||||
type: object
|
||||
description: 执行结果
|
||||
review_report:
|
||||
type: object
|
||||
description: 复盘报告
|
||||
|
||||
capabilities:
|
||||
- planning
|
||||
- execution
|
||||
- review
|
||||
- parallel_execution
|
||||
|
||||
dependencies: []
|
||||
|
||||
tools:
|
||||
- web_search
|
||||
- seo_analyzer
|
||||
- report_generator
|
||||
- data_analyzer
|
||||
|
||||
config:
|
||||
max_parallel: 5
|
||||
subtask_timeout: 300
|
||||
enable_experience: true
|
||||
enable_pitfall_detection: true
|
||||
|
||||
memory:
|
||||
working:
|
||||
enabled: true
|
||||
episodic:
|
||||
enabled: true
|
||||
track_success: true
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue