{
  "version": "3.16",
  "name": "VLClawSupervisorSubflowDemo",
  "description": "Editor-friendly demo showing Subflow nodes instead of raw Tool_WorkflowRun calls.",
  "steps": [
    {
      "id": "Set_010_Goal",
      "target": "$goal",
      "value": "=\"Turn VLClaw into a workflow-driven AI engineering manager\"",
      "next": "Set_020_OutputRoot"
    },
    {
      "id": "Set_020_OutputRoot",
      "target": "$outputRoot",
      "value": "=\".codex/demo-artifacts/subflow-node-demo\"",
      "next": "Fork_030_Workers"
    },
    {
      "id": "Fork_030_Workers",
      "children": ["Subflow_040_SpecWorker", "Subflow_050_ReviewWorker"],
      "next": "Stop_060_End"
    },
    {
      "id": "Subflow_040_SpecWorker",
      "workflow_path": "examples/workflows/vlclaw-worker-spec.json",
      "mode": "sync",
      "params": {
        "goal": "=$goal",
        "outputDir": "=$outputRoot + \"/spec\""
      },
      "out": {
        "$specResult": "=_result.variables[\"$content\"]"
      }
    },
    {
      "id": "Subflow_050_ReviewWorker",
      "workflow_path": "examples/workflows/vlclaw-worker-review.json",
      "mode": "sync",
      "params": {
        "goal": "=$goal",
        "outputDir": "=$outputRoot + \"/review\""
      },
      "out": {
        "$reviewResult": "=_result.variables[\"$content\"]"
      }
    },
    {
      "id": "Stop_060_End"
    }
  ]
}
