{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Compare a proposed action with a supplied completed-action history by intended effect, preserving changed preconditions and unsuccessful attempts. Original harmless agent notes only; no tool executes and no cost saving is claimed.",
  "question": "Review whether the proposed action repeats a completed effect. Repeated effect: equivalent goal already completed and no relevant state changed. New state: similar goal but an explicitly changed relevant input requires new work. Not completed: no successful prior completion of that goal, including a failed attempt. Need history: effect or completion state is unavailable. Compare meaning, not wording alone. Do not execute the action.",
  "choices": [
    "Repeated effect",
    "New state",
    "Not completed",
    "Need history"
  ],
  "actions": {
    "Repeated effect": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Repeated effect",
        "workflow": "repeated-action-review"
      },
      "pending": false
    },
    "New state": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "New state",
        "workflow": "repeated-action-review"
      },
      "pending": false
    },
    "Not completed": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Not completed",
        "workflow": "repeated-action-review"
      },
      "pending": false
    },
    "Need history": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Need history",
        "workflow": "repeated-action-review"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "repeat",
      "label": "A paraphrase of completed work",
      "expected": "Repeated effect",
      "request": {
        "context": "{\n  \"task\": \"Proposal: fetch the same preview status again. History: preview status already fetched successfully; no input or state changed.\"\n}",
        "question": "Review whether the proposed action repeats a completed effect. Repeated effect: equivalent goal already completed and no relevant state changed. New state: similar goal but an explicitly changed relevant input requires new work. Not completed: no successful prior completion of that goal, including a failed attempt. Need history: effect or completion state is unavailable. Compare meaning, not wording alone. Do not execute the action.",
        "choices": [
          "Repeated effect",
          "New state",
          "Not completed",
          "Need history"
        ]
      }
    },
    {
      "id": "changed",
      "label": "A newly changed input",
      "expected": "New state",
      "request": {
        "context": "{\n  \"task\": \"Proposal: inspect preview status. History: earlier status inspection succeeded, but preview was redeployed afterward and current state changed.\"\n}",
        "question": "Review whether the proposed action repeats a completed effect. Repeated effect: equivalent goal already completed and no relevant state changed. New state: similar goal but an explicitly changed relevant input requires new work. Not completed: no successful prior completion of that goal, including a failed attempt. Need history: effect or completion state is unavailable. Compare meaning, not wording alone. Do not execute the action.",
        "choices": [
          "Repeated effect",
          "New state",
          "Not completed",
          "Need history"
        ]
      }
    },
    {
      "id": "failed",
      "label": "An earlier unsuccessful attempt",
      "expected": "Not completed",
      "request": {
        "context": "{\n  \"task\": \"Proposal: read the config. History: prior read failed before returning any content; no successful completion exists.\"\n}",
        "question": "Review whether the proposed action repeats a completed effect. Repeated effect: equivalent goal already completed and no relevant state changed. New state: similar goal but an explicitly changed relevant input requires new work. Not completed: no successful prior completion of that goal, including a failed attempt. Need history: effect or completion state is unavailable. Compare meaning, not wording alone. Do not execute the action.",
        "choices": [
          "Repeated effect",
          "New state",
          "Not completed",
          "Need history"
        ]
      }
    },
    {
      "id": "missing",
      "label": "Unavailable completion history",
      "expected": "Need history",
      "request": {
        "context": "{\n  \"task\": \"Proposal: inspect the preview. Prior actions and their completion states are unavailable.\"\n}",
        "question": "Review whether the proposed action repeats a completed effect. Repeated effect: equivalent goal already completed and no relevant state changed. New state: similar goal but an explicitly changed relevant input requires new work. Not completed: no successful prior completion of that goal, including a failed attempt. Need history: effect or completion state is unavailable. Compare meaning, not wording alone. Do not execute the action.",
        "choices": [
          "Repeated effect",
          "New state",
          "Not completed",
          "Need history"
        ]
      }
    },
    {
      "id": "synonym",
      "label": "Different wording for the same effect",
      "expected": "Repeated effect",
      "request": {
        "context": "{\n  \"task\": \"Proposal: retrieve the settings document. History: the same settings document was already read successfully; nothing changed.\"\n}",
        "question": "Review whether the proposed action repeats a completed effect. Repeated effect: equivalent goal already completed and no relevant state changed. New state: similar goal but an explicitly changed relevant input requires new work. Not completed: no successful prior completion of that goal, including a failed attempt. Need history: effect or completion state is unavailable. Compare meaning, not wording alone. Do not execute the action.",
        "choices": [
          "Repeated effect",
          "New state",
          "Not completed",
          "Need history"
        ]
      }
    },
    {
      "id": "newgoal",
      "label": "A genuinely new goal",
      "expected": "Not completed",
      "request": {
        "context": "{\n  \"task\": \"Proposal: read the deployment notes. History: only the unrelated settings document was read; deployment notes have not been read.\"\n}",
        "question": "Review whether the proposed action repeats a completed effect. Repeated effect: equivalent goal already completed and no relevant state changed. New state: similar goal but an explicitly changed relevant input requires new work. Not completed: no successful prior completion of that goal, including a failed attempt. Need history: effect or completion state is unavailable. Compare meaning, not wording alone. Do not execute the action.",
        "choices": [
          "Repeated effect",
          "New state",
          "Not completed",
          "Need history"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow_v2.py"
}
