{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Interpret a buyer reply to identify its explicitly stated primary purchase obstacle and select a fixed follow-up question for human review. Not lead qualification, account fit, campaign scoring or email priority.",
  "question": "Review buyerReply for the stated buying barrier. Budget barrier: price or allocated funding blocks purchase. Integration barrier: adopting or connecting the product is the stated blocker. Capability gap: a required product function is missing. No stated barrier: an actual buyer expresses interest without naming a blocker. Need buyer context: buying interest or the barrier cannot be established, or multiple blockers have no stated primary one. Do not infer features, budget or purchase authority.",
  "choices": [
    "Budget barrier",
    "Integration barrier",
    "Capability gap",
    "No stated barrier",
    "Need buyer context"
  ],
  "actions": {
    "Budget barrier": {
      "action": "preview_buyer_followup",
      "payload": {
        "reviewTopic": "Budget barrier",
        "proposedQuestion": "What spending range is available for this planned purchase?",
        "sent": false
      },
      "pending": true
    },
    "Integration barrier": {
      "action": "preview_buyer_followup",
      "payload": {
        "reviewTopic": "Integration barrier",
        "proposedQuestion": "Which existing connection must be assessed before adoption?",
        "sent": false
      },
      "pending": true
    },
    "Capability gap": {
      "action": "preview_buyer_followup",
      "payload": {
        "reviewTopic": "Capability gap",
        "proposedQuestion": "Which details must the required product function support?",
        "sent": false
      },
      "pending": true
    },
    "No stated barrier": {
      "action": "preview_buyer_followup",
      "payload": {
        "reviewTopic": "No stated barrier",
        "proposedQuestion": "What would you like the demo to show?",
        "sent": false
      },
      "pending": true
    },
    "Need buyer context": {
      "action": "preview_buyer_followup",
      "payload": {
        "reviewTopic": "Need buyer context",
        "proposedQuestion": "Which requirement or primary blocker should we clarify first?",
        "sent": false
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "budget",
      "label": "Price exceeds the stated budget",
      "expected": "Budget barrier",
      "request": {
        "context": "{\n  \"task\": \"Choose the follow-up review topic from the buyer reply.\",\n  \"buyerReply\": \"We want the reporting product, but its price is above the funding allocated for this purchase. That is what stops us.\"\n}",
        "question": "Review buyerReply for the stated buying barrier. Budget barrier: price or allocated funding blocks purchase. Integration barrier: adopting or connecting the product is the stated blocker. Capability gap: a required product function is missing. No stated barrier: an actual buyer expresses interest without naming a blocker. Need buyer context: buying interest or the barrier cannot be established, or multiple blockers have no stated primary one. Do not infer features, budget or purchase authority.",
        "choices": [
          "Budget barrier",
          "Integration barrier",
          "Capability gap",
          "No stated barrier",
          "Need buyer context"
        ]
      }
    },
    {
      "id": "integration",
      "label": "Connecting an existing system is the blocker",
      "expected": "Integration barrier",
      "request": {
        "context": "{\n  \"task\": \"Choose the follow-up review topic from the buyer reply.\",\n  \"buyerReply\": \"We want to use it. Our blocker is connecting it to the inventory system we already run; we have not assessed that integration.\"\n}",
        "question": "Review buyerReply for the stated buying barrier. Budget barrier: price or allocated funding blocks purchase. Integration barrier: adopting or connecting the product is the stated blocker. Capability gap: a required product function is missing. No stated barrier: an actual buyer expresses interest without naming a blocker. Need buyer context: buying interest or the barrier cannot be established, or multiple blockers have no stated primary one. Do not infer features, budget or purchase authority.",
        "choices": [
          "Budget barrier",
          "Integration barrier",
          "Capability gap",
          "No stated barrier",
          "Need buyer context"
        ]
      }
    },
    {
      "id": "capability",
      "label": "A required function is missing",
      "expected": "Capability gap",
      "request": {
        "context": "{\n  \"task\": \"Choose the follow-up review topic from the buyer reply.\",\n  \"buyerReply\": \"We would buy it if it could export a per-workspace audit log. Your supplied feature list says it cannot, and that missing function is our blocker.\"\n}",
        "question": "Review buyerReply for the stated buying barrier. Budget barrier: price or allocated funding blocks purchase. Integration barrier: adopting or connecting the product is the stated blocker. Capability gap: a required product function is missing. No stated barrier: an actual buyer expresses interest without naming a blocker. Need buyer context: buying interest or the barrier cannot be established, or multiple blockers have no stated primary one. Do not infer features, budget or purchase authority.",
        "choices": [
          "Budget barrier",
          "Integration barrier",
          "Capability gap",
          "No stated barrier",
          "Need buyer context"
        ]
      }
    },
    {
      "id": "interested",
      "label": "Interest without a stated objection",
      "expected": "No stated barrier",
      "request": {
        "context": "{\n  \"task\": \"Choose the follow-up review topic from the buyer reply.\",\n  \"buyerReply\": \"We are interested in the reporting product. Could we discuss a demo? We have not stated a purchase blocker.\"\n}",
        "question": "Review buyerReply for the stated buying barrier. Budget barrier: price or allocated funding blocks purchase. Integration barrier: adopting or connecting the product is the stated blocker. Capability gap: a required product function is missing. No stated barrier: an actual buyer expresses interest without naming a blocker. Need buyer context: buying interest or the barrier cannot be established, or multiple blockers have no stated primary one. Do not infer features, budget or purchase authority.",
        "choices": [
          "Budget barrier",
          "Integration barrier",
          "Capability gap",
          "No stated barrier",
          "Need buyer context"
        ]
      }
    },
    {
      "id": "ambiguous",
      "label": "An unexplained refusal",
      "expected": "Need buyer context",
      "request": {
        "context": "{\n  \"task\": \"Choose the follow-up review topic from the buyer reply. Do not invent an objection.\",\n  \"buyerReply\": \"Thanks, but this does not work for us. No buying context or reason is provided.\"\n}",
        "question": "Review buyerReply for the stated buying barrier. Budget barrier: price or allocated funding blocks purchase. Integration barrier: adopting or connecting the product is the stated blocker. Capability gap: a required product function is missing. No stated barrier: an actual buyer expresses interest without naming a blocker. Need buyer context: buying interest or the barrier cannot be established, or multiple blockers have no stated primary one. Do not infer features, budget or purchase authority.",
        "choices": [
          "Budget barrier",
          "Integration barrier",
          "Capability gap",
          "No stated barrier",
          "Need buyer context"
        ]
      }
    },
    {
      "id": "mixed",
      "label": "Two blockers without a primary one",
      "expected": "Need buyer context",
      "request": {
        "context": "{\n  \"task\": \"Choose the follow-up review topic from the buyer reply. Preserve the missing primary blocker.\",\n  \"buyerReply\": \"We want it, but both funding and connecting our existing inventory system are blockers. Neither is identified as the primary blocker.\"\n}",
        "question": "Review buyerReply for the stated buying barrier. Budget barrier: price or allocated funding blocks purchase. Integration barrier: adopting or connecting the product is the stated blocker. Capability gap: a required product function is missing. No stated barrier: an actual buyer expresses interest without naming a blocker. Need buyer context: buying interest or the barrier cannot be established, or multiple blockers have no stated primary one. Do not infer features, budget or purchase authority.",
        "choices": [
          "Budget barrier",
          "Integration barrier",
          "Capability gap",
          "No stated barrier",
          "Need buyer context"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow_v2.py"
}
