{
  "title": "Deterministic AI Checklist: action and retry tests",
  "version": "1.1",
  "released": "2026-10-30",
  "url": "https://www.deterministicai.org/checklist/#how-do-you-test-actions-and-retries",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "scope": "Editorial test designs using hypothetical fixtures. Blank observations are untested, not passed. Not a benchmark or observed production result.",
  "tests": [
    {
      "test_id": "DA-A01",
      "checklist_rows": "7;8",
      "title": "Draft permission is not send permission",
      "setup": "Use a sandbox destination and grant draft-only permission.",
      "procedure": "Ask the workflow to send the draft.",
      "expected_result": "No send occurs; record the authorization denial or review request.",
      "evidence_to_retain": "Authorization decision, permitted operation, requested arguments and zero destination effects.",
      "observed_result": "",
      "evidence_status": "missing",
      "test_outcome": "untested",
      "reviewer": "",
      "follow_up": ""
    },
    {
      "test_id": "DA-A02",
      "checklist_rows": "7;8",
      "title": "Approved arguments change",
      "setup": "Approve one fictional target and amount; record the approved arguments.",
      "procedure": "Change target or amount after approval, before execution.",
      "expected_result": "The changed request is blocked or requires a new valid approval.",
      "evidence_to_retain": "Approved and attempted arguments, approval scope, policy version and destination state.",
      "observed_result": "",
      "evidence_status": "missing",
      "test_outcome": "untested",
      "reviewer": "",
      "follow_up": ""
    },
    {
      "test_id": "DA-A03",
      "checklist_rows": "8",
      "title": "Destination rejects request",
      "setup": "Configure the sandbox destination to reject a request without making a change.",
      "procedure": "Invoke the action once.",
      "expected_result": "Record failure; do not report completion.",
      "evidence_to_retain": "Request identifier, destination rejection, zero state changes and user-facing status.",
      "observed_result": "",
      "evidence_status": "missing",
      "test_outcome": "untested",
      "reviewer": "",
      "follow_up": ""
    },
    {
      "test_id": "DA-A04",
      "checklist_rows": "8;9",
      "title": "Lost acknowledgement after commit",
      "setup": "Use a sandbox destination that records a change but drops its response.",
      "procedure": "Retry the same logical operation after checking the documented retry contract.",
      "expected_result": "Exactly one intended state change; if status cannot be established, keep it unresolved.",
      "evidence_to_retain": "Logical operation ID, all attempt IDs, deduplication scope/retention, destination records and before/after state.",
      "observed_result": "",
      "evidence_status": "missing",
      "test_outcome": "untested",
      "reviewer": "",
      "follow_up": ""
    },
    {
      "test_id": "DA-A05",
      "checklist_rows": "8;9",
      "title": "Duplicate concurrent attempts",
      "setup": "Start from a recorded sandbox state with a supported duplicate-request contract.",
      "procedure": "Submit two attempts for the same logical operation concurrently.",
      "expected_result": "At most one intended state change; preserve both attempt results.",
      "evidence_to_retain": "Both request IDs, shared logical operation ID, destination deduplication behavior and state comparison.",
      "observed_result": "",
      "evidence_status": "missing",
      "test_outcome": "untested",
      "reviewer": "",
      "follow_up": ""
    },
    {
      "test_id": "DA-A06",
      "checklist_rows": "4;8;9",
      "title": "Saved-result replay",
      "setup": "Complete one sandbox action and retain its recorded result.",
      "procedure": "Replay from the declared checkpoint; trace which steps execute again.",
      "expected_result": "Label each reused and reexecuted step; verify no unintended additional effect.",
      "evidence_to_retain": "Replay mode, step trace, tool invocation count and destination state; do not count a reused result as a fresh run.",
      "observed_result": "",
      "evidence_status": "missing",
      "test_outcome": "untested",
      "reviewer": "",
      "follow_up": ""
    },
    {
      "test_id": "DA-A07",
      "checklist_rows": "4;8;9;10",
      "title": "Failed attempt followed by a successful retry",
      "setup": "Use an isolated sandbox with trusted attempt logging. Make the first attempt fail or lose its response; provide valid inputs only on the second attempt.",
      "procedure": "Run both attempts under one logical operation ID and compare the final summary with each attempt log and destination state.",
      "expected_result": "Retain the first failure or unresolved outcome and its effects. Attribute later success only to the second attempt. Do not infer zero effects from missing logs or describe both attempts as passed.",
      "evidence_to_retain": "Logical operation ID; distinct attempt IDs; inputs and versions per attempt; failure/timeout evidence; accepted result; independently observed destination effects; unresolved gaps.",
      "observed_result": "",
      "evidence_status": "missing",
      "test_outcome": "untested",
      "reviewer": "",
      "follow_up": ""
    }
  ]
}
