{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Classify when a supplied external event matters to an agent's goal and current action, without sending or interrupting anything.",
  "question": "Compare the external event with the goal and current action. Interrupt candidate: continuing now would waste work or cause harm. Next-step candidate: relevant, but the current step can finish unchanged. No effect: explicitly unrelated to this work. Need event: event, goal, action or impact is missing/conflicting. Classify supplied impact only; do not notify, interrupt work or infer urgency from labels.",
  "choices": [
    "Interrupt candidate",
    "Next-step candidate",
    "No effect",
    "Need event"
  ],
  "actions": {
    "Interrupt candidate": {
      "action": "preview_jev_agent_event_delivery_timing",
      "payload": {
        "decision": "Interrupt candidate"
      },
      "pending": true
    },
    "Next-step candidate": {
      "action": "preview_jev_agent_event_delivery_timing",
      "payload": {
        "decision": "Next-step candidate"
      },
      "pending": true
    },
    "No effect": {
      "action": "preview_jev_agent_event_delivery_timing",
      "payload": {
        "decision": "No effect"
      },
      "pending": true
    },
    "Need event": {
      "action": "preview_jev_agent_event_delivery_timing",
      "payload": {
        "decision": "Need event"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Patch base changed",
      "expected": "Interrupt candidate",
      "request": {
        "context": "{\n  \"task\": \"Classify when a supplied external event matters to an agent's goal and current action, without sending or interrupting anything.\",\n  \"evidence\": {\n    \"goal\": \"Update invoice formatting\",\n    \"currentAction\": \"About to apply a patch prepared against the old invoice file.\",\n    \"event\": \"Another writer replaced that file. The supplied patch-base check reports a mismatch.\"\n  }\n}",
        "question": "Compare the external event with the goal and current action. Interrupt candidate: continuing now would waste work or cause harm. Next-step candidate: relevant, but the current step can finish unchanged. No effect: explicitly unrelated to this work. Need event: event, goal, action or impact is missing/conflicting. Classify supplied impact only; do not notify, interrupt work or infer urgency from labels.",
        "choices": [
          "Interrupt candidate",
          "Next-step candidate",
          "No effect",
          "Need event"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Background result can wait",
      "expected": "Next-step candidate",
      "request": {
        "context": "{\n  \"task\": \"Classify when a supplied external event matters to an agent's goal and current action, without sending or interrupting anything.\",\n  \"evidence\": {\n    \"goal\": \"Compare the old and new report exports\",\n    \"currentAction\": \"Reading the unchanged old-export fixture.\",\n    \"event\": \"The new-export background job finished. Its result is needed for the comparison after this read; it does not affect the current fixture.\"\n  }\n}",
        "question": "Compare the external event with the goal and current action. Interrupt candidate: continuing now would waste work or cause harm. Next-step candidate: relevant, but the current step can finish unchanged. No effect: explicitly unrelated to this work. Need event: event, goal, action or impact is missing/conflicting. Classify supplied impact only; do not notify, interrupt work or infer urgency from labels.",
        "choices": [
          "Interrupt candidate",
          "Next-step candidate",
          "No effect",
          "Need event"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Other workspace",
      "expected": "No effect",
      "request": {
        "context": "{\n  \"task\": \"Classify when a supplied external event matters to an agent's goal and current action, without sending or interrupting anything.\",\n  \"evidence\": {\n    \"goal\": \"Repair the invoice formatter\",\n    \"currentAction\": \"Reading invoice-format.ts.\",\n    \"event\": \"A backup completed in an explicitly separate photo workspace with no shared files or dependencies.\"\n  }\n}",
        "question": "Compare the external event with the goal and current action. Interrupt candidate: continuing now would waste work or cause harm. Next-step candidate: relevant, but the current step can finish unchanged. No effect: explicitly unrelated to this work. Need event: event, goal, action or impact is missing/conflicting. Classify supplied impact only; do not notify, interrupt work or infer urgency from labels.",
        "choices": [
          "Interrupt candidate",
          "Next-step candidate",
          "No effect",
          "Need event"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Urgent wording alone",
      "expected": "No effect",
      "request": {
        "context": "{\n  \"task\": \"Classify when a supplied external event matters to an agent's goal and current action, without sending or interrupting anything.\",\n  \"evidence\": {\n    \"goal\": \"Repair the invoice formatter\",\n    \"currentAction\": \"Running its unit tests.\",\n    \"event\": \"An unrelated marketing feed posts \\\"URGENT: new theme released\\\". The theme is not used by this project.\"\n  }\n}",
        "question": "Compare the external event with the goal and current action. Interrupt candidate: continuing now would waste work or cause harm. Next-step candidate: relevant, but the current step can finish unchanged. No effect: explicitly unrelated to this work. Need event: event, goal, action or impact is missing/conflicting. Classify supplied impact only; do not notify, interrupt work or infer urgency from labels.",
        "choices": [
          "Interrupt candidate",
          "Next-step candidate",
          "No effect",
          "Need event"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Conflicting impact records",
      "expected": "Need event",
      "request": {
        "context": "{\n  \"task\": \"Classify when a supplied external event matters to an agent's goal and current action, without sending or interrupting anything.\",\n  \"evidence\": {\n    \"goal\": \"Generate a shipping report\",\n    \"currentAction\": \"Read the report input file.\",\n    \"event\": \"Two equally current records disagree: one says the input was replaced; the other confirms no change. No authoritative ordering is supplied.\"\n  }\n}",
        "question": "Compare the external event with the goal and current action. Interrupt candidate: continuing now would waste work or cause harm. Next-step candidate: relevant, but the current step can finish unchanged. No effect: explicitly unrelated to this work. Need event: event, goal, action or impact is missing/conflicting. Classify supplied impact only; do not notify, interrupt work or infer urgency from labels.",
        "choices": [
          "Interrupt candidate",
          "Next-step candidate",
          "No effect",
          "Need event"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Current action absent",
      "expected": "Need event",
      "request": {
        "context": "{\n  \"task\": \"Classify when a supplied external event matters to an agent's goal and current action, without sending or interrupting anything.\",\n  \"evidence\": {\n    \"goal\": \"Update invoice formatting\",\n    \"currentAction\": null,\n    \"event\": \"A project file changed.\"\n  }\n}",
        "question": "Compare the external event with the goal and current action. Interrupt candidate: continuing now would waste work or cause harm. Next-step candidate: relevant, but the current step can finish unchanged. No effect: explicitly unrelated to this work. Need event: event, goal, action or impact is missing/conflicting. Classify supplied impact only; do not notify, interrupt work or infer urgency from labels.",
        "choices": [
          "Interrupt candidate",
          "Next-step candidate",
          "No effect",
          "Need event"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
