{
  "fixtures": [
    {
      "name": "sequential_subplan_execution",
      "description": "Sequential execution of two subplans with git-three-way merge",
      "parent_plan_id": "01M4PARENT000000000000000001",
      "execution_mode": "sequential",
      "merge_strategy": "git_three_way",
      "max_parallel": 1,
      "fail_fast": false,
      "retry_failed": true,
      "max_retries": 2,
      "subplans": [
        {
          "subplan_id": "01M4SUBP0000000000000000010",
          "action_name": "local/refactor-auth",
          "target_resources": ["src/auth.py"],
          "expected_status": "complete",
          "files_changed": 1
        },
        {
          "subplan_id": "01M4SUBP0000000000000000011",
          "action_name": "local/refactor-models",
          "target_resources": ["src/models.py"],
          "expected_status": "complete",
          "files_changed": 2
        }
      ]
    },
    {
      "name": "parallel_subplan_execution",
      "description": "Parallel execution of three subplans with max_parallel=3",
      "parent_plan_id": "01M4PARENT000000000000000002",
      "execution_mode": "parallel",
      "merge_strategy": "git_three_way",
      "max_parallel": 3,
      "fail_fast": false,
      "retry_failed": true,
      "max_retries": 2,
      "subplans": [
        {
          "subplan_id": "01M4SUBP0000000000000000020",
          "action_name": "local/update-api",
          "target_resources": ["src/api.py"],
          "expected_status": "complete",
          "files_changed": 1
        },
        {
          "subplan_id": "01M4SUBP0000000000000000021",
          "action_name": "local/update-tests",
          "target_resources": ["tests/test_api.py"],
          "expected_status": "complete",
          "files_changed": 3
        },
        {
          "subplan_id": "01M4SUBP0000000000000000022",
          "action_name": "local/update-docs",
          "target_resources": ["docs/api.md"],
          "expected_status": "complete",
          "files_changed": 1
        }
      ]
    },
    {
      "name": "dependency_ordered_subplan_execution",
      "description": "Dependency-ordered execution respecting DAG constraints",
      "parent_plan_id": "01M4PARENT000000000000000003",
      "execution_mode": "dependency_ordered",
      "merge_strategy": "sequential_apply",
      "max_parallel": 2,
      "fail_fast": true,
      "retry_failed": false,
      "max_retries": 0,
      "subplans": [
        {
          "subplan_id": "01M4SUBP0000000000000000030",
          "action_name": "local/init-database",
          "target_resources": ["src/db.py"],
          "expected_status": "complete",
          "files_changed": 1,
          "depends_on": []
        },
        {
          "subplan_id": "01M4SUBP0000000000000000031",
          "action_name": "local/create-tables",
          "target_resources": ["src/models.py"],
          "expected_status": "complete",
          "files_changed": 2,
          "depends_on": ["01M4SUBP0000000000000000030"]
        }
      ]
    },
    {
      "name": "subplan_with_retry",
      "description": "Subplan execution with retry on retriable failure",
      "parent_plan_id": "01M4PARENT000000000000000004",
      "execution_mode": "sequential",
      "merge_strategy": "git_three_way",
      "max_parallel": 1,
      "fail_fast": false,
      "retry_failed": true,
      "max_retries": 2,
      "subplans": [
        {
          "subplan_id": "01M4SUBP0000000000000000040",
          "action_name": "local/flaky-task",
          "target_resources": ["src/flaky.py"],
          "expected_status": "complete",
          "attempt_number": 2,
          "previous_attempts": [
            {
              "attempt_number": 1,
              "error": "ValidationError: schema mismatch",
              "was_retried": true
            }
          ]
        }
      ]
    }
  ]
}
