{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Determine whether a UI permission request states a user benefit, offers an explanation or only names a system need.",
  "question": "Classify the permission wording in order. Need context: text or role missing. Not a user request: API documentation or another non-request. For an active request, Benefit stated if the heading or text names a user benefit; otherwise Explanation offered if it points to an explanation; otherwise System need only if it states only required access. Use Need context if no category fits. Inspect wording only; do not verify benefits or grant permission.",
  "choices": [
    "Benefit stated",
    "Explanation offered",
    "System need only",
    "Not a user request",
    "Need context"
  ],
  "actions": {
    "Benefit stated": {
      "action": "preview_jev_permission_benefit_copy",
      "payload": {
        "decision": "Benefit stated"
      },
      "pending": true
    },
    "Explanation offered": {
      "action": "preview_jev_permission_benefit_copy",
      "payload": {
        "decision": "Explanation offered"
      },
      "pending": true
    },
    "System need only": {
      "action": "preview_jev_permission_benefit_copy",
      "payload": {
        "decision": "System need only"
      },
      "pending": true
    },
    "Not a user request": {
      "action": "preview_jev_permission_benefit_copy",
      "payload": {
        "decision": "Not a user request"
      },
      "pending": true
    },
    "Need context": {
      "action": "preview_jev_permission_benefit_copy",
      "payload": {
        "decision": "Need context"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Benefit in body",
      "expected": "Benefit stated",
      "request": {
        "context": "{\n  \"task\": \"Determine whether a UI permission request states a user benefit, offers an explanation or only names a system need.\",\n  \"evidence\": {\n    \"role\": \"Permission request\",\n    \"heading\": \"Location\",\n    \"text\": \"Allow location to show nearby pickup points.\"\n  }\n}",
        "question": "Classify the permission wording in order. Need context: text or role missing. Not a user request: API documentation or another non-request. For an active request, Benefit stated if the heading or text names a user benefit; otherwise Explanation offered if it points to an explanation; otherwise System need only if it states only required access. Use Need context if no category fits. Inspect wording only; do not verify benefits or grant permission.",
        "choices": [
          "Benefit stated",
          "Explanation offered",
          "System need only",
          "Not a user request",
          "Need context"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Benefit in heading",
      "expected": "Benefit stated",
      "request": {
        "context": "{\n  \"task\": \"Determine whether a UI permission request states a user benefit, offers an explanation or only names a system need.\",\n  \"evidence\": {\n    \"role\": \"Permission request\",\n    \"heading\": \"Find nearby pickup points\",\n    \"text\": \"Allow location access.\"\n  }\n}",
        "question": "Classify the permission wording in order. Need context: text or role missing. Not a user request: API documentation or another non-request. For an active request, Benefit stated if the heading or text names a user benefit; otherwise Explanation offered if it points to an explanation; otherwise System need only if it states only required access. Use Need context if no category fits. Inspect wording only; do not verify benefits or grant permission.",
        "choices": [
          "Benefit stated",
          "Explanation offered",
          "System need only",
          "Not a user request",
          "Need context"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "System requirement alone",
      "expected": "System need only",
      "request": {
        "context": "{\n  \"task\": \"Determine whether a UI permission request states a user benefit, offers an explanation or only names a system need.\",\n  \"evidence\": {\n    \"role\": \"Permission request\",\n    \"heading\": \"Permission required\",\n    \"text\": \"This application requires location access.\"\n  }\n}",
        "question": "Classify the permission wording in order. Need context: text or role missing. Not a user request: API documentation or another non-request. For an active request, Benefit stated if the heading or text names a user benefit; otherwise Explanation offered if it points to an explanation; otherwise System need only if it states only required access. Use Need context if no category fits. Inspect wording only; do not verify benefits or grant permission.",
        "choices": [
          "Benefit stated",
          "Explanation offered",
          "System need only",
          "Not a user request",
          "Need context"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Explanation entry",
      "expected": "Explanation offered",
      "request": {
        "context": "{\n  \"task\": \"Determine whether a UI permission request states a user benefit, offers an explanation or only names a system need.\",\n  \"evidence\": {\n    \"role\": \"Permission request\",\n    \"heading\": \"Location access\",\n    \"text\": \"Allow access. Read “Why location is requested” before deciding.\"\n  }\n}",
        "question": "Classify the permission wording in order. Need context: text or role missing. Not a user request: API documentation or another non-request. For an active request, Benefit stated if the heading or text names a user benefit; otherwise Explanation offered if it points to an explanation; otherwise System need only if it states only required access. Use Need context if no category fits. Inspect wording only; do not verify benefits or grant permission.",
        "choices": [
          "Benefit stated",
          "Explanation offered",
          "System need only",
          "Not a user request",
          "Need context"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "API documentation",
      "expected": "Not a user request",
      "request": {
        "context": "{\n  \"task\": \"Determine whether a UI permission request states a user benefit, offers an explanation or only names a system need.\",\n  \"evidence\": {\n    \"role\": \"Developer documentation\",\n    \"heading\": \"Endpoint scopes\",\n    \"text\": \"The endpoint requires location:read so users can find nearby pickup points.\"\n  }\n}",
        "question": "Classify the permission wording in order. Need context: text or role missing. Not a user request: API documentation or another non-request. For an active request, Benefit stated if the heading or text names a user benefit; otherwise Explanation offered if it points to an explanation; otherwise System need only if it states only required access. Use Need context if no category fits. Inspect wording only; do not verify benefits or grant permission.",
        "choices": [
          "Benefit stated",
          "Explanation offered",
          "System need only",
          "Not a user request",
          "Need context"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Request missing",
      "expected": "Need context",
      "request": {
        "context": "{\n  \"task\": \"Determine whether a UI permission request states a user benefit, offers an explanation or only names a system need.\",\n  \"evidence\": {\n    \"role\": null,\n    \"heading\": null,\n    \"text\": null\n  }\n}",
        "question": "Classify the permission wording in order. Need context: text or role missing. Not a user request: API documentation or another non-request. For an active request, Benefit stated if the heading or text names a user benefit; otherwise Explanation offered if it points to an explanation; otherwise System need only if it states only required access. Use Need context if no category fits. Inspect wording only; do not verify benefits or grant permission.",
        "choices": [
          "Benefit stated",
          "Explanation offered",
          "System need only",
          "Not a user request",
          "Need context"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
