[
  {
    "id": "all-clear",
    "name": "All three checks pass and the reply is sent",
    "inputs": {
      "reply": "Thanks for waiting — your replacement ships today."
    },
    "mocks": {
      "io.camunda.agenticai:aiagent:1": {
        "outputs": {
          "agent": {
            "responseJson": {
              "flagged": false,
              "score": 5
            }
          }
        }
      },
      "email-send": {}
    },
    "expect": {
      "path": [
        "fan-out",
        "fan-in",
        "combine-votes",
        "send-reply",
        "reply-sent"
      ],
      "variables": {
        "flagged": false
      }
    }
  },
  {
    "id": "flagged",
    "name": "A flagged reply waits for a human",
    "inputs": {
      "reply": "Your card 4111 1111 1111 1111 was refunded twice."
    },
    "mocks": {
      "io.camunda.agenticai:aiagent:1": {
        "outputs": {
          "agent": {
            "responseJson": {
              "flagged": true,
              "score": 4
            }
          }
        }
      },
      "userTask": {},
      "email-send": {}
    },
    "expect": {
      "path": [
        "combine-votes",
        "human-review",
        "send-reply",
        "reply-sent"
      ],
      "variables": {
        "flagged": true
      }
    }
  }
]
