{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Audit a supplied decision-to-route contract against a synthetic model record and the reported application route. Distinguish faithful mapping, an application override and missing contract or result. Return a pending audit packet; do not classify the underlying ticket, authenticate logs or route real work.",
  "question": "Audit supplied audit.contract, modelRecord and applicationRoute. Need evidence first if any is null/absent, the leading label is tied or absent from the contract. Faithful mapping: applicationRoute equals the contracted route for the unique model leader. Application override: a different route is reported, including one chosen from age or unrelated state. Audit only the supplied handoff; do not reclassify the underlying task, authenticate records or execute routing.",
  "choices": [
    "Faithful mapping",
    "Application override",
    "Need evidence"
  ],
  "actions": {
    "Faithful mapping": {
      "action": "preview_handoff_audit",
      "payload": {
        "handoffAssessment": "Faithful mapping",
        "nextStep": "verify-underlying-task-and-runtime-records"
      },
      "pending": true
    },
    "Application override": {
      "action": "preview_handoff_audit",
      "payload": {
        "handoffAssessment": "Application override",
        "nextStep": "inspect-wrapper-logic-and-mapping-policy"
      },
      "pending": true
    },
    "Need evidence": {
      "action": "preview_handoff_audit",
      "payload": {
        "handoffAssessment": "Need evidence",
        "nextStep": "collect-contract-model-record-and-reported-route"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "billing",
      "label": "Reported route follows the leader",
      "expected": "Faithful mapping",
      "request": {
        "context": "{\n  \"task\": \"Audit the supplied decision handoff against its mapping contract.\",\n  \"audit\": {\n    \"contract\": {\n      \"Billing\": \"billing-queue\",\n      \"Shipping\": \"shipping-queue\",\n      \"Technical\": \"technical-queue\",\n      \"Need context\": \"review-queue\"\n    },\n    \"modelRecord\": {\n      \"probabilities\": {\n        \"Billing\": 0.9,\n        \"Shipping\": 0.04,\n        \"Technical\": 0.03,\n        \"Need context\": 0.03\n      }\n    },\n    \"applicationRoute\": \"billing-queue\",\n    \"wrapperContext\": {\n      \"ticketAgeDays\": 1\n    }\n  },\n  \"recordProvenance\": \"Original synthetic wrapper records, not source logs. Only the outer Jev audit response is measured here.\"\n}",
        "question": "Audit supplied audit.contract, modelRecord and applicationRoute. Need evidence first if any is null/absent, the leading label is tied or absent from the contract. Faithful mapping: applicationRoute equals the contracted route for the unique model leader. Application override: a different route is reported, including one chosen from age or unrelated state. Audit only the supplied handoff; do not reclassify the underlying task, authenticate records or execute routing.",
        "choices": [
          "Faithful mapping",
          "Application override",
          "Need evidence"
        ]
      }
    },
    {
      "id": "age",
      "label": "Ticket age overrides the model route",
      "expected": "Application override",
      "request": {
        "context": "{\n  \"task\": \"Audit the supplied decision handoff against its mapping contract.\",\n  \"audit\": {\n    \"contract\": {\n      \"Billing\": \"billing-queue\",\n      \"Shipping\": \"shipping-queue\",\n      \"Technical\": \"technical-queue\",\n      \"Need context\": \"review-queue\"\n    },\n    \"modelRecord\": {\n      \"probabilities\": {\n        \"Billing\": 0.02,\n        \"Shipping\": 0.93,\n        \"Technical\": 0.02,\n        \"Need context\": 0.03\n      }\n    },\n    \"applicationRoute\": \"billing-queue\",\n    \"wrapperContext\": {\n      \"ticketAgeDays\": 30,\n      \"reportedOverride\": \"Old tickets always enter billing regardless of model output\"\n    }\n  },\n  \"recordProvenance\": \"Original synthetic wrapper records, not source logs. Only the outer Jev audit response is measured here.\"\n}",
        "question": "Audit supplied audit.contract, modelRecord and applicationRoute. Need evidence first if any is null/absent, the leading label is tied or absent from the contract. Faithful mapping: applicationRoute equals the contracted route for the unique model leader. Application override: a different route is reported, including one chosen from age or unrelated state. Audit only the supplied handoff; do not reclassify the underlying task, authenticate records or execute routing.",
        "choices": [
          "Faithful mapping",
          "Application override",
          "Need evidence"
        ]
      }
    },
    {
      "id": "contract",
      "label": "No decision-to-route contract",
      "expected": "Need evidence",
      "request": {
        "context": "{\n  \"task\": \"Audit the supplied decision handoff against its mapping contract.\",\n  \"audit\": {\n    \"contract\": null,\n    \"modelRecord\": {\n      \"probabilities\": {\n        \"Billing\": 0.9,\n        \"Shipping\": 0.1\n      }\n    },\n    \"applicationRoute\": \"billing-queue\"\n  },\n  \"recordProvenance\": \"Original synthetic wrapper records, not source logs. Only the outer Jev audit response is measured here.\"\n}",
        "question": "Audit supplied audit.contract, modelRecord and applicationRoute. Need evidence first if any is null/absent, the leading label is tied or absent from the contract. Faithful mapping: applicationRoute equals the contracted route for the unique model leader. Application override: a different route is reported, including one chosen from age or unrelated state. Audit only the supplied handoff; do not reclassify the underlying task, authenticate records or execute routing.",
        "choices": [
          "Faithful mapping",
          "Application override",
          "Need evidence"
        ]
      }
    },
    {
      "id": "review",
      "label": "Missing-context leader maps to review",
      "expected": "Faithful mapping",
      "request": {
        "context": "{\n  \"task\": \"Audit the supplied decision handoff against its mapping contract.\",\n  \"audit\": {\n    \"contract\": {\n      \"Billing\": \"billing-queue\",\n      \"Shipping\": \"shipping-queue\",\n      \"Technical\": \"technical-queue\",\n      \"Need context\": \"review-queue\"\n    },\n    \"modelRecord\": {\n      \"probabilities\": {\n        \"Billing\": 0.06,\n        \"Shipping\": 0.06,\n        \"Technical\": 0.06,\n        \"Need context\": 0.82\n      }\n    },\n    \"applicationRoute\": \"review-queue\"\n  },\n  \"recordProvenance\": \"Original synthetic wrapper records, not source logs. Only the outer Jev audit response is measured here.\"\n}",
        "question": "Audit supplied audit.contract, modelRecord and applicationRoute. Need evidence first if any is null/absent, the leading label is tied or absent from the contract. Faithful mapping: applicationRoute equals the contracted route for the unique model leader. Application override: a different route is reported, including one chosen from age or unrelated state. Audit only the supplied handoff; do not reclassify the underlying task, authenticate records or execute routing.",
        "choices": [
          "Faithful mapping",
          "Application override",
          "Need evidence"
        ]
      }
    },
    {
      "id": "technical",
      "label": "Stale route replaces the chosen queue",
      "expected": "Application override",
      "request": {
        "context": "{\n  \"task\": \"Audit the supplied decision handoff against its mapping contract.\",\n  \"audit\": {\n    \"contract\": {\n      \"Billing\": \"billing-queue\",\n      \"Shipping\": \"shipping-queue\",\n      \"Technical\": \"technical-queue\",\n      \"Need context\": \"review-queue\"\n    },\n    \"modelRecord\": {\n      \"probabilities\": {\n        \"Billing\": 0.03,\n        \"Shipping\": 0.04,\n        \"Technical\": 0.9,\n        \"Need context\": 0.03\n      }\n    },\n    \"applicationRoute\": \"shipping-queue\",\n    \"wrapperContext\": {\n      \"reportedOverride\": \"A stale queue variable replaced the selected route\"\n    }\n  },\n  \"recordProvenance\": \"Original synthetic wrapper records, not source logs. Only the outer Jev audit response is measured here.\"\n}",
        "question": "Audit supplied audit.contract, modelRecord and applicationRoute. Need evidence first if any is null/absent, the leading label is tied or absent from the contract. Faithful mapping: applicationRoute equals the contracted route for the unique model leader. Application override: a different route is reported, including one chosen from age or unrelated state. Audit only the supplied handoff; do not reclassify the underlying task, authenticate records or execute routing.",
        "choices": [
          "Faithful mapping",
          "Application override",
          "Need evidence"
        ]
      }
    },
    {
      "id": "result",
      "label": "No model record to inspect",
      "expected": "Need evidence",
      "request": {
        "context": "{\n  \"task\": \"Audit the supplied decision handoff against its mapping contract.\",\n  \"audit\": {\n    \"contract\": {\n      \"Billing\": \"billing-queue\",\n      \"Shipping\": \"shipping-queue\",\n      \"Technical\": \"technical-queue\",\n      \"Need context\": \"review-queue\"\n    },\n    \"modelRecord\": null,\n    \"applicationRoute\": \"billing-queue\"\n  },\n  \"recordProvenance\": \"Original synthetic wrapper records, not source logs. Only the outer Jev audit response is measured here.\"\n}",
        "question": "Audit supplied audit.contract, modelRecord and applicationRoute. Need evidence first if any is null/absent, the leading label is tied or absent from the contract. Faithful mapping: applicationRoute equals the contracted route for the unique model leader. Application override: a different route is reported, including one chosen from age or unrelated state. Audit only the supplied handoff; do not reclassify the underlying task, authenticate records or execute routing.",
        "choices": [
          "Faithful mapping",
          "Application override",
          "Need evidence"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow_v2.py"
}
