[
  {
    "id": "accepted",
    "name": "The first draft scores 9 and is delivered",
    "inputs": {
      "brief": "Waterproof hiking boot, 450 g, recycled upper"
    },
    "mocks": {
      "io.camunda.agenticai:aiagent:1": {
        "outputs": {
          "agent": {
            "responseText": "Light, dry and made from recycled yarn…",
            "responseJson": {
              "score": 9,
              "feedback": "Good."
            }
          }
        }
      },
      "pim-description-update": {}
    },
    "expect": {
      "path": [
        "generate",
        "evaluate",
        "good-enough",
        "deliver",
        "delivered"
      ],
      "variables": {
        "attempt": 1,
        "score": 9
      }
    }
  },
  {
    "id": "capped",
    "name": "Three low scores hand the text to a human editor",
    "inputs": {
      "brief": "Describe the boot in exactly seven words, all rhyming"
    },
    "mocks": {
      "io.camunda.agenticai:aiagent:1": {
        "outputs": {
          "agent": {
            "responseText": "Boots that keep your feet dry.",
            "responseJson": {
              "score": 4,
              "feedback": "Not seven rhyming words."
            }
          }
        }
      },
      "userTask": {},
      "pim-description-update": {}
    },
    "expect": {
      "path": [
        "evaluate",
        "next-attempt",
        "evaluate",
        "next-attempt",
        "evaluate",
        "human-editor",
        "delivered"
      ],
      "variables": {
        "attempt": 3
      }
    }
  }
]
