DAG
graph TD
  1["1 | CHECK_BATTERY"]
  2["2 | NAVIGATE"]
  3["3 | SCAN_AREA"]
  4["4 | NAVIGATE"]
  5["5 | SCAN_AREA"]
  6["6 | VERIFY_OBJECT"]
  7["7 | IDENTIFY_PERSON"]
  8["8 | NAVIGATE"]
  9["9 | NAVIGATE"]
  10["10 | SCAN_AREA"]
  11["11 | SPEAK"]
  12["12 | ALERT_OPERATOR"]
  1 --> 2
  2 --> 3
  3 --> 4
  4 --> 5
  5 --> 6
  5 --> 7
  6 --> 8
  7 --> 8
  8 --> 9
  9 --> 10
  10 --> 11
  11 --> 12
Rendered with Mermaid (like dashboard DAG view).
Plan JSON
{
  "intent": "Investigate facility for anomalies and security threats.",
  "workflow_topology": "DAG",
  "plan_id": "INV-2023-001",
  "steps": [
    {
      "step_id": 1,
      "type": "system",
      "agent_role": "robot",
      "action": "CHECK_BATTERY"
    },
    {
      "step_id": 2,
      "type": "movement",
      "agent_role": "robot",
      "action": "NAVIGATE",
      "params": {
        "destination": "lobby"
      },
      "dependencies": [
        1
      ]
    },
    {
      "step_id": 3,
      "type": "perception",
      "agent_role": "robot",
      "action": "SCAN_AREA",
      "params": {
        "location": "lobby"
      },
      "dependencies": [
        2
      ]
    },
    {
      "step_id": 4,
      "type": "movement",
      "agent_role": "robot",
      "action": "NAVIGATE",
      "params": {
        "destination": "office_tables"
      },
      "dependencies": [
        3
      ]
    },
    {
      "step_id": 5,
      "type": "perception",
      "agent_role": "robot",
      "action": "SCAN_AREA",
      "params": {
        "location": "office_tables"
      },
      "dependencies": [
        4
      ]
    },
    {
      "step_id": 6,
      "type": "investigation",
      "agent_role": "robot",
      "action": "VERIFY_OBJECT",
      "dependencies": [
        5
      ]
    },
    {
      "step_id": 7,
      "type": "investigation",
      "agent_role": "robot",
      "action": "IDENTIFY_PERSON",
      "dependencies": [
        5
      ]
    },
    {
      "step_id": 8,
      "type": "movement",
      "agent_role": "robot",
      "action": "NAVIGATE",
      "params": {
        "destination": "stacked_boxes"
      },
      "dependencies": [
        6,
        7
      ]
    },
    {
      "step_id": 9,
      "type": "movement",
      "agent_role": "robot",
      "action": "NAVIGATE",
      "params": {
        "destination": "spill_source"
      },
      "dependencies": [
        8
      ]
    },
    {
      "step_id": 10,
      "type": "perception",
      "agent_role": "robot",
      "action": "SCAN_AREA",
      "params": {
        "location": "spill_source"
      },
      "dependencies": [
        9
      ]
    },
    {
      "step_id": 11,
      "type": "communication",
      "agent_role": "robot",
      "action": "SPEAK",
      "params": {
        "message": "Investigation complete. All areas scanned."
      },
      "dependencies": [
        10
      ]
    },
    {
      "step_id": 12,
      "type": "alert",
      "agent_role": "robot",
      "action": "ALERT_OPERATOR",
      "dependencies": [
        11
      ]
    }
  ]
}