{
  "schema": "audit-handoff-execution-provenance-v1",
  "preparedAtUtc": "2026-10-28T20:40:30.194545+00:00",
  "authority": "Unchanged illustrative EX-TENANT-1 and separately authored selected-case exact response assertions. Fictional service owner/implementer only; no real approval or acceptance.",
  "historical": {
    "preservedAtUtc": "2026-10-28T20:32:49.185676+00:00",
    "originalObservedAtUtc": "2026-10-03T09:30:30.809118+00:00",
    "copiedFrom": "website/assets/samples/evidence-methods",
    "files": [
      {
        "path": "README.md",
        "bytes": 4749,
        "sha256": "c7ca5ae130d7e1dd89b8453032ae4e3c392a14ba1592d41006f25eb70efad4ed"
      },
      {
        "path": "access.py",
        "bytes": 483,
        "sha256": "b83b1f4b3fed336ac20e94915aae8ab994d4c5748865e824273cacbbbe58ed6a"
      },
      {
        "path": "cases.json",
        "bytes": 602,
        "sha256": "1b3b24f93378b98a42e4fec4dd9ea697da46ec777b28710ce2e6c0deebadc38e"
      },
      {
        "path": "disposition.json",
        "bytes": 1013,
        "sha256": "92fbbf89b7c0a8c33e5ac62f06ae3789ec003b4970a1fe43dfb9401f4651bbdb"
      },
      {
        "path": "evidence-methods.zip",
        "bytes": 10470,
        "sha256": "429756f4f3953b878b7f55301805d1b0a354644b63c609af95e4f1e75b46afea"
      },
      {
        "path": "evidence-methods.zip.sha256",
        "bytes": 87,
        "sha256": "98f29eda8c1548f1c25e2e1e471e2cf31926ccc35468f529d253f991c8522054"
      },
      {
        "path": "migration.py",
        "bytes": 2532,
        "sha256": "7c5ff7a7762bf005bdbd847344cfe43f052f5dcb7cb9a5ea69271d12a1f680a3"
      },
      {
        "path": "requirements.json",
        "bytes": 1220,
        "sha256": "1d7ecab27348d0a934dbb2cfaeab95f6510e07b0c9c0c0cb0c5adfc188589cba"
      },
      {
        "path": "results/SHA256SUMS",
        "bytes": 156,
        "sha256": "321bec19f751e56c35e97dc76e3869555b649aa3221c3d1461903c321a678d0b"
      },
      {
        "path": "results/results.json",
        "bytes": 8003,
        "sha256": "8819dd948702332953a3cf281fe8b70ec7f8a4fa81f2509cda04a9a166596f92"
      },
      {
        "path": "results/stdout.txt",
        "bytes": 292,
        "sha256": "2e66efeaf64ddc0fecf9497708a67ba65a1cad5da6ee84a90525236cd74610b0"
      },
      {
        "path": "run.py",
        "bytes": 6578,
        "sha256": "9d13f38a6bd29b32622aba54926dcca19ee164353ad893d0a79238ab13c1a1ef"
      }
    ],
    "publicFileCount": 12,
    "zipMemberNames": [
      "evidence-methods/README.md",
      "evidence-methods/access.py",
      "evidence-methods/cases.json",
      "evidence-methods/disposition.json",
      "evidence-methods/migration.py",
      "evidence-methods/requirements.json",
      "evidence-methods/results/SHA256SUMS",
      "evidence-methods/results/results.json",
      "evidence-methods/results/stdout.txt",
      "evidence-methods/run.py"
    ],
    "zipCRCAndMemberBytesVerified": true,
    "originalMigration": {
      "selectedCases": 2,
      "handlerCalls": 4,
      "repairedRuns": 0,
      "candidateRequirementFailures": 1,
      "candidateAccepted": false
    },
    "separateOriginalMutationExercise": {
      "handAppliedMutants": 2,
      "assertionObservations": 12,
      "notNewAuditExecution": true
    },
    "sourceHashes": {
      "access.py": "b83b1f4b3fed336ac20e94915aae8ab994d4c5748865e824273cacbbbe58ed6a",
      "migration.py": "7c5ff7a7762bf005bdbd847344cfe43f052f5dcb7cb9a5ea69271d12a1f680a3",
      "run.py": "9d13f38a6bd29b32622aba54926dcca19ee164353ad893d0a79238ab13c1a1ef",
      "requirements.json": "1d7ecab27348d0a934dbb2cfaeab95f6510e07b0c9c0c0cb0c5adfc188589cba",
      "cases.json": "1b3b24f93378b98a42e4fec4dd9ea697da46ec777b28710ce2e6c0deebadc38e",
      "disposition.json": "92fbbf89b7c0a8c33e5ac62f06ae3789ec003b4970a1fe43dfb9401f4651bbdb",
      "README.md": "c7ca5ae130d7e1dd89b8453032ae4e3c392a14ba1592d41006f25eb70efad4ed"
    },
    "originalRuntime": {
      "python": "3.14.7",
      "sqlite": "3.53.4",
      "platform": "Darwin/arm64"
    },
    "executionPerformedDuringPreservation": false
  },
  "companionHistory": {
    "canonical": "https://reqproof.com/topics/database-api-migration-behavior",
    "guideSha256": "d7ef060c8e5f27b13d16dde42f54410c38ef32a8e2cfd557c629f8ba50c6f2ed",
    "rerunPublicPath": "/assets/database-api-migration-behavior/research-rerun/results.json",
    "rerunSha256": "7e725cd139954726cd7157668c38a54d749ae906096e63ab93d82ac05aa8a75b",
    "rerunExecutedAtUtc": "2026-10-27T20:28:31.471905+00:00",
    "selectedCases": 2,
    "handlerCalls": 4,
    "repairedRuns": 0,
    "unchanged": "Original and companion history remain distinct and unmodified; the fresh07 repair does not retroactively fill them."
  },
  "fresh": {
    "primaryCommand": [
      "python3",
      "-B",
      "reproduce.py",
      "--output",
      "/tmp/audit-handoff-new-run"
    ],
    "internalCaptureCommand": "PYTHONDONTWRITEBYTECODE=1 python3 -B research/fixture/reproduce.py --output research/captured/primary > research/captured/wrapper.stdout.json 2> research/captured/wrapper.stderr.txt",
    "internalCommandPathBasis": "research is this guide research directory; portable extracted kit uses top-level reproduce.py and a new output directory.",
    "wrapperExitCode": 0,
    "summary": {
      "schema": "audit-closure-demonstration-v1",
      "started_at_utc": "2026-10-28T20:34:49.863312+00:00",
      "finished_at_utc": "2026-10-28T20:34:50.051809+00:00",
      "runs": [
        {
          "variant": "old",
          "started_at_utc": "2026-10-28T20:34:49.863435+00:00",
          "finished_at_utc": "2026-10-28T20:34:49.913480+00:00",
          "command_portable": [
            "python3",
            "-B",
            "harness.py",
            "--variant",
            "old"
          ],
          "actual_interpreter": "/opt/homebrew/opt/python@3.14/bin/python3.14",
          "actual_exit_code": 0,
          "expected_exit_code": 0,
          "direct_handler_calls": 2,
          "whole_response_state_cases_passed": 2,
          "stdout_sha256": "ccae85172b14841aa8a3cf141cac69226d0775dfa3537ea4da2756c5c2dbae71",
          "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
        },
        {
          "variant": "candidate",
          "started_at_utc": "2026-10-28T20:34:49.913535+00:00",
          "finished_at_utc": "2026-10-28T20:34:49.961197+00:00",
          "command_portable": [
            "python3",
            "-B",
            "harness.py",
            "--variant",
            "candidate"
          ],
          "actual_interpreter": "/opt/homebrew/opt/python@3.14/bin/python3.14",
          "actual_exit_code": 1,
          "expected_exit_code": 1,
          "direct_handler_calls": 2,
          "whole_response_state_cases_passed": 1,
          "stdout_sha256": "a8d34bdc1356437ce964494f1edc1180ce3fbfc4f4707d914ea03ab23a5b97e8",
          "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
        },
        {
          "variant": "fixed",
          "started_at_utc": "2026-10-28T20:34:49.961245+00:00",
          "finished_at_utc": "2026-10-28T20:34:50.006946+00:00",
          "command_portable": [
            "python3",
            "-B",
            "harness.py",
            "--variant",
            "fixed"
          ],
          "actual_interpreter": "/opt/homebrew/opt/python@3.14/bin/python3.14",
          "actual_exit_code": 0,
          "expected_exit_code": 0,
          "direct_handler_calls": 2,
          "whole_response_state_cases_passed": 2,
          "stdout_sha256": "1c8b10e3cac4643f5c15e8f07d146bf795fce9e4714f75402a8fd28cb2bfee79",
          "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
        },
        {
          "variant": "reject_all",
          "started_at_utc": "2026-10-28T20:34:50.006983+00:00",
          "finished_at_utc": "2026-10-28T20:34:50.051769+00:00",
          "command_portable": [
            "python3",
            "-B",
            "harness.py",
            "--variant",
            "reject_all"
          ],
          "actual_interpreter": "/opt/homebrew/opt/python@3.14/bin/python3.14",
          "actual_exit_code": 1,
          "expected_exit_code": 1,
          "direct_handler_calls": 2,
          "whole_response_state_cases_passed": 1,
          "stdout_sha256": "eeddbaad2b33ffd75d3e7728f6d5085d08ca836fb4c699214983152a79784b0a",
          "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
        }
      ],
      "wrapper_passed": true,
      "child_gates": 4,
      "selected_cases": 2,
      "variants": 4,
      "fresh_direct_handler_calls": 8,
      "historical_migration_calls_not_in_fresh_denominator": 4,
      "historical_token_assertion_observations_not_replayed": 12,
      "meaning": "Old and new teaching fix meet the two selected response/state expectations; faulty candidate and seeded reject-all repair are rejected. This is local instance evidence, not wider closure or an acceptance decision."
    },
    "runtime": {
      "python": "3.14.7",
      "sqlite": "3.53.4",
      "implementation": "CPython",
      "platform": "Darwin/arm64",
      "optimize": 0
    },
    "sourceSha256": {
      "migration.py": "7c5ff7a7762bf005bdbd847344cfe43f052f5dcb7cb9a5ea69271d12a1f680a3",
      "implementations.py": "241dff79d471ad073b84c368e540734e338e23f405aa368a79c61b4f1ee8d141",
      "harness.py": "4caca20247c356cd9d78a3a78369b642c6d79cdfabbbb5d9ad4355adef4d06db",
      "expected.json": "f9a5c4178bb8294d502f6e1c321d0ac34e7be951431c0694b171d491c9f0d7c8",
      "contract.md": "176086e2fe1c15384558c90051e9202fea4570b9b9f7a7c0b5596f0c4e3fb0cf",
      "requirements.json": "1d7ecab27348d0a934dbb2cfaeab95f6510e07b0c9c0c0cb0c5adfc188589cba"
    },
    "variantResults": {
      "old": {
        "gatePassed": true,
        "statusOnlyCasesPassed": 2,
        "wholeResponseStateCasesPassed": 2,
        "handlerCalls": 2,
        "rawStdoutPath": "observed/primary/old.stdout.json",
        "rawStdoutSha256": "ccae85172b14841aa8a3cf141cac69226d0775dfa3537ea4da2756c5c2dbae71"
      },
      "candidate": {
        "gatePassed": false,
        "statusOnlyCasesPassed": 2,
        "wholeResponseStateCasesPassed": 1,
        "handlerCalls": 2,
        "rawStdoutPath": "observed/primary/candidate.stdout.json",
        "rawStdoutSha256": "a8d34bdc1356437ce964494f1edc1180ce3fbfc4f4707d914ea03ab23a5b97e8"
      },
      "fixed": {
        "gatePassed": true,
        "statusOnlyCasesPassed": 2,
        "wholeResponseStateCasesPassed": 2,
        "handlerCalls": 2,
        "rawStdoutPath": "observed/primary/fixed.stdout.json",
        "rawStdoutSha256": "1c8b10e3cac4643f5c15e8f07d146bf795fce9e4714f75402a8fd28cb2bfee79"
      },
      "reject_all": {
        "gatePassed": false,
        "statusOnlyCasesPassed": 1,
        "wholeResponseStateCasesPassed": 1,
        "handlerCalls": 2,
        "rawStdoutPath": "observed/primary/reject_all.stdout.json",
        "rawStdoutSha256": "eeddbaad2b33ffd75d3e7728f6d5085d08ca836fb4c699214983152a79784b0a"
      }
    },
    "capturePoint": "Operation connection closed; complete ordered rows read through a fresh connection, not crash/restart durability.",
    "actualConnectionSettings": {
      "autocommit": -1,
      "isolation_level": "",
      "in_transaction_before": false,
      "in_transaction_after": false
    },
    "transactionPolicy": "Unchanged original source and new sequential teaching fix use explicit commit on authorized write and runtime connection defaults; no new default pin or concurrent atomicity claim.",
    "callableIdentities": [
      {
        "variant": "old",
        "function": "old_api",
        "module": "migration",
        "source_file": "migration.py",
        "source_sha256": "7c5ff7a7762bf005bdbd847344cfe43f052f5dcb7cb9a5ea69271d12a1f680a3",
        "function_source_sha256": "b38bf8f5163d6f0fc8f351e6fa93882f48fa673970479d56609423b2c393b908"
      },
      {
        "variant": "candidate",
        "function": "candidate_api",
        "module": "migration",
        "source_file": "migration.py",
        "source_sha256": "7c5ff7a7762bf005bdbd847344cfe43f052f5dcb7cb9a5ea69271d12a1f680a3",
        "function_source_sha256": "a282df8a680dd044cf05dbf55bc7a1d88198669a5ed97096c7fff6c121346a9a"
      },
      {
        "variant": "fixed",
        "function": "fixed_api",
        "module": "implementations",
        "source_file": "implementations.py",
        "source_sha256": "241dff79d471ad073b84c368e540734e338e23f405aa368a79c61b4f1ee8d141",
        "function_source_sha256": "c7103177d08dce55d923ab8f2f902a6071d314ff7fea8a94afa8ca9ed5cebc6b"
      },
      {
        "variant": "reject_all",
        "function": "reject_all_no_write",
        "module": "implementations",
        "source_file": "implementations.py",
        "source_sha256": "241dff79d471ad073b84c368e540734e338e23f405aa368a79c61b4f1ee8d141",
        "function_source_sha256": "22cea5e14a2ceebb9ddfc23a2070cb665fe44e0a689461b58641c08a9b92a7c3"
      }
    ],
    "newFix": "New implementations.fixed_api is an explicit sequential teaching correction, not a product/source-control revision/customer patch. Old/candidate are two functions in same retained migration.py; fixed/control two functions in new implementations.py.",
    "oracle": "Literal typed whole responses and ordered reopened rows, independent from function output; error/response shape assertions supplement archived status/rows checks.",
    "sensitivity": "Same actual candidate observations pass both status checks but fail foreign state. Seeded reject-all repair passes foreign denial but fails owner success; no extra calls used for comparisons."
  },
  "countUnits": {
    "historicalMigrationSelectedCases": 2,
    "historicalMigrationCalls": 4,
    "historicalRepairedRuns": 0,
    "historicalSeparateTokenAssertionObservations": 12,
    "freshSelectedCases": 2,
    "freshVariants": 4,
    "freshDirectHandlerCalls": 8,
    "freshChildGates": 4,
    "sixHandoffArtifactCategories": 6,
    "coverageOrComplianceDenominator": null
  },
  "limits": [
    "No original token/mutation replay in fresh campaign.",
    "New repair is selected local evidence, not broader class closure, customer acceptance, accepted Proof Change, merge or deployment.",
    "Direct strings and403-like dicts are not HTTP/session/authentication/idempotency protocol tests.",
    "Fresh connection shows observed committed selected state, not crash/powerloss/restart durability or other-engine semantics.",
    "One existing document/two sequential cases do not establish concurrency/atomic tenant isolation, other endpoints/missing documents/disclosure/retries/external effects or production migration readiness.",
    "Six artifact categories are authored engineering/service work-record choices, not a NIST mandate or automatic product guarantee.",
    "Digests identify bytes, not signatures, authority or origin."
  ],
  "publicDownload": "/assets/software-correctness-audit/software-correctness-audit-evidence-kit.zip",
  "productionPublished": false
}
