{
  "schema": "kiwe.command-route.v1",
  "contractVersion": "7.26",
  "releaseId": "7.26-23ba1257d101",
  "command": "/redo",
  "route": "/redo",
  "canonicalUrl": "https://start.kiwelaunch.com/redo/contract.json",
  "immutableUrl": "https://start.kiwelaunch.com/v/7.26-23ba1257d101/redo/contract.json",
  "resources": [
    {
      "source": "kiwe-ai-toolkit/entry.json",
      "url": "https://start.kiwelaunch.com/entry.json",
      "pinnedUrl": "https://start.kiwelaunch.com/v/7.26-23ba1257d101/entry.json",
      "sha256": "ce656213216bc5f736d5ca7e90608c55db18b9c42dad15af0a303eecdebf72bf"
    },
    {
      "source": "kiwe-ai-toolkit/command-manifest.json",
      "url": "https://start.kiwelaunch.com/command-manifest.json",
      "pinnedUrl": "https://start.kiwelaunch.com/v/7.26-23ba1257d101/command-manifest.json",
      "sha256": "7845c73c5c2038cb70d8dc34728b8ac640ab1d469c9da58cb46dcddc6d2614af"
    }
  ],
  "sourceHash": "sha256:23ba1257d1015aa0e9d28526dcab493a6dd6b6eba6cd2165024b7f6421dbd36d",
  "phase": "redo",
  "read": [
    "kiwe-ai-toolkit/entry.json",
    "kiwe-ai-toolkit/command-manifest.json"
  ],
  "requires": [
    "the immediate previous output-producing instruction or canonical slash command",
    "that instruction's exact approved input/source snapshot, attachments, brief, refinements and target scope in the current conversation"
  ],
  "must": [
    "treat /redo itself as sufficient notice that the last output failed; do not request a failure explanation",
    "fetch fresh discovery with a unique nonce",
    "load the current content-hash release route for the previous producing instruction",
    "discard the previous generated candidate as authority",
    "inspect the failed candidate only as negative evidence to avoid repeating its observable failure",
    "regenerate from the preserved approved input snapshot",
    "run every validator and render proof required by the refreshed route"
  ],
  "output": [
    "one newly generated replacement candidate for the immediate previous output"
  ],
  "forbidden": [
    "asking the human why the output failed before rerunning",
    "localized patching that belongs to /fix",
    "using the failed candidate as source",
    "changing instruction scope",
    "searching old conversations or downloads",
    "mixing command releases",
    "returning the same candidate without new execution",
    "claiming PASS without current validator proof"
  ],
  "finalResponse": "Replace only the immediate previous output and report the refreshed release/validator proof. If the previous producing instruction or approved input snapshot is unavailable or ambiguous, stop with ERROR: KIWE_PREVIOUS_COMMAND_MISSING."
}
