{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Route an original website query before retrieval or answer generation: use an explicitly supplied destination, retrieve site evidence, stop an out-of-scope request, or ask for a missing goal. Jev does not embed, retrieve or write the answer.",
  "question": "Which preflight route fits the query and supplied site scope? Use supplied page: user asks to open an explicitly named available destination. Retrieve site evidence: an in-scope factual how-to or explanation needs source content not supplied. Stop out of scope: query clearly concerns another domain. Ask for goal: query lacks a specific subject or destination. A pricing factual answer still needs evidence; navigation to pricing uses a page. Do not fetch, embed, answer or invent a URL.",
  "choices": [
    "Use supplied page",
    "Retrieve site evidence",
    "Stop out of scope",
    "Ask for goal"
  ],
  "actions": {
    "Use supplied page": {
      "action": "preview_navigation_route",
      "payload": {
        "route": "supplied-page",
        "fetchPerformed": false
      },
      "pending": false
    },
    "Retrieve site evidence": {
      "action": "preview_retrieval_route",
      "payload": {
        "route": "retrieve-site-evidence",
        "answerGenerated": false
      },
      "pending": false
    },
    "Stop out of scope": {
      "action": "preview_scope_stop",
      "payload": {
        "route": "stop",
        "answerGenerated": false
      },
      "pending": false
    },
    "Ask for goal": {
      "action": "request_query_goal",
      "payload": null,
      "pending": true
    }
  },
  "samples": [
    {
      "id": "auth-page",
      "label": "Open an available guide",
      "expected": "Use supplied page",
      "request": {
        "context": "{\n  \"task\": \"Open the API authentication guide listed in the destinations.\",\n  \"siteScope\": \"API documentation for a fictional task service. Supplied destinations: API authentication guide and plan-pricing page. Search corpus is not supplied.\"\n}",
        "question": "Which preflight route fits the query and supplied site scope? Use supplied page: user asks to open an explicitly named available destination. Retrieve site evidence: an in-scope factual how-to or explanation needs source content not supplied. Stop out of scope: query clearly concerns another domain. Ask for goal: query lacks a specific subject or destination. A pricing factual answer still needs evidence; navigation to pricing uses a page. Do not fetch, embed, answer or invent a URL.",
        "choices": [
          "Use supplied page",
          "Retrieve site evidence",
          "Stop out of scope",
          "Ask for goal"
        ]
      }
    },
    {
      "id": "auth-question",
      "label": "Ask a factual API question",
      "expected": "Retrieve site evidence",
      "request": {
        "context": "{\n  \"task\": \"How do I rotate a task-service API credential? The answer text is not supplied.\",\n  \"siteScope\": \"API documentation for a fictional task service. Supplied destinations: API authentication guide and plan-pricing page. Search corpus is not supplied.\"\n}",
        "question": "Which preflight route fits the query and supplied site scope? Use supplied page: user asks to open an explicitly named available destination. Retrieve site evidence: an in-scope factual how-to or explanation needs source content not supplied. Stop out of scope: query clearly concerns another domain. Ask for goal: query lacks a specific subject or destination. A pricing factual answer still needs evidence; navigation to pricing uses a page. Do not fetch, embed, answer or invent a URL.",
        "choices": [
          "Use supplied page",
          "Retrieve site evidence",
          "Stop out of scope",
          "Ask for goal"
        ]
      }
    },
    {
      "id": "outside",
      "label": "Unrelated sports question",
      "expected": "Stop out of scope",
      "request": {
        "context": "{\n  \"task\": \"Who won yesterday's baseball game? This task-service documentation site does not cover sports.\",\n  \"siteScope\": \"API documentation for a fictional task service. Supplied destinations: API authentication guide and plan-pricing page. Search corpus is not supplied.\"\n}",
        "question": "Which preflight route fits the query and supplied site scope? Use supplied page: user asks to open an explicitly named available destination. Retrieve site evidence: an in-scope factual how-to or explanation needs source content not supplied. Stop out of scope: query clearly concerns another domain. Ask for goal: query lacks a specific subject or destination. A pricing factual answer still needs evidence; navigation to pricing uses a page. Do not fetch, embed, answer or invent a URL.",
        "choices": [
          "Use supplied page",
          "Retrieve site evidence",
          "Stop out of scope",
          "Ask for goal"
        ]
      }
    },
    {
      "id": "vague",
      "label": "Missing search goal",
      "expected": "Ask for goal",
      "request": {
        "context": "{\n  \"task\": \"Find the thing I wanted. I have supplied no subject or destination.\",\n  \"siteScope\": \"API documentation for a fictional task service. Supplied destinations: API authentication guide and plan-pricing page. Search corpus is not supplied.\"\n}",
        "question": "Which preflight route fits the query and supplied site scope? Use supplied page: user asks to open an explicitly named available destination. Retrieve site evidence: an in-scope factual how-to or explanation needs source content not supplied. Stop out of scope: query clearly concerns another domain. Ask for goal: query lacks a specific subject or destination. A pricing factual answer still needs evidence; navigation to pricing uses a page. Do not fetch, embed, answer or invent a URL.",
        "choices": [
          "Use supplied page",
          "Retrieve site evidence",
          "Stop out of scope",
          "Ask for goal"
        ]
      }
    },
    {
      "id": "pricing-page",
      "label": "Open the pricing destination",
      "expected": "Use supplied page",
      "request": {
        "context": "{\n  \"task\": \"Take me to the listed plan-pricing page, without summarizing its prices.\",\n  \"siteScope\": \"API documentation for a fictional task service. Supplied destinations: API authentication guide and plan-pricing page. Search corpus is not supplied.\"\n}",
        "question": "Which preflight route fits the query and supplied site scope? Use supplied page: user asks to open an explicitly named available destination. Retrieve site evidence: an in-scope factual how-to or explanation needs source content not supplied. Stop out of scope: query clearly concerns another domain. Ask for goal: query lacks a specific subject or destination. A pricing factual answer still needs evidence; navigation to pricing uses a page. Do not fetch, embed, answer or invent a URL.",
        "choices": [
          "Use supplied page",
          "Retrieve site evidence",
          "Stop out of scope",
          "Ask for goal"
        ]
      }
    },
    {
      "id": "pricing-facts",
      "label": "Pricing answer needs evidence",
      "expected": "Retrieve site evidence",
      "request": {
        "context": "{\n  \"task\": \"What does the paid task-service plan include? Only a destination name is supplied; plan content is absent.\",\n  \"siteScope\": \"API documentation for a fictional task service. Supplied destinations: API authentication guide and plan-pricing page. Search corpus is not supplied.\"\n}",
        "question": "Which preflight route fits the query and supplied site scope? Use supplied page: user asks to open an explicitly named available destination. Retrieve site evidence: an in-scope factual how-to or explanation needs source content not supplied. Stop out of scope: query clearly concerns another domain. Ask for goal: query lacks a specific subject or destination. A pricing factual answer still needs evidence; navigation to pricing uses a page. Do not fetch, embed, answer or invent a URL.",
        "choices": [
          "Use supplied page",
          "Retrieve site evidence",
          "Stop out of scope",
          "Ask for goal"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow_v2.py"
}
