{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Identify observed impact scope from explicit affected entities and monitoring coverage, without diagnosing a cause.",
  "question": "Read the sanitized incident observations and coverage. Single instance means one instance is affected and its peers and other services are explicitly unaffected. One service means multiple instances of one service are affected and other services are checked unaffected. Multiple services means at least two named services have observed impact. Review means coverage cannot distinguish these scopes or observations conflict. Do not infer scope from log severity or a shared dependency alone.",
  "choices": [
    "Single instance",
    "One service",
    "Multiple services",
    "Review"
  ],
  "actions": {
    "Single instance": {
      "action": "preview_jev_log_impact_scope",
      "payload": {
        "decision": "Single instance"
      },
      "pending": true
    },
    "One service": {
      "action": "preview_jev_log_impact_scope",
      "payload": {
        "decision": "One service"
      },
      "pending": true
    },
    "Multiple services": {
      "action": "preview_jev_log_impact_scope",
      "payload": {
        "decision": "Multiple services"
      },
      "pending": true
    },
    "Review": {
      "action": "preview_jev_log_impact_scope",
      "payload": {
        "decision": "Review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Isolated worker",
      "expected": "Single instance",
      "request": {
        "context": "{\n  \"task\": \"Identify observed impact scope from explicit affected entities and monitoring coverage, without diagnosing a cause.\",\n  \"evidence\": {\n    \"affected\": [\n      \"jobs/worker-a\"\n    ],\n    \"checkedHealthy\": [\n      \"jobs/worker-b\",\n      \"jobs/worker-c\",\n      \"search\",\n      \"billing\"\n    ],\n    \"coverage\": \"All instances and services checked.\"\n  }\n}",
        "question": "Read the sanitized incident observations and coverage. Single instance means one instance is affected and its peers and other services are explicitly unaffected. One service means multiple instances of one service are affected and other services are checked unaffected. Multiple services means at least two named services have observed impact. Review means coverage cannot distinguish these scopes or observations conflict. Do not infer scope from log severity or a shared dependency alone.",
        "choices": [
          "Single instance",
          "One service",
          "Multiple services",
          "Review"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Search service",
      "expected": "One service",
      "request": {
        "context": "{\n  \"task\": \"Identify observed impact scope from explicit affected entities and monitoring coverage, without diagnosing a cause.\",\n  \"evidence\": {\n    \"affected\": [\n      \"search/a\",\n      \"search/b\"\n    ],\n    \"checkedHealthy\": [\n      \"billing\",\n      \"jobs\"\n    ],\n    \"coverage\": \"All service checks complete.\"\n  }\n}",
        "question": "Read the sanitized incident observations and coverage. Single instance means one instance is affected and its peers and other services are explicitly unaffected. One service means multiple instances of one service are affected and other services are checked unaffected. Multiple services means at least two named services have observed impact. Review means coverage cannot distinguish these scopes or observations conflict. Do not infer scope from log severity or a shared dependency alone.",
        "choices": [
          "Single instance",
          "One service",
          "Multiple services",
          "Review"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Two services",
      "expected": "Multiple services",
      "request": {
        "context": "{\n  \"task\": \"Identify observed impact scope from explicit affected entities and monitoring coverage, without diagnosing a cause.\",\n  \"evidence\": {\n    \"affected\": [\n      \"search/a\",\n      \"checkout/b\"\n    ],\n    \"coverage\": \"Both reported failed user requests.\"\n  }\n}",
        "question": "Read the sanitized incident observations and coverage. Single instance means one instance is affected and its peers and other services are explicitly unaffected. One service means multiple instances of one service are affected and other services are checked unaffected. Multiple services means at least two named services have observed impact. Review means coverage cannot distinguish these scopes or observations conflict. Do not infer scope from log severity or a shared dependency alone.",
        "choices": [
          "Single instance",
          "One service",
          "Multiple services",
          "Review"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Only one log feed",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Identify observed impact scope from explicit affected entities and monitoring coverage, without diagnosing a cause.\",\n  \"evidence\": {\n    \"affected\": [\n      \"jobs/worker-a\"\n    ],\n    \"coverage\": \"Only this instance has been inspected.\"\n  }\n}",
        "question": "Read the sanitized incident observations and coverage. Single instance means one instance is affected and its peers and other services are explicitly unaffected. One service means multiple instances of one service are affected and other services are checked unaffected. Multiple services means at least two named services have observed impact. Review means coverage cannot distinguish these scopes or observations conflict. Do not infer scope from log severity or a shared dependency alone.",
        "choices": [
          "Single instance",
          "One service",
          "Multiple services",
          "Review"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Dependency warning",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Identify observed impact scope from explicit affected entities and monitoring coverage, without diagnosing a cause.\",\n  \"evidence\": {\n    \"event\": \"Shared cache connection warning\",\n    \"coverage\": \"No downstream request checks available.\"\n  }\n}",
        "question": "Read the sanitized incident observations and coverage. Single instance means one instance is affected and its peers and other services are explicitly unaffected. One service means multiple instances of one service are affected and other services are checked unaffected. Multiple services means at least two named services have observed impact. Review means coverage cannot distinguish these scopes or observations conflict. Do not infer scope from log severity or a shared dependency alone.",
        "choices": [
          "Single instance",
          "One service",
          "Multiple services",
          "Review"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Conflicting checks",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Identify observed impact scope from explicit affected entities and monitoring coverage, without diagnosing a cause.\",\n  \"evidence\": {\n    \"summary\": \"All checkout instances healthy.\",\n    \"detail\": \"checkout/a and checkout/b cannot serve requests.\",\n    \"coverage\": \"Same interval; discrepancy unresolved.\"\n  }\n}",
        "question": "Read the sanitized incident observations and coverage. Single instance means one instance is affected and its peers and other services are explicitly unaffected. One service means multiple instances of one service are affected and other services are checked unaffected. Multiple services means at least two named services have observed impact. Review means coverage cannot distinguish these scopes or observations conflict. Do not infer scope from log severity or a shared dependency alone.",
        "choices": [
          "Single instance",
          "One service",
          "Multiple services",
          "Review"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
