{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Compare a saved workflow’s explicit preconditions with the supplied target setup.",
  "question": "Compare all workflow preconditions with target notes. Preconditions satisfied: Every required condition explicitly holds. Precondition conflict: At least one required condition explicitly fails. Condition unresolved: No conflict, but a required condition is unconfirmed. No stated conditions: Complete workflow declares no preconditions to inspect. Need evidence: Required text or context is absent. Use only supplied evidence.",
  "choices": [
    "Preconditions satisfied",
    "Precondition conflict",
    "Condition unresolved",
    "No stated conditions",
    "Need evidence"
  ],
  "actions": {
    "Preconditions satisfied": {
      "action": "preview_jev_workflow_reuse_preconditions",
      "payload": {
        "decision": "Preconditions satisfied"
      },
      "pending": true
    },
    "Precondition conflict": {
      "action": "preview_jev_workflow_reuse_preconditions",
      "payload": {
        "decision": "Precondition conflict"
      },
      "pending": true
    },
    "Condition unresolved": {
      "action": "preview_jev_workflow_reuse_preconditions",
      "payload": {
        "decision": "Condition unresolved"
      },
      "pending": true
    },
    "No stated conditions": {
      "action": "preview_jev_workflow_reuse_preconditions",
      "payload": {
        "decision": "No stated conditions"
      },
      "pending": true
    },
    "Need evidence": {
      "action": "preview_jev_workflow_reuse_preconditions",
      "payload": {
        "decision": "Need evidence"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Matching format",
      "expected": "Preconditions satisfied",
      "request": {
        "context": "{\n  \"task\": \"Compare a saved workflow’s explicit preconditions with the supplied target setup.\",\n  \"evidence\": \"Workflow requires CSV input and read-only execution. Target notes confirm CSV input and a read-only run.\"\n}",
        "question": "Compare all workflow preconditions with target notes. Preconditions satisfied: Every required condition explicitly holds. Precondition conflict: At least one required condition explicitly fails. Condition unresolved: No conflict, but a required condition is unconfirmed. No stated conditions: Complete workflow declares no preconditions to inspect. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Preconditions satisfied",
          "Precondition conflict",
          "Condition unresolved",
          "No stated conditions",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Format conflict",
      "expected": "Precondition conflict",
      "request": {
        "context": "{\n  \"task\": \"Compare a saved workflow’s explicit preconditions with the supplied target setup.\",\n  \"evidence\": \"Workflow requires CSV input. Target only provides an XML document and cannot convert it in this run.\"\n}",
        "question": "Compare all workflow preconditions with target notes. Preconditions satisfied: Every required condition explicitly holds. Precondition conflict: At least one required condition explicitly fails. Condition unresolved: No conflict, but a required condition is unconfirmed. No stated conditions: Complete workflow declares no preconditions to inspect. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Preconditions satisfied",
          "Precondition conflict",
          "Condition unresolved",
          "No stated conditions",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Permission unresolved",
      "expected": "Condition unresolved",
      "request": {
        "context": "{\n  \"task\": \"Compare a saved workflow’s explicit preconditions with the supplied target setup.\",\n  \"evidence\": \"Workflow requires read-only permission. Target input is known, but permission is not confirmed.\"\n}",
        "question": "Compare all workflow preconditions with target notes. Preconditions satisfied: Every required condition explicitly holds. Precondition conflict: At least one required condition explicitly fails. Condition unresolved: No conflict, but a required condition is unconfirmed. No stated conditions: Complete workflow declares no preconditions to inspect. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Preconditions satisfied",
          "Precondition conflict",
          "Condition unresolved",
          "No stated conditions",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Conditions not defined",
      "expected": "No stated conditions",
      "request": {
        "context": "{\n  \"task\": \"Compare a saved workflow’s explicit preconditions with the supplied target setup.\",\n  \"evidence\": \"Complete saved workflow says how to organize notes but declares no preconditions.\"\n}",
        "question": "Compare all workflow preconditions with target notes. Preconditions satisfied: Every required condition explicitly holds. Precondition conflict: At least one required condition explicitly fails. Condition unresolved: No conflict, but a required condition is unconfirmed. No stated conditions: Complete workflow declares no preconditions to inspect. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Preconditions satisfied",
          "Precondition conflict",
          "Condition unresolved",
          "No stated conditions",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "One satisfied, one failed",
      "expected": "Precondition conflict",
      "request": {
        "context": "{\n  \"task\": \"Compare a saved workflow’s explicit preconditions with the supplied target setup.\",\n  \"evidence\": \"Workflow requires CSV and read-only execution. Target is CSV, but the requested procedure writes remote records.\"\n}",
        "question": "Compare all workflow preconditions with target notes. Preconditions satisfied: Every required condition explicitly holds. Precondition conflict: At least one required condition explicitly fails. Condition unresolved: No conflict, but a required condition is unconfirmed. No stated conditions: Complete workflow declares no preconditions to inspect. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Preconditions satisfied",
          "Precondition conflict",
          "Condition unresolved",
          "No stated conditions",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Missing target setup",
      "expected": "Need evidence",
      "request": {
        "context": "{\n  \"task\": \"Compare a saved workflow’s explicit preconditions with the supplied target setup.\",\n  \"evidence\": \"Workflow preconditions exist, but target setup notes are absent.\"\n}",
        "question": "Compare all workflow preconditions with target notes. Preconditions satisfied: Every required condition explicitly holds. Precondition conflict: At least one required condition explicitly fails. Condition unresolved: No conflict, but a required condition is unconfirmed. No stated conditions: Complete workflow declares no preconditions to inspect. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Preconditions satisfied",
          "Precondition conflict",
          "Condition unresolved",
          "No stated conditions",
          "Need evidence"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
