{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Review whether a supplied event falls within one agent subscription definition, while separating events addressed to a different agent and missing event meaning. Original message-bus records; no dispatch or agent invocation.",
  "question": "Review one event against the stated subscription. Relevant event: event meaning fits the subscribed purpose and is not addressed exclusively elsewhere. Other recipient: event explicitly addressed only to another agent. Outside subscription: clear event meaning outside this purpose. Need event meaning: event purpose or subscription missing. Other recipient takes priority. Do not choose a tool or publish a bus message.",
  "choices": [
    "Relevant event",
    "Other recipient",
    "Outside subscription",
    "Need event meaning"
  ],
  "actions": {
    "Relevant event": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Relevant event",
        "workflow": "event-subscriber-relevance"
      },
      "pending": false
    },
    "Other recipient": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Other recipient",
        "workflow": "event-subscriber-relevance"
      },
      "pending": false
    },
    "Outside subscription": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Outside subscription",
        "workflow": "event-subscriber-relevance"
      },
      "pending": false
    },
    "Need event meaning": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Need event meaning",
        "workflow": "event-subscriber-relevance"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "match",
      "label": "A release event for its subscriber",
      "expected": "Relevant event",
      "request": {
        "context": "{\n  \"task\": \"Subscription: release reviewer handles deployment-readiness events. Event: preview release awaits readiness review, addressed to release reviewer.\"\n}",
        "question": "Review one event against the stated subscription. Relevant event: event meaning fits the subscribed purpose and is not addressed exclusively elsewhere. Other recipient: event explicitly addressed only to another agent. Outside subscription: clear event meaning outside this purpose. Need event meaning: event purpose or subscription missing. Other recipient takes priority. Do not choose a tool or publish a bus message.",
        "choices": [
          "Relevant event",
          "Other recipient",
          "Outside subscription",
          "Need event meaning"
        ]
      }
    },
    {
      "id": "other",
      "label": "An event addressed elsewhere",
      "expected": "Other recipient",
      "request": {
        "context": "{\n  \"task\": \"Subscription: release reviewer. Event: request for billing agent only, with no release-review request.\"\n}",
        "question": "Review one event against the stated subscription. Relevant event: event meaning fits the subscribed purpose and is not addressed exclusively elsewhere. Other recipient: event explicitly addressed only to another agent. Outside subscription: clear event meaning outside this purpose. Need event meaning: event purpose or subscription missing. Other recipient takes priority. Do not choose a tool or publish a bus message.",
        "choices": [
          "Relevant event",
          "Other recipient",
          "Outside subscription",
          "Need event meaning"
        ]
      }
    },
    {
      "id": "outside",
      "label": "An unrelated public event",
      "expected": "Outside subscription",
      "request": {
        "context": "{\n  \"task\": \"Subscription: release reviewer handles deployment readiness. Event: general lunch announcement, no release purpose or exclusive recipient.\"\n}",
        "question": "Review one event against the stated subscription. Relevant event: event meaning fits the subscribed purpose and is not addressed exclusively elsewhere. Other recipient: event explicitly addressed only to another agent. Outside subscription: clear event meaning outside this purpose. Need event meaning: event purpose or subscription missing. Other recipient takes priority. Do not choose a tool or publish a bus message.",
        "choices": [
          "Relevant event",
          "Other recipient",
          "Outside subscription",
          "Need event meaning"
        ]
      }
    },
    {
      "id": "unknown",
      "label": "A message without its meaning",
      "expected": "Need event meaning",
      "request": {
        "context": "{\n  \"task\": \"Subscription: release reviewer. Event text: it is ready. No object, purpose or addressee supplied.\"\n}",
        "question": "Review one event against the stated subscription. Relevant event: event meaning fits the subscribed purpose and is not addressed exclusively elsewhere. Other recipient: event explicitly addressed only to another agent. Outside subscription: clear event meaning outside this purpose. Need event meaning: event purpose or subscription missing. Other recipient takes priority. Do not choose a tool or publish a bus message.",
        "choices": [
          "Relevant event",
          "Other recipient",
          "Outside subscription",
          "Need event meaning"
        ]
      }
    },
    {
      "id": "paraphrase",
      "label": "A differently worded matching event",
      "expected": "Relevant event",
      "request": {
        "context": "{\n  \"task\": \"Subscription: release reviewer handles deployment readiness. Event: check whether the preview build may progress to acceptance; addressed to release reviewer.\"\n}",
        "question": "Review one event against the stated subscription. Relevant event: event meaning fits the subscribed purpose and is not addressed exclusively elsewhere. Other recipient: event explicitly addressed only to another agent. Outside subscription: clear event meaning outside this purpose. Need event meaning: event purpose or subscription missing. Other recipient takes priority. Do not choose a tool or publish a bus message.",
        "choices": [
          "Relevant event",
          "Other recipient",
          "Outside subscription",
          "Need event meaning"
        ]
      }
    },
    {
      "id": "absent",
      "label": "No subscription definition",
      "expected": "Need event meaning",
      "request": {
        "context": "{\n  \"task\": \"Event: preview build awaits review. The agent subscription purpose is not supplied.\"\n}",
        "question": "Review one event against the stated subscription. Relevant event: event meaning fits the subscribed purpose and is not addressed exclusively elsewhere. Other recipient: event explicitly addressed only to another agent. Outside subscription: clear event meaning outside this purpose. Need event meaning: event purpose or subscription missing. Other recipient takes priority. Do not choose a tool or publish a bus message.",
        "choices": [
          "Relevant event",
          "Other recipient",
          "Outside subscription",
          "Need event meaning"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow_v2.py"
}
