{
  "schema": "privacy-outcome-literal-execution-v1",
  "mode": "corrected",
  "executed_at_utc": "2026-10-28T19:15:03.618673+00:00",
  "runtime": {
    "python": "3.14.7",
    "sqlite": "3.53.4",
    "implementation": "CPython",
    "platform": "Darwin/arm64",
    "optimize": 0
  },
  "source_sha256": {
    "deletion.py": "bdacf37a2c63971ced0a972e9a3022cf71d30eb12a7af9dae840dd8dce06cc9d",
    "policy.json": "2e69f8f7399f4e0a8bf62e2e769d359ce06b17098a2cc5f58f972ac5a723a296",
    "expected.json": "35a0284c3ec079e114c5c1026e5dc0af2845c361a3d9e8544da21d55bd3c720e",
    "contract.md": "bcd136b5757f4a667cedd629ed3ad37950ccbde9fbfa0639e3fd0c0236f7223a",
    "harness.py": "28055f5bd484e4453d70bdf1ebcddaf551da9866dda1d61dc3250858a8805bc2"
  },
  "initial_rows": {
    "profiles": [
      [
        "synthetic-subject-001",
        "synthetic target"
      ],
      [
        "synthetic-subject-002",
        "synthetic control"
      ]
    ],
    "analytics": [
      [
        "synthetic-subject-001",
        "synthetic target"
      ],
      [
        "synthetic-subject-002",
        "synthetic control"
      ]
    ]
  },
  "connection_settings": {
    "profiles": {
      "autocommit": -1,
      "isolation_level": "",
      "in_transaction_before_call": false
    },
    "analytics": {
      "autocommit": -1,
      "isolation_level": "",
      "in_transaction_before_call": false
    }
  },
  "calls": [
    {
      "label": "fixed_partial_failure",
      "callable": {
        "function": "Request.attempt",
        "source_file": "deletion.py",
        "source_sha256": "bdacf37a2c63971ced0a972e9a3022cf71d30eb12a7af9dae840dd8dce06cc9d",
        "first_source_line": 47,
        "function_source_sha256": "76848e0f19ef8bbe9acc6e4e5a3334b58cf775f903a9fa330d62c45a6ef3f42b"
      },
      "subject": "synthetic-subject-001",
      "declared_store_channels": [
        "profiles",
        "analytics"
      ],
      "returned": {
        "state": "unresolved",
        "attempts": 1,
        "destinations": {
          "profiles": "absent",
          "analytics": "unavailable"
        }
      },
      "sql_during_call": {
        "profiles": [
          "BEGIN ",
          "DELETE FROM records WHERE subject = 'synthetic-subject-001'",
          "COMMIT",
          "SELECT COUNT(*) FROM records WHERE subject = 'synthetic-subject-001'"
        ],
        "analytics": []
      },
      "in_transaction_after_call": {
        "profiles": false,
        "analytics": false
      }
    },
    {
      "label": "retry_after_recovery",
      "callable": {
        "function": "Request.attempt",
        "source_file": "deletion.py",
        "source_sha256": "bdacf37a2c63971ced0a972e9a3022cf71d30eb12a7af9dae840dd8dce06cc9d",
        "first_source_line": 47,
        "function_source_sha256": "76848e0f19ef8bbe9acc6e4e5a3334b58cf775f903a9fa330d62c45a6ef3f42b"
      },
      "subject": "synthetic-subject-001",
      "declared_store_channels": [
        "profiles",
        "analytics"
      ],
      "returned": {
        "state": "complete",
        "attempts": 2,
        "destinations": {
          "profiles": "absent",
          "analytics": "absent"
        }
      },
      "sql_during_call": {
        "profiles": [
          "BEGIN ",
          "DELETE FROM records WHERE subject = 'synthetic-subject-001'",
          "COMMIT",
          "SELECT COUNT(*) FROM records WHERE subject = 'synthetic-subject-001'"
        ],
        "analytics": [
          "BEGIN ",
          "DELETE FROM records WHERE subject = 'synthetic-subject-001'",
          "COMMIT",
          "SELECT COUNT(*) FROM records WHERE subject = 'synthetic-subject-001'"
        ]
      },
      "in_transaction_after_call": {
        "profiles": false,
        "analytics": false
      }
    },
    {
      "label": "repeat_completed_request",
      "callable": {
        "function": "Request.attempt",
        "source_file": "deletion.py",
        "source_sha256": "bdacf37a2c63971ced0a972e9a3022cf71d30eb12a7af9dae840dd8dce06cc9d",
        "first_source_line": 47,
        "function_source_sha256": "76848e0f19ef8bbe9acc6e4e5a3334b58cf775f903a9fa330d62c45a6ef3f42b"
      },
      "subject": "synthetic-subject-001",
      "declared_store_channels": [
        "profiles",
        "analytics"
      ],
      "returned": {
        "state": "complete",
        "attempts": 3,
        "destinations": {
          "profiles": "absent",
          "analytics": "absent"
        }
      },
      "sql_during_call": {
        "profiles": [
          "BEGIN ",
          "DELETE FROM records WHERE subject = 'synthetic-subject-001'",
          "COMMIT",
          "SELECT COUNT(*) FROM records WHERE subject = 'synthetic-subject-001'"
        ],
        "analytics": [
          "BEGIN ",
          "DELETE FROM records WHERE subject = 'synthetic-subject-001'",
          "COMMIT",
          "SELECT COUNT(*) FROM records WHERE subject = 'synthetic-subject-001'"
        ]
      },
      "in_transaction_after_call": {
        "profiles": false,
        "analytics": false
      }
    },
    {
      "label": "reconcile_after_restore",
      "callable": {
        "function": "Request.reconcile",
        "source_file": "deletion.py",
        "source_sha256": "bdacf37a2c63971ced0a972e9a3022cf71d30eb12a7af9dae840dd8dce06cc9d",
        "first_source_line": 64,
        "function_source_sha256": "8544b9f232d32c8b97d12a8f89c69d727c1e4a96e7574132d6be417b61de5c72"
      },
      "subject": "synthetic-subject-001",
      "declared_store_channels": [
        "profiles",
        "analytics"
      ],
      "returned": {
        "state": "unresolved",
        "attempts": 3,
        "destinations": {
          "profiles": "absent",
          "analytics": "present"
        }
      },
      "sql_during_call": {
        "profiles": [
          "SELECT COUNT(*) FROM records WHERE subject = 'synthetic-subject-001'"
        ],
        "analytics": [
          "SELECT COUNT(*) FROM records WHERE subject = 'synthetic-subject-001'"
        ]
      },
      "in_transaction_after_call": {
        "profiles": false,
        "analytics": false
      }
    },
    {
      "label": "delete_restored_row",
      "callable": {
        "function": "Request.attempt",
        "source_file": "deletion.py",
        "source_sha256": "bdacf37a2c63971ced0a972e9a3022cf71d30eb12a7af9dae840dd8dce06cc9d",
        "first_source_line": 47,
        "function_source_sha256": "76848e0f19ef8bbe9acc6e4e5a3334b58cf775f903a9fa330d62c45a6ef3f42b"
      },
      "subject": "synthetic-subject-001",
      "declared_store_channels": [
        "profiles",
        "analytics"
      ],
      "returned": {
        "state": "complete",
        "attempts": 4,
        "destinations": {
          "profiles": "absent",
          "analytics": "absent"
        }
      },
      "sql_during_call": {
        "profiles": [
          "BEGIN ",
          "DELETE FROM records WHERE subject = 'synthetic-subject-001'",
          "COMMIT",
          "SELECT COUNT(*) FROM records WHERE subject = 'synthetic-subject-001'"
        ],
        "analytics": [
          "BEGIN ",
          "DELETE FROM records WHERE subject = 'synthetic-subject-001'",
          "COMMIT",
          "SELECT COUNT(*) FROM records WHERE subject = 'synthetic-subject-001'"
        ]
      },
      "in_transaction_after_call": {
        "profiles": false,
        "analytics": false
      }
    }
  ],
  "observations": [
    {
      "id": "partial_failure",
      "returned": {
        "state": "unresolved",
        "attempts": 1,
        "destinations": {
          "profiles": "absent",
          "analytics": "unavailable"
        }
      },
      "actual_rows": {
        "profiles": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ],
        "analytics": [
          [
            "synthetic-subject-001",
            "synthetic target"
          ],
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ]
      },
      "expected_snapshot": {
        "state": "unresolved",
        "attempts": 1,
        "destinations": {
          "profiles": "absent",
          "analytics": "unavailable"
        }
      },
      "expected_rows": {
        "profiles": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ],
        "analytics": [
          [
            "synthetic-subject-001",
            "synthetic target"
          ],
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ]
      },
      "aggregate_state_only_passed": true,
      "typed_whole_snapshot_passed": true,
      "typed_complete_rows_passed": true,
      "gate_passed": true
    },
    {
      "id": "retry_after_recovery",
      "returned": {
        "state": "complete",
        "attempts": 2,
        "destinations": {
          "profiles": "absent",
          "analytics": "absent"
        }
      },
      "actual_rows": {
        "profiles": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ],
        "analytics": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ]
      },
      "expected_snapshot": {
        "state": "complete",
        "attempts": 2,
        "destinations": {
          "profiles": "absent",
          "analytics": "absent"
        }
      },
      "expected_rows": {
        "profiles": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ],
        "analytics": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ]
      },
      "aggregate_state_only_passed": true,
      "typed_whole_snapshot_passed": true,
      "typed_complete_rows_passed": true,
      "gate_passed": true
    },
    {
      "id": "repeat_completed_request",
      "returned": {
        "state": "complete",
        "attempts": 3,
        "destinations": {
          "profiles": "absent",
          "analytics": "absent"
        }
      },
      "actual_rows": {
        "profiles": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ],
        "analytics": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ]
      },
      "expected_snapshot": {
        "state": "complete",
        "attempts": 3,
        "destinations": {
          "profiles": "absent",
          "analytics": "absent"
        }
      },
      "expected_rows": {
        "profiles": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ],
        "analytics": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ]
      },
      "aggregate_state_only_passed": true,
      "typed_whole_snapshot_passed": true,
      "typed_complete_rows_passed": true,
      "gate_passed": true
    },
    {
      "id": "reconcile_after_restore",
      "returned": {
        "state": "unresolved",
        "attempts": 3,
        "destinations": {
          "profiles": "absent",
          "analytics": "present"
        }
      },
      "actual_rows": {
        "profiles": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ],
        "analytics": [
          [
            "synthetic-subject-001",
            "synthetic target"
          ],
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ]
      },
      "expected_snapshot": {
        "state": "unresolved",
        "attempts": 3,
        "destinations": {
          "profiles": "absent",
          "analytics": "present"
        }
      },
      "expected_rows": {
        "profiles": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ],
        "analytics": [
          [
            "synthetic-subject-001",
            "synthetic target"
          ],
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ]
      },
      "aggregate_state_only_passed": true,
      "typed_whole_snapshot_passed": true,
      "typed_complete_rows_passed": true,
      "gate_passed": true
    },
    {
      "id": "delete_restored_row",
      "returned": {
        "state": "complete",
        "attempts": 4,
        "destinations": {
          "profiles": "absent",
          "analytics": "absent"
        }
      },
      "actual_rows": {
        "profiles": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ],
        "analytics": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ]
      },
      "expected_snapshot": {
        "state": "complete",
        "attempts": 4,
        "destinations": {
          "profiles": "absent",
          "analytics": "absent"
        }
      },
      "expected_rows": {
        "profiles": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ],
        "analytics": [
          [
            "synthetic-subject-002",
            "synthetic control"
          ]
        ]
      },
      "aggregate_state_only_passed": true,
      "typed_whole_snapshot_passed": true,
      "typed_complete_rows_passed": true,
      "gate_passed": true
    }
  ],
  "observation_count": 5,
  "direct_handler_calls": 5,
  "restore_boundary_diagnostic": {
    "cached_request_snapshot_before_explicit_reconcile": {
      "state": "complete",
      "attempts": 3,
      "destinations": {
        "profiles": "absent",
        "analytics": "absent"
      }
    },
    "actual_rows_after_restore_before_reconcile": {
      "profiles": [
        [
          "synthetic-subject-002",
          "synthetic control"
        ]
      ],
      "analytics": [
        [
          "synthetic-subject-001",
          "synthetic target"
        ],
        [
          "synthetic-subject-002",
          "synthetic control"
        ]
      ]
    },
    "automatic_restore_monitor": false
  },
  "backup_rows_before_temp_cleanup": [
    [
      "synthetic-subject-001",
      "synthetic target"
    ],
    [
      "synthetic-subject-002",
      "synthetic control"
    ]
  ],
  "gate_passed": true,
  "legal_approval_or_compliance": "not assessed",
  "observation_scope": "Same live local connections; no reconnect, crash durability or every-copy erasure."
}
