{
  "schema": "privacy-outcome-provenance-v1",
  "preparedAtUtc": "2026-10-28T19:22:53.169809+00:00",
  "authority": "Unchanged fictional TEACHING-ERASURE-1 revision 1, assumed approved only inside the synthetic scenario; not actual customer/legal approval.",
  "historical": {
    "observedAtUtc": "2026-10-03T09:29:47.167300+00:00",
    "runtime": {
      "python": "3.14.7",
      "sqlite": "3.53.4"
    },
    "checksPassed": 9,
    "checksTotal": 9,
    "scenarioObservations": 6,
    "publicFileCount": 9,
    "files": [
      {
        "path": "README.md",
        "bytes": 4979,
        "sha256": "5cec73185d654a86f30bda5f5c04dc95fecdd07fabaa8ed4fe6df2ec908fd171"
      },
      {
        "path": "SHA256SUMS",
        "bytes": 461,
        "sha256": "dca1401bfb9e19de1b991845506282ed46fdfdd0fff3c17cae63886fff78fe66"
      },
      {
        "path": "deletion.py",
        "bytes": 2417,
        "sha256": "bdacf37a2c63971ced0a972e9a3022cf71d30eb12a7af9dae840dd8dce06cc9d"
      },
      {
        "path": "observed.json",
        "bytes": 3832,
        "sha256": "de45fa4db76bf7e5ad45a02f987ec7afa0be269eaf7780950cf29b7b9c82cba1"
      },
      {
        "path": "policy.json",
        "bytes": 1340,
        "sha256": "2e69f8f7399f4e0a8bf62e2e769d359ce06b17098a2cc5f58f972ac5a723a296"
      },
      {
        "path": "privacy-obligation.zip",
        "bytes": 8492,
        "sha256": "9468f90c051fb271d3c100733057aebb35fcca831fd7334963bdc77619bfdc17"
      },
      {
        "path": "privacy-obligation.zip.sha256",
        "bytes": 89,
        "sha256": "7f2a8f007887819ea5f0ae6200d6a656fbccd79e938154f1b4c8091ae0927ee9"
      },
      {
        "path": "run.py",
        "bytes": 6372,
        "sha256": "cb8e3b916e52a8cc48f697a07bf7536289bf843d7d9c8a8907c810f7292b2a2b"
      },
      {
        "path": "verify.py",
        "bytes": 1115,
        "sha256": "798ebfa2bd090c35683900af6b31bb9cfad866442b4ec494cb3f2283035965bd"
      }
    ],
    "oldZipMemberCount": 7,
    "allOriginalBytesPreserved": true,
    "storedEffectOracle": "Original target/control counts, same live connections; no complete values/reopen proof."
  },
  "fresh": {
    "primaryCommand": [
      "python3",
      "-B",
      "reproduce.py",
      "--output",
      "/tmp/privacy-outcome-new-run"
    ],
    "capturedCommand": "PYTHONDONTWRITEBYTECODE=1 python3 -B research/fixture/reproduce.py --output research/captured/primary > research/captured/wrapper.stdout.json 2> research/captured/wrapper.stderr.txt",
    "commandPathBasis": "research/ is the internal research directory; extracted public kit uses top-level reproduce.py and a new chosen output directory.",
    "wrapperExitCode": 0,
    "summary": {
      "schema": "privacy-outcome-demonstration-v1",
      "started_at_utc": "2026-10-28T19:15:03.320090+00:00",
      "finished_at_utc": "2026-10-28T19:15:03.715460+00:00",
      "runs": [
        {
          "label": "original-replay",
          "started_at_utc": "2026-10-28T19:15:03.320522+00:00",
          "finished_at_utc": "2026-10-28T19:15:03.466533+00:00",
          "command_portable": [
            "python3",
            "-B",
            "KIT_ROOT/historical/run.py",
            "original-replay.report.json"
          ],
          "interpreter_actually_used": "/opt/homebrew/opt/python@3.14/bin/python3.14",
          "cwd_basis": "new output directory",
          "actual_exit_code": 0,
          "expected_exit_code": 0,
          "stdout_sha256": "ad8690f9fa5ca1113971f1068421c65d38f3ac7ddf633f0ef1aa08b1f66b31de",
          "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
          "observations": 6,
          "direct_handler_calls": null
        },
        {
          "label": "baseline",
          "started_at_utc": "2026-10-28T19:15:03.466633+00:00",
          "finished_at_utc": "2026-10-28T19:15:03.542497+00:00",
          "command_portable": [
            "python3",
            "-B",
            "harness.py",
            "--mode",
            "baseline"
          ],
          "interpreter_actually_used": "/opt/homebrew/opt/python@3.14/bin/python3.14",
          "cwd_basis": "portable fixture root",
          "actual_exit_code": 1,
          "expected_exit_code": 1,
          "stdout_sha256": "89a0ab7fd433dbe1d558e765fa153b083a67f347530482bee829a1404278f544",
          "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
          "observations": 1,
          "direct_handler_calls": 1
        },
        {
          "label": "corrected",
          "started_at_utc": "2026-10-28T19:15:03.542547+00:00",
          "finished_at_utc": "2026-10-28T19:15:03.630613+00:00",
          "command_portable": [
            "python3",
            "-B",
            "harness.py",
            "--mode",
            "corrected"
          ],
          "interpreter_actually_used": "/opt/homebrew/opt/python@3.14/bin/python3.14",
          "cwd_basis": "portable fixture root",
          "actual_exit_code": 0,
          "expected_exit_code": 0,
          "stdout_sha256": "72ad082bbdf2ec535cbb2a61ad427cf299961be9c7a4f848a11f09120a101e11",
          "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
          "observations": 5,
          "direct_handler_calls": 5
        },
        {
          "label": "swapped-report",
          "started_at_utc": "2026-10-28T19:15:03.630674+00:00",
          "finished_at_utc": "2026-10-28T19:15:03.715410+00:00",
          "command_portable": [
            "python3",
            "-B",
            "harness.py",
            "--mode",
            "swapped_report"
          ],
          "interpreter_actually_used": "/opt/homebrew/opt/python@3.14/bin/python3.14",
          "cwd_basis": "portable fixture root",
          "actual_exit_code": 1,
          "expected_exit_code": 1,
          "stdout_sha256": "e3da7d714142a14a20dfac18701a84fcea65cfa122bb8fceade9fa50c259d557",
          "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
          "observations": 1,
          "direct_handler_calls": 1
        }
      ],
      "wrapper_passed": true,
      "wrapper_success_meaning": "Original9-check replay passes; buggy completion and swapped report are rejected; corrected five-step literal sequence passes. Neither wrong candidate is accepted.",
      "child_gates": 4,
      "fresh_original_checks": 9,
      "fresh_original_scenario_observations": 6,
      "fresh_literal_primary_observations": 6,
      "seeded_report_control_observations": 1,
      "all_fresh_observations_across_separate_child_runs": 13,
      "literal_harness_direct_handler_calls": 7,
      "historical_report_modified": false,
      "legal_approval_or_compliance": "not assessed"
    },
    "runtime": {
      "python": "3.14.7",
      "sqlite": "3.53.4",
      "implementation": "CPython",
      "platform": "Darwin/arm64",
      "optimize": 0
    },
    "sourceSha256": {
      "deletion.py": "bdacf37a2c63971ced0a972e9a3022cf71d30eb12a7af9dae840dd8dce06cc9d",
      "policy.json": "2e69f8f7399f4e0a8bf62e2e769d359ce06b17098a2cc5f58f972ac5a723a296",
      "expected.json": "35a0284c3ec079e114c5c1026e5dc0af2845c361a3d9e8544da21d55bd3c720e",
      "contract.md": "bcd136b5757f4a667cedd629ed3ad37950ccbde9fbfa0639e3fd0c0236f7223a",
      "harness.py": "28055f5bd484e4453d70bdf1ebcddaf551da9866dda1d61dc3250858a8805bc2"
    },
    "connectionSettings": {
      "profiles": {
        "autocommit": -1,
        "isolation_level": "",
        "in_transaction_before_call": false
      },
      "analytics": {
        "autocommit": -1,
        "isolation_level": "",
        "in_transaction_before_call": false
      }
    },
    "transactionPolicy": "Unchanged source with runtime defaults, actual legacy autocommit=-1/isolation_level empty in primary execution; per-call transaction flags and SQL retained. Settings not newly pinned.",
    "method": "Exact retained implementation calls; independent typed literal whole snapshots and ordered subject/value rows on named live connections.",
    "baselineGateAccepted": false,
    "correctedGateAccepted": true,
    "swappedReportGateAccepted": false,
    "correctedCalls": [
      {
        "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
        }
      }
    ],
    "seededControl": "Real corrected partial-failure call followed by a deliberately swapped copied destination report. Aggregate unresolved passes; full named snapshot fails; rows pass. Not a discovered product defect.",
    "restoreBoundaryDiagnostic": {
      "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
    },
    "backupRowsBeforeCleanup": [
      [
        "synthetic-subject-001",
        "synthetic target"
      ],
      [
        "synthetic-subject-002",
        "synthetic control"
      ]
    ]
  },
  "limits": [
    "Original and fresh executions are distinct identities; old archive remains unchanged.",
    "Nine original passing checks include detecting buggy behavior, not accepting it.",
    "Thirteen fresh observation instances across separate child runs are not thirteen distinct scenarios/requirements/classes.",
    "Seven top-level calls counted only in the new harness, not in original runner replay.",
    "Repeated completion changes attempts 2 to 3; row sets and completion/absence semantics stable, not whole snapshot equality.",
    "Two live local SQLite stores only; same live-connection observation, no reopen/crash/power-loss durability.",
    "Failure flag raises before analytics DELETE; not a measured network/commit/post-write SQL failure.",
    "Actual backup/restore plus explicit reconciliation; no automatic restore monitor/durable request history.",
    "Backup target row remains before cleanup; temporary cleanup is not physical sanitization/every-copy erasure.",
    "No legal assessment, customer approval, Proof command/native connector, notifications/deadlines/concurrency/all recipients exercised."
  ],
  "publicDownload": "/assets/gdpr-requirements-to-tests/gdpr-requirements-to-tests-evidence-kit.zip",
  "productionPublished": false
}
