{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Check the visible placement of an authentication guard in fictional pseudocode, not the security of a real system.",
  "question": "Inspect shown order of guard and protected access. Guard before access: Explicit authentication check precedes protected data use. Guard after access: Protected data is used before the authentication check. No guard shown: Protected access exists with no visible authentication check. No protected access: Excerpt explicitly contains no protected operation. Need evidence: Required text or context is absent. Use only supplied evidence.",
  "choices": [
    "Guard before access",
    "Guard after access",
    "No guard shown",
    "No protected access",
    "Need evidence"
  ],
  "actions": {
    "Guard before access": {
      "action": "preview_jev_authentication_guard_placement",
      "payload": {
        "decision": "Guard before access"
      },
      "pending": true
    },
    "Guard after access": {
      "action": "preview_jev_authentication_guard_placement",
      "payload": {
        "decision": "Guard after access"
      },
      "pending": true
    },
    "No guard shown": {
      "action": "preview_jev_authentication_guard_placement",
      "payload": {
        "decision": "No guard shown"
      },
      "pending": true
    },
    "No protected access": {
      "action": "preview_jev_authentication_guard_placement",
      "payload": {
        "decision": "No protected access"
      },
      "pending": true
    },
    "Need evidence": {
      "action": "preview_jev_authentication_guard_placement",
      "payload": {
        "decision": "Need evidence"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Guard first",
      "expected": "Guard before access",
      "request": {
        "context": "{\n  \"task\": \"Check the visible placement of an authentication guard in fictional pseudocode, not the security of a real system.\",\n  \"evidence\": \"Rule: check authenticated session before read_private_record. Code: require_authenticated(session); record = read_private_record(id); return record.\"\n}",
        "question": "Inspect shown order of guard and protected access. Guard before access: Explicit authentication check precedes protected data use. Guard after access: Protected data is used before the authentication check. No guard shown: Protected access exists with no visible authentication check. No protected access: Excerpt explicitly contains no protected operation. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Guard before access",
          "Guard after access",
          "No guard shown",
          "No protected access",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Late check",
      "expected": "Guard after access",
      "request": {
        "context": "{\n  \"task\": \"Check the visible placement of an authentication guard in fictional pseudocode, not the security of a real system.\",\n  \"evidence\": \"Rule: check session before private read. Code: record = read_private_record(id); require_authenticated(session); return record.\"\n}",
        "question": "Inspect shown order of guard and protected access. Guard before access: Explicit authentication check precedes protected data use. Guard after access: Protected data is used before the authentication check. No guard shown: Protected access exists with no visible authentication check. No protected access: Excerpt explicitly contains no protected operation. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Guard before access",
          "Guard after access",
          "No guard shown",
          "No protected access",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Check absent",
      "expected": "No guard shown",
      "request": {
        "context": "{\n  \"task\": \"Check the visible placement of an authentication guard in fictional pseudocode, not the security of a real system.\",\n  \"evidence\": \"Rule: require authentication before private read. Complete excerpt: record = read_private_record(id); return record. No guard is shown.\"\n}",
        "question": "Inspect shown order of guard and protected access. Guard before access: Explicit authentication check precedes protected data use. Guard after access: Protected data is used before the authentication check. No guard shown: Protected access exists with no visible authentication check. No protected access: Excerpt explicitly contains no protected operation. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Guard before access",
          "Guard after access",
          "No guard shown",
          "No protected access",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Public operation",
      "expected": "No protected access",
      "request": {
        "context": "{\n  \"task\": \"Check the visible placement of an authentication guard in fictional pseudocode, not the security of a real system.\",\n  \"evidence\": \"Complete excerpt: return public_help_text(); No protected operation is present.\"\n}",
        "question": "Inspect shown order of guard and protected access. Guard before access: Explicit authentication check precedes protected data use. Guard after access: Protected data is used before the authentication check. No guard shown: Protected access exists with no visible authentication check. No protected access: Excerpt explicitly contains no protected operation. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Guard before access",
          "Guard after access",
          "No guard shown",
          "No protected access",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Named helper is not a visible check",
      "expected": "No guard shown",
      "request": {
        "context": "{\n  \"task\": \"Check the visible placement of an authentication guard in fictional pseudocode, not the security of a real system.\",\n  \"evidence\": \"Rule: require an explicit session check before private read. Complete excerpt: log_user_name(); read_private_record(id). The logger does not check authentication.\"\n}",
        "question": "Inspect shown order of guard and protected access. Guard before access: Explicit authentication check precedes protected data use. Guard after access: Protected data is used before the authentication check. No guard shown: Protected access exists with no visible authentication check. No protected access: Excerpt explicitly contains no protected operation. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Guard before access",
          "Guard after access",
          "No guard shown",
          "No protected access",
          "Need evidence"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Absent excerpt",
      "expected": "Need evidence",
      "request": {
        "context": "{\n  \"task\": \"Check the visible placement of an authentication guard in fictional pseudocode, not the security of a real system.\",\n  \"evidence\": \"The authentication rule is known, but no code excerpt was supplied.\"\n}",
        "question": "Inspect shown order of guard and protected access. Guard before access: Explicit authentication check precedes protected data use. Guard after access: Protected data is used before the authentication check. No guard shown: Protected access exists with no visible authentication check. No protected access: Excerpt explicitly contains no protected operation. Need evidence: Required text or context is absent. Use only supplied evidence.",
        "choices": [
          "Guard before access",
          "Guard after access",
          "No guard shown",
          "No protected access",
          "Need evidence"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
