{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Review a log statement for personal information using explicit argument types and verified redaction/serialization behavior.",
  "question": "Review the log call using supplied field and serializer facts. Exposed means names, personal email, phone, address or government ID values reach the output. Redacted or nonpersonal means the supplied implementation removes those values or writes only explicitly nonpersonal data. Review takes precedence when argument meaning or serializer/redactor behavior is unknown or conflicting. A helper named safeLog is not evidence of redaction. Do not infer legal compliance or inspect a live system.",
  "choices": [
    "Exposed",
    "Redacted or nonpersonal",
    "Review"
  ],
  "actions": {
    "Exposed": {
      "action": "preview_jev_log_personal_data_review",
      "payload": {
        "decision": "Exposed"
      },
      "pending": true
    },
    "Redacted or nonpersonal": {
      "action": "preview_jev_log_personal_data_review",
      "payload": {
        "decision": "Redacted or nonpersonal"
      },
      "pending": true
    },
    "Review": {
      "action": "preview_jev_log_personal_data_review",
      "payload": {
        "decision": "Review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Email written directly",
      "expected": "Exposed",
      "request": {
        "context": "{\n  \"task\": \"Review a log statement for personal information using explicit argument types and verified redaction/serialization behavior.\",\n  \"evidence\": {\n    \"call\": \"logger.info(customer.email)\",\n    \"fieldMeaning\": \"Personal contact email; synthetic value alex@example.test.\",\n    \"behavior\": \"Logger writes the string unchanged.\"\n  }\n}",
        "question": "Review the log call using supplied field and serializer facts. Exposed means names, personal email, phone, address or government ID values reach the output. Redacted or nonpersonal means the supplied implementation removes those values or writes only explicitly nonpersonal data. Review takes precedence when argument meaning or serializer/redactor behavior is unknown or conflicting. A helper named safeLog is not evidence of redaction. Do not infer legal compliance or inspect a live system.",
        "choices": [
          "Exposed",
          "Redacted or nonpersonal",
          "Review"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Verified redaction",
      "expected": "Redacted or nonpersonal",
      "request": {
        "context": "{\n  \"task\": \"Review a log statement for personal information using explicit argument types and verified redaction/serialization behavior.\",\n  \"evidence\": {\n    \"call\": \"logger.info(redact(customer))\",\n    \"fieldMeaning\": \"customer contains personal email and name.\",\n    \"behavior\": \"Shown redactor returns only {event: received}; name and email are not emitted.\"\n  }\n}",
        "question": "Review the log call using supplied field and serializer facts. Exposed means names, personal email, phone, address or government ID values reach the output. Redacted or nonpersonal means the supplied implementation removes those values or writes only explicitly nonpersonal data. Review takes precedence when argument meaning or serializer/redactor behavior is unknown or conflicting. A helper named safeLog is not evidence of redaction. Do not infer legal compliance or inspect a live system.",
        "choices": [
          "Exposed",
          "Redacted or nonpersonal",
          "Review"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Service event only",
      "expected": "Redacted or nonpersonal",
      "request": {
        "context": "{\n  \"task\": \"Review a log statement for personal information using explicit argument types and verified redaction/serialization behavior.\",\n  \"evidence\": {\n    \"call\": \"logger.info({event: cache_refreshed, worker: worker-2})\",\n    \"fieldMeaning\": \"Both fields are nonpersonal service constants, not user identifiers.\",\n    \"behavior\": \"Only these fields are serialized.\"\n  }\n}",
        "question": "Review the log call using supplied field and serializer facts. Exposed means names, personal email, phone, address or government ID values reach the output. Redacted or nonpersonal means the supplied implementation removes those values or writes only explicitly nonpersonal data. Review takes precedence when argument meaning or serializer/redactor behavior is unknown or conflicting. A helper named safeLog is not evidence of redaction. Do not infer legal compliance or inspect a live system.",
        "choices": [
          "Exposed",
          "Redacted or nonpersonal",
          "Review"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Nested personal address",
      "expected": "Exposed",
      "request": {
        "context": "{\n  \"task\": \"Review a log statement for personal information using explicit argument types and verified redaction/serialization behavior.\",\n  \"evidence\": {\n    \"call\": \"logger.info({request: payload})\",\n    \"fieldMeaning\": \"payload.deliveryAddress is a synthetic personal postal address.\",\n    \"behavior\": \"Serializer recursively emits every payload field without redaction.\"\n  }\n}",
        "question": "Review the log call using supplied field and serializer facts. Exposed means names, personal email, phone, address or government ID values reach the output. Redacted or nonpersonal means the supplied implementation removes those values or writes only explicitly nonpersonal data. Review takes precedence when argument meaning or serializer/redactor behavior is unknown or conflicting. A helper named safeLog is not evidence of redaction. Do not infer legal compliance or inspect a live system.",
        "choices": [
          "Exposed",
          "Redacted or nonpersonal",
          "Review"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Unknown helper",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Review a log statement for personal information using explicit argument types and verified redaction/serialization behavior.\",\n  \"evidence\": {\n    \"call\": \"safeLog(customer)\",\n    \"fieldMeaning\": \"customer contains personal contact fields.\",\n    \"behavior\": \"safeLog implementation is not supplied.\"\n  }\n}",
        "question": "Review the log call using supplied field and serializer facts. Exposed means names, personal email, phone, address or government ID values reach the output. Redacted or nonpersonal means the supplied implementation removes those values or writes only explicitly nonpersonal data. Review takes precedence when argument meaning or serializer/redactor behavior is unknown or conflicting. A helper named safeLog is not evidence of redaction. Do not infer legal compliance or inspect a live system.",
        "choices": [
          "Exposed",
          "Redacted or nonpersonal",
          "Review"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Ambiguous identifier",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Review a log statement for personal information using explicit argument types and verified redaction/serialization behavior.\",\n  \"evidence\": {\n    \"call\": \"logger.info({id: record.id})\",\n    \"fieldMeaning\": \"Unknown whether id identifies a person or a nonpersonal service job.\",\n    \"behavior\": \"The string is emitted unchanged.\"\n  }\n}",
        "question": "Review the log call using supplied field and serializer facts. Exposed means names, personal email, phone, address or government ID values reach the output. Redacted or nonpersonal means the supplied implementation removes those values or writes only explicitly nonpersonal data. Review takes precedence when argument meaning or serializer/redactor behavior is unknown or conflicting. A helper named safeLog is not evidence of redaction. Do not infer legal compliance or inspect a live system.",
        "choices": [
          "Exposed",
          "Redacted or nonpersonal",
          "Review"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
