{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Review a method's use of another object's internal state against supplied responsibilities and type boundaries, distinguishing DTO reads and public delegation.",
  "question": "Review the supplied method and object roles. Foreign internals means it directly computes behavior owned by another object using that object's private implementation fields. Ordinary use means reading a declared plain data/config record or delegating through a public collaborator API. Review takes precedence for missing or conflicting ownership, visibility or type facts. Multiple field reads or a method chain alone do not prove a problem. Do not refactor or infer private fields from names.",
  "choices": [
    "Foreign internals",
    "Ordinary use",
    "Review"
  ],
  "actions": {
    "Foreign internals": {
      "action": "preview_jev_object_responsibility_boundary",
      "payload": {
        "decision": "Foreign internals"
      },
      "pending": true
    },
    "Ordinary use": {
      "action": "preview_jev_object_responsibility_boundary",
      "payload": {
        "decision": "Ordinary use"
      },
      "pending": true
    },
    "Review": {
      "action": "preview_jev_object_responsibility_boundary",
      "payload": {
        "decision": "Review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Behavior moved across a boundary",
      "expected": "Foreign internals",
      "request": {
        "context": "{\n  \"task\": \"Review a method's use of another object's internal state against supplied responsibilities and type boundaries, distinguishing DTO reads and public delegation.\",\n  \"evidence\": {\n    \"method\": \"InvoiceView reads account.privateDiscountRules and privateTierState, then recomputes the account's discount algorithm.\",\n    \"roles\": \"Account owns discount behavior; these fields are explicitly private implementation state.\",\n    \"types\": \"Account is a behavior-owning object.\"\n  }\n}",
        "question": "Review the supplied method and object roles. Foreign internals means it directly computes behavior owned by another object using that object's private implementation fields. Ordinary use means reading a declared plain data/config record or delegating through a public collaborator API. Review takes precedence for missing or conflicting ownership, visibility or type facts. Multiple field reads or a method chain alone do not prove a problem. Do not refactor or infer private fields from names.",
        "choices": [
          "Foreign internals",
          "Ordinary use",
          "Review"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Plain data record",
      "expected": "Ordinary use",
      "request": {
        "context": "{\n  \"task\": \"Review a method's use of another object's internal state against supplied responsibilities and type boundaries, distinguishing DTO reads and public delegation.\",\n  \"evidence\": {\n    \"method\": \"Renderer reads row.name, row.price and row.quantity.\",\n    \"roles\": \"row is an explicitly plain immutable display DTO with public fields and no owned behavior.\",\n    \"types\": \"Data record.\"\n  }\n}",
        "question": "Review the supplied method and object roles. Foreign internals means it directly computes behavior owned by another object using that object's private implementation fields. Ordinary use means reading a declared plain data/config record or delegating through a public collaborator API. Review takes precedence for missing or conflicting ownership, visibility or type facts. Multiple field reads or a method chain alone do not prove a problem. Do not refactor or infer private fields from names.",
        "choices": [
          "Foreign internals",
          "Ordinary use",
          "Review"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Public delegation",
      "expected": "Ordinary use",
      "request": {
        "context": "{\n  \"task\": \"Review a method's use of another object's internal state against supplied responsibilities and type boundaries, distinguishing DTO reads and public delegation.\",\n  \"evidence\": {\n    \"method\": \"InvoiceView calls account.calculateDiscount(total).\",\n    \"roles\": \"Account owns and implements discount behavior through this public method.\",\n    \"types\": \"Public collaborator API.\"\n  }\n}",
        "question": "Review the supplied method and object roles. Foreign internals means it directly computes behavior owned by another object using that object's private implementation fields. Ordinary use means reading a declared plain data/config record or delegating through a public collaborator API. Review takes precedence for missing or conflicting ownership, visibility or type facts. Multiple field reads or a method chain alone do not prove a problem. Do not refactor or infer private fields from names.",
        "choices": [
          "Foreign internals",
          "Ordinary use",
          "Review"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Configuration reads",
      "expected": "Ordinary use",
      "request": {
        "context": "{\n  \"task\": \"Review a method's use of another object's internal state against supplied responsibilities and type boundaries, distinguishing DTO reads and public delegation.\",\n  \"evidence\": {\n    \"method\": \"Builder reads config.outputPath and config.format.\",\n    \"roles\": \"config is a public immutable configuration record.\",\n    \"types\": \"Configuration data.\"\n  }\n}",
        "question": "Review the supplied method and object roles. Foreign internals means it directly computes behavior owned by another object using that object's private implementation fields. Ordinary use means reading a declared plain data/config record or delegating through a public collaborator API. Review takes precedence for missing or conflicting ownership, visibility or type facts. Multiple field reads or a method chain alone do not prove a problem. Do not refactor or infer private fields from names.",
        "choices": [
          "Foreign internals",
          "Ordinary use",
          "Review"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Unknown ownership",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Review a method's use of another object's internal state against supplied responsibilities and type boundaries, distinguishing DTO reads and public delegation.\",\n  \"evidence\": {\n    \"method\": \"Processor reads account.tier and account.rules to compute a value.\",\n    \"roles\": null,\n    \"types\": \"Unknown whether account is a DTO or behavior-owning object.\"\n  }\n}",
        "question": "Review the supplied method and object roles. Foreign internals means it directly computes behavior owned by another object using that object's private implementation fields. Ordinary use means reading a declared plain data/config record or delegating through a public collaborator API. Review takes precedence for missing or conflicting ownership, visibility or type facts. Multiple field reads or a method chain alone do not prove a problem. Do not refactor or infer private fields from names.",
        "choices": [
          "Foreign internals",
          "Ordinary use",
          "Review"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Conflicting visibility",
      "expected": "Review",
      "request": {
        "context": "{\n  \"task\": \"Review a method's use of another object's internal state against supplied responsibilities and type boundaries, distinguishing DTO reads and public delegation.\",\n  \"evidence\": {\n    \"method\": \"Renderer reads account.discountState.\",\n    \"roles\": \"One source calls the field public data; another calls it private implementation state.\",\n    \"types\": \"Unresolved design documentation.\"\n  }\n}",
        "question": "Review the supplied method and object roles. Foreign internals means it directly computes behavior owned by another object using that object's private implementation fields. Ordinary use means reading a declared plain data/config record or delegating through a public collaborator API. Review takes precedence for missing or conflicting ownership, visibility or type facts. Multiple field reads or a method chain alone do not prove a problem. Do not refactor or infer private fields from names.",
        "choices": [
          "Foreign internals",
          "Ordinary use",
          "Review"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
