{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Suggest a supplied CLI subcommand for an explicitly invalid token using current help descriptions, without executing or inventing a command.",
  "question": "Suggest only from the supplied help candidates for an explicitly invalid subcommand. Choose the unique candidate whose help meaning matches the stated intent. No correction takes precedence if the token may be an alias/plugin/path, validity is unknown, intent is ambiguous, or no unique listed candidate fits. Ignore spelling similarity when meaning conflicts. Never invent a command, infer missing destructive intent, expose argument values or execute anything.",
  "choices": [
    "list",
    "remove",
    "restore",
    "No correction"
  ],
  "actions": {
    "list": {
      "action": "preview_jev_cli_subcommand_correction",
      "payload": {
        "decision": "list"
      },
      "pending": true
    },
    "remove": {
      "action": "preview_jev_cli_subcommand_correction",
      "payload": {
        "decision": "remove"
      },
      "pending": true
    },
    "restore": {
      "action": "preview_jev_cli_subcommand_correction",
      "payload": {
        "decision": "restore"
      },
      "pending": true
    },
    "No correction": {
      "action": "preview_jev_cli_subcommand_correction",
      "payload": {
        "decision": "No correction"
      },
      "pending": true
    }
  },
  "samples": [
    {
      "id": "case-1",
      "label": "Inventory intent",
      "expected": "list",
      "request": {
        "context": "{\n  \"task\": \"Suggest a supplied CLI subcommand for an explicitly invalid token using current help descriptions, without executing or inventing a command.\",\n  \"evidence\": {\n    \"token\": \"inventory\",\n    \"validity\": \"Confirmed invalid subcommand, not an alias, plugin or path.\",\n    \"intent\": \"Show the existing resources without changing them.\",\n    \"help\": \"list: list resources; remove: remove a selected resource; restore: restore a previous saved state.\"\n  }\n}",
        "question": "Suggest only from the supplied help candidates for an explicitly invalid subcommand. Choose the unique candidate whose help meaning matches the stated intent. No correction takes precedence if the token may be an alias/plugin/path, validity is unknown, intent is ambiguous, or no unique listed candidate fits. Ignore spelling similarity when meaning conflicts. Never invent a command, infer missing destructive intent, expose argument values or execute anything.",
        "choices": [
          "list",
          "remove",
          "restore",
          "No correction"
        ]
      }
    },
    {
      "id": "case-2",
      "label": "Undo intent",
      "expected": "restore",
      "request": {
        "context": "{\n  \"task\": \"Suggest a supplied CLI subcommand for an explicitly invalid token using current help descriptions, without executing or inventing a command.\",\n  \"evidence\": {\n    \"token\": \"undo\",\n    \"validity\": \"Confirmed invalid subcommand, not an alias, plugin or path.\",\n    \"intent\": \"Return to a previous saved state.\",\n    \"help\": \"list: list resources; remove: remove a selected resource; restore: restore a previous saved state.\"\n  }\n}",
        "question": "Suggest only from the supplied help candidates for an explicitly invalid subcommand. Choose the unique candidate whose help meaning matches the stated intent. No correction takes precedence if the token may be an alias/plugin/path, validity is unknown, intent is ambiguous, or no unique listed candidate fits. Ignore spelling similarity when meaning conflicts. Never invent a command, infer missing destructive intent, expose argument values or execute anything.",
        "choices": [
          "list",
          "remove",
          "restore",
          "No correction"
        ]
      }
    },
    {
      "id": "case-3",
      "label": "Explicit remove intent",
      "expected": "remove",
      "request": {
        "context": "{\n  \"task\": \"Suggest a supplied CLI subcommand for an explicitly invalid token using current help descriptions, without executing or inventing a command.\",\n  \"evidence\": {\n    \"token\": \"erase\",\n    \"validity\": \"Confirmed invalid subcommand, not an alias, plugin or path.\",\n    \"intent\": \"Ask which help command removes a selected fictional resource; no execution requested.\",\n    \"help\": \"list: list resources; remove: remove a selected resource; restore: restore a previous saved state.\"\n  }\n}",
        "question": "Suggest only from the supplied help candidates for an explicitly invalid subcommand. Choose the unique candidate whose help meaning matches the stated intent. No correction takes precedence if the token may be an alias/plugin/path, validity is unknown, intent is ambiguous, or no unique listed candidate fits. Ignore spelling similarity when meaning conflicts. Never invent a command, infer missing destructive intent, expose argument values or execute anything.",
        "choices": [
          "list",
          "remove",
          "restore",
          "No correction"
        ]
      }
    },
    {
      "id": "case-4",
      "label": "Possible alias",
      "expected": "No correction",
      "request": {
        "context": "{\n  \"task\": \"Suggest a supplied CLI subcommand for an explicitly invalid token using current help descriptions, without executing or inventing a command.\",\n  \"evidence\": {\n    \"token\": \"inventory\",\n    \"validity\": \"May be a user-defined alias; alias configuration is not supplied.\",\n    \"intent\": \"List resources.\",\n    \"help\": \"list, remove and restore with the descriptions above.\"\n  }\n}",
        "question": "Suggest only from the supplied help candidates for an explicitly invalid subcommand. Choose the unique candidate whose help meaning matches the stated intent. No correction takes precedence if the token may be an alias/plugin/path, validity is unknown, intent is ambiguous, or no unique listed candidate fits. Ignore spelling similarity when meaning conflicts. Never invent a command, infer missing destructive intent, expose argument values or execute anything.",
        "choices": [
          "list",
          "remove",
          "restore",
          "No correction"
        ]
      }
    },
    {
      "id": "case-5",
      "label": "Path-like input",
      "expected": "No correction",
      "request": {
        "context": "{\n  \"task\": \"Suggest a supplied CLI subcommand for an explicitly invalid token using current help descriptions, without executing or inventing a command.\",\n  \"evidence\": {\n    \"token\": \"./restore-script\",\n    \"validity\": \"This is a path, not a rejected CLI subcommand.\",\n    \"intent\": \"Run the named local script; no rewrite requested.\",\n    \"help\": \"list, remove and restore with the descriptions above.\"\n  }\n}",
        "question": "Suggest only from the supplied help candidates for an explicitly invalid subcommand. Choose the unique candidate whose help meaning matches the stated intent. No correction takes precedence if the token may be an alias/plugin/path, validity is unknown, intent is ambiguous, or no unique listed candidate fits. Ignore spelling similarity when meaning conflicts. Never invent a command, infer missing destructive intent, expose argument values or execute anything.",
        "choices": [
          "list",
          "remove",
          "restore",
          "No correction"
        ]
      }
    },
    {
      "id": "case-6",
      "label": "Unclear destructive word",
      "expected": "No correction",
      "request": {
        "context": "{\n  \"task\": \"Suggest a supplied CLI subcommand for an explicitly invalid token using current help descriptions, without executing or inventing a command.\",\n  \"evidence\": {\n    \"token\": \"clean\",\n    \"validity\": \"Confirmed invalid subcommand.\",\n    \"intent\": \"Unclear whether to list old resources, remove one or restore state.\",\n    \"help\": \"list: list resources; remove: remove a selected resource; restore: restore a previous saved state.\"\n  }\n}",
        "question": "Suggest only from the supplied help candidates for an explicitly invalid subcommand. Choose the unique candidate whose help meaning matches the stated intent. No correction takes precedence if the token may be an alias/plugin/path, validity is unknown, intent is ambiguous, or no unique listed candidate fits. Ignore spelling similarity when meaning conflicts. Never invent a command, infer missing destructive intent, expose argument values or execute anything.",
        "choices": [
          "list",
          "remove",
          "restore",
          "No correction"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow.py"
}
