{
  "version": 1,
  "kind": "tend-claims",
  "engine": "tend-sqlite-claim-v1",
  "runId": "c57abbbd-a9c2-45c8-8bcf-c87de51b96b6",
  "createdAt": "2026-10-30T14:30:58.074Z",
  "input": {
    "repository": "tang-vu/tend",
    "commit": "fe6975ced2c2004e3bb8f91e97c07db878596a06",
    "path": "packages/db/src/store.ts",
    "blobSha": "6ffed74e343f919d8fe249a3d2c182d8b7870dbd",
    "sourceUrl": "https://github.com/tang-vu/tend/blob/fe6975ced2c2004e3bb8f91e97c07db878596a06/packages/db/src/store.ts#L1017",
    "originalSourceHash": "2ace48973139ac1b9392d6cbf2364591c56100a208b099f08b204bbedd0e5538"
  },
  "startingSource": "  claimNextDue(now = new Date()): FollowUp | null {\n    const timestamp = now.toISOString();\n    const claim = this.database.transaction(() => {\n      const row = this.database\n        .prepare(\n          `SELECT * FROM follow_ups\n           WHERE status IN ('scheduled', 'retrying') AND due_at <= ?\n           ORDER BY due_at ASC LIMIT 1`,\n        )\n        .get(timestamp) as Row | undefined;\n      if (!row) return null;\n      const result = this.database\n        .prepare(\n          `UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND status IN ('scheduled', 'retrying')`,\n        )\n        .run(timestamp, row.id);\n      if (result.changes !== 1) return null;\n      const claimed = this.database\n        .prepare(\"SELECT * FROM follow_ups WHERE id = ?\")\n        .get(row.id) as Row;\n      return followUpFromRow(claimed);\n    });\n    return claim();\n  }",
  "startingSourceHash": "2ace48973139ac1b9392d6cbf2364591c56100a208b099f08b204bbedd0e5538",
  "editedInput": false,
  "model": "muse-spark-1.3",
  "baseline": {
    "engine": "tend-sqlite-claim-v1",
    "caseId": "tend-claims",
    "condition": "normal",
    "title": "Finish without interruption",
    "sourceHash": "2ace48973139ac1b9392d6cbf2364591c56100a208b099f08b204bbedd0e5538",
    "status": "completed",
    "error": null,
    "initial": [
      {
        "id": "followup-blue",
        "incident_id": "incident-fixture",
        "due_at": "2026-10-30T11:59:00.000Z",
        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
        "status": "scheduled",
        "attempt_count": 0,
        "last_error": null,
        "idempotency_key": "key-blue",
        "claimed_at": null,
        "created_at": "2026-10-30T11:00:00.000Z",
        "completed_at": null
      }
    ],
    "state": [
      {
        "id": "followup-blue",
        "incident_id": "incident-fixture",
        "due_at": "2026-10-30T11:59:00.000Z",
        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
        "status": "completed",
        "attempt_count": 1,
        "last_error": null,
        "idempotency_key": "key-blue",
        "claimed_at": "2026-10-30T12:00:00.000Z",
        "created_at": "2026-10-30T11:00:00.000Z",
        "completed_at": "2026-10-30T12:00:01.000Z"
      }
    ],
    "trace": [
      {
        "step": 1,
        "kind": "initial",
        "at": "2026-10-30T12:00:00.000Z",
        "rows": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "scheduled",
            "attempt_count": 0,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": null,
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ]
      },
      {
        "step": 2,
        "kind": "process-start",
        "actor": "A",
        "pid": 38368,
        "at": "2026-10-30T12:00:00.000Z",
        "rows": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "scheduled",
            "attempt_count": 0,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": null,
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ]
      },
      {
        "step": 3,
        "kind": "transaction",
        "action": "begin",
        "rows": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "scheduled",
            "attempt_count": 0,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": null,
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "actor": "A",
        "pid": 38368,
        "at": "2026-10-30T12:00:00.000Z"
      },
      {
        "step": 4,
        "kind": "sql",
        "method": "get",
        "sql": "SELECT * FROM follow_ups\n           WHERE status IN ('scheduled', 'retrying') AND due_at <= ?\n           ORDER BY due_at ASC LIMIT 1",
        "params": [
          "2026-10-30T12:00:00.000Z"
        ],
        "before": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "scheduled",
            "attempt_count": 0,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": null,
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "after": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "scheduled",
            "attempt_count": 0,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": null,
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "result": {
          "id": "followup-blue",
          "incident_id": "incident-fixture",
          "due_at": "2026-10-30T11:59:00.000Z",
          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
          "status": "scheduled",
          "attempt_count": 0,
          "last_error": null,
          "idempotency_key": "key-blue",
          "claimed_at": null,
          "created_at": "2026-10-30T11:00:00.000Z",
          "completed_at": null
        },
        "actor": "A",
        "pid": 38368,
        "at": "2026-10-30T12:00:00.000Z"
      },
      {
        "step": 5,
        "kind": "sql",
        "method": "run",
        "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND status IN ('scheduled', 'retrying')",
        "params": [
          "2026-10-30T12:00:00.000Z",
          "followup-blue"
        ],
        "before": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "scheduled",
            "attempt_count": 0,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": null,
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "after": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "claimed",
            "attempt_count": 1,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": "2026-10-30T12:00:00.000Z",
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "result": {
          "changes": 1
        },
        "actor": "A",
        "pid": 38368,
        "at": "2026-10-30T12:00:00.000Z"
      },
      {
        "step": 6,
        "kind": "sql",
        "method": "get",
        "sql": "SELECT * FROM follow_ups WHERE id = ?",
        "params": [
          "followup-blue"
        ],
        "before": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "claimed",
            "attempt_count": 1,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": "2026-10-30T12:00:00.000Z",
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "after": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "claimed",
            "attempt_count": 1,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": "2026-10-30T12:00:00.000Z",
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "result": {
          "id": "followup-blue",
          "incident_id": "incident-fixture",
          "due_at": "2026-10-30T11:59:00.000Z",
          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
          "status": "claimed",
          "attempt_count": 1,
          "last_error": null,
          "idempotency_key": "key-blue",
          "claimed_at": "2026-10-30T12:00:00.000Z",
          "created_at": "2026-10-30T11:00:00.000Z",
          "completed_at": null
        },
        "actor": "A",
        "pid": 38368,
        "at": "2026-10-30T12:00:00.000Z"
      },
      {
        "step": 7,
        "kind": "transaction",
        "action": "commit",
        "rows": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "claimed",
            "attempt_count": 1,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": "2026-10-30T12:00:00.000Z",
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "actor": "A",
        "pid": 38368,
        "at": "2026-10-30T12:00:00.000Z"
      },
      {
        "step": 8,
        "kind": "claim-result",
        "actor": "A",
        "pid": 38368,
        "at": "2026-10-30T12:00:00.000Z",
        "claim": {
          "id": "followup-blue",
          "incidentId": "incident-fixture",
          "dueAt": "2026-10-30T11:59:00.000Z",
          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
          "status": "claimed",
          "attemptCount": 1,
          "lastError": null,
          "idempotencyKey": "key-blue",
          "createdAt": "2026-10-30T11:00:00.000Z",
          "completedAt": null
        },
        "rows": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "claimed",
            "attempt_count": 1,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": "2026-10-30T12:00:00.000Z",
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ]
      },
      {
        "step": 9,
        "kind": "completion",
        "actor": "A",
        "pid": 38368,
        "at": "2026-10-30T12:00:01.000Z",
        "jobId": "followup-blue",
        "generation": 1,
        "accepted": true,
        "before": {
          "id": "followup-blue",
          "incident_id": "incident-fixture",
          "due_at": "2026-10-30T11:59:00.000Z",
          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
          "status": "claimed",
          "attempt_count": 1,
          "last_error": null,
          "idempotency_key": "key-blue",
          "claimed_at": "2026-10-30T12:00:00.000Z",
          "created_at": "2026-10-30T11:00:00.000Z",
          "completed_at": null
        },
        "after": {
          "id": "followup-blue",
          "incident_id": "incident-fixture",
          "due_at": "2026-10-30T11:59:00.000Z",
          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
          "status": "completed",
          "attempt_count": 1,
          "last_error": null,
          "idempotency_key": "key-blue",
          "claimed_at": "2026-10-30T12:00:00.000Z",
          "created_at": "2026-10-30T11:00:00.000Z",
          "completed_at": "2026-10-30T12:00:01.000Z"
        }
      },
      {
        "step": 10,
        "kind": "final",
        "at": "2026-10-30T12:00:01.000Z",
        "rows": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "completed",
            "attempt_count": 1,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": "2026-10-30T12:00:00.000Z",
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": "2026-10-30T12:00:01.000Z"
          }
        ],
        "receipts": [
          {
            "jobId": "followup-blue",
            "generation": 1,
            "actor": "A",
            "kind": "local-fixture-completion"
          }
        ]
      }
    ],
    "receipts": [
      {
        "jobId": "followup-blue",
        "generation": 1,
        "actor": "A",
        "kind": "local-fixture-completion"
      }
    ],
    "verdict": {
      "passed": true,
      "checks": [
        {
          "name": "A: claim eligibility",
          "passed": true,
          "actual": "followup-blue",
          "expected": [
            "followup-blue"
          ]
        },
        {
          "name": "A: returned job is eligible",
          "passed": true,
          "actual": "followup-blue",
          "expected": [
            "followup-blue"
          ]
        },
        {
          "name": "A: durable generation increments once",
          "passed": true,
          "actual": {
            "stored": 1,
            "returned": 1
          },
          "expected": 1
        },
        {
          "name": "A: durable claim uses the supplied clock",
          "passed": true,
          "actual": {
            "status": "claimed",
            "claimedAt": "2026-10-30T12:00:00.000Z"
          },
          "expected": {
            "status": "claimed",
            "claimedAt": "2026-10-30T12:00:00.000Z"
          }
        },
        {
          "name": "A: preserve payload, deadlines and other jobs",
          "passed": true,
          "actual": [
            {
              "id": "followup-blue",
              "incident_id": "incident-fixture",
              "due_at": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "claimed",
              "attempt_count": 1,
              "last_error": null,
              "idempotency_key": "key-blue",
              "claimed_at": "2026-10-30T12:00:00.000Z",
              "created_at": "2026-10-30T11:00:00.000Z",
              "completed_at": null
            }
          ],
          "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
        },
        {
          "name": "A: current generation completion",
          "passed": true,
          "actual": true,
          "expected": true
        },
        {
          "name": "Exactly the expected local fixture completions",
          "passed": true,
          "actual": 1,
          "expected": 1
        },
        {
          "name": "Ineligible jobs retain their persisted state",
          "passed": true,
          "actual": [],
          "expected": []
        }
      ],
      "violations": []
    },
    "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
  },
  "probes": [
    {
      "hypothesis": "Input only selects scheduled/retrying, so after hard exit an expired claimed row stays stuck and restart claims nothing, losing the job.",
      "run": {
        "engine": "tend-sqlite-claim-v1",
        "caseId": "tend-claims",
        "condition": "crash-restart",
        "title": "Crash after the committed claim",
        "sourceHash": "2ace48973139ac1b9392d6cbf2364591c56100a208b099f08b204bbedd0e5538",
        "status": "completed",
        "error": null,
        "initial": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "scheduled",
            "attempt_count": 0,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": null,
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "state": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "claimed",
            "attempt_count": 1,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": "2026-10-30T12:00:00.000Z",
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "trace": [
          {
            "step": 1,
            "kind": "initial",
            "at": "2026-10-30T12:00:00.000Z",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ]
          },
          {
            "step": 2,
            "kind": "process-start",
            "actor": "A",
            "pid": 47176,
            "at": "2026-10-30T12:00:00.000Z",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ]
          },
          {
            "step": 3,
            "kind": "transaction",
            "action": "begin",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "actor": "A",
            "pid": 47176,
            "at": "2026-10-30T12:00:00.000Z"
          },
          {
            "step": 4,
            "kind": "sql",
            "method": "get",
            "sql": "SELECT * FROM follow_ups\n           WHERE status IN ('scheduled', 'retrying') AND due_at <= ?\n           ORDER BY due_at ASC LIMIT 1",
            "params": [
              "2026-10-30T12:00:00.000Z"
            ],
            "before": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "after": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "result": {
              "id": "followup-blue",
              "incident_id": "incident-fixture",
              "due_at": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "scheduled",
              "attempt_count": 0,
              "last_error": null,
              "idempotency_key": "key-blue",
              "claimed_at": null,
              "created_at": "2026-10-30T11:00:00.000Z",
              "completed_at": null
            },
            "actor": "A",
            "pid": 47176,
            "at": "2026-10-30T12:00:00.000Z"
          },
          {
            "step": 5,
            "kind": "sql",
            "method": "run",
            "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND status IN ('scheduled', 'retrying')",
            "params": [
              "2026-10-30T12:00:00.000Z",
              "followup-blue"
            ],
            "before": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "after": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "result": {
              "changes": 1
            },
            "actor": "A",
            "pid": 47176,
            "at": "2026-10-30T12:00:00.000Z"
          },
          {
            "step": 6,
            "kind": "sql",
            "method": "get",
            "sql": "SELECT * FROM follow_ups WHERE id = ?",
            "params": [
              "followup-blue"
            ],
            "before": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "after": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "result": {
              "id": "followup-blue",
              "incident_id": "incident-fixture",
              "due_at": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "claimed",
              "attempt_count": 1,
              "last_error": null,
              "idempotency_key": "key-blue",
              "claimed_at": "2026-10-30T12:00:00.000Z",
              "created_at": "2026-10-30T11:00:00.000Z",
              "completed_at": null
            },
            "actor": "A",
            "pid": 47176,
            "at": "2026-10-30T12:00:00.000Z"
          },
          {
            "step": 7,
            "kind": "transaction",
            "action": "commit",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "actor": "A",
            "pid": 47176,
            "at": "2026-10-30T12:00:00.000Z"
          },
          {
            "step": 8,
            "kind": "claim-result",
            "actor": "A",
            "pid": 47176,
            "at": "2026-10-30T12:00:00.000Z",
            "claim": {
              "id": "followup-blue",
              "incidentId": "incident-fixture",
              "dueAt": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "claimed",
              "attemptCount": 1,
              "lastError": null,
              "idempotencyKey": "key-blue",
              "createdAt": "2026-10-30T11:00:00.000Z",
              "completedAt": null
            },
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ]
          },
          {
            "step": 9,
            "kind": "process-killed",
            "actor": "A",
            "at": "2026-10-30T12:00:01.000Z",
            "pid": 47176,
            "code": null,
            "signal": "SIGTERM",
            "reason": "Stopped after the committed claim and before the fixture processor",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ]
          },
          {
            "step": 10,
            "kind": "process-start",
            "actor": "B",
            "pid": 47220,
            "at": "2026-10-30T12:01:30.000Z",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ]
          },
          {
            "step": 11,
            "kind": "transaction",
            "action": "begin",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "actor": "B",
            "pid": 47220,
            "at": "2026-10-30T12:01:30.000Z"
          },
          {
            "step": 12,
            "kind": "sql",
            "method": "get",
            "sql": "SELECT * FROM follow_ups\n           WHERE status IN ('scheduled', 'retrying') AND due_at <= ?\n           ORDER BY due_at ASC LIMIT 1",
            "params": [
              "2026-10-30T12:01:30.000Z"
            ],
            "before": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "after": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "result": null,
            "actor": "B",
            "pid": 47220,
            "at": "2026-10-30T12:01:30.000Z"
          },
          {
            "step": 13,
            "kind": "transaction",
            "action": "commit",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "actor": "B",
            "pid": 47220,
            "at": "2026-10-30T12:01:30.000Z"
          },
          {
            "step": 14,
            "kind": "claim-result",
            "actor": "B",
            "pid": 47220,
            "at": "2026-10-30T12:01:30.000Z",
            "claim": null,
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ]
          },
          {
            "step": 15,
            "kind": "final",
            "at": "2026-10-30T12:01:30.000Z",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "receipts": []
          }
        ],
        "receipts": [],
        "verdict": {
          "passed": false,
          "checks": [
            {
              "name": "A: claim eligibility",
              "passed": true,
              "actual": "followup-blue",
              "expected": [
                "followup-blue"
              ]
            },
            {
              "name": "A: returned job is eligible",
              "passed": true,
              "actual": "followup-blue",
              "expected": [
                "followup-blue"
              ]
            },
            {
              "name": "A: durable generation increments once",
              "passed": true,
              "actual": {
                "stored": 1,
                "returned": 1
              },
              "expected": 1
            },
            {
              "name": "A: durable claim uses the supplied clock",
              "passed": true,
              "actual": {
                "status": "claimed",
                "claimedAt": "2026-10-30T12:00:00.000Z"
              },
              "expected": {
                "status": "claimed",
                "claimedAt": "2026-10-30T12:00:00.000Z"
              }
            },
            {
              "name": "A: preserve payload, deadlines and other jobs",
              "passed": true,
              "actual": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
            },
            {
              "name": "Killed worker exited before restart",
              "passed": true,
              "actual": 47176,
              "expected": "Observed process exit"
            },
            {
              "name": "B: claim eligibility",
              "passed": false,
              "actual": null,
              "expected": [
                "followup-blue"
              ]
            },
            {
              "name": "B: declined claim preserves all rows",
              "passed": true,
              "actual": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "expected": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ]
            },
            {
              "name": "B: expected local completion",
              "passed": false,
              "actual": false,
              "expected": true
            },
            {
              "name": "Exactly the expected local fixture completions",
              "passed": false,
              "actual": 0,
              "expected": 1
            },
            {
              "name": "Ineligible jobs retain their persisted state",
              "passed": true,
              "actual": [],
              "expected": []
            }
          ],
          "violations": [
            "B: claim eligibility",
            "B: expected local completion",
            "Exactly the expected local fixture completions"
          ]
        },
        "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
      }
    }
  ],
  "patches": [
    {
      "source": "claimNextDue(now = new Date()): FollowUp | null {\n    const timestamp = now.toISOString();\n    const expiry = new Date(now.getTime() - 60000).toISOString();\n    const claim = this.database.transaction(() => {\n      const row = this.database\n        .prepare(\n          `SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1`\n        )\n        .get(timestamp, timestamp, expiry) as Row | undefined;\n      if (!row) return null;\n      const result = this.database\n        .prepare(\n          `UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))`\n        )\n        .run(timestamp, row.id, timestamp, timestamp, expiry);\n      if (result.changes !== 1) return null;\n      const claimed = this.database\n        .prepare(\"SELECT * FROM follow_ups WHERE id = ?\")\n        .get(row.id) as Row;\n      return followUpFromRow(claimed);\n    });\n    return claim();\n  }",
      "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
      "explanation": "Recover expired claimed leases (due and claimed_at <= now-60s) while protecting fresh leases, future/completed rows; atomic SELECT+guarded UPDATE preserves generation exclusivity.",
      "verification": {
        "engine": "tend-sqlite-claim-v1",
        "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
        "passed": true,
        "tested": 10,
        "failures": 0,
        "exhaustive": false,
        "cases": [
          {
            "id": "normal",
            "title": "Finish without interruption",
            "passed": true,
            "run": {
              "engine": "tend-sqlite-claim-v1",
              "caseId": "tend-claims",
              "condition": "normal",
              "title": "Finish without interruption",
              "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
              "status": "completed",
              "error": null,
              "initial": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "state": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:00:01.000Z"
                }
              ],
              "trace": [
                {
                  "step": 1,
                  "kind": "initial",
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 2,
                  "kind": "process-start",
                  "actor": "A",
                  "pid": 43472,
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 3,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 43472,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 4,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 43472,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 5,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "followup-blue",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "A",
                  "pid": 43472,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 6,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 43472,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 7,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 43472,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 8,
                  "kind": "claim-result",
                  "actor": "A",
                  "pid": 43472,
                  "at": "2026-10-30T12:00:00.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 1,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 9,
                  "kind": "completion",
                  "actor": "A",
                  "pid": 43472,
                  "at": "2026-10-30T12:00:01.000Z",
                  "jobId": "followup-blue",
                  "generation": 1,
                  "accepted": true,
                  "before": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "after": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:00:01.000Z"
                  }
                },
                {
                  "step": 10,
                  "kind": "final",
                  "at": "2026-10-30T12:00:01.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:00:01.000Z"
                    }
                  ],
                  "receipts": [
                    {
                      "jobId": "followup-blue",
                      "generation": 1,
                      "actor": "A",
                      "kind": "local-fixture-completion"
                    }
                  ]
                }
              ],
              "receipts": [
                {
                  "jobId": "followup-blue",
                  "generation": 1,
                  "actor": "A",
                  "kind": "local-fixture-completion"
                }
              ],
              "verdict": {
                "passed": true,
                "checks": [
                  {
                    "name": "A: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 1,
                      "returned": 1
                    },
                    "expected": 1
                  },
                  {
                    "name": "A: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    }
                  },
                  {
                    "name": "A: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "A: current generation completion",
                    "passed": true,
                    "actual": true,
                    "expected": true
                  },
                  {
                    "name": "Exactly the expected local fixture completions",
                    "passed": true,
                    "actual": 1,
                    "expected": 1
                  },
                  {
                    "name": "Ineligible jobs retain their persisted state",
                    "passed": true,
                    "actual": [],
                    "expected": []
                  }
                ],
                "violations": []
              },
              "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
            }
          },
          {
            "id": "crash-restart",
            "title": "Crash after the committed claim",
            "passed": true,
            "run": {
              "engine": "tend-sqlite-claim-v1",
              "caseId": "tend-claims",
              "condition": "crash-restart",
              "title": "Crash after the committed claim",
              "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
              "status": "completed",
              "error": null,
              "initial": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "state": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:01:31.000Z"
                }
              ],
              "trace": [
                {
                  "step": 1,
                  "kind": "initial",
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 2,
                  "kind": "process-start",
                  "actor": "A",
                  "pid": 39504,
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 3,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 39504,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 4,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 39504,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 5,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "followup-blue",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "A",
                  "pid": 39504,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 6,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 39504,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 7,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 39504,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 8,
                  "kind": "claim-result",
                  "actor": "A",
                  "pid": 39504,
                  "at": "2026-10-30T12:00:00.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 1,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 9,
                  "kind": "process-killed",
                  "actor": "A",
                  "at": "2026-10-30T12:00:01.000Z",
                  "pid": 39504,
                  "code": null,
                  "signal": "SIGTERM",
                  "reason": "Stopped after the committed claim and before the fixture processor",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 10,
                  "kind": "process-start",
                  "actor": "B",
                  "pid": 49404,
                  "at": "2026-10-30T12:01:30.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 11,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 49404,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 12,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:00:30.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "B",
                  "pid": 49404,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 13,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:01:30.000Z",
                    "followup-blue",
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:00:30.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "B",
                  "pid": 49404,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 14,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "B",
                  "pid": 49404,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 15,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 49404,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 16,
                  "kind": "claim-result",
                  "actor": "B",
                  "pid": 49404,
                  "at": "2026-10-30T12:01:30.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 2,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 17,
                  "kind": "completion",
                  "actor": "B",
                  "pid": 49404,
                  "at": "2026-10-30T12:01:31.000Z",
                  "jobId": "followup-blue",
                  "generation": 2,
                  "accepted": true,
                  "before": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "after": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:31.000Z"
                  }
                },
                {
                  "step": 18,
                  "kind": "final",
                  "at": "2026-10-30T12:01:31.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:01:31.000Z"
                    }
                  ],
                  "receipts": [
                    {
                      "jobId": "followup-blue",
                      "generation": 2,
                      "actor": "B",
                      "kind": "local-fixture-completion"
                    }
                  ]
                }
              ],
              "receipts": [
                {
                  "jobId": "followup-blue",
                  "generation": 2,
                  "actor": "B",
                  "kind": "local-fixture-completion"
                }
              ],
              "verdict": {
                "passed": true,
                "checks": [
                  {
                    "name": "A: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 1,
                      "returned": 1
                    },
                    "expected": 1
                  },
                  {
                    "name": "A: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    }
                  },
                  {
                    "name": "A: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "Killed worker exited before restart",
                    "passed": true,
                    "actual": 39504,
                    "expected": "Observed process exit"
                  },
                  {
                    "name": "B: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "B: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "B: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 2,
                      "returned": 2
                    },
                    "expected": 2
                  },
                  {
                    "name": "B: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:01:30.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:01:30.000Z"
                    }
                  },
                  {
                    "name": "B: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "B: current generation completion",
                    "passed": true,
                    "actual": true,
                    "expected": true
                  },
                  {
                    "name": "Exactly the expected local fixture completions",
                    "passed": true,
                    "actual": 1,
                    "expected": 1
                  },
                  {
                    "name": "Ineligible jobs retain their persisted state",
                    "passed": true,
                    "actual": [],
                    "expected": []
                  }
                ],
                "violations": []
              },
              "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
            }
          },
          {
            "id": "live-owner",
            "title": "Keep a live owner's job",
            "passed": true,
            "run": {
              "engine": "tend-sqlite-claim-v1",
              "caseId": "tend-claims",
              "condition": "live-owner",
              "title": "Keep a live owner's job",
              "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
              "status": "completed",
              "error": null,
              "initial": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "state": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:00:31.000Z"
                }
              ],
              "trace": [
                {
                  "step": 1,
                  "kind": "initial",
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 2,
                  "kind": "process-start",
                  "actor": "A",
                  "pid": 42080,
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 3,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 42080,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 4,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 42080,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 5,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "followup-blue",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "A",
                  "pid": 42080,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 6,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 42080,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 7,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 42080,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 8,
                  "kind": "claim-result",
                  "actor": "A",
                  "pid": 42080,
                  "at": "2026-10-30T12:00:00.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 1,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 9,
                  "kind": "process-start",
                  "actor": "B",
                  "pid": 42056,
                  "at": "2026-10-30T12:00:30.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 10,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 42056,
                  "at": "2026-10-30T12:00:30.000Z"
                },
                {
                  "step": 11,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:30.000Z",
                    "2026-10-30T12:00:30.000Z",
                    "2026-10-30T11:59:30.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": null,
                  "actor": "B",
                  "pid": 42056,
                  "at": "2026-10-30T12:00:30.000Z"
                },
                {
                  "step": 12,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 42056,
                  "at": "2026-10-30T12:00:30.000Z"
                },
                {
                  "step": 13,
                  "kind": "claim-result",
                  "actor": "B",
                  "pid": 42056,
                  "at": "2026-10-30T12:00:30.000Z",
                  "claim": null,
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 14,
                  "kind": "completion",
                  "actor": "A",
                  "pid": 42080,
                  "at": "2026-10-30T12:00:31.000Z",
                  "jobId": "followup-blue",
                  "generation": 1,
                  "accepted": true,
                  "before": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "after": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:00:31.000Z"
                  }
                },
                {
                  "step": 15,
                  "kind": "final",
                  "at": "2026-10-30T12:00:31.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:00:31.000Z"
                    }
                  ],
                  "receipts": [
                    {
                      "jobId": "followup-blue",
                      "generation": 1,
                      "actor": "A",
                      "kind": "local-fixture-completion"
                    }
                  ]
                }
              ],
              "receipts": [
                {
                  "jobId": "followup-blue",
                  "generation": 1,
                  "actor": "A",
                  "kind": "local-fixture-completion"
                }
              ],
              "verdict": {
                "passed": true,
                "checks": [
                  {
                    "name": "A: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 1,
                      "returned": 1
                    },
                    "expected": 1
                  },
                  {
                    "name": "A: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    }
                  },
                  {
                    "name": "A: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "B: claim eligibility",
                    "passed": true,
                    "actual": null,
                    "expected": []
                  },
                  {
                    "name": "B: declined claim preserves all rows",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "name": "A: current generation completion",
                    "passed": true,
                    "actual": true,
                    "expected": true
                  },
                  {
                    "name": "Exactly the expected local fixture completions",
                    "passed": true,
                    "actual": 1,
                    "expected": 1
                  },
                  {
                    "name": "Ineligible jobs retain their persisted state",
                    "passed": true,
                    "actual": [],
                    "expected": []
                  }
                ],
                "violations": []
              },
              "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
            }
          },
          {
            "id": "expired-owner",
            "title": "Reject the previous generation",
            "passed": true,
            "run": {
              "engine": "tend-sqlite-claim-v1",
              "caseId": "tend-claims",
              "condition": "expired-owner",
              "title": "Reject the previous generation",
              "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
              "status": "completed",
              "error": null,
              "initial": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "state": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:01:31.000Z"
                }
              ],
              "trace": [
                {
                  "step": 1,
                  "kind": "initial",
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 2,
                  "kind": "process-start",
                  "actor": "A",
                  "pid": 46628,
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 3,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 46628,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 4,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 46628,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 5,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "followup-blue",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "A",
                  "pid": 46628,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 6,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 46628,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 7,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 46628,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 8,
                  "kind": "claim-result",
                  "actor": "A",
                  "pid": 46628,
                  "at": "2026-10-30T12:00:00.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 1,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 9,
                  "kind": "process-start",
                  "actor": "B",
                  "pid": 41272,
                  "at": "2026-10-30T12:01:30.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 10,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 41272,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 11,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:00:30.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "B",
                  "pid": 41272,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 12,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:01:30.000Z",
                    "followup-blue",
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:00:30.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "B",
                  "pid": 41272,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 13,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "B",
                  "pid": 41272,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 14,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 41272,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 15,
                  "kind": "claim-result",
                  "actor": "B",
                  "pid": 41272,
                  "at": "2026-10-30T12:01:30.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 2,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 16,
                  "kind": "completion",
                  "actor": "A",
                  "pid": 46628,
                  "at": "2026-10-30T12:01:30.001Z",
                  "jobId": "followup-blue",
                  "generation": 1,
                  "accepted": false,
                  "before": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "after": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                },
                {
                  "step": 17,
                  "kind": "completion",
                  "actor": "B",
                  "pid": 41272,
                  "at": "2026-10-30T12:01:31.000Z",
                  "jobId": "followup-blue",
                  "generation": 2,
                  "accepted": true,
                  "before": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "after": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:31.000Z"
                  }
                },
                {
                  "step": 18,
                  "kind": "final",
                  "at": "2026-10-30T12:01:31.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:01:31.000Z"
                    }
                  ],
                  "receipts": [
                    {
                      "jobId": "followup-blue",
                      "generation": 2,
                      "actor": "B",
                      "kind": "local-fixture-completion"
                    }
                  ]
                }
              ],
              "receipts": [
                {
                  "jobId": "followup-blue",
                  "generation": 2,
                  "actor": "B",
                  "kind": "local-fixture-completion"
                }
              ],
              "verdict": {
                "passed": true,
                "checks": [
                  {
                    "name": "A: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 1,
                      "returned": 1
                    },
                    "expected": 1
                  },
                  {
                    "name": "A: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    }
                  },
                  {
                    "name": "A: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "B: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "B: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "B: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 2,
                      "returned": 2
                    },
                    "expected": 2
                  },
                  {
                    "name": "B: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:01:30.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:01:30.000Z"
                    }
                  },
                  {
                    "name": "B: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "A: stale generation completion",
                    "passed": true,
                    "actual": false,
                    "expected": false
                  },
                  {
                    "name": "B: current generation completion",
                    "passed": true,
                    "actual": true,
                    "expected": true
                  },
                  {
                    "name": "Exactly the expected local fixture completions",
                    "passed": true,
                    "actual": 1,
                    "expected": 1
                  },
                  {
                    "name": "Ineligible jobs retain their persisted state",
                    "passed": true,
                    "actual": [],
                    "expected": []
                  }
                ],
                "violations": []
              },
              "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
            }
          },
          {
            "id": "future",
            "title": "Leave a future job alone",
            "passed": true,
            "run": {
              "engine": "tend-sqlite-claim-v1",
              "caseId": "tend-claims",
              "condition": "future",
              "title": "Leave a future job alone",
              "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
              "status": "completed",
              "error": null,
              "initial": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T13:00:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "state": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T13:00:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "trace": [
                {
                  "step": 1,
                  "kind": "initial",
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 2,
                  "kind": "process-start",
                  "actor": "A",
                  "pid": 43112,
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 3,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 43112,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 4,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": null,
                  "actor": "A",
                  "pid": 43112,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 5,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 43112,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 6,
                  "kind": "claim-result",
                  "actor": "A",
                  "pid": 43112,
                  "at": "2026-10-30T12:00:00.000Z",
                  "claim": null,
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 7,
                  "kind": "process-start",
                  "actor": "B",
                  "pid": 42484,
                  "at": "2026-10-30T12:00:01.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 8,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 42484,
                  "at": "2026-10-30T12:00:01.000Z"
                },
                {
                  "step": 9,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:01.000Z",
                    "2026-10-30T12:00:01.000Z",
                    "2026-10-30T11:59:01.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": null,
                  "actor": "B",
                  "pid": 42484,
                  "at": "2026-10-30T12:00:01.000Z"
                },
                {
                  "step": 10,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 42484,
                  "at": "2026-10-30T12:00:01.000Z"
                },
                {
                  "step": 11,
                  "kind": "claim-result",
                  "actor": "B",
                  "pid": 42484,
                  "at": "2026-10-30T12:00:01.000Z",
                  "claim": null,
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 12,
                  "kind": "final",
                  "at": "2026-10-30T12:00:01.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "receipts": []
                }
              ],
              "receipts": [],
              "verdict": {
                "passed": true,
                "checks": [
                  {
                    "name": "A: claim eligibility",
                    "passed": true,
                    "actual": null,
                    "expected": []
                  },
                  {
                    "name": "A: declined claim preserves all rows",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "name": "B: claim eligibility",
                    "passed": true,
                    "actual": null,
                    "expected": []
                  },
                  {
                    "name": "B: declined claim preserves all rows",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "name": "Exactly the expected local fixture completions",
                    "passed": true,
                    "actual": 0,
                    "expected": 0
                  },
                  {
                    "name": "Ineligible jobs retain their persisted state",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  }
                ],
                "violations": []
              },
              "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
            }
          },
          {
            "id": "completed",
            "title": "Do not replay finished work",
            "passed": true,
            "run": {
              "engine": "tend-sqlite-claim-v1",
              "caseId": "tend-claims",
              "condition": "completed",
              "title": "Do not replay finished work",
              "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
              "status": "completed",
              "error": null,
              "initial": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T11:59:40.000Z"
                }
              ],
              "state": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T11:59:40.000Z"
                }
              ],
              "trace": [
                {
                  "step": 1,
                  "kind": "initial",
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ]
                },
                {
                  "step": 2,
                  "kind": "process-start",
                  "actor": "A",
                  "pid": 42252,
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ]
                },
                {
                  "step": 3,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "actor": "A",
                  "pid": 42252,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 4,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "result": null,
                  "actor": "A",
                  "pid": 42252,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 5,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "actor": "A",
                  "pid": 42252,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 6,
                  "kind": "claim-result",
                  "actor": "A",
                  "pid": 42252,
                  "at": "2026-10-30T12:00:00.000Z",
                  "claim": null,
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ]
                },
                {
                  "step": 7,
                  "kind": "process-start",
                  "actor": "B",
                  "pid": 46684,
                  "at": "2026-10-30T12:00:01.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ]
                },
                {
                  "step": 8,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "actor": "B",
                  "pid": 46684,
                  "at": "2026-10-30T12:00:01.000Z"
                },
                {
                  "step": 9,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:01.000Z",
                    "2026-10-30T12:00:01.000Z",
                    "2026-10-30T11:59:01.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "result": null,
                  "actor": "B",
                  "pid": 46684,
                  "at": "2026-10-30T12:00:01.000Z"
                },
                {
                  "step": 10,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "actor": "B",
                  "pid": 46684,
                  "at": "2026-10-30T12:00:01.000Z"
                },
                {
                  "step": 11,
                  "kind": "claim-result",
                  "actor": "B",
                  "pid": 46684,
                  "at": "2026-10-30T12:00:01.000Z",
                  "claim": null,
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ]
                },
                {
                  "step": 12,
                  "kind": "final",
                  "at": "2026-10-30T12:00:01.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "receipts": []
                }
              ],
              "receipts": [],
              "verdict": {
                "passed": true,
                "checks": [
                  {
                    "name": "A: claim eligibility",
                    "passed": true,
                    "actual": null,
                    "expected": []
                  },
                  {
                    "name": "A: declined claim preserves all rows",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "expected": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ]
                  },
                  {
                    "name": "B: claim eligibility",
                    "passed": true,
                    "actual": null,
                    "expected": []
                  },
                  {
                    "name": "B: declined claim preserves all rows",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "expected": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ]
                  },
                  {
                    "name": "Exactly the expected local fixture completions",
                    "passed": true,
                    "actual": 0,
                    "expected": 0
                  },
                  {
                    "name": "Ineligible jobs retain their persisted state",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "expected": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ]
                  }
                ],
                "violations": []
              },
              "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
            }
          },
          {
            "id": "retry",
            "title": "Preserve the retry path",
            "passed": true,
            "run": {
              "engine": "tend-sqlite-claim-v1",
              "caseId": "tend-claims",
              "condition": "retry",
              "title": "Preserve the retry path",
              "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
              "status": "completed",
              "error": null,
              "initial": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "retrying",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "state": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:00:01.000Z"
                }
              ],
              "trace": [
                {
                  "step": 1,
                  "kind": "initial",
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "retrying",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 2,
                  "kind": "process-start",
                  "actor": "A",
                  "pid": 33812,
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "retrying",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 3,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "retrying",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 33812,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 4,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "retrying",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "retrying",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "retrying",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 33812,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 5,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "followup-blue",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "retrying",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "A",
                  "pid": 33812,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 6,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 33812,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 7,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 33812,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 8,
                  "kind": "claim-result",
                  "actor": "A",
                  "pid": 33812,
                  "at": "2026-10-30T12:00:00.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 1,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 9,
                  "kind": "completion",
                  "actor": "A",
                  "pid": 33812,
                  "at": "2026-10-30T12:00:01.000Z",
                  "jobId": "followup-blue",
                  "generation": 1,
                  "accepted": true,
                  "before": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "after": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:00:01.000Z"
                  }
                },
                {
                  "step": 10,
                  "kind": "final",
                  "at": "2026-10-30T12:00:01.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:00:01.000Z"
                    }
                  ],
                  "receipts": [
                    {
                      "jobId": "followup-blue",
                      "generation": 1,
                      "actor": "A",
                      "kind": "local-fixture-completion"
                    }
                  ]
                }
              ],
              "receipts": [
                {
                  "jobId": "followup-blue",
                  "generation": 1,
                  "actor": "A",
                  "kind": "local-fixture-completion"
                }
              ],
              "verdict": {
                "passed": true,
                "checks": [
                  {
                    "name": "A: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 1,
                      "returned": 1
                    },
                    "expected": 1
                  },
                  {
                    "name": "A: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    }
                  },
                  {
                    "name": "A: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "A: current generation completion",
                    "passed": true,
                    "actual": true,
                    "expected": true
                  },
                  {
                    "name": "Exactly the expected local fixture completions",
                    "passed": true,
                    "actual": 1,
                    "expected": 1
                  },
                  {
                    "name": "Ineligible jobs retain their persisted state",
                    "passed": true,
                    "actual": [],
                    "expected": []
                  }
                ],
                "violations": []
              },
              "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
            }
          },
          {
            "id": "mixed",
            "title": "Recover only the eligible row",
            "passed": true,
            "run": {
              "engine": "tend-sqlite-claim-v1",
              "caseId": "tend-claims",
              "condition": "mixed",
              "title": "Recover only the eligible row",
              "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
              "status": "completed",
              "error": null,
              "initial": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                {
                  "id": "future-protected",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T13:00:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-future",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                {
                  "id": "completed-protected",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-done",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T11:59:50.000Z"
                }
              ],
              "state": [
                {
                  "id": "completed-protected",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-done",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T11:59:50.000Z"
                },
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:01:31.000Z"
                },
                {
                  "id": "future-protected",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T13:00:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-future",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "trace": [
                {
                  "step": 1,
                  "kind": "initial",
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 2,
                  "kind": "process-start",
                  "actor": "A",
                  "pid": 41640,
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 3,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 41640,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 4,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 41640,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 5,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "followup-blue",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "A",
                  "pid": 41640,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 6,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 41640,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 7,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 41640,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 8,
                  "kind": "claim-result",
                  "actor": "A",
                  "pid": 41640,
                  "at": "2026-10-30T12:00:00.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 1,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 9,
                  "kind": "process-killed",
                  "actor": "A",
                  "at": "2026-10-30T12:00:01.000Z",
                  "pid": 41640,
                  "code": null,
                  "signal": "SIGTERM",
                  "reason": "Stopped after the committed claim and before the fixture processor",
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 10,
                  "kind": "process-start",
                  "actor": "B",
                  "pid": 38628,
                  "at": "2026-10-30T12:01:30.000Z",
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 11,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 38628,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 12,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:00:30.000Z"
                  ],
                  "before": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "B",
                  "pid": 38628,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 13,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:01:30.000Z",
                    "followup-blue",
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:01:30.000Z",
                    "2026-10-30T12:00:30.000Z"
                  ],
                  "before": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "B",
                  "pid": 38628,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 14,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "B",
                  "pid": 38628,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 15,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 38628,
                  "at": "2026-10-30T12:01:30.000Z"
                },
                {
                  "step": 16,
                  "kind": "claim-result",
                  "actor": "B",
                  "pid": 38628,
                  "at": "2026-10-30T12:01:30.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 2,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 17,
                  "kind": "completion",
                  "actor": "B",
                  "pid": 38628,
                  "at": "2026-10-30T12:01:31.000Z",
                  "jobId": "followup-blue",
                  "generation": 2,
                  "accepted": true,
                  "before": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "after": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:31.000Z"
                  }
                },
                {
                  "step": 18,
                  "kind": "final",
                  "at": "2026-10-30T12:01:31.000Z",
                  "rows": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:01:31.000Z"
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "receipts": [
                    {
                      "jobId": "followup-blue",
                      "generation": 2,
                      "actor": "B",
                      "kind": "local-fixture-completion"
                    }
                  ]
                }
              ],
              "receipts": [
                {
                  "jobId": "followup-blue",
                  "generation": 2,
                  "actor": "B",
                  "kind": "local-fixture-completion"
                }
              ],
              "verdict": {
                "passed": true,
                "checks": [
                  {
                    "name": "A: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 1,
                      "returned": 1
                    },
                    "expected": 1
                  },
                  {
                    "name": "A: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    }
                  },
                  {
                    "name": "A: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "Killed worker exited before restart",
                    "passed": true,
                    "actual": 41640,
                    "expected": "Observed process exit"
                  },
                  {
                    "name": "B: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "B: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "B: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 2,
                      "returned": 2
                    },
                    "expected": 2
                  },
                  {
                    "name": "B: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:01:30.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:01:30.000Z"
                    }
                  },
                  {
                    "name": "B: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "B: current generation completion",
                    "passed": true,
                    "actual": true,
                    "expected": true
                  },
                  {
                    "name": "Exactly the expected local fixture completions",
                    "passed": true,
                    "actual": 1,
                    "expected": 1
                  },
                  {
                    "name": "Ineligible jobs retain their persisted state",
                    "passed": true,
                    "actual": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": [
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      }
                    ]
                  }
                ],
                "violations": []
              },
              "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
            }
          },
          {
            "id": "lease-edge",
            "title": "Recover at the lease boundary",
            "passed": true,
            "run": {
              "engine": "tend-sqlite-claim-v1",
              "caseId": "tend-claims",
              "condition": "lease-edge",
              "title": "Recover at the lease boundary",
              "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
              "status": "completed",
              "error": null,
              "initial": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "state": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:01:01.000Z"
                }
              ],
              "trace": [
                {
                  "step": 1,
                  "kind": "initial",
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 2,
                  "kind": "process-start",
                  "actor": "A",
                  "pid": 48096,
                  "at": "2026-10-30T12:00:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 3,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 48096,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 4,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 48096,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 5,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:00:00.000Z",
                    "followup-blue",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T12:00:00.000Z",
                    "2026-10-30T11:59:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "A",
                  "pid": 48096,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 6,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 48096,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 7,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 48096,
                  "at": "2026-10-30T12:00:00.000Z"
                },
                {
                  "step": 8,
                  "kind": "claim-result",
                  "actor": "A",
                  "pid": 48096,
                  "at": "2026-10-30T12:00:00.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 1,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 9,
                  "kind": "process-start",
                  "actor": "B",
                  "pid": 47336,
                  "at": "2026-10-30T12:01:00.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 10,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 47336,
                  "at": "2026-10-30T12:01:00.000Z"
                },
                {
                  "step": 11,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2026-10-30T12:01:00.000Z",
                    "2026-10-30T12:01:00.000Z",
                    "2026-10-30T12:00:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "B",
                  "pid": 47336,
                  "at": "2026-10-30T12:01:00.000Z"
                },
                {
                  "step": 12,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2026-10-30T12:01:00.000Z",
                    "followup-blue",
                    "2026-10-30T12:01:00.000Z",
                    "2026-10-30T12:01:00.000Z",
                    "2026-10-30T12:00:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "B",
                  "pid": 47336,
                  "at": "2026-10-30T12:01:00.000Z"
                },
                {
                  "step": 13,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-blue"
                  ],
                  "before": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "actor": "B",
                  "pid": 47336,
                  "at": "2026-10-30T12:01:00.000Z"
                },
                {
                  "step": 14,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 47336,
                  "at": "2026-10-30T12:01:00.000Z"
                },
                {
                  "step": 15,
                  "kind": "claim-result",
                  "actor": "B",
                  "pid": 47336,
                  "at": "2026-10-30T12:01:00.000Z",
                  "claim": {
                    "id": "followup-blue",
                    "incidentId": "incident-fixture",
                    "dueAt": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 2,
                    "lastError": null,
                    "idempotencyKey": "key-blue",
                    "createdAt": "2026-10-30T11:00:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 16,
                  "kind": "completion",
                  "actor": "A",
                  "pid": 48096,
                  "at": "2026-10-30T12:01:00.001Z",
                  "jobId": "followup-blue",
                  "generation": 1,
                  "accepted": false,
                  "before": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "after": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                },
                {
                  "step": 17,
                  "kind": "completion",
                  "actor": "B",
                  "pid": 47336,
                  "at": "2026-10-30T12:01:01.000Z",
                  "jobId": "followup-blue",
                  "generation": 2,
                  "accepted": true,
                  "before": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  "after": {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:01.000Z"
                  }
                },
                {
                  "step": 18,
                  "kind": "final",
                  "at": "2026-10-30T12:01:01.000Z",
                  "rows": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:01:01.000Z"
                    }
                  ],
                  "receipts": [
                    {
                      "jobId": "followup-blue",
                      "generation": 2,
                      "actor": "B",
                      "kind": "local-fixture-completion"
                    }
                  ]
                }
              ],
              "receipts": [
                {
                  "jobId": "followup-blue",
                  "generation": 2,
                  "actor": "B",
                  "kind": "local-fixture-completion"
                }
              ],
              "verdict": {
                "passed": true,
                "checks": [
                  {
                    "name": "A: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "A: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 1,
                      "returned": 1
                    },
                    "expected": 1
                  },
                  {
                    "name": "A: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:00:00.000Z"
                    }
                  },
                  {
                    "name": "A: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "B: claim eligibility",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "B: returned job is eligible",
                    "passed": true,
                    "actual": "followup-blue",
                    "expected": [
                      "followup-blue"
                    ]
                  },
                  {
                    "name": "B: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 2,
                      "returned": 2
                    },
                    "expected": 2
                  },
                  {
                    "name": "B: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:01:00.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2026-10-30T12:01:00.000Z"
                    }
                  },
                  {
                    "name": "B: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "A: stale generation completion",
                    "passed": true,
                    "actual": false,
                    "expected": false
                  },
                  {
                    "name": "B: current generation completion",
                    "passed": true,
                    "actual": true,
                    "expected": true
                  },
                  {
                    "name": "Exactly the expected local fixture completions",
                    "passed": true,
                    "actual": 1,
                    "expected": 1
                  },
                  {
                    "name": "Ineligible jobs retain their persisted state",
                    "passed": true,
                    "actual": [],
                    "expected": []
                  }
                ],
                "violations": []
              },
              "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
            }
          },
          {
            "id": "different-input",
            "title": "Change IDs, date and attempt count",
            "passed": true,
            "run": {
              "engine": "tend-sqlite-claim-v1",
              "caseId": "tend-claims",
              "condition": "different-input",
              "title": "Change IDs, date and attempt count",
              "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
              "status": "completed",
              "error": null,
              "initial": [
                {
                  "id": "followup-copper",
                  "incident_id": "incident-fixture",
                  "due_at": "2027-02-12T09:29:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 7,
                  "last_error": null,
                  "idempotency_key": "key-copper",
                  "claimed_at": null,
                  "created_at": "2027-02-12T08:30:00.000Z",
                  "completed_at": null
                }
              ],
              "state": [
                {
                  "id": "followup-copper",
                  "incident_id": "incident-fixture",
                  "due_at": "2027-02-12T09:29:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 9,
                  "last_error": null,
                  "idempotency_key": "key-copper",
                  "claimed_at": "2027-02-12T09:31:30.000Z",
                  "created_at": "2027-02-12T08:30:00.000Z",
                  "completed_at": "2027-02-12T09:31:31.000Z"
                }
              ],
              "trace": [
                {
                  "step": 1,
                  "kind": "initial",
                  "at": "2027-02-12T09:30:00.000Z",
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 7,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": null,
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 2,
                  "kind": "process-start",
                  "actor": "A",
                  "pid": 5760,
                  "at": "2027-02-12T09:30:00.000Z",
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 7,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": null,
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 3,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 7,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": null,
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 5760,
                  "at": "2027-02-12T09:30:00.000Z"
                },
                {
                  "step": 4,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2027-02-12T09:30:00.000Z",
                    "2027-02-12T09:30:00.000Z",
                    "2027-02-12T09:29:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 7,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": null,
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 7,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": null,
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 7,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": null,
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 5760,
                  "at": "2027-02-12T09:30:00.000Z"
                },
                {
                  "step": 5,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2027-02-12T09:30:00.000Z",
                    "followup-copper",
                    "2027-02-12T09:30:00.000Z",
                    "2027-02-12T09:30:00.000Z",
                    "2027-02-12T09:29:00.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 7,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": null,
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "A",
                  "pid": 5760,
                  "at": "2027-02-12T09:30:00.000Z"
                },
                {
                  "step": 6,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-copper"
                  ],
                  "before": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  },
                  "actor": "A",
                  "pid": 5760,
                  "at": "2027-02-12T09:30:00.000Z"
                },
                {
                  "step": 7,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "A",
                  "pid": 5760,
                  "at": "2027-02-12T09:30:00.000Z"
                },
                {
                  "step": 8,
                  "kind": "claim-result",
                  "actor": "A",
                  "pid": 5760,
                  "at": "2027-02-12T09:30:00.000Z",
                  "claim": {
                    "id": "followup-copper",
                    "incidentId": "incident-fixture",
                    "dueAt": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 8,
                    "lastError": null,
                    "idempotencyKey": "key-copper",
                    "createdAt": "2027-02-12T08:30:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 9,
                  "kind": "process-killed",
                  "actor": "A",
                  "at": "2027-02-12T09:30:01.000Z",
                  "pid": 5760,
                  "code": null,
                  "signal": "SIGTERM",
                  "reason": "Stopped after the committed claim and before the fixture processor",
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 10,
                  "kind": "process-start",
                  "actor": "B",
                  "pid": 38948,
                  "at": "2027-02-12T09:31:30.000Z",
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 11,
                  "kind": "transaction",
                  "action": "begin",
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 38948,
                  "at": "2027-02-12T09:31:30.000Z"
                },
                {
                  "step": 12,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                  "params": [
                    "2027-02-12T09:31:30.000Z",
                    "2027-02-12T09:31:30.000Z",
                    "2027-02-12T09:30:30.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  },
                  "actor": "B",
                  "pid": 38948,
                  "at": "2027-02-12T09:31:30.000Z"
                },
                {
                  "step": 13,
                  "kind": "sql",
                  "method": "run",
                  "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                  "params": [
                    "2027-02-12T09:31:30.000Z",
                    "followup-copper",
                    "2027-02-12T09:31:30.000Z",
                    "2027-02-12T09:31:30.000Z",
                    "2027-02-12T09:30:30.000Z"
                  ],
                  "before": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 9,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:31:30.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "changes": 1
                  },
                  "actor": "B",
                  "pid": 38948,
                  "at": "2027-02-12T09:31:30.000Z"
                },
                {
                  "step": 14,
                  "kind": "sql",
                  "method": "get",
                  "sql": "SELECT * FROM follow_ups WHERE id = ?",
                  "params": [
                    "followup-copper"
                  ],
                  "before": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 9,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:31:30.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "after": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 9,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:31:30.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "result": {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 9,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:31:30.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  },
                  "actor": "B",
                  "pid": 38948,
                  "at": "2027-02-12T09:31:30.000Z"
                },
                {
                  "step": 15,
                  "kind": "transaction",
                  "action": "commit",
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 9,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:31:30.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "actor": "B",
                  "pid": 38948,
                  "at": "2027-02-12T09:31:30.000Z"
                },
                {
                  "step": 16,
                  "kind": "claim-result",
                  "actor": "B",
                  "pid": 38948,
                  "at": "2027-02-12T09:31:30.000Z",
                  "claim": {
                    "id": "followup-copper",
                    "incidentId": "incident-fixture",
                    "dueAt": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attemptCount": 9,
                    "lastError": null,
                    "idempotencyKey": "key-copper",
                    "createdAt": "2027-02-12T08:30:00.000Z",
                    "completedAt": null
                  },
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 9,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:31:30.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "step": 17,
                  "kind": "completion",
                  "actor": "B",
                  "pid": 38948,
                  "at": "2027-02-12T09:31:31.000Z",
                  "jobId": "followup-copper",
                  "generation": 9,
                  "accepted": true,
                  "before": {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 9,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:31:30.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  },
                  "after": {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 9,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:31:30.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": "2027-02-12T09:31:31.000Z"
                  }
                },
                {
                  "step": 18,
                  "kind": "final",
                  "at": "2027-02-12T09:31:31.000Z",
                  "rows": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 9,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:31:30.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": "2027-02-12T09:31:31.000Z"
                    }
                  ],
                  "receipts": [
                    {
                      "jobId": "followup-copper",
                      "generation": 9,
                      "actor": "B",
                      "kind": "local-fixture-completion"
                    }
                  ]
                }
              ],
              "receipts": [
                {
                  "jobId": "followup-copper",
                  "generation": 9,
                  "actor": "B",
                  "kind": "local-fixture-completion"
                }
              ],
              "verdict": {
                "passed": true,
                "checks": [
                  {
                    "name": "A: claim eligibility",
                    "passed": true,
                    "actual": "followup-copper",
                    "expected": [
                      "followup-copper"
                    ]
                  },
                  {
                    "name": "A: returned job is eligible",
                    "passed": true,
                    "actual": "followup-copper",
                    "expected": [
                      "followup-copper"
                    ]
                  },
                  {
                    "name": "A: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 8,
                      "returned": 8
                    },
                    "expected": 8
                  },
                  {
                    "name": "A: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2027-02-12T09:30:00.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2027-02-12T09:30:00.000Z"
                    }
                  },
                  {
                    "name": "A: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "Killed worker exited before restart",
                    "passed": true,
                    "actual": 5760,
                    "expected": "Observed process exit"
                  },
                  {
                    "name": "B: claim eligibility",
                    "passed": true,
                    "actual": "followup-copper",
                    "expected": [
                      "followup-copper"
                    ]
                  },
                  {
                    "name": "B: returned job is eligible",
                    "passed": true,
                    "actual": "followup-copper",
                    "expected": [
                      "followup-copper"
                    ]
                  },
                  {
                    "name": "B: durable generation increments once",
                    "passed": true,
                    "actual": {
                      "stored": 9,
                      "returned": 9
                    },
                    "expected": 9
                  },
                  {
                    "name": "B: durable claim uses the supplied clock",
                    "passed": true,
                    "actual": {
                      "status": "claimed",
                      "claimedAt": "2027-02-12T09:31:30.000Z"
                    },
                    "expected": {
                      "status": "claimed",
                      "claimedAt": "2027-02-12T09:31:30.000Z"
                    }
                  },
                  {
                    "name": "B: preserve payload, deadlines and other jobs",
                    "passed": true,
                    "actual": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 9,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:31:30.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                  },
                  {
                    "name": "B: current generation completion",
                    "passed": true,
                    "actual": true,
                    "expected": true
                  },
                  {
                    "name": "Exactly the expected local fixture completions",
                    "passed": true,
                    "actual": 1,
                    "expected": 1
                  },
                  {
                    "name": "Ineligible jobs retain their persisted state",
                    "passed": true,
                    "actual": [],
                    "expected": []
                  }
                ],
                "violations": []
              },
              "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
            }
          }
        ],
        "scope": "Ten predeclared process/clock conditions. Not an exhaustive scheduler, arbitrary repository runner or production correctness proof."
      }
    }
  ],
  "events": [
    {
      "type": "baseline",
      "message": "Uninterrupted execution checked against SQLite.",
      "run": {
        "engine": "tend-sqlite-claim-v1",
        "caseId": "tend-claims",
        "condition": "normal",
        "title": "Finish without interruption",
        "sourceHash": "2ace48973139ac1b9392d6cbf2364591c56100a208b099f08b204bbedd0e5538",
        "status": "completed",
        "error": null,
        "initial": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "scheduled",
            "attempt_count": 0,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": null,
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": null
          }
        ],
        "state": [
          {
            "id": "followup-blue",
            "incident_id": "incident-fixture",
            "due_at": "2026-10-30T11:59:00.000Z",
            "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
            "status": "completed",
            "attempt_count": 1,
            "last_error": null,
            "idempotency_key": "key-blue",
            "claimed_at": "2026-10-30T12:00:00.000Z",
            "created_at": "2026-10-30T11:00:00.000Z",
            "completed_at": "2026-10-30T12:00:01.000Z"
          }
        ],
        "trace": [
          {
            "step": 1,
            "kind": "initial",
            "at": "2026-10-30T12:00:00.000Z",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ]
          },
          {
            "step": 2,
            "kind": "process-start",
            "actor": "A",
            "pid": 38368,
            "at": "2026-10-30T12:00:00.000Z",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ]
          },
          {
            "step": 3,
            "kind": "transaction",
            "action": "begin",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "actor": "A",
            "pid": 38368,
            "at": "2026-10-30T12:00:00.000Z"
          },
          {
            "step": 4,
            "kind": "sql",
            "method": "get",
            "sql": "SELECT * FROM follow_ups\n           WHERE status IN ('scheduled', 'retrying') AND due_at <= ?\n           ORDER BY due_at ASC LIMIT 1",
            "params": [
              "2026-10-30T12:00:00.000Z"
            ],
            "before": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "after": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "result": {
              "id": "followup-blue",
              "incident_id": "incident-fixture",
              "due_at": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "scheduled",
              "attempt_count": 0,
              "last_error": null,
              "idempotency_key": "key-blue",
              "claimed_at": null,
              "created_at": "2026-10-30T11:00:00.000Z",
              "completed_at": null
            },
            "actor": "A",
            "pid": 38368,
            "at": "2026-10-30T12:00:00.000Z"
          },
          {
            "step": 5,
            "kind": "sql",
            "method": "run",
            "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND status IN ('scheduled', 'retrying')",
            "params": [
              "2026-10-30T12:00:00.000Z",
              "followup-blue"
            ],
            "before": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "after": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "result": {
              "changes": 1
            },
            "actor": "A",
            "pid": 38368,
            "at": "2026-10-30T12:00:00.000Z"
          },
          {
            "step": 6,
            "kind": "sql",
            "method": "get",
            "sql": "SELECT * FROM follow_ups WHERE id = ?",
            "params": [
              "followup-blue"
            ],
            "before": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "after": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "result": {
              "id": "followup-blue",
              "incident_id": "incident-fixture",
              "due_at": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "claimed",
              "attempt_count": 1,
              "last_error": null,
              "idempotency_key": "key-blue",
              "claimed_at": "2026-10-30T12:00:00.000Z",
              "created_at": "2026-10-30T11:00:00.000Z",
              "completed_at": null
            },
            "actor": "A",
            "pid": 38368,
            "at": "2026-10-30T12:00:00.000Z"
          },
          {
            "step": 7,
            "kind": "transaction",
            "action": "commit",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "actor": "A",
            "pid": 38368,
            "at": "2026-10-30T12:00:00.000Z"
          },
          {
            "step": 8,
            "kind": "claim-result",
            "actor": "A",
            "pid": 38368,
            "at": "2026-10-30T12:00:00.000Z",
            "claim": {
              "id": "followup-blue",
              "incidentId": "incident-fixture",
              "dueAt": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "claimed",
              "attemptCount": 1,
              "lastError": null,
              "idempotencyKey": "key-blue",
              "createdAt": "2026-10-30T11:00:00.000Z",
              "completedAt": null
            },
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ]
          },
          {
            "step": 9,
            "kind": "completion",
            "actor": "A",
            "pid": 38368,
            "at": "2026-10-30T12:00:01.000Z",
            "jobId": "followup-blue",
            "generation": 1,
            "accepted": true,
            "before": {
              "id": "followup-blue",
              "incident_id": "incident-fixture",
              "due_at": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "claimed",
              "attempt_count": 1,
              "last_error": null,
              "idempotency_key": "key-blue",
              "claimed_at": "2026-10-30T12:00:00.000Z",
              "created_at": "2026-10-30T11:00:00.000Z",
              "completed_at": null
            },
            "after": {
              "id": "followup-blue",
              "incident_id": "incident-fixture",
              "due_at": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "completed",
              "attempt_count": 1,
              "last_error": null,
              "idempotency_key": "key-blue",
              "claimed_at": "2026-10-30T12:00:00.000Z",
              "created_at": "2026-10-30T11:00:00.000Z",
              "completed_at": "2026-10-30T12:00:01.000Z"
            }
          },
          {
            "step": 10,
            "kind": "final",
            "at": "2026-10-30T12:00:01.000Z",
            "rows": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T12:00:01.000Z"
              }
            ],
            "receipts": [
              {
                "jobId": "followup-blue",
                "generation": 1,
                "actor": "A",
                "kind": "local-fixture-completion"
              }
            ]
          }
        ],
        "receipts": [
          {
            "jobId": "followup-blue",
            "generation": 1,
            "actor": "A",
            "kind": "local-fixture-completion"
          }
        ],
        "verdict": {
          "passed": true,
          "checks": [
            {
              "name": "A: claim eligibility",
              "passed": true,
              "actual": "followup-blue",
              "expected": [
                "followup-blue"
              ]
            },
            {
              "name": "A: returned job is eligible",
              "passed": true,
              "actual": "followup-blue",
              "expected": [
                "followup-blue"
              ]
            },
            {
              "name": "A: durable generation increments once",
              "passed": true,
              "actual": {
                "stored": 1,
                "returned": 1
              },
              "expected": 1
            },
            {
              "name": "A: durable claim uses the supplied clock",
              "passed": true,
              "actual": {
                "status": "claimed",
                "claimedAt": "2026-10-30T12:00:00.000Z"
              },
              "expected": {
                "status": "claimed",
                "claimedAt": "2026-10-30T12:00:00.000Z"
              }
            },
            {
              "name": "A: preserve payload, deadlines and other jobs",
              "passed": true,
              "actual": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
            },
            {
              "name": "A: current generation completion",
              "passed": true,
              "actual": true,
              "expected": true
            },
            {
              "name": "Exactly the expected local fixture completions",
              "passed": true,
              "actual": 1,
              "expected": 1
            },
            {
              "name": "Ineligible jobs retain their persisted state",
              "passed": true,
              "actual": [],
              "expected": []
            }
          ],
          "violations": []
        },
        "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
      },
      "sequence": 1
    },
    {
      "type": "model",
      "message": "Muse Spark is investigating the repository method · 1/6",
      "sequence": 2
    },
    {
      "type": "probe",
      "message": "Input only selects scheduled/retrying, so after hard exit an expired claimed row stays stuck and restart claims nothing, losing the job.",
      "probe": {
        "hypothesis": "Input only selects scheduled/retrying, so after hard exit an expired claimed row stays stuck and restart claims nothing, losing the job.",
        "run": {
          "engine": "tend-sqlite-claim-v1",
          "caseId": "tend-claims",
          "condition": "crash-restart",
          "title": "Crash after the committed claim",
          "sourceHash": "2ace48973139ac1b9392d6cbf2364591c56100a208b099f08b204bbedd0e5538",
          "status": "completed",
          "error": null,
          "initial": [
            {
              "id": "followup-blue",
              "incident_id": "incident-fixture",
              "due_at": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "scheduled",
              "attempt_count": 0,
              "last_error": null,
              "idempotency_key": "key-blue",
              "claimed_at": null,
              "created_at": "2026-10-30T11:00:00.000Z",
              "completed_at": null
            }
          ],
          "state": [
            {
              "id": "followup-blue",
              "incident_id": "incident-fixture",
              "due_at": "2026-10-30T11:59:00.000Z",
              "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
              "status": "claimed",
              "attempt_count": 1,
              "last_error": null,
              "idempotency_key": "key-blue",
              "claimed_at": "2026-10-30T12:00:00.000Z",
              "created_at": "2026-10-30T11:00:00.000Z",
              "completed_at": null
            }
          ],
          "trace": [
            {
              "step": 1,
              "kind": "initial",
              "at": "2026-10-30T12:00:00.000Z",
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ]
            },
            {
              "step": 2,
              "kind": "process-start",
              "actor": "A",
              "pid": 47176,
              "at": "2026-10-30T12:00:00.000Z",
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ]
            },
            {
              "step": 3,
              "kind": "transaction",
              "action": "begin",
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "actor": "A",
              "pid": 47176,
              "at": "2026-10-30T12:00:00.000Z"
            },
            {
              "step": 4,
              "kind": "sql",
              "method": "get",
              "sql": "SELECT * FROM follow_ups\n           WHERE status IN ('scheduled', 'retrying') AND due_at <= ?\n           ORDER BY due_at ASC LIMIT 1",
              "params": [
                "2026-10-30T12:00:00.000Z"
              ],
              "before": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "after": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "result": {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              },
              "actor": "A",
              "pid": 47176,
              "at": "2026-10-30T12:00:00.000Z"
            },
            {
              "step": 5,
              "kind": "sql",
              "method": "run",
              "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND status IN ('scheduled', 'retrying')",
              "params": [
                "2026-10-30T12:00:00.000Z",
                "followup-blue"
              ],
              "before": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "after": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "result": {
                "changes": 1
              },
              "actor": "A",
              "pid": 47176,
              "at": "2026-10-30T12:00:00.000Z"
            },
            {
              "step": 6,
              "kind": "sql",
              "method": "get",
              "sql": "SELECT * FROM follow_ups WHERE id = ?",
              "params": [
                "followup-blue"
              ],
              "before": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "after": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "result": {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              },
              "actor": "A",
              "pid": 47176,
              "at": "2026-10-30T12:00:00.000Z"
            },
            {
              "step": 7,
              "kind": "transaction",
              "action": "commit",
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "actor": "A",
              "pid": 47176,
              "at": "2026-10-30T12:00:00.000Z"
            },
            {
              "step": 8,
              "kind": "claim-result",
              "actor": "A",
              "pid": 47176,
              "at": "2026-10-30T12:00:00.000Z",
              "claim": {
                "id": "followup-blue",
                "incidentId": "incident-fixture",
                "dueAt": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "claimed",
                "attemptCount": 1,
                "lastError": null,
                "idempotencyKey": "key-blue",
                "createdAt": "2026-10-30T11:00:00.000Z",
                "completedAt": null
              },
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ]
            },
            {
              "step": 9,
              "kind": "process-killed",
              "actor": "A",
              "at": "2026-10-30T12:00:01.000Z",
              "pid": 47176,
              "code": null,
              "signal": "SIGTERM",
              "reason": "Stopped after the committed claim and before the fixture processor",
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ]
            },
            {
              "step": 10,
              "kind": "process-start",
              "actor": "B",
              "pid": 47220,
              "at": "2026-10-30T12:01:30.000Z",
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ]
            },
            {
              "step": 11,
              "kind": "transaction",
              "action": "begin",
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "actor": "B",
              "pid": 47220,
              "at": "2026-10-30T12:01:30.000Z"
            },
            {
              "step": 12,
              "kind": "sql",
              "method": "get",
              "sql": "SELECT * FROM follow_ups\n           WHERE status IN ('scheduled', 'retrying') AND due_at <= ?\n           ORDER BY due_at ASC LIMIT 1",
              "params": [
                "2026-10-30T12:01:30.000Z"
              ],
              "before": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "after": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "result": null,
              "actor": "B",
              "pid": 47220,
              "at": "2026-10-30T12:01:30.000Z"
            },
            {
              "step": 13,
              "kind": "transaction",
              "action": "commit",
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "actor": "B",
              "pid": 47220,
              "at": "2026-10-30T12:01:30.000Z"
            },
            {
              "step": 14,
              "kind": "claim-result",
              "actor": "B",
              "pid": 47220,
              "at": "2026-10-30T12:01:30.000Z",
              "claim": null,
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ]
            },
            {
              "step": 15,
              "kind": "final",
              "at": "2026-10-30T12:01:30.000Z",
              "rows": [
                {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              ],
              "receipts": []
            }
          ],
          "receipts": [],
          "verdict": {
            "passed": false,
            "checks": [
              {
                "name": "A: claim eligibility",
                "passed": true,
                "actual": "followup-blue",
                "expected": [
                  "followup-blue"
                ]
              },
              {
                "name": "A: returned job is eligible",
                "passed": true,
                "actual": "followup-blue",
                "expected": [
                  "followup-blue"
                ]
              },
              {
                "name": "A: durable generation increments once",
                "passed": true,
                "actual": {
                  "stored": 1,
                  "returned": 1
                },
                "expected": 1
              },
              {
                "name": "A: durable claim uses the supplied clock",
                "passed": true,
                "actual": {
                  "status": "claimed",
                  "claimedAt": "2026-10-30T12:00:00.000Z"
                },
                "expected": {
                  "status": "claimed",
                  "claimedAt": "2026-10-30T12:00:00.000Z"
                }
              },
              {
                "name": "A: preserve payload, deadlines and other jobs",
                "passed": true,
                "actual": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
              },
              {
                "name": "Killed worker exited before restart",
                "passed": true,
                "actual": 47176,
                "expected": "Observed process exit"
              },
              {
                "name": "B: claim eligibility",
                "passed": false,
                "actual": null,
                "expected": [
                  "followup-blue"
                ]
              },
              {
                "name": "B: declined claim preserves all rows",
                "passed": true,
                "actual": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "expected": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "name": "B: expected local completion",
                "passed": false,
                "actual": false,
                "expected": true
              },
              {
                "name": "Exactly the expected local fixture completions",
                "passed": false,
                "actual": 0,
                "expected": 1
              },
              {
                "name": "Ineligible jobs retain their persisted state",
                "passed": true,
                "actual": [],
                "expected": []
              }
            ],
            "violations": [
              "B: claim eligibility",
              "B: expected local completion",
              "Exactly the expected local fixture completions"
            ]
          },
          "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
        }
      },
      "sequence": 3
    },
    {
      "type": "model",
      "message": "Muse Spark is investigating the repository method · 2/6",
      "sequence": 4
    },
    {
      "type": "checking",
      "message": "Executing the proposed method across ten independent SQLite conditions…",
      "sequence": 5
    },
    {
      "type": "patch",
      "message": "Recover expired claimed leases (due and claimed_at <= now-60s) while protecting fresh leases, future/completed rows; atomic SELECT+guarded UPDATE preserves generation exclusivity.",
      "patch": {
        "source": "claimNextDue(now = new Date()): FollowUp | null {\n    const timestamp = now.toISOString();\n    const expiry = new Date(now.getTime() - 60000).toISOString();\n    const claim = this.database.transaction(() => {\n      const row = this.database\n        .prepare(\n          `SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1`\n        )\n        .get(timestamp, timestamp, expiry) as Row | undefined;\n      if (!row) return null;\n      const result = this.database\n        .prepare(\n          `UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))`\n        )\n        .run(timestamp, row.id, timestamp, timestamp, expiry);\n      if (result.changes !== 1) return null;\n      const claimed = this.database\n        .prepare(\"SELECT * FROM follow_ups WHERE id = ?\")\n        .get(row.id) as Row;\n      return followUpFromRow(claimed);\n    });\n    return claim();\n  }",
        "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
        "explanation": "Recover expired claimed leases (due and claimed_at <= now-60s) while protecting fresh leases, future/completed rows; atomic SELECT+guarded UPDATE preserves generation exclusivity.",
        "verification": {
          "engine": "tend-sqlite-claim-v1",
          "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
          "passed": true,
          "tested": 10,
          "failures": 0,
          "exhaustive": false,
          "cases": [
            {
              "id": "normal",
              "title": "Finish without interruption",
              "passed": true,
              "run": {
                "engine": "tend-sqlite-claim-v1",
                "caseId": "tend-claims",
                "condition": "normal",
                "title": "Finish without interruption",
                "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
                "status": "completed",
                "error": null,
                "initial": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "state": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:00:01.000Z"
                  }
                ],
                "trace": [
                  {
                    "step": 1,
                    "kind": "initial",
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 2,
                    "kind": "process-start",
                    "actor": "A",
                    "pid": 43472,
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 3,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 43472,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 4,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 43472,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 5,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "followup-blue",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "A",
                    "pid": 43472,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 6,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 43472,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 7,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 43472,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 8,
                    "kind": "claim-result",
                    "actor": "A",
                    "pid": 43472,
                    "at": "2026-10-30T12:00:00.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 1,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 9,
                    "kind": "completion",
                    "actor": "A",
                    "pid": 43472,
                    "at": "2026-10-30T12:00:01.000Z",
                    "jobId": "followup-blue",
                    "generation": 1,
                    "accepted": true,
                    "before": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "after": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:00:01.000Z"
                    }
                  },
                  {
                    "step": 10,
                    "kind": "final",
                    "at": "2026-10-30T12:00:01.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T12:00:01.000Z"
                      }
                    ],
                    "receipts": [
                      {
                        "jobId": "followup-blue",
                        "generation": 1,
                        "actor": "A",
                        "kind": "local-fixture-completion"
                      }
                    ]
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 1,
                    "actor": "A",
                    "kind": "local-fixture-completion"
                  }
                ],
                "verdict": {
                  "passed": true,
                  "checks": [
                    {
                      "name": "A: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 1,
                        "returned": 1
                      },
                      "expected": 1
                    },
                    {
                      "name": "A: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      }
                    },
                    {
                      "name": "A: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 1,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:00:00.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "A: current generation completion",
                      "passed": true,
                      "actual": true,
                      "expected": true
                    },
                    {
                      "name": "Exactly the expected local fixture completions",
                      "passed": true,
                      "actual": 1,
                      "expected": 1
                    },
                    {
                      "name": "Ineligible jobs retain their persisted state",
                      "passed": true,
                      "actual": [],
                      "expected": []
                    }
                  ],
                  "violations": []
                },
                "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
              }
            },
            {
              "id": "crash-restart",
              "title": "Crash after the committed claim",
              "passed": true,
              "run": {
                "engine": "tend-sqlite-claim-v1",
                "caseId": "tend-claims",
                "condition": "crash-restart",
                "title": "Crash after the committed claim",
                "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
                "status": "completed",
                "error": null,
                "initial": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "state": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:31.000Z"
                  }
                ],
                "trace": [
                  {
                    "step": 1,
                    "kind": "initial",
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 2,
                    "kind": "process-start",
                    "actor": "A",
                    "pid": 39504,
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 3,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 39504,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 4,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 39504,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 5,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "followup-blue",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "A",
                    "pid": 39504,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 6,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 39504,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 7,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 39504,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 8,
                    "kind": "claim-result",
                    "actor": "A",
                    "pid": 39504,
                    "at": "2026-10-30T12:00:00.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 1,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 9,
                    "kind": "process-killed",
                    "actor": "A",
                    "at": "2026-10-30T12:00:01.000Z",
                    "pid": 39504,
                    "code": null,
                    "signal": "SIGTERM",
                    "reason": "Stopped after the committed claim and before the fixture processor",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 10,
                    "kind": "process-start",
                    "actor": "B",
                    "pid": 49404,
                    "at": "2026-10-30T12:01:30.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 11,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 49404,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 12,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:00:30.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "B",
                    "pid": 49404,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 13,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:01:30.000Z",
                      "followup-blue",
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:00:30.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "B",
                    "pid": 49404,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 14,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "B",
                    "pid": 49404,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 15,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 49404,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 16,
                    "kind": "claim-result",
                    "actor": "B",
                    "pid": 49404,
                    "at": "2026-10-30T12:01:30.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 2,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 17,
                    "kind": "completion",
                    "actor": "B",
                    "pid": 49404,
                    "at": "2026-10-30T12:01:31.000Z",
                    "jobId": "followup-blue",
                    "generation": 2,
                    "accepted": true,
                    "before": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "after": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:01:31.000Z"
                    }
                  },
                  {
                    "step": 18,
                    "kind": "final",
                    "at": "2026-10-30T12:01:31.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T12:01:31.000Z"
                      }
                    ],
                    "receipts": [
                      {
                        "jobId": "followup-blue",
                        "generation": 2,
                        "actor": "B",
                        "kind": "local-fixture-completion"
                      }
                    ]
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 2,
                    "actor": "B",
                    "kind": "local-fixture-completion"
                  }
                ],
                "verdict": {
                  "passed": true,
                  "checks": [
                    {
                      "name": "A: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 1,
                        "returned": 1
                      },
                      "expected": 1
                    },
                    {
                      "name": "A: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      }
                    },
                    {
                      "name": "A: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 1,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:00:00.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "Killed worker exited before restart",
                      "passed": true,
                      "actual": 39504,
                      "expected": "Observed process exit"
                    },
                    {
                      "name": "B: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "B: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "B: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 2,
                        "returned": 2
                      },
                      "expected": 2
                    },
                    {
                      "name": "B: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:01:30.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:01:30.000Z"
                      }
                    },
                    {
                      "name": "B: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 2,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:01:30.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "B: current generation completion",
                      "passed": true,
                      "actual": true,
                      "expected": true
                    },
                    {
                      "name": "Exactly the expected local fixture completions",
                      "passed": true,
                      "actual": 1,
                      "expected": 1
                    },
                    {
                      "name": "Ineligible jobs retain their persisted state",
                      "passed": true,
                      "actual": [],
                      "expected": []
                    }
                  ],
                  "violations": []
                },
                "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
              }
            },
            {
              "id": "live-owner",
              "title": "Keep a live owner's job",
              "passed": true,
              "run": {
                "engine": "tend-sqlite-claim-v1",
                "caseId": "tend-claims",
                "condition": "live-owner",
                "title": "Keep a live owner's job",
                "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
                "status": "completed",
                "error": null,
                "initial": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "state": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:00:31.000Z"
                  }
                ],
                "trace": [
                  {
                    "step": 1,
                    "kind": "initial",
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 2,
                    "kind": "process-start",
                    "actor": "A",
                    "pid": 42080,
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 3,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 42080,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 4,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 42080,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 5,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "followup-blue",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "A",
                    "pid": 42080,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 6,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 42080,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 7,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 42080,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 8,
                    "kind": "claim-result",
                    "actor": "A",
                    "pid": 42080,
                    "at": "2026-10-30T12:00:00.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 1,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 9,
                    "kind": "process-start",
                    "actor": "B",
                    "pid": 42056,
                    "at": "2026-10-30T12:00:30.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 10,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 42056,
                    "at": "2026-10-30T12:00:30.000Z"
                  },
                  {
                    "step": 11,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:30.000Z",
                      "2026-10-30T12:00:30.000Z",
                      "2026-10-30T11:59:30.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": null,
                    "actor": "B",
                    "pid": 42056,
                    "at": "2026-10-30T12:00:30.000Z"
                  },
                  {
                    "step": 12,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 42056,
                    "at": "2026-10-30T12:00:30.000Z"
                  },
                  {
                    "step": 13,
                    "kind": "claim-result",
                    "actor": "B",
                    "pid": 42056,
                    "at": "2026-10-30T12:00:30.000Z",
                    "claim": null,
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 14,
                    "kind": "completion",
                    "actor": "A",
                    "pid": 42080,
                    "at": "2026-10-30T12:00:31.000Z",
                    "jobId": "followup-blue",
                    "generation": 1,
                    "accepted": true,
                    "before": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "after": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:00:31.000Z"
                    }
                  },
                  {
                    "step": 15,
                    "kind": "final",
                    "at": "2026-10-30T12:00:31.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T12:00:31.000Z"
                      }
                    ],
                    "receipts": [
                      {
                        "jobId": "followup-blue",
                        "generation": 1,
                        "actor": "A",
                        "kind": "local-fixture-completion"
                      }
                    ]
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 1,
                    "actor": "A",
                    "kind": "local-fixture-completion"
                  }
                ],
                "verdict": {
                  "passed": true,
                  "checks": [
                    {
                      "name": "A: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 1,
                        "returned": 1
                      },
                      "expected": 1
                    },
                    {
                      "name": "A: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      }
                    },
                    {
                      "name": "A: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 1,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:00:00.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "B: claim eligibility",
                      "passed": true,
                      "actual": null,
                      "expected": []
                    },
                    {
                      "name": "B: declined claim preserves all rows",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 1,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:00:00.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 1,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:00:00.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ]
                    },
                    {
                      "name": "A: current generation completion",
                      "passed": true,
                      "actual": true,
                      "expected": true
                    },
                    {
                      "name": "Exactly the expected local fixture completions",
                      "passed": true,
                      "actual": 1,
                      "expected": 1
                    },
                    {
                      "name": "Ineligible jobs retain their persisted state",
                      "passed": true,
                      "actual": [],
                      "expected": []
                    }
                  ],
                  "violations": []
                },
                "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
              }
            },
            {
              "id": "expired-owner",
              "title": "Reject the previous generation",
              "passed": true,
              "run": {
                "engine": "tend-sqlite-claim-v1",
                "caseId": "tend-claims",
                "condition": "expired-owner",
                "title": "Reject the previous generation",
                "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
                "status": "completed",
                "error": null,
                "initial": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "state": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:31.000Z"
                  }
                ],
                "trace": [
                  {
                    "step": 1,
                    "kind": "initial",
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 2,
                    "kind": "process-start",
                    "actor": "A",
                    "pid": 46628,
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 3,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 46628,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 4,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 46628,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 5,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "followup-blue",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "A",
                    "pid": 46628,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 6,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 46628,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 7,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 46628,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 8,
                    "kind": "claim-result",
                    "actor": "A",
                    "pid": 46628,
                    "at": "2026-10-30T12:00:00.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 1,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 9,
                    "kind": "process-start",
                    "actor": "B",
                    "pid": 41272,
                    "at": "2026-10-30T12:01:30.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 10,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 41272,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 11,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:00:30.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "B",
                    "pid": 41272,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 12,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:01:30.000Z",
                      "followup-blue",
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:00:30.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "B",
                    "pid": 41272,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 13,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "B",
                    "pid": 41272,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 14,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 41272,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 15,
                    "kind": "claim-result",
                    "actor": "B",
                    "pid": 41272,
                    "at": "2026-10-30T12:01:30.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 2,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 16,
                    "kind": "completion",
                    "actor": "A",
                    "pid": 46628,
                    "at": "2026-10-30T12:01:30.001Z",
                    "jobId": "followup-blue",
                    "generation": 1,
                    "accepted": false,
                    "before": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "after": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  },
                  {
                    "step": 17,
                    "kind": "completion",
                    "actor": "B",
                    "pid": 41272,
                    "at": "2026-10-30T12:01:31.000Z",
                    "jobId": "followup-blue",
                    "generation": 2,
                    "accepted": true,
                    "before": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "after": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:01:31.000Z"
                    }
                  },
                  {
                    "step": 18,
                    "kind": "final",
                    "at": "2026-10-30T12:01:31.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T12:01:31.000Z"
                      }
                    ],
                    "receipts": [
                      {
                        "jobId": "followup-blue",
                        "generation": 2,
                        "actor": "B",
                        "kind": "local-fixture-completion"
                      }
                    ]
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 2,
                    "actor": "B",
                    "kind": "local-fixture-completion"
                  }
                ],
                "verdict": {
                  "passed": true,
                  "checks": [
                    {
                      "name": "A: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 1,
                        "returned": 1
                      },
                      "expected": 1
                    },
                    {
                      "name": "A: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      }
                    },
                    {
                      "name": "A: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 1,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:00:00.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "B: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "B: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "B: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 2,
                        "returned": 2
                      },
                      "expected": 2
                    },
                    {
                      "name": "B: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:01:30.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:01:30.000Z"
                      }
                    },
                    {
                      "name": "B: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 2,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:01:30.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "A: stale generation completion",
                      "passed": true,
                      "actual": false,
                      "expected": false
                    },
                    {
                      "name": "B: current generation completion",
                      "passed": true,
                      "actual": true,
                      "expected": true
                    },
                    {
                      "name": "Exactly the expected local fixture completions",
                      "passed": true,
                      "actual": 1,
                      "expected": 1
                    },
                    {
                      "name": "Ineligible jobs retain their persisted state",
                      "passed": true,
                      "actual": [],
                      "expected": []
                    }
                  ],
                  "violations": []
                },
                "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
              }
            },
            {
              "id": "future",
              "title": "Leave a future job alone",
              "passed": true,
              "run": {
                "engine": "tend-sqlite-claim-v1",
                "caseId": "tend-claims",
                "condition": "future",
                "title": "Leave a future job alone",
                "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
                "status": "completed",
                "error": null,
                "initial": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "state": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "trace": [
                  {
                    "step": 1,
                    "kind": "initial",
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 2,
                    "kind": "process-start",
                    "actor": "A",
                    "pid": 43112,
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 3,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 43112,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 4,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": null,
                    "actor": "A",
                    "pid": 43112,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 5,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 43112,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 6,
                    "kind": "claim-result",
                    "actor": "A",
                    "pid": 43112,
                    "at": "2026-10-30T12:00:00.000Z",
                    "claim": null,
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 7,
                    "kind": "process-start",
                    "actor": "B",
                    "pid": 42484,
                    "at": "2026-10-30T12:00:01.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 8,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 42484,
                    "at": "2026-10-30T12:00:01.000Z"
                  },
                  {
                    "step": 9,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:01.000Z",
                      "2026-10-30T12:00:01.000Z",
                      "2026-10-30T11:59:01.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": null,
                    "actor": "B",
                    "pid": 42484,
                    "at": "2026-10-30T12:00:01.000Z"
                  },
                  {
                    "step": 10,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 42484,
                    "at": "2026-10-30T12:00:01.000Z"
                  },
                  {
                    "step": 11,
                    "kind": "claim-result",
                    "actor": "B",
                    "pid": 42484,
                    "at": "2026-10-30T12:00:01.000Z",
                    "claim": null,
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 12,
                    "kind": "final",
                    "at": "2026-10-30T12:00:01.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "receipts": []
                  }
                ],
                "receipts": [],
                "verdict": {
                  "passed": true,
                  "checks": [
                    {
                      "name": "A: claim eligibility",
                      "passed": true,
                      "actual": null,
                      "expected": []
                    },
                    {
                      "name": "A: declined claim preserves all rows",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T13:00:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "scheduled",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T13:00:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "scheduled",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ]
                    },
                    {
                      "name": "B: claim eligibility",
                      "passed": true,
                      "actual": null,
                      "expected": []
                    },
                    {
                      "name": "B: declined claim preserves all rows",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T13:00:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "scheduled",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T13:00:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "scheduled",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ]
                    },
                    {
                      "name": "Exactly the expected local fixture completions",
                      "passed": true,
                      "actual": 0,
                      "expected": 0
                    },
                    {
                      "name": "Ineligible jobs retain their persisted state",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T13:00:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "scheduled",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T13:00:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "scheduled",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ]
                    }
                  ],
                  "violations": []
                },
                "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
              }
            },
            {
              "id": "completed",
              "title": "Do not replay finished work",
              "passed": true,
              "run": {
                "engine": "tend-sqlite-claim-v1",
                "caseId": "tend-claims",
                "condition": "completed",
                "title": "Do not replay finished work",
                "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
                "status": "completed",
                "error": null,
                "initial": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "state": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "trace": [
                  {
                    "step": 1,
                    "kind": "initial",
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ]
                  },
                  {
                    "step": 2,
                    "kind": "process-start",
                    "actor": "A",
                    "pid": 42252,
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ]
                  },
                  {
                    "step": 3,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "actor": "A",
                    "pid": 42252,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 4,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "result": null,
                    "actor": "A",
                    "pid": 42252,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 5,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "actor": "A",
                    "pid": 42252,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 6,
                    "kind": "claim-result",
                    "actor": "A",
                    "pid": 42252,
                    "at": "2026-10-30T12:00:00.000Z",
                    "claim": null,
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ]
                  },
                  {
                    "step": 7,
                    "kind": "process-start",
                    "actor": "B",
                    "pid": 46684,
                    "at": "2026-10-30T12:00:01.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ]
                  },
                  {
                    "step": 8,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "actor": "B",
                    "pid": 46684,
                    "at": "2026-10-30T12:00:01.000Z"
                  },
                  {
                    "step": 9,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:01.000Z",
                      "2026-10-30T12:00:01.000Z",
                      "2026-10-30T11:59:01.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "result": null,
                    "actor": "B",
                    "pid": 46684,
                    "at": "2026-10-30T12:00:01.000Z"
                  },
                  {
                    "step": 10,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "actor": "B",
                    "pid": 46684,
                    "at": "2026-10-30T12:00:01.000Z"
                  },
                  {
                    "step": 11,
                    "kind": "claim-result",
                    "actor": "B",
                    "pid": 46684,
                    "at": "2026-10-30T12:00:01.000Z",
                    "claim": null,
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ]
                  },
                  {
                    "step": 12,
                    "kind": "final",
                    "at": "2026-10-30T12:00:01.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:40.000Z"
                      }
                    ],
                    "receipts": []
                  }
                ],
                "receipts": [],
                "verdict": {
                  "passed": true,
                  "checks": [
                    {
                      "name": "A: claim eligibility",
                      "passed": true,
                      "actual": null,
                      "expected": []
                    },
                    {
                      "name": "A: declined claim preserves all rows",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "completed",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": "2026-10-30T11:59:40.000Z"
                        }
                      ],
                      "expected": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "completed",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": "2026-10-30T11:59:40.000Z"
                        }
                      ]
                    },
                    {
                      "name": "B: claim eligibility",
                      "passed": true,
                      "actual": null,
                      "expected": []
                    },
                    {
                      "name": "B: declined claim preserves all rows",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "completed",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": "2026-10-30T11:59:40.000Z"
                        }
                      ],
                      "expected": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "completed",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": "2026-10-30T11:59:40.000Z"
                        }
                      ]
                    },
                    {
                      "name": "Exactly the expected local fixture completions",
                      "passed": true,
                      "actual": 0,
                      "expected": 0
                    },
                    {
                      "name": "Ineligible jobs retain their persisted state",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "completed",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": "2026-10-30T11:59:40.000Z"
                        }
                      ],
                      "expected": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "completed",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": "2026-10-30T11:59:40.000Z"
                        }
                      ]
                    }
                  ],
                  "violations": []
                },
                "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
              }
            },
            {
              "id": "retry",
              "title": "Preserve the retry path",
              "passed": true,
              "run": {
                "engine": "tend-sqlite-claim-v1",
                "caseId": "tend-claims",
                "condition": "retry",
                "title": "Preserve the retry path",
                "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
                "status": "completed",
                "error": null,
                "initial": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "retrying",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "state": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:00:01.000Z"
                  }
                ],
                "trace": [
                  {
                    "step": 1,
                    "kind": "initial",
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "retrying",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 2,
                    "kind": "process-start",
                    "actor": "A",
                    "pid": 33812,
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "retrying",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 3,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "retrying",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 33812,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 4,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "retrying",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "retrying",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "retrying",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 33812,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 5,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "followup-blue",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "retrying",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "A",
                    "pid": 33812,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 6,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 33812,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 7,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 33812,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 8,
                    "kind": "claim-result",
                    "actor": "A",
                    "pid": 33812,
                    "at": "2026-10-30T12:00:00.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 1,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 9,
                    "kind": "completion",
                    "actor": "A",
                    "pid": 33812,
                    "at": "2026-10-30T12:00:01.000Z",
                    "jobId": "followup-blue",
                    "generation": 1,
                    "accepted": true,
                    "before": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "after": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:00:01.000Z"
                    }
                  },
                  {
                    "step": 10,
                    "kind": "final",
                    "at": "2026-10-30T12:00:01.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T12:00:01.000Z"
                      }
                    ],
                    "receipts": [
                      {
                        "jobId": "followup-blue",
                        "generation": 1,
                        "actor": "A",
                        "kind": "local-fixture-completion"
                      }
                    ]
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 1,
                    "actor": "A",
                    "kind": "local-fixture-completion"
                  }
                ],
                "verdict": {
                  "passed": true,
                  "checks": [
                    {
                      "name": "A: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 1,
                        "returned": 1
                      },
                      "expected": 1
                    },
                    {
                      "name": "A: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      }
                    },
                    {
                      "name": "A: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 1,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:00:00.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "A: current generation completion",
                      "passed": true,
                      "actual": true,
                      "expected": true
                    },
                    {
                      "name": "Exactly the expected local fixture completions",
                      "passed": true,
                      "actual": 1,
                      "expected": 1
                    },
                    {
                      "name": "Ineligible jobs retain their persisted state",
                      "passed": true,
                      "actual": [],
                      "expected": []
                    }
                  ],
                  "violations": []
                },
                "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
              }
            },
            {
              "id": "mixed",
              "title": "Recover only the eligible row",
              "passed": true,
              "run": {
                "engine": "tend-sqlite-claim-v1",
                "caseId": "tend-claims",
                "condition": "mixed",
                "title": "Recover only the eligible row",
                "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
                "status": "completed",
                "error": null,
                "initial": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  }
                ],
                "state": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:31.000Z"
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "trace": [
                  {
                    "step": 1,
                    "kind": "initial",
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 2,
                    "kind": "process-start",
                    "actor": "A",
                    "pid": 41640,
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 3,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 41640,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 4,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 41640,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 5,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "followup-blue",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "A",
                    "pid": 41640,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 6,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 41640,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 7,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 41640,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 8,
                    "kind": "claim-result",
                    "actor": "A",
                    "pid": 41640,
                    "at": "2026-10-30T12:00:00.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 1,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 9,
                    "kind": "process-killed",
                    "actor": "A",
                    "at": "2026-10-30T12:00:01.000Z",
                    "pid": 41640,
                    "code": null,
                    "signal": "SIGTERM",
                    "reason": "Stopped after the committed claim and before the fixture processor",
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 10,
                    "kind": "process-start",
                    "actor": "B",
                    "pid": 38628,
                    "at": "2026-10-30T12:01:30.000Z",
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 11,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 38628,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 12,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:00:30.000Z"
                    ],
                    "before": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "B",
                    "pid": 38628,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 13,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:01:30.000Z",
                      "followup-blue",
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:01:30.000Z",
                      "2026-10-30T12:00:30.000Z"
                    ],
                    "before": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "B",
                    "pid": 38628,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 14,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "B",
                    "pid": 38628,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 15,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 38628,
                    "at": "2026-10-30T12:01:30.000Z"
                  },
                  {
                    "step": 16,
                    "kind": "claim-result",
                    "actor": "B",
                    "pid": 38628,
                    "at": "2026-10-30T12:01:30.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 2,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 17,
                    "kind": "completion",
                    "actor": "B",
                    "pid": 38628,
                    "at": "2026-10-30T12:01:31.000Z",
                    "jobId": "followup-blue",
                    "generation": 2,
                    "accepted": true,
                    "before": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "after": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:01:31.000Z"
                    }
                  },
                  {
                    "step": 18,
                    "kind": "final",
                    "at": "2026-10-30T12:01:31.000Z",
                    "rows": [
                      {
                        "id": "completed-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-done",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T11:59:50.000Z"
                      },
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:30.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T12:01:31.000Z"
                      },
                      {
                        "id": "future-protected",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T13:00:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-future",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "receipts": [
                      {
                        "jobId": "followup-blue",
                        "generation": 2,
                        "actor": "B",
                        "kind": "local-fixture-completion"
                      }
                    ]
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 2,
                    "actor": "B",
                    "kind": "local-fixture-completion"
                  }
                ],
                "verdict": {
                  "passed": true,
                  "checks": [
                    {
                      "name": "A: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 1,
                        "returned": 1
                      },
                      "expected": 1
                    },
                    {
                      "name": "A: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      }
                    },
                    {
                      "name": "A: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "completed-protected",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "completed",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-done",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": "2026-10-30T11:59:50.000Z"
                        },
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 1,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:00:00.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        },
                        {
                          "id": "future-protected",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T13:00:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "scheduled",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-future",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "Killed worker exited before restart",
                      "passed": true,
                      "actual": 41640,
                      "expected": "Observed process exit"
                    },
                    {
                      "name": "B: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "B: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "B: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 2,
                        "returned": 2
                      },
                      "expected": 2
                    },
                    {
                      "name": "B: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:01:30.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:01:30.000Z"
                      }
                    },
                    {
                      "name": "B: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "completed-protected",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "completed",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-done",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": "2026-10-30T11:59:50.000Z"
                        },
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 2,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:01:30.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        },
                        {
                          "id": "future-protected",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T13:00:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "scheduled",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-future",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "B: current generation completion",
                      "passed": true,
                      "actual": true,
                      "expected": true
                    },
                    {
                      "name": "Exactly the expected local fixture completions",
                      "passed": true,
                      "actual": 1,
                      "expected": 1
                    },
                    {
                      "name": "Ineligible jobs retain their persisted state",
                      "passed": true,
                      "actual": [
                        {
                          "id": "completed-protected",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "completed",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-done",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": "2026-10-30T11:59:50.000Z"
                        },
                        {
                          "id": "future-protected",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T13:00:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "scheduled",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-future",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": [
                        {
                          "id": "future-protected",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T13:00:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "scheduled",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-future",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        },
                        {
                          "id": "completed-protected",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "completed",
                          "attempt_count": 0,
                          "last_error": null,
                          "idempotency_key": "key-done",
                          "claimed_at": null,
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": "2026-10-30T11:59:50.000Z"
                        }
                      ]
                    }
                  ],
                  "violations": []
                },
                "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
              }
            },
            {
              "id": "lease-edge",
              "title": "Recover at the lease boundary",
              "passed": true,
              "run": {
                "engine": "tend-sqlite-claim-v1",
                "caseId": "tend-claims",
                "condition": "lease-edge",
                "title": "Recover at the lease boundary",
                "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
                "status": "completed",
                "error": null,
                "initial": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "state": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:01.000Z"
                  }
                ],
                "trace": [
                  {
                    "step": 1,
                    "kind": "initial",
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 2,
                    "kind": "process-start",
                    "actor": "A",
                    "pid": 48096,
                    "at": "2026-10-30T12:00:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 3,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 48096,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 4,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 48096,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 5,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:00:00.000Z",
                      "followup-blue",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T12:00:00.000Z",
                      "2026-10-30T11:59:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 0,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": null,
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "A",
                    "pid": 48096,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 6,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 48096,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 7,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 48096,
                    "at": "2026-10-30T12:00:00.000Z"
                  },
                  {
                    "step": 8,
                    "kind": "claim-result",
                    "actor": "A",
                    "pid": 48096,
                    "at": "2026-10-30T12:00:00.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 1,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 9,
                    "kind": "process-start",
                    "actor": "B",
                    "pid": 47336,
                    "at": "2026-10-30T12:01:00.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 10,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 47336,
                    "at": "2026-10-30T12:01:00.000Z"
                  },
                  {
                    "step": 11,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2026-10-30T12:01:00.000Z",
                      "2026-10-30T12:01:00.000Z",
                      "2026-10-30T12:00:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "B",
                    "pid": 47336,
                    "at": "2026-10-30T12:01:00.000Z"
                  },
                  {
                    "step": 12,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2026-10-30T12:01:00.000Z",
                      "followup-blue",
                      "2026-10-30T12:01:00.000Z",
                      "2026-10-30T12:01:00.000Z",
                      "2026-10-30T12:00:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 1,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:00:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "B",
                    "pid": 47336,
                    "at": "2026-10-30T12:01:00.000Z"
                  },
                  {
                    "step": 13,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-blue"
                    ],
                    "before": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "actor": "B",
                    "pid": 47336,
                    "at": "2026-10-30T12:01:00.000Z"
                  },
                  {
                    "step": 14,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 47336,
                    "at": "2026-10-30T12:01:00.000Z"
                  },
                  {
                    "step": 15,
                    "kind": "claim-result",
                    "actor": "B",
                    "pid": 47336,
                    "at": "2026-10-30T12:01:00.000Z",
                    "claim": {
                      "id": "followup-blue",
                      "incidentId": "incident-fixture",
                      "dueAt": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 2,
                      "lastError": null,
                      "idempotencyKey": "key-blue",
                      "createdAt": "2026-10-30T11:00:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 16,
                    "kind": "completion",
                    "actor": "A",
                    "pid": 48096,
                    "at": "2026-10-30T12:01:00.001Z",
                    "jobId": "followup-blue",
                    "generation": 1,
                    "accepted": false,
                    "before": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "after": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  },
                  {
                    "step": 17,
                    "kind": "completion",
                    "actor": "B",
                    "pid": 47336,
                    "at": "2026-10-30T12:01:01.000Z",
                    "jobId": "followup-blue",
                    "generation": 2,
                    "accepted": true,
                    "before": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    "after": {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T12:01:01.000Z"
                    }
                  },
                  {
                    "step": 18,
                    "kind": "final",
                    "at": "2026-10-30T12:01:01.000Z",
                    "rows": [
                      {
                        "id": "followup-blue",
                        "incident_id": "incident-fixture",
                        "due_at": "2026-10-30T11:59:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 2,
                        "last_error": null,
                        "idempotency_key": "key-blue",
                        "claimed_at": "2026-10-30T12:01:00.000Z",
                        "created_at": "2026-10-30T11:00:00.000Z",
                        "completed_at": "2026-10-30T12:01:01.000Z"
                      }
                    ],
                    "receipts": [
                      {
                        "jobId": "followup-blue",
                        "generation": 2,
                        "actor": "B",
                        "kind": "local-fixture-completion"
                      }
                    ]
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 2,
                    "actor": "B",
                    "kind": "local-fixture-completion"
                  }
                ],
                "verdict": {
                  "passed": true,
                  "checks": [
                    {
                      "name": "A: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "A: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 1,
                        "returned": 1
                      },
                      "expected": 1
                    },
                    {
                      "name": "A: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:00:00.000Z"
                      }
                    },
                    {
                      "name": "A: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 1,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:00:00.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "B: claim eligibility",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "B: returned job is eligible",
                      "passed": true,
                      "actual": "followup-blue",
                      "expected": [
                        "followup-blue"
                      ]
                    },
                    {
                      "name": "B: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 2,
                        "returned": 2
                      },
                      "expected": 2
                    },
                    {
                      "name": "B: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:01:00.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2026-10-30T12:01:00.000Z"
                      }
                    },
                    {
                      "name": "B: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-blue",
                          "incident_id": "incident-fixture",
                          "due_at": "2026-10-30T11:59:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 2,
                          "last_error": null,
                          "idempotency_key": "key-blue",
                          "claimed_at": "2026-10-30T12:01:00.000Z",
                          "created_at": "2026-10-30T11:00:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "A: stale generation completion",
                      "passed": true,
                      "actual": false,
                      "expected": false
                    },
                    {
                      "name": "B: current generation completion",
                      "passed": true,
                      "actual": true,
                      "expected": true
                    },
                    {
                      "name": "Exactly the expected local fixture completions",
                      "passed": true,
                      "actual": 1,
                      "expected": 1
                    },
                    {
                      "name": "Ineligible jobs retain their persisted state",
                      "passed": true,
                      "actual": [],
                      "expected": []
                    }
                  ],
                  "violations": []
                },
                "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
              }
            },
            {
              "id": "different-input",
              "title": "Change IDs, date and attempt count",
              "passed": true,
              "run": {
                "engine": "tend-sqlite-claim-v1",
                "caseId": "tend-claims",
                "condition": "different-input",
                "title": "Change IDs, date and attempt count",
                "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
                "status": "completed",
                "error": null,
                "initial": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 7,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": null,
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "state": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 9,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:31:30.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": "2027-02-12T09:31:31.000Z"
                  }
                ],
                "trace": [
                  {
                    "step": 1,
                    "kind": "initial",
                    "at": "2027-02-12T09:30:00.000Z",
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 7,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": null,
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 2,
                    "kind": "process-start",
                    "actor": "A",
                    "pid": 5760,
                    "at": "2027-02-12T09:30:00.000Z",
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 7,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": null,
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 3,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 7,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": null,
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 5760,
                    "at": "2027-02-12T09:30:00.000Z"
                  },
                  {
                    "step": 4,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2027-02-12T09:30:00.000Z",
                      "2027-02-12T09:30:00.000Z",
                      "2027-02-12T09:29:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 7,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": null,
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 7,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": null,
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 7,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": null,
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 5760,
                    "at": "2027-02-12T09:30:00.000Z"
                  },
                  {
                    "step": 5,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2027-02-12T09:30:00.000Z",
                      "followup-copper",
                      "2027-02-12T09:30:00.000Z",
                      "2027-02-12T09:30:00.000Z",
                      "2027-02-12T09:29:00.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "scheduled",
                        "attempt_count": 7,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": null,
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "A",
                    "pid": 5760,
                    "at": "2027-02-12T09:30:00.000Z"
                  },
                  {
                    "step": 6,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-copper"
                    ],
                    "before": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    },
                    "actor": "A",
                    "pid": 5760,
                    "at": "2027-02-12T09:30:00.000Z"
                  },
                  {
                    "step": 7,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "A",
                    "pid": 5760,
                    "at": "2027-02-12T09:30:00.000Z"
                  },
                  {
                    "step": 8,
                    "kind": "claim-result",
                    "actor": "A",
                    "pid": 5760,
                    "at": "2027-02-12T09:30:00.000Z",
                    "claim": {
                      "id": "followup-copper",
                      "incidentId": "incident-fixture",
                      "dueAt": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 8,
                      "lastError": null,
                      "idempotencyKey": "key-copper",
                      "createdAt": "2027-02-12T08:30:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 9,
                    "kind": "process-killed",
                    "actor": "A",
                    "at": "2027-02-12T09:30:01.000Z",
                    "pid": 5760,
                    "code": null,
                    "signal": "SIGTERM",
                    "reason": "Stopped after the committed claim and before the fixture processor",
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 10,
                    "kind": "process-start",
                    "actor": "B",
                    "pid": 38948,
                    "at": "2027-02-12T09:31:30.000Z",
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 11,
                    "kind": "transaction",
                    "action": "begin",
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 38948,
                    "at": "2027-02-12T09:31:30.000Z"
                  },
                  {
                    "step": 12,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                    "params": [
                      "2027-02-12T09:31:30.000Z",
                      "2027-02-12T09:31:30.000Z",
                      "2027-02-12T09:30:30.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    },
                    "actor": "B",
                    "pid": 38948,
                    "at": "2027-02-12T09:31:30.000Z"
                  },
                  {
                    "step": 13,
                    "kind": "sql",
                    "method": "run",
                    "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                    "params": [
                      "2027-02-12T09:31:30.000Z",
                      "followup-copper",
                      "2027-02-12T09:31:30.000Z",
                      "2027-02-12T09:31:30.000Z",
                      "2027-02-12T09:30:30.000Z"
                    ],
                    "before": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 8,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:30:00.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 9,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:31:30.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "changes": 1
                    },
                    "actor": "B",
                    "pid": 38948,
                    "at": "2027-02-12T09:31:30.000Z"
                  },
                  {
                    "step": 14,
                    "kind": "sql",
                    "method": "get",
                    "sql": "SELECT * FROM follow_ups WHERE id = ?",
                    "params": [
                      "followup-copper"
                    ],
                    "before": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 9,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:31:30.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "after": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 9,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:31:30.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "result": {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 9,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:31:30.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    },
                    "actor": "B",
                    "pid": 38948,
                    "at": "2027-02-12T09:31:30.000Z"
                  },
                  {
                    "step": 15,
                    "kind": "transaction",
                    "action": "commit",
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 9,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:31:30.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ],
                    "actor": "B",
                    "pid": 38948,
                    "at": "2027-02-12T09:31:30.000Z"
                  },
                  {
                    "step": 16,
                    "kind": "claim-result",
                    "actor": "B",
                    "pid": 38948,
                    "at": "2027-02-12T09:31:30.000Z",
                    "claim": {
                      "id": "followup-copper",
                      "incidentId": "incident-fixture",
                      "dueAt": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attemptCount": 9,
                      "lastError": null,
                      "idempotencyKey": "key-copper",
                      "createdAt": "2027-02-12T08:30:00.000Z",
                      "completedAt": null
                    },
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "claimed",
                        "attempt_count": 9,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:31:30.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": null
                      }
                    ]
                  },
                  {
                    "step": 17,
                    "kind": "completion",
                    "actor": "B",
                    "pid": 38948,
                    "at": "2027-02-12T09:31:31.000Z",
                    "jobId": "followup-copper",
                    "generation": 9,
                    "accepted": true,
                    "before": {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 9,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:31:30.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    },
                    "after": {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 9,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:31:30.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": "2027-02-12T09:31:31.000Z"
                    }
                  },
                  {
                    "step": 18,
                    "kind": "final",
                    "at": "2027-02-12T09:31:31.000Z",
                    "rows": [
                      {
                        "id": "followup-copper",
                        "incident_id": "incident-fixture",
                        "due_at": "2027-02-12T09:29:00.000Z",
                        "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                        "status": "completed",
                        "attempt_count": 9,
                        "last_error": null,
                        "idempotency_key": "key-copper",
                        "claimed_at": "2027-02-12T09:31:30.000Z",
                        "created_at": "2027-02-12T08:30:00.000Z",
                        "completed_at": "2027-02-12T09:31:31.000Z"
                      }
                    ],
                    "receipts": [
                      {
                        "jobId": "followup-copper",
                        "generation": 9,
                        "actor": "B",
                        "kind": "local-fixture-completion"
                      }
                    ]
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-copper",
                    "generation": 9,
                    "actor": "B",
                    "kind": "local-fixture-completion"
                  }
                ],
                "verdict": {
                  "passed": true,
                  "checks": [
                    {
                      "name": "A: claim eligibility",
                      "passed": true,
                      "actual": "followup-copper",
                      "expected": [
                        "followup-copper"
                      ]
                    },
                    {
                      "name": "A: returned job is eligible",
                      "passed": true,
                      "actual": "followup-copper",
                      "expected": [
                        "followup-copper"
                      ]
                    },
                    {
                      "name": "A: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 8,
                        "returned": 8
                      },
                      "expected": 8
                    },
                    {
                      "name": "A: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2027-02-12T09:30:00.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2027-02-12T09:30:00.000Z"
                      }
                    },
                    {
                      "name": "A: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-copper",
                          "incident_id": "incident-fixture",
                          "due_at": "2027-02-12T09:29:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 8,
                          "last_error": null,
                          "idempotency_key": "key-copper",
                          "claimed_at": "2027-02-12T09:30:00.000Z",
                          "created_at": "2027-02-12T08:30:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "Killed worker exited before restart",
                      "passed": true,
                      "actual": 5760,
                      "expected": "Observed process exit"
                    },
                    {
                      "name": "B: claim eligibility",
                      "passed": true,
                      "actual": "followup-copper",
                      "expected": [
                        "followup-copper"
                      ]
                    },
                    {
                      "name": "B: returned job is eligible",
                      "passed": true,
                      "actual": "followup-copper",
                      "expected": [
                        "followup-copper"
                      ]
                    },
                    {
                      "name": "B: durable generation increments once",
                      "passed": true,
                      "actual": {
                        "stored": 9,
                        "returned": 9
                      },
                      "expected": 9
                    },
                    {
                      "name": "B: durable claim uses the supplied clock",
                      "passed": true,
                      "actual": {
                        "status": "claimed",
                        "claimedAt": "2027-02-12T09:31:30.000Z"
                      },
                      "expected": {
                        "status": "claimed",
                        "claimedAt": "2027-02-12T09:31:30.000Z"
                      }
                    },
                    {
                      "name": "B: preserve payload, deadlines and other jobs",
                      "passed": true,
                      "actual": [
                        {
                          "id": "followup-copper",
                          "incident_id": "incident-fixture",
                          "due_at": "2027-02-12T09:29:00.000Z",
                          "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                          "status": "claimed",
                          "attempt_count": 9,
                          "last_error": null,
                          "idempotency_key": "key-copper",
                          "claimed_at": "2027-02-12T09:31:30.000Z",
                          "created_at": "2027-02-12T08:30:00.000Z",
                          "completed_at": null
                        }
                      ],
                      "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                    },
                    {
                      "name": "B: current generation completion",
                      "passed": true,
                      "actual": true,
                      "expected": true
                    },
                    {
                      "name": "Exactly the expected local fixture completions",
                      "passed": true,
                      "actual": 1,
                      "expected": 1
                    },
                    {
                      "name": "Ineligible jobs retain their persisted state",
                      "passed": true,
                      "actual": [],
                      "expected": []
                    }
                  ],
                  "violations": []
                },
                "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
              }
            }
          ],
          "scope": "Ten predeclared process/clock conditions. Not an exhaustive scheduler, arbitrary repository runner or production correctness proof."
        }
      },
      "sequence": 6
    }
  ],
  "requests": 2,
  "costUsd": 0.015165000000000001,
  "best": {
    "source": "claimNextDue(now = new Date()): FollowUp | null {\n    const timestamp = now.toISOString();\n    const expiry = new Date(now.getTime() - 60000).toISOString();\n    const claim = this.database.transaction(() => {\n      const row = this.database\n        .prepare(\n          `SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1`\n        )\n        .get(timestamp, timestamp, expiry) as Row | undefined;\n      if (!row) return null;\n      const result = this.database\n        .prepare(\n          `UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))`\n        )\n        .run(timestamp, row.id, timestamp, timestamp, expiry);\n      if (result.changes !== 1) return null;\n      const claimed = this.database\n        .prepare(\"SELECT * FROM follow_ups WHERE id = ?\")\n        .get(row.id) as Row;\n      return followUpFromRow(claimed);\n    });\n    return claim();\n  }",
    "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
    "explanation": "Recover expired claimed leases (due and claimed_at <= now-60s) while protecting fresh leases, future/completed rows; atomic SELECT+guarded UPDATE preserves generation exclusivity.",
    "verification": {
      "engine": "tend-sqlite-claim-v1",
      "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
      "passed": true,
      "tested": 10,
      "failures": 0,
      "exhaustive": false,
      "cases": [
        {
          "id": "normal",
          "title": "Finish without interruption",
          "passed": true,
          "run": {
            "engine": "tend-sqlite-claim-v1",
            "caseId": "tend-claims",
            "condition": "normal",
            "title": "Finish without interruption",
            "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
            "status": "completed",
            "error": null,
            "initial": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "state": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T12:00:01.000Z"
              }
            ],
            "trace": [
              {
                "step": 1,
                "kind": "initial",
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 2,
                "kind": "process-start",
                "actor": "A",
                "pid": 43472,
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 3,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 43472,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 4,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 43472,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 5,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "followup-blue",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "A",
                "pid": 43472,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 6,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 43472,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 7,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 43472,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 8,
                "kind": "claim-result",
                "actor": "A",
                "pid": 43472,
                "at": "2026-10-30T12:00:00.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 1,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 9,
                "kind": "completion",
                "actor": "A",
                "pid": 43472,
                "at": "2026-10-30T12:00:01.000Z",
                "jobId": "followup-blue",
                "generation": 1,
                "accepted": true,
                "before": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "after": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:00:01.000Z"
                }
              },
              {
                "step": 10,
                "kind": "final",
                "at": "2026-10-30T12:00:01.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:00:01.000Z"
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 1,
                    "actor": "A",
                    "kind": "local-fixture-completion"
                  }
                ]
              }
            ],
            "receipts": [
              {
                "jobId": "followup-blue",
                "generation": 1,
                "actor": "A",
                "kind": "local-fixture-completion"
              }
            ],
            "verdict": {
              "passed": true,
              "checks": [
                {
                  "name": "A: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 1,
                    "returned": 1
                  },
                  "expected": 1
                },
                {
                  "name": "A: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  }
                },
                {
                  "name": "A: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "A: current generation completion",
                  "passed": true,
                  "actual": true,
                  "expected": true
                },
                {
                  "name": "Exactly the expected local fixture completions",
                  "passed": true,
                  "actual": 1,
                  "expected": 1
                },
                {
                  "name": "Ineligible jobs retain their persisted state",
                  "passed": true,
                  "actual": [],
                  "expected": []
                }
              ],
              "violations": []
            },
            "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
          }
        },
        {
          "id": "crash-restart",
          "title": "Crash after the committed claim",
          "passed": true,
          "run": {
            "engine": "tend-sqlite-claim-v1",
            "caseId": "tend-claims",
            "condition": "crash-restart",
            "title": "Crash after the committed claim",
            "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
            "status": "completed",
            "error": null,
            "initial": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "state": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 2,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:01:30.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T12:01:31.000Z"
              }
            ],
            "trace": [
              {
                "step": 1,
                "kind": "initial",
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 2,
                "kind": "process-start",
                "actor": "A",
                "pid": 39504,
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 3,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 39504,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 4,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 39504,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 5,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "followup-blue",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "A",
                "pid": 39504,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 6,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 39504,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 7,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 39504,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 8,
                "kind": "claim-result",
                "actor": "A",
                "pid": 39504,
                "at": "2026-10-30T12:00:00.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 1,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 9,
                "kind": "process-killed",
                "actor": "A",
                "at": "2026-10-30T12:00:01.000Z",
                "pid": 39504,
                "code": null,
                "signal": "SIGTERM",
                "reason": "Stopped after the committed claim and before the fixture processor",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 10,
                "kind": "process-start",
                "actor": "B",
                "pid": 49404,
                "at": "2026-10-30T12:01:30.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 11,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 49404,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 12,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:00:30.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "B",
                "pid": 49404,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 13,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:01:30.000Z",
                  "followup-blue",
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:00:30.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "B",
                "pid": 49404,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 14,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "B",
                "pid": 49404,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 15,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 49404,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 16,
                "kind": "claim-result",
                "actor": "B",
                "pid": 49404,
                "at": "2026-10-30T12:01:30.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 2,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 17,
                "kind": "completion",
                "actor": "B",
                "pid": 49404,
                "at": "2026-10-30T12:01:31.000Z",
                "jobId": "followup-blue",
                "generation": 2,
                "accepted": true,
                "before": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "after": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:01:31.000Z"
                }
              },
              {
                "step": 18,
                "kind": "final",
                "at": "2026-10-30T12:01:31.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:31.000Z"
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 2,
                    "actor": "B",
                    "kind": "local-fixture-completion"
                  }
                ]
              }
            ],
            "receipts": [
              {
                "jobId": "followup-blue",
                "generation": 2,
                "actor": "B",
                "kind": "local-fixture-completion"
              }
            ],
            "verdict": {
              "passed": true,
              "checks": [
                {
                  "name": "A: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 1,
                    "returned": 1
                  },
                  "expected": 1
                },
                {
                  "name": "A: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  }
                },
                {
                  "name": "A: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "Killed worker exited before restart",
                  "passed": true,
                  "actual": 39504,
                  "expected": "Observed process exit"
                },
                {
                  "name": "B: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "B: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "B: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 2,
                    "returned": 2
                  },
                  "expected": 2
                },
                {
                  "name": "B: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:01:30.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:01:30.000Z"
                  }
                },
                {
                  "name": "B: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "B: current generation completion",
                  "passed": true,
                  "actual": true,
                  "expected": true
                },
                {
                  "name": "Exactly the expected local fixture completions",
                  "passed": true,
                  "actual": 1,
                  "expected": 1
                },
                {
                  "name": "Ineligible jobs retain their persisted state",
                  "passed": true,
                  "actual": [],
                  "expected": []
                }
              ],
              "violations": []
            },
            "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
          }
        },
        {
          "id": "live-owner",
          "title": "Keep a live owner's job",
          "passed": true,
          "run": {
            "engine": "tend-sqlite-claim-v1",
            "caseId": "tend-claims",
            "condition": "live-owner",
            "title": "Keep a live owner's job",
            "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
            "status": "completed",
            "error": null,
            "initial": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "state": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T12:00:31.000Z"
              }
            ],
            "trace": [
              {
                "step": 1,
                "kind": "initial",
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 2,
                "kind": "process-start",
                "actor": "A",
                "pid": 42080,
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 3,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 42080,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 4,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 42080,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 5,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "followup-blue",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "A",
                "pid": 42080,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 6,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 42080,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 7,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 42080,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 8,
                "kind": "claim-result",
                "actor": "A",
                "pid": 42080,
                "at": "2026-10-30T12:00:00.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 1,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 9,
                "kind": "process-start",
                "actor": "B",
                "pid": 42056,
                "at": "2026-10-30T12:00:30.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 10,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 42056,
                "at": "2026-10-30T12:00:30.000Z"
              },
              {
                "step": 11,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:30.000Z",
                  "2026-10-30T12:00:30.000Z",
                  "2026-10-30T11:59:30.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": null,
                "actor": "B",
                "pid": 42056,
                "at": "2026-10-30T12:00:30.000Z"
              },
              {
                "step": 12,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 42056,
                "at": "2026-10-30T12:00:30.000Z"
              },
              {
                "step": 13,
                "kind": "claim-result",
                "actor": "B",
                "pid": 42056,
                "at": "2026-10-30T12:00:30.000Z",
                "claim": null,
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 14,
                "kind": "completion",
                "actor": "A",
                "pid": 42080,
                "at": "2026-10-30T12:00:31.000Z",
                "jobId": "followup-blue",
                "generation": 1,
                "accepted": true,
                "before": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "after": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:00:31.000Z"
                }
              },
              {
                "step": 15,
                "kind": "final",
                "at": "2026-10-30T12:00:31.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:00:31.000Z"
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 1,
                    "actor": "A",
                    "kind": "local-fixture-completion"
                  }
                ]
              }
            ],
            "receipts": [
              {
                "jobId": "followup-blue",
                "generation": 1,
                "actor": "A",
                "kind": "local-fixture-completion"
              }
            ],
            "verdict": {
              "passed": true,
              "checks": [
                {
                  "name": "A: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 1,
                    "returned": 1
                  },
                  "expected": 1
                },
                {
                  "name": "A: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  }
                },
                {
                  "name": "A: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "B: claim eligibility",
                  "passed": true,
                  "actual": null,
                  "expected": []
                },
                {
                  "name": "B: declined claim preserves all rows",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "name": "A: current generation completion",
                  "passed": true,
                  "actual": true,
                  "expected": true
                },
                {
                  "name": "Exactly the expected local fixture completions",
                  "passed": true,
                  "actual": 1,
                  "expected": 1
                },
                {
                  "name": "Ineligible jobs retain their persisted state",
                  "passed": true,
                  "actual": [],
                  "expected": []
                }
              ],
              "violations": []
            },
            "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
          }
        },
        {
          "id": "expired-owner",
          "title": "Reject the previous generation",
          "passed": true,
          "run": {
            "engine": "tend-sqlite-claim-v1",
            "caseId": "tend-claims",
            "condition": "expired-owner",
            "title": "Reject the previous generation",
            "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
            "status": "completed",
            "error": null,
            "initial": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "state": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 2,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:01:30.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T12:01:31.000Z"
              }
            ],
            "trace": [
              {
                "step": 1,
                "kind": "initial",
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 2,
                "kind": "process-start",
                "actor": "A",
                "pid": 46628,
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 3,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 46628,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 4,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 46628,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 5,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "followup-blue",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "A",
                "pid": 46628,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 6,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 46628,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 7,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 46628,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 8,
                "kind": "claim-result",
                "actor": "A",
                "pid": 46628,
                "at": "2026-10-30T12:00:00.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 1,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 9,
                "kind": "process-start",
                "actor": "B",
                "pid": 41272,
                "at": "2026-10-30T12:01:30.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 10,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 41272,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 11,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:00:30.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "B",
                "pid": 41272,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 12,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:01:30.000Z",
                  "followup-blue",
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:00:30.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "B",
                "pid": 41272,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 13,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "B",
                "pid": 41272,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 14,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 41272,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 15,
                "kind": "claim-result",
                "actor": "B",
                "pid": 41272,
                "at": "2026-10-30T12:01:30.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 2,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 16,
                "kind": "completion",
                "actor": "A",
                "pid": 46628,
                "at": "2026-10-30T12:01:30.001Z",
                "jobId": "followup-blue",
                "generation": 1,
                "accepted": false,
                "before": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "after": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              },
              {
                "step": 17,
                "kind": "completion",
                "actor": "B",
                "pid": 41272,
                "at": "2026-10-30T12:01:31.000Z",
                "jobId": "followup-blue",
                "generation": 2,
                "accepted": true,
                "before": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "after": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:01:31.000Z"
                }
              },
              {
                "step": 18,
                "kind": "final",
                "at": "2026-10-30T12:01:31.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:31.000Z"
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 2,
                    "actor": "B",
                    "kind": "local-fixture-completion"
                  }
                ]
              }
            ],
            "receipts": [
              {
                "jobId": "followup-blue",
                "generation": 2,
                "actor": "B",
                "kind": "local-fixture-completion"
              }
            ],
            "verdict": {
              "passed": true,
              "checks": [
                {
                  "name": "A: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 1,
                    "returned": 1
                  },
                  "expected": 1
                },
                {
                  "name": "A: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  }
                },
                {
                  "name": "A: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "B: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "B: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "B: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 2,
                    "returned": 2
                  },
                  "expected": 2
                },
                {
                  "name": "B: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:01:30.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:01:30.000Z"
                  }
                },
                {
                  "name": "B: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "A: stale generation completion",
                  "passed": true,
                  "actual": false,
                  "expected": false
                },
                {
                  "name": "B: current generation completion",
                  "passed": true,
                  "actual": true,
                  "expected": true
                },
                {
                  "name": "Exactly the expected local fixture completions",
                  "passed": true,
                  "actual": 1,
                  "expected": 1
                },
                {
                  "name": "Ineligible jobs retain their persisted state",
                  "passed": true,
                  "actual": [],
                  "expected": []
                }
              ],
              "violations": []
            },
            "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
          }
        },
        {
          "id": "future",
          "title": "Leave a future job alone",
          "passed": true,
          "run": {
            "engine": "tend-sqlite-claim-v1",
            "caseId": "tend-claims",
            "condition": "future",
            "title": "Leave a future job alone",
            "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
            "status": "completed",
            "error": null,
            "initial": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T13:00:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "state": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T13:00:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "trace": [
              {
                "step": 1,
                "kind": "initial",
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 2,
                "kind": "process-start",
                "actor": "A",
                "pid": 43112,
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 3,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 43112,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 4,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": null,
                "actor": "A",
                "pid": 43112,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 5,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 43112,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 6,
                "kind": "claim-result",
                "actor": "A",
                "pid": 43112,
                "at": "2026-10-30T12:00:00.000Z",
                "claim": null,
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 7,
                "kind": "process-start",
                "actor": "B",
                "pid": 42484,
                "at": "2026-10-30T12:00:01.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 8,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 42484,
                "at": "2026-10-30T12:00:01.000Z"
              },
              {
                "step": 9,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:01.000Z",
                  "2026-10-30T12:00:01.000Z",
                  "2026-10-30T11:59:01.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": null,
                "actor": "B",
                "pid": 42484,
                "at": "2026-10-30T12:00:01.000Z"
              },
              {
                "step": 10,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 42484,
                "at": "2026-10-30T12:00:01.000Z"
              },
              {
                "step": 11,
                "kind": "claim-result",
                "actor": "B",
                "pid": 42484,
                "at": "2026-10-30T12:00:01.000Z",
                "claim": null,
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 12,
                "kind": "final",
                "at": "2026-10-30T12:00:01.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "receipts": []
              }
            ],
            "receipts": [],
            "verdict": {
              "passed": true,
              "checks": [
                {
                  "name": "A: claim eligibility",
                  "passed": true,
                  "actual": null,
                  "expected": []
                },
                {
                  "name": "A: declined claim preserves all rows",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "name": "B: claim eligibility",
                  "passed": true,
                  "actual": null,
                  "expected": []
                },
                {
                  "name": "B: declined claim preserves all rows",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                },
                {
                  "name": "Exactly the expected local fixture completions",
                  "passed": true,
                  "actual": 0,
                  "expected": 0
                },
                {
                  "name": "Ineligible jobs retain their persisted state",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ]
                }
              ],
              "violations": []
            },
            "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
          }
        },
        {
          "id": "completed",
          "title": "Do not replay finished work",
          "passed": true,
          "run": {
            "engine": "tend-sqlite-claim-v1",
            "caseId": "tend-claims",
            "condition": "completed",
            "title": "Do not replay finished work",
            "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
            "status": "completed",
            "error": null,
            "initial": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T11:59:40.000Z"
              }
            ],
            "state": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T11:59:40.000Z"
              }
            ],
            "trace": [
              {
                "step": 1,
                "kind": "initial",
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ]
              },
              {
                "step": 2,
                "kind": "process-start",
                "actor": "A",
                "pid": 42252,
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ]
              },
              {
                "step": 3,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "actor": "A",
                "pid": 42252,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 4,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "result": null,
                "actor": "A",
                "pid": 42252,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 5,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "actor": "A",
                "pid": 42252,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 6,
                "kind": "claim-result",
                "actor": "A",
                "pid": 42252,
                "at": "2026-10-30T12:00:00.000Z",
                "claim": null,
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ]
              },
              {
                "step": 7,
                "kind": "process-start",
                "actor": "B",
                "pid": 46684,
                "at": "2026-10-30T12:00:01.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ]
              },
              {
                "step": 8,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "actor": "B",
                "pid": 46684,
                "at": "2026-10-30T12:00:01.000Z"
              },
              {
                "step": 9,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:01.000Z",
                  "2026-10-30T12:00:01.000Z",
                  "2026-10-30T11:59:01.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "result": null,
                "actor": "B",
                "pid": 46684,
                "at": "2026-10-30T12:00:01.000Z"
              },
              {
                "step": 10,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "actor": "B",
                "pid": 46684,
                "at": "2026-10-30T12:00:01.000Z"
              },
              {
                "step": 11,
                "kind": "claim-result",
                "actor": "B",
                "pid": 46684,
                "at": "2026-10-30T12:00:01.000Z",
                "claim": null,
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ]
              },
              {
                "step": 12,
                "kind": "final",
                "at": "2026-10-30T12:00:01.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:40.000Z"
                  }
                ],
                "receipts": []
              }
            ],
            "receipts": [],
            "verdict": {
              "passed": true,
              "checks": [
                {
                  "name": "A: claim eligibility",
                  "passed": true,
                  "actual": null,
                  "expected": []
                },
                {
                  "name": "A: declined claim preserves all rows",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "expected": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ]
                },
                {
                  "name": "B: claim eligibility",
                  "passed": true,
                  "actual": null,
                  "expected": []
                },
                {
                  "name": "B: declined claim preserves all rows",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "expected": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ]
                },
                {
                  "name": "Exactly the expected local fixture completions",
                  "passed": true,
                  "actual": 0,
                  "expected": 0
                },
                {
                  "name": "Ineligible jobs retain their persisted state",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ],
                  "expected": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:40.000Z"
                    }
                  ]
                }
              ],
              "violations": []
            },
            "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
          }
        },
        {
          "id": "retry",
          "title": "Preserve the retry path",
          "passed": true,
          "run": {
            "engine": "tend-sqlite-claim-v1",
            "caseId": "tend-claims",
            "condition": "retry",
            "title": "Preserve the retry path",
            "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
            "status": "completed",
            "error": null,
            "initial": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "retrying",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "state": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 1,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:00:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T12:00:01.000Z"
              }
            ],
            "trace": [
              {
                "step": 1,
                "kind": "initial",
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "retrying",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 2,
                "kind": "process-start",
                "actor": "A",
                "pid": 33812,
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "retrying",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 3,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "retrying",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 33812,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 4,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "retrying",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "retrying",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "retrying",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 33812,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 5,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "followup-blue",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "retrying",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "A",
                "pid": 33812,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 6,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 33812,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 7,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 33812,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 8,
                "kind": "claim-result",
                "actor": "A",
                "pid": 33812,
                "at": "2026-10-30T12:00:00.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 1,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 9,
                "kind": "completion",
                "actor": "A",
                "pid": 33812,
                "at": "2026-10-30T12:00:01.000Z",
                "jobId": "followup-blue",
                "generation": 1,
                "accepted": true,
                "before": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "after": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:00:01.000Z"
                }
              },
              {
                "step": 10,
                "kind": "final",
                "at": "2026-10-30T12:00:01.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:00:01.000Z"
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 1,
                    "actor": "A",
                    "kind": "local-fixture-completion"
                  }
                ]
              }
            ],
            "receipts": [
              {
                "jobId": "followup-blue",
                "generation": 1,
                "actor": "A",
                "kind": "local-fixture-completion"
              }
            ],
            "verdict": {
              "passed": true,
              "checks": [
                {
                  "name": "A: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 1,
                    "returned": 1
                  },
                  "expected": 1
                },
                {
                  "name": "A: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  }
                },
                {
                  "name": "A: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "A: current generation completion",
                  "passed": true,
                  "actual": true,
                  "expected": true
                },
                {
                  "name": "Exactly the expected local fixture completions",
                  "passed": true,
                  "actual": 1,
                  "expected": 1
                },
                {
                  "name": "Ineligible jobs retain their persisted state",
                  "passed": true,
                  "actual": [],
                  "expected": []
                }
              ],
              "violations": []
            },
            "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
          }
        },
        {
          "id": "mixed",
          "title": "Recover only the eligible row",
          "passed": true,
          "run": {
            "engine": "tend-sqlite-claim-v1",
            "caseId": "tend-claims",
            "condition": "mixed",
            "title": "Recover only the eligible row",
            "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
            "status": "completed",
            "error": null,
            "initial": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              },
              {
                "id": "future-protected",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T13:00:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-future",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              },
              {
                "id": "completed-protected",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-done",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T11:59:50.000Z"
              }
            ],
            "state": [
              {
                "id": "completed-protected",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-done",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T11:59:50.000Z"
              },
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 2,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:01:30.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T12:01:31.000Z"
              },
              {
                "id": "future-protected",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T13:00:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-future",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "trace": [
              {
                "step": 1,
                "kind": "initial",
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 2,
                "kind": "process-start",
                "actor": "A",
                "pid": 41640,
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 3,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 41640,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 4,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 41640,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 5,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "followup-blue",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "A",
                "pid": 41640,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 6,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 41640,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 7,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 41640,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 8,
                "kind": "claim-result",
                "actor": "A",
                "pid": 41640,
                "at": "2026-10-30T12:00:00.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 1,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 9,
                "kind": "process-killed",
                "actor": "A",
                "at": "2026-10-30T12:00:01.000Z",
                "pid": 41640,
                "code": null,
                "signal": "SIGTERM",
                "reason": "Stopped after the committed claim and before the fixture processor",
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 10,
                "kind": "process-start",
                "actor": "B",
                "pid": 38628,
                "at": "2026-10-30T12:01:30.000Z",
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 11,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 38628,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 12,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:00:30.000Z"
                ],
                "before": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "B",
                "pid": 38628,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 13,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:01:30.000Z",
                  "followup-blue",
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:01:30.000Z",
                  "2026-10-30T12:00:30.000Z"
                ],
                "before": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "B",
                "pid": 38628,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 14,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "B",
                "pid": 38628,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 15,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 38628,
                "at": "2026-10-30T12:01:30.000Z"
              },
              {
                "step": 16,
                "kind": "claim-result",
                "actor": "B",
                "pid": 38628,
                "at": "2026-10-30T12:01:30.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 2,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 17,
                "kind": "completion",
                "actor": "B",
                "pid": 38628,
                "at": "2026-10-30T12:01:31.000Z",
                "jobId": "followup-blue",
                "generation": 2,
                "accepted": true,
                "before": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "after": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:30.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:01:31.000Z"
                }
              },
              {
                "step": 18,
                "kind": "final",
                "at": "2026-10-30T12:01:31.000Z",
                "rows": [
                  {
                    "id": "completed-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-done",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T11:59:50.000Z"
                  },
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:30.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:31.000Z"
                  },
                  {
                    "id": "future-protected",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T13:00:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-future",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 2,
                    "actor": "B",
                    "kind": "local-fixture-completion"
                  }
                ]
              }
            ],
            "receipts": [
              {
                "jobId": "followup-blue",
                "generation": 2,
                "actor": "B",
                "kind": "local-fixture-completion"
              }
            ],
            "verdict": {
              "passed": true,
              "checks": [
                {
                  "name": "A: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 1,
                    "returned": 1
                  },
                  "expected": 1
                },
                {
                  "name": "A: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  }
                },
                {
                  "name": "A: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "Killed worker exited before restart",
                  "passed": true,
                  "actual": 41640,
                  "expected": "Observed process exit"
                },
                {
                  "name": "B: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "B: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "B: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 2,
                    "returned": 2
                  },
                  "expected": 2
                },
                {
                  "name": "B: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:01:30.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:01:30.000Z"
                  }
                },
                {
                  "name": "B: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:30.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "B: current generation completion",
                  "passed": true,
                  "actual": true,
                  "expected": true
                },
                {
                  "name": "Exactly the expected local fixture completions",
                  "passed": true,
                  "actual": 1,
                  "expected": 1
                },
                {
                  "name": "Ineligible jobs retain their persisted state",
                  "passed": true,
                  "actual": [
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    },
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": [
                    {
                      "id": "future-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T13:00:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "scheduled",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-future",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    },
                    {
                      "id": "completed-protected",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "completed",
                      "attempt_count": 0,
                      "last_error": null,
                      "idempotency_key": "key-done",
                      "claimed_at": null,
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": "2026-10-30T11:59:50.000Z"
                    }
                  ]
                }
              ],
              "violations": []
            },
            "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
          }
        },
        {
          "id": "lease-edge",
          "title": "Recover at the lease boundary",
          "passed": true,
          "run": {
            "engine": "tend-sqlite-claim-v1",
            "caseId": "tend-claims",
            "condition": "lease-edge",
            "title": "Recover at the lease boundary",
            "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
            "status": "completed",
            "error": null,
            "initial": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 0,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": null,
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": null
              }
            ],
            "state": [
              {
                "id": "followup-blue",
                "incident_id": "incident-fixture",
                "due_at": "2026-10-30T11:59:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 2,
                "last_error": null,
                "idempotency_key": "key-blue",
                "claimed_at": "2026-10-30T12:01:00.000Z",
                "created_at": "2026-10-30T11:00:00.000Z",
                "completed_at": "2026-10-30T12:01:01.000Z"
              }
            ],
            "trace": [
              {
                "step": 1,
                "kind": "initial",
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 2,
                "kind": "process-start",
                "actor": "A",
                "pid": 48096,
                "at": "2026-10-30T12:00:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 3,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 48096,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 4,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 0,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": null,
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 48096,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 5,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:00:00.000Z",
                  "followup-blue",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T12:00:00.000Z",
                  "2026-10-30T11:59:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 0,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": null,
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "A",
                "pid": 48096,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 6,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 48096,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 7,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 48096,
                "at": "2026-10-30T12:00:00.000Z"
              },
              {
                "step": 8,
                "kind": "claim-result",
                "actor": "A",
                "pid": 48096,
                "at": "2026-10-30T12:00:00.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 1,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 9,
                "kind": "process-start",
                "actor": "B",
                "pid": 47336,
                "at": "2026-10-30T12:01:00.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 10,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 47336,
                "at": "2026-10-30T12:01:00.000Z"
              },
              {
                "step": 11,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2026-10-30T12:01:00.000Z",
                  "2026-10-30T12:01:00.000Z",
                  "2026-10-30T12:00:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 1,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:00:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "B",
                "pid": 47336,
                "at": "2026-10-30T12:01:00.000Z"
              },
              {
                "step": 12,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2026-10-30T12:01:00.000Z",
                  "followup-blue",
                  "2026-10-30T12:01:00.000Z",
                  "2026-10-30T12:01:00.000Z",
                  "2026-10-30T12:00:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 1,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:00:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "B",
                "pid": 47336,
                "at": "2026-10-30T12:01:00.000Z"
              },
              {
                "step": 13,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-blue"
                ],
                "before": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "actor": "B",
                "pid": 47336,
                "at": "2026-10-30T12:01:00.000Z"
              },
              {
                "step": 14,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 47336,
                "at": "2026-10-30T12:01:00.000Z"
              },
              {
                "step": 15,
                "kind": "claim-result",
                "actor": "B",
                "pid": 47336,
                "at": "2026-10-30T12:01:00.000Z",
                "claim": {
                  "id": "followup-blue",
                  "incidentId": "incident-fixture",
                  "dueAt": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 2,
                  "lastError": null,
                  "idempotencyKey": "key-blue",
                  "createdAt": "2026-10-30T11:00:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 16,
                "kind": "completion",
                "actor": "A",
                "pid": 48096,
                "at": "2026-10-30T12:01:00.001Z",
                "jobId": "followup-blue",
                "generation": 1,
                "accepted": false,
                "before": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "after": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                }
              },
              {
                "step": 17,
                "kind": "completion",
                "actor": "B",
                "pid": 47336,
                "at": "2026-10-30T12:01:01.000Z",
                "jobId": "followup-blue",
                "generation": 2,
                "accepted": true,
                "before": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": null
                },
                "after": {
                  "id": "followup-blue",
                  "incident_id": "incident-fixture",
                  "due_at": "2026-10-30T11:59:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 2,
                  "last_error": null,
                  "idempotency_key": "key-blue",
                  "claimed_at": "2026-10-30T12:01:00.000Z",
                  "created_at": "2026-10-30T11:00:00.000Z",
                  "completed_at": "2026-10-30T12:01:01.000Z"
                }
              },
              {
                "step": 18,
                "kind": "final",
                "at": "2026-10-30T12:01:01.000Z",
                "rows": [
                  {
                    "id": "followup-blue",
                    "incident_id": "incident-fixture",
                    "due_at": "2026-10-30T11:59:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 2,
                    "last_error": null,
                    "idempotency_key": "key-blue",
                    "claimed_at": "2026-10-30T12:01:00.000Z",
                    "created_at": "2026-10-30T11:00:00.000Z",
                    "completed_at": "2026-10-30T12:01:01.000Z"
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-blue",
                    "generation": 2,
                    "actor": "B",
                    "kind": "local-fixture-completion"
                  }
                ]
              }
            ],
            "receipts": [
              {
                "jobId": "followup-blue",
                "generation": 2,
                "actor": "B",
                "kind": "local-fixture-completion"
              }
            ],
            "verdict": {
              "passed": true,
              "checks": [
                {
                  "name": "A: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "A: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 1,
                    "returned": 1
                  },
                  "expected": 1
                },
                {
                  "name": "A: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:00:00.000Z"
                  }
                },
                {
                  "name": "A: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 1,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:00:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "B: claim eligibility",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "B: returned job is eligible",
                  "passed": true,
                  "actual": "followup-blue",
                  "expected": [
                    "followup-blue"
                  ]
                },
                {
                  "name": "B: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 2,
                    "returned": 2
                  },
                  "expected": 2
                },
                {
                  "name": "B: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:01:00.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2026-10-30T12:01:00.000Z"
                  }
                },
                {
                  "name": "B: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-blue",
                      "incident_id": "incident-fixture",
                      "due_at": "2026-10-30T11:59:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 2,
                      "last_error": null,
                      "idempotency_key": "key-blue",
                      "claimed_at": "2026-10-30T12:01:00.000Z",
                      "created_at": "2026-10-30T11:00:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "A: stale generation completion",
                  "passed": true,
                  "actual": false,
                  "expected": false
                },
                {
                  "name": "B: current generation completion",
                  "passed": true,
                  "actual": true,
                  "expected": true
                },
                {
                  "name": "Exactly the expected local fixture completions",
                  "passed": true,
                  "actual": 1,
                  "expected": 1
                },
                {
                  "name": "Ineligible jobs retain their persisted state",
                  "passed": true,
                  "actual": [],
                  "expected": []
                }
              ],
              "violations": []
            },
            "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
          }
        },
        {
          "id": "different-input",
          "title": "Change IDs, date and attempt count",
          "passed": true,
          "run": {
            "engine": "tend-sqlite-claim-v1",
            "caseId": "tend-claims",
            "condition": "different-input",
            "title": "Change IDs, date and attempt count",
            "sourceHash": "c0e0e7f70f3d09be145531c9c00291db27d319267cc30442f7bb1897873ef50a",
            "status": "completed",
            "error": null,
            "initial": [
              {
                "id": "followup-copper",
                "incident_id": "incident-fixture",
                "due_at": "2027-02-12T09:29:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "scheduled",
                "attempt_count": 7,
                "last_error": null,
                "idempotency_key": "key-copper",
                "claimed_at": null,
                "created_at": "2027-02-12T08:30:00.000Z",
                "completed_at": null
              }
            ],
            "state": [
              {
                "id": "followup-copper",
                "incident_id": "incident-fixture",
                "due_at": "2027-02-12T09:29:00.000Z",
                "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                "status": "completed",
                "attempt_count": 9,
                "last_error": null,
                "idempotency_key": "key-copper",
                "claimed_at": "2027-02-12T09:31:30.000Z",
                "created_at": "2027-02-12T08:30:00.000Z",
                "completed_at": "2027-02-12T09:31:31.000Z"
              }
            ],
            "trace": [
              {
                "step": 1,
                "kind": "initial",
                "at": "2027-02-12T09:30:00.000Z",
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 7,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": null,
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 2,
                "kind": "process-start",
                "actor": "A",
                "pid": 5760,
                "at": "2027-02-12T09:30:00.000Z",
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 7,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": null,
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 3,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 7,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": null,
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 5760,
                "at": "2027-02-12T09:30:00.000Z"
              },
              {
                "step": 4,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2027-02-12T09:30:00.000Z",
                  "2027-02-12T09:30:00.000Z",
                  "2027-02-12T09:29:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 7,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": null,
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 7,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": null,
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-copper",
                  "incident_id": "incident-fixture",
                  "due_at": "2027-02-12T09:29:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "scheduled",
                  "attempt_count": 7,
                  "last_error": null,
                  "idempotency_key": "key-copper",
                  "claimed_at": null,
                  "created_at": "2027-02-12T08:30:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 5760,
                "at": "2027-02-12T09:30:00.000Z"
              },
              {
                "step": 5,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2027-02-12T09:30:00.000Z",
                  "followup-copper",
                  "2027-02-12T09:30:00.000Z",
                  "2027-02-12T09:30:00.000Z",
                  "2027-02-12T09:29:00.000Z"
                ],
                "before": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "scheduled",
                    "attempt_count": 7,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": null,
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "A",
                "pid": 5760,
                "at": "2027-02-12T09:30:00.000Z"
              },
              {
                "step": 6,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-copper"
                ],
                "before": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-copper",
                  "incident_id": "incident-fixture",
                  "due_at": "2027-02-12T09:29:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 8,
                  "last_error": null,
                  "idempotency_key": "key-copper",
                  "claimed_at": "2027-02-12T09:30:00.000Z",
                  "created_at": "2027-02-12T08:30:00.000Z",
                  "completed_at": null
                },
                "actor": "A",
                "pid": 5760,
                "at": "2027-02-12T09:30:00.000Z"
              },
              {
                "step": 7,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "A",
                "pid": 5760,
                "at": "2027-02-12T09:30:00.000Z"
              },
              {
                "step": 8,
                "kind": "claim-result",
                "actor": "A",
                "pid": 5760,
                "at": "2027-02-12T09:30:00.000Z",
                "claim": {
                  "id": "followup-copper",
                  "incidentId": "incident-fixture",
                  "dueAt": "2027-02-12T09:29:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 8,
                  "lastError": null,
                  "idempotencyKey": "key-copper",
                  "createdAt": "2027-02-12T08:30:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 9,
                "kind": "process-killed",
                "actor": "A",
                "at": "2027-02-12T09:30:01.000Z",
                "pid": 5760,
                "code": null,
                "signal": "SIGTERM",
                "reason": "Stopped after the committed claim and before the fixture processor",
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 10,
                "kind": "process-start",
                "actor": "B",
                "pid": 38948,
                "at": "2027-02-12T09:31:30.000Z",
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 11,
                "kind": "transaction",
                "action": "begin",
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 38948,
                "at": "2027-02-12T09:31:30.000Z"
              },
              {
                "step": 12,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups\n           WHERE ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))\n           ORDER BY due_at ASC LIMIT 1",
                "params": [
                  "2027-02-12T09:31:30.000Z",
                  "2027-02-12T09:31:30.000Z",
                  "2027-02-12T09:30:30.000Z"
                ],
                "before": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-copper",
                  "incident_id": "incident-fixture",
                  "due_at": "2027-02-12T09:29:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 8,
                  "last_error": null,
                  "idempotency_key": "key-copper",
                  "claimed_at": "2027-02-12T09:30:00.000Z",
                  "created_at": "2027-02-12T08:30:00.000Z",
                  "completed_at": null
                },
                "actor": "B",
                "pid": 38948,
                "at": "2027-02-12T09:31:30.000Z"
              },
              {
                "step": 13,
                "kind": "sql",
                "method": "run",
                "sql": "UPDATE follow_ups SET status = 'claimed', claimed_at = ?, attempt_count = attempt_count + 1\n           WHERE id = ? AND ((status IN ('scheduled', 'retrying') AND due_at <= ?)\n             OR (status = 'claimed' AND due_at <= ? AND claimed_at IS NOT NULL AND claimed_at <= ?))",
                "params": [
                  "2027-02-12T09:31:30.000Z",
                  "followup-copper",
                  "2027-02-12T09:31:30.000Z",
                  "2027-02-12T09:31:30.000Z",
                  "2027-02-12T09:30:30.000Z"
                ],
                "before": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 8,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:30:00.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 9,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:31:30.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "changes": 1
                },
                "actor": "B",
                "pid": 38948,
                "at": "2027-02-12T09:31:30.000Z"
              },
              {
                "step": 14,
                "kind": "sql",
                "method": "get",
                "sql": "SELECT * FROM follow_ups WHERE id = ?",
                "params": [
                  "followup-copper"
                ],
                "before": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 9,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:31:30.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "after": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 9,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:31:30.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "result": {
                  "id": "followup-copper",
                  "incident_id": "incident-fixture",
                  "due_at": "2027-02-12T09:29:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 9,
                  "last_error": null,
                  "idempotency_key": "key-copper",
                  "claimed_at": "2027-02-12T09:31:30.000Z",
                  "created_at": "2027-02-12T08:30:00.000Z",
                  "completed_at": null
                },
                "actor": "B",
                "pid": 38948,
                "at": "2027-02-12T09:31:30.000Z"
              },
              {
                "step": 15,
                "kind": "transaction",
                "action": "commit",
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 9,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:31:30.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ],
                "actor": "B",
                "pid": 38948,
                "at": "2027-02-12T09:31:30.000Z"
              },
              {
                "step": 16,
                "kind": "claim-result",
                "actor": "B",
                "pid": 38948,
                "at": "2027-02-12T09:31:30.000Z",
                "claim": {
                  "id": "followup-copper",
                  "incidentId": "incident-fixture",
                  "dueAt": "2027-02-12T09:29:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attemptCount": 9,
                  "lastError": null,
                  "idempotencyKey": "key-copper",
                  "createdAt": "2027-02-12T08:30:00.000Z",
                  "completedAt": null
                },
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "claimed",
                    "attempt_count": 9,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:31:30.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": null
                  }
                ]
              },
              {
                "step": 17,
                "kind": "completion",
                "actor": "B",
                "pid": 38948,
                "at": "2027-02-12T09:31:31.000Z",
                "jobId": "followup-copper",
                "generation": 9,
                "accepted": true,
                "before": {
                  "id": "followup-copper",
                  "incident_id": "incident-fixture",
                  "due_at": "2027-02-12T09:29:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "claimed",
                  "attempt_count": 9,
                  "last_error": null,
                  "idempotency_key": "key-copper",
                  "claimed_at": "2027-02-12T09:31:30.000Z",
                  "created_at": "2027-02-12T08:30:00.000Z",
                  "completed_at": null
                },
                "after": {
                  "id": "followup-copper",
                  "incident_id": "incident-fixture",
                  "due_at": "2027-02-12T09:29:00.000Z",
                  "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                  "status": "completed",
                  "attempt_count": 9,
                  "last_error": null,
                  "idempotency_key": "key-copper",
                  "claimed_at": "2027-02-12T09:31:30.000Z",
                  "created_at": "2027-02-12T08:30:00.000Z",
                  "completed_at": "2027-02-12T09:31:31.000Z"
                }
              },
              {
                "step": 18,
                "kind": "final",
                "at": "2027-02-12T09:31:31.000Z",
                "rows": [
                  {
                    "id": "followup-copper",
                    "incident_id": "incident-fixture",
                    "due_at": "2027-02-12T09:29:00.000Z",
                    "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                    "status": "completed",
                    "attempt_count": 9,
                    "last_error": null,
                    "idempotency_key": "key-copper",
                    "claimed_at": "2027-02-12T09:31:30.000Z",
                    "created_at": "2027-02-12T08:30:00.000Z",
                    "completed_at": "2027-02-12T09:31:31.000Z"
                  }
                ],
                "receipts": [
                  {
                    "jobId": "followup-copper",
                    "generation": 9,
                    "actor": "B",
                    "kind": "local-fixture-completion"
                  }
                ]
              }
            ],
            "receipts": [
              {
                "jobId": "followup-copper",
                "generation": 9,
                "actor": "B",
                "kind": "local-fixture-completion"
              }
            ],
            "verdict": {
              "passed": true,
              "checks": [
                {
                  "name": "A: claim eligibility",
                  "passed": true,
                  "actual": "followup-copper",
                  "expected": [
                    "followup-copper"
                  ]
                },
                {
                  "name": "A: returned job is eligible",
                  "passed": true,
                  "actual": "followup-copper",
                  "expected": [
                    "followup-copper"
                  ]
                },
                {
                  "name": "A: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 8,
                    "returned": 8
                  },
                  "expected": 8
                },
                {
                  "name": "A: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2027-02-12T09:30:00.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2027-02-12T09:30:00.000Z"
                  }
                },
                {
                  "name": "A: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 8,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:30:00.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "Killed worker exited before restart",
                  "passed": true,
                  "actual": 5760,
                  "expected": "Observed process exit"
                },
                {
                  "name": "B: claim eligibility",
                  "passed": true,
                  "actual": "followup-copper",
                  "expected": [
                    "followup-copper"
                  ]
                },
                {
                  "name": "B: returned job is eligible",
                  "passed": true,
                  "actual": "followup-copper",
                  "expected": [
                    "followup-copper"
                  ]
                },
                {
                  "name": "B: durable generation increments once",
                  "passed": true,
                  "actual": {
                    "stored": 9,
                    "returned": 9
                  },
                  "expected": 9
                },
                {
                  "name": "B: durable claim uses the supplied clock",
                  "passed": true,
                  "actual": {
                    "status": "claimed",
                    "claimedAt": "2027-02-12T09:31:30.000Z"
                  },
                  "expected": {
                    "status": "claimed",
                    "claimedAt": "2027-02-12T09:31:30.000Z"
                  }
                },
                {
                  "name": "B: preserve payload, deadlines and other jobs",
                  "passed": true,
                  "actual": [
                    {
                      "id": "followup-copper",
                      "incident_id": "incident-fixture",
                      "due_at": "2027-02-12T09:29:00.000Z",
                      "purpose": "LOCAL FIXTURE: observe a follow-up; no delivery",
                      "status": "claimed",
                      "attempt_count": 9,
                      "last_error": null,
                      "idempotency_key": "key-copper",
                      "claimed_at": "2027-02-12T09:31:30.000Z",
                      "created_at": "2027-02-12T08:30:00.000Z",
                      "completed_at": null
                    }
                  ],
                  "expected": "Only status, attempt_count and claimed_at on the claimed row may change"
                },
                {
                  "name": "B: current generation completion",
                  "passed": true,
                  "actual": true,
                  "expected": true
                },
                {
                  "name": "Exactly the expected local fixture completions",
                  "passed": true,
                  "actual": 1,
                  "expected": 1
                },
                {
                  "name": "Ineligible jobs retain their persisted state",
                  "passed": true,
                  "actual": [],
                  "expected": []
                }
              ],
              "violations": []
            },
            "scope": "Pinned TEND claim method; actual disposable SQLite; controlled process/clock boundaries; local fixture completion with a fixed generation guard, not Discord or full TEND deployment."
          }
        }
      ],
      "scope": "Ten predeclared process/clock conditions. Not an exhaustive scheduler, arbitrary repository runner or production correctness proof."
    }
  },
  "outcome": "repaired_in_checked_conditions",
  "scope": "One retained investigation, up to two patches. Ten authored process/clock conditions on a pinned repository method and real temporary SQLite. Fixed local completion guard is RaceLab instrumentation, not a repair to the full TEND worker."
}
