{
  "case": "corrected-recovery",
  "variant": "corrected",
  "scenario": "recovery",
  "setupConnectionSettings": {
    "isolation_level": null,
    "autocommit": -1,
    "autocommit_label": "LEGACY_TRANSACTION_CONTROL",
    "journal_mode": "delete",
    "synchronous": 2,
    "in_transaction": false,
    "sqlite_version": "3.53.4"
  },
  "actualImportConnectionSettings": [
    {
      "isolation_level": null,
      "autocommit": -1,
      "autocommit_label": "LEGACY_TRANSACTION_CONTROL",
      "journal_mode": "delete",
      "synchronous": 2,
      "in_transaction": false,
      "sqlite_version": "3.53.4"
    },
    {
      "isolation_level": null,
      "autocommit": -1,
      "autocommit_label": "LEGACY_TRANSACTION_CONTROL",
      "journal_mode": "delete",
      "synchronous": 2,
      "in_transaction": false,
      "sqlite_version": "3.53.4"
    },
    {
      "isolation_level": null,
      "autocommit": -1,
      "autocommit_label": "LEGACY_TRANSACTION_CONTROL",
      "journal_mode": "delete",
      "synchronous": 2,
      "in_transaction": false,
      "sqlite_version": "3.53.4"
    }
  ],
  "observations": [
    {
      "label": "setup",
      "state": {
        "records": [
          {
            "source_revision": "other-v1",
            "item_id": "keep",
            "payload": "sentinel"
          }
        ],
        "checkpoints": [
          {
            "source_revision": "other-v1",
            "next_index": 7
          }
        ]
      },
      "observerConnectionSettings": {
        "isolation_level": null,
        "autocommit": -1,
        "journal_mode": "delete",
        "synchronous": 2,
        "in_transaction": false,
        "sqlite_version": "3.53.4"
      },
      "matchesLiteral": true
    },
    {
      "label": "interrupted",
      "state": {
        "records": [
          {
            "source_revision": "batch-A-v1",
            "item_id": "item-A",
            "payload": "same"
          },
          {
            "source_revision": "other-v1",
            "item_id": "keep",
            "payload": "sentinel"
          }
        ],
        "checkpoints": [
          {
            "source_revision": "other-v1",
            "next_index": 7
          }
        ]
      },
      "observerConnectionSettings": {
        "isolation_level": null,
        "autocommit": -1,
        "journal_mode": "delete",
        "synchronous": 2,
        "in_transaction": false,
        "sqlite_version": "3.53.4"
      },
      "matchesLiteral": true
    },
    {
      "label": "restart",
      "state": {
        "records": [
          {
            "source_revision": "batch-A-v1",
            "item_id": "item-A",
            "payload": "same"
          },
          {
            "source_revision": "batch-A-v1",
            "item_id": "item-B",
            "payload": "same"
          },
          {
            "source_revision": "other-v1",
            "item_id": "keep",
            "payload": "sentinel"
          }
        ],
        "checkpoints": [
          {
            "source_revision": "batch-A-v1",
            "next_index": 2
          },
          {
            "source_revision": "other-v1",
            "next_index": 7
          }
        ]
      },
      "observerConnectionSettings": {
        "isolation_level": null,
        "autocommit": -1,
        "journal_mode": "delete",
        "synchronous": 2,
        "in_transaction": false,
        "sqlite_version": "3.53.4"
      },
      "matchesLiteral": true
    },
    {
      "label": "repeat",
      "state": {
        "records": [
          {
            "source_revision": "batch-A-v1",
            "item_id": "item-A",
            "payload": "same"
          },
          {
            "source_revision": "batch-A-v1",
            "item_id": "item-B",
            "payload": "same"
          },
          {
            "source_revision": "other-v1",
            "item_id": "keep",
            "payload": "sentinel"
          }
        ],
        "checkpoints": [
          {
            "source_revision": "batch-A-v1",
            "next_index": 2
          },
          {
            "source_revision": "other-v1",
            "next_index": 7
          }
        ]
      },
      "observerConnectionSettings": {
        "isolation_level": null,
        "autocommit": -1,
        "journal_mode": "delete",
        "synchronous": 2,
        "in_transaction": false,
        "sqlite_version": "3.53.4"
      },
      "matchesLiteral": true
    }
  ],
  "responseObservations": [
    {
      "step": "interrupted",
      "responseReturned": false,
      "exitCode": 86,
      "matchesLiteral": true,
      "note": "No product response returned by abruptly terminated process."
    },
    {
      "step": "restart",
      "responseReturned": true,
      "actual": {
        "kind": "completed",
        "source_revision": "batch-A-v1",
        "next_index": 2,
        "inserted": 1,
        "already_present": 1
      },
      "expected": {
        "kind": "completed",
        "source_revision": "batch-A-v1",
        "next_index": 2,
        "inserted": 1,
        "already_present": 1
      },
      "matchesLiteral": true,
      "runtime": {
        "python": "3.14.7 (main, Aug  5 2026, 10:29:49) [Clang 21.0.0 (clang-2100.1.1.101)]",
        "sqlite": "3.53.4"
      }
    },
    {
      "step": "repeat",
      "responseReturned": true,
      "actual": {
        "kind": "completed",
        "source_revision": "batch-A-v1",
        "next_index": 2,
        "inserted": 0,
        "already_present": 0
      },
      "expected": {
        "kind": "completed",
        "source_revision": "batch-A-v1",
        "next_index": 2,
        "inserted": 0,
        "already_present": 0
      },
      "matchesLiteral": true,
      "runtime": {
        "python": "3.14.7 (main, Aug  5 2026, 10:29:49) [Clang 21.0.0 (clang-2100.1.1.101)]",
        "sqlite": "3.53.4"
      }
    }
  ],
  "recordedPublicImporterEntries": 3,
  "recordedSharedApplyEntries": 3,
  "actualNewChildProcesses": 3,
  "selectedFullContractGate": true,
  "weakerNoDuplicateOnlyGate": true,
  "manualAuthoredNormalRequirementResults": null,
  "method": "Selected exact source public/helper/connection call-return profiling plus separate reopened observer connections. Not every-function/branch coverage or a native Proof audit.",
  "runtime": "3.14.7 (main, Aug  5 2026, 10:29:49) [Clang 21.0.0 (clang-2100.1.1.101)]",
  "sqlite": "3.53.4"
}
