{
  "schema": "audit-closure-selected-execution-v1",
  "variant": "reject_all",
  "executed_at_utc": "2026-10-28T20:34:50.046411+00:00",
  "runtime": {
    "python": "3.14.7",
    "sqlite": "3.53.4",
    "implementation": "CPython",
    "platform": "Darwin/arm64",
    "optimize": 0
  },
  "source_sha256": {
    "migration.py": "7c5ff7a7762bf005bdbd847344cfe43f052f5dcb7cb9a5ea69271d12a1f680a3",
    "implementations.py": "241dff79d471ad073b84c368e540734e338e23f405aa368a79c61b4f1ee8d141",
    "harness.py": "4caca20247c356cd9d78a3a78369b642c6d79cdfabbbb5d9ad4355adef4d06db",
    "expected.json": "f9a5c4178bb8294d502f6e1c321d0ac34e7be951431c0694b171d491c9f0d7c8",
    "contract.md": "176086e2fe1c15384558c90051e9202fea4570b9b9f7a7c0b5596f0c4e3fb0cf",
    "requirements.json": "1d7ecab27348d0a934dbb2cfaeab95f6510e07b0c9c0c0cb0c5adfc188589cba"
  },
  "capture_point": "Operation connection closed; complete ordered rows read through a fresh connection, not crash/restart durability.",
  "observations": [
    {
      "case_id": "own_tenant",
      "inputs": {
        "tenant": "alpha",
        "label": "revised",
        "request_id": "audit07-own"
      },
      "initial_rows": [
        [
          1,
          "alpha",
          "quarterly"
        ]
      ],
      "actual_response": {
        "status": 403,
        "error": "forbidden",
        "request_id": "audit07-own"
      },
      "actual_reopened_rows": [
        [
          1,
          "alpha",
          "quarterly"
        ]
      ],
      "expected_response": {
        "status": 200,
        "label": "revised",
        "request_id": "audit07-own"
      },
      "expected_rows": [
        [
          1,
          "alpha",
          "revised"
        ]
      ],
      "callable": {
        "function": "reject_all_no_write",
        "module": "implementations",
        "source_file": "implementations.py",
        "source_sha256": "241dff79d471ad073b84c368e540734e338e23f405aa368a79c61b4f1ee8d141",
        "function_source_sha256": "22cea5e14a2ceebb9ddfc23a2070cb665fe44e0a689461b58641c08a9b92a7c3"
      },
      "actual_handler_entries": [
        {
          "function": "reject_all_no_write",
          "source_file": "implementations.py",
          "first_line": 14,
          "bytecode_sha256_runtime_specific": "21bc3467889a8d58eb31499d6bca282eddacc5bec14452828472a2efa8429572",
          "tenant": "alpha",
          "label": "revised",
          "request_id": "audit07-own",
          "connection_type": "Connection"
        }
      ],
      "entry_and_arguments_passed": true,
      "sql_during_handler": [],
      "operation_connection_settings": {
        "autocommit": -1,
        "isolation_level": "",
        "in_transaction_before": false,
        "in_transaction_after": false
      },
      "fresh_observer_connection_settings": {
        "autocommit": -1,
        "isolation_level": "",
        "in_transaction": false
      },
      "status_only_passed": false,
      "typed_whole_response_passed": false,
      "typed_whole_rows_passed": false,
      "case_passed": false
    },
    {
      "case_id": "other_tenant",
      "inputs": {
        "tenant": "beta",
        "label": "revised",
        "request_id": "audit07-other"
      },
      "initial_rows": [
        [
          1,
          "alpha",
          "quarterly"
        ]
      ],
      "actual_response": {
        "status": 403,
        "error": "forbidden",
        "request_id": "audit07-other"
      },
      "actual_reopened_rows": [
        [
          1,
          "alpha",
          "quarterly"
        ]
      ],
      "expected_response": {
        "status": 403,
        "error": "forbidden",
        "request_id": "audit07-other"
      },
      "expected_rows": [
        [
          1,
          "alpha",
          "quarterly"
        ]
      ],
      "callable": {
        "function": "reject_all_no_write",
        "module": "implementations",
        "source_file": "implementations.py",
        "source_sha256": "241dff79d471ad073b84c368e540734e338e23f405aa368a79c61b4f1ee8d141",
        "function_source_sha256": "22cea5e14a2ceebb9ddfc23a2070cb665fe44e0a689461b58641c08a9b92a7c3"
      },
      "actual_handler_entries": [
        {
          "function": "reject_all_no_write",
          "source_file": "implementations.py",
          "first_line": 14,
          "bytecode_sha256_runtime_specific": "21bc3467889a8d58eb31499d6bca282eddacc5bec14452828472a2efa8429572",
          "tenant": "beta",
          "label": "revised",
          "request_id": "audit07-other",
          "connection_type": "Connection"
        }
      ],
      "entry_and_arguments_passed": true,
      "sql_during_handler": [],
      "operation_connection_settings": {
        "autocommit": -1,
        "isolation_level": "",
        "in_transaction_before": false,
        "in_transaction_after": false
      },
      "fresh_observer_connection_settings": {
        "autocommit": -1,
        "isolation_level": "",
        "in_transaction": false
      },
      "status_only_passed": true,
      "typed_whole_response_passed": true,
      "typed_whole_rows_passed": true,
      "case_passed": true
    }
  ],
  "selected_cases": 2,
  "direct_handler_calls": 2,
  "status_only_cases_passed": 1,
  "whole_response_state_cases_passed": 1,
  "gate_passed": false,
  "authority": "Fictional teaching scope; no customer approval, accepted Proof Change, merge or deployment."
}
