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
