{
  "all_selected_expectations_pass": true,
  "evidence_class": "original_finite_synthetic_CPU_model",
  "fixture_sha256": "72d5c0020b17018260ea986c1243aaa46768cfadced20677ad86c82b651211c6",
  "limits": [
    "This is an original finite deterministic event model on a CPU. All events, identities and state values are authored synthetic inputs; no actual asynchronous checkpoint operation, filesystem checkpoint, process crash or training job is run.",
    "Event ordinals express one trusted total order and an inclusive observation cutoff. They are not timestamps or durations. This proof has no clock, throughput, GPU performance, recovery latency or economic measurement.",
    "For accepted same-lineage captures the task is a monotonically completed exact integer prefix. Generation n means logical units 1 through n are complete, and its complete toy state is {completed_generation:n, prefix_sum:n*(n+1)/2}. A generation counter alone does not validate general training state.",
    "A saved event declares a complete valid snapshot available in this model. Atomic publication, object persistence, fsync, storage durability, distributed agreement, authentication, retention and crash recovery are assumptions or out of scope, not verified properties.",
    "Snapshot bodies are independent values supplied in the fixture. No mutation during staging, partial writes, missing optimizer state, retry identity or schema migration is modeled.",
    "The two selection rules share the same eligible snapshot set. Highest captured generation is meaningful only within the declared monotonic lineage. Intentional rollback, branched runs, counter reset, changed configuration and incomparable progress need another contract.",
    "Replay units are logical prefix indices, not wall time, FLOPs, energy or dollars. The model does not establish a speedup or the cost of replay.",
    "The twelve authored traces and selected refusal controls demonstrate these cases only. They do not establish prevalence, production correctness, general checkpoint safety, model improvement or training uplift.",
    "The PyTorch sources are background for separating staging and saving. Its documented recipe limits outstanding requests. This model does not run PyTorch or identify a PyTorch bug or an out-of-order completion in that recipe."
  ],
  "policy_outcome_count": 24,
  "protocol_sha256": "61721edc8e3d9eeee2729776cd6bac618e0eff8a57006bbb2808eed9aac1c545",
  "python_version": "3.9.6 (default, May 22 2026, 11:13:45) \n[Clang 21.0.0 (clang-2100.1.1.101)]",
  "results": [
    {
      "authored_input": {
        "case_id": "out_of_order_completion",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "older",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 78
            }
          },
          {
            "generation": 20,
            "kind": "progress",
            "ordinal": 3
          },
          {
            "captured_generation": 20,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 4,
            "snapshot_id": "newer",
            "state": {
              "completed_generation": 20,
              "prefix_sum": 210
            }
          },
          {
            "kind": "saved",
            "ordinal": 5,
            "snapshot_id": "newer"
          },
          {
            "kind": "saved",
            "ordinal": 6,
            "snapshot_id": "older"
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "last_completion": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "out_of_order_completion",
      "checks": [
        {
          "actual": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "expected": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": true
        },
        {
          "actual": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "expected": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": true
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "completion_ordinal": 5,
          "replay_logical_units": [
            21,
            22,
            23,
            24
          ],
          "replay_unit_count": 4,
          "replayed_prefix_sum": 300,
          "restored_generation": 20,
          "restored_state": {
            "completed_generation": 20,
            "prefix_sum": 210
          },
          "snapshot_id": "newer",
          "status": "selected"
        },
        "last_completion": {
          "completion_ordinal": 6,
          "replay_logical_units": [
            13,
            14,
            15,
            16,
            17,
            18,
            19,
            20,
            21,
            22,
            23,
            24
          ],
          "replay_unit_count": 12,
          "replayed_prefix_sum": 300,
          "restored_generation": 12,
          "restored_state": {
            "completed_generation": 12,
            "prefix_sum": 78
          },
          "snapshot_id": "older",
          "status": "selected"
        }
      },
      "validation": {
        "inspection": {
          "completed_generation_at_cutoff": 24,
          "cutoff_state": {
            "completed_generation": 24,
            "prefix_sum": 300
          },
          "event_decisions": [
            {
              "completed_generation": 12,
              "decision": "progress_observed",
              "ordinal": 1
            },
            {
              "decision": "capture_observed",
              "ordinal": 2,
              "snapshot_id": "older"
            },
            {
              "completed_generation": 20,
              "decision": "progress_observed",
              "ordinal": 3
            },
            {
              "decision": "capture_observed",
              "ordinal": 4,
              "snapshot_id": "newer"
            },
            {
              "completion_status": "saved",
              "decision": "completion_observed",
              "ordinal": 5,
              "snapshot_id": "newer"
            },
            {
              "completion_status": "saved",
              "decision": "completion_observed",
              "ordinal": 6,
              "snapshot_id": "older"
            },
            {
              "completed_generation": 24,
              "decision": "progress_observed",
              "ordinal": 7
            }
          ],
          "snapshots_at_cutoff": [
            {
              "capture_ordinal": 2,
              "captured_generation": 12,
              "completion_ordinal": 6,
              "completion_status": "saved",
              "eligibility": "eligible",
              "lineage": "toy-lineage-a",
              "snapshot_id": "older",
              "state": {
                "completed_generation": 12,
                "prefix_sum": 78
              }
            },
            {
              "capture_ordinal": 4,
              "captured_generation": 20,
              "completion_ordinal": 5,
              "completion_status": "saved",
              "eligibility": "eligible",
              "lineage": "toy-lineage-a",
              "snapshot_id": "newer",
              "state": {
                "completed_generation": 20,
                "prefix_sum": 210
              }
            }
          ]
        },
        "status": "accepted"
      }
    },
    {
      "authored_input": {
        "case_id": "in_order_completion",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "older",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 78
            }
          },
          {
            "generation": 20,
            "kind": "progress",
            "ordinal": 3
          },
          {
            "captured_generation": 20,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 4,
            "snapshot_id": "newer",
            "state": {
              "completed_generation": 20,
              "prefix_sum": 210
            }
          },
          {
            "kind": "saved",
            "ordinal": 5,
            "snapshot_id": "older"
          },
          {
            "kind": "saved",
            "ordinal": 6,
            "snapshot_id": "newer"
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "last_completion": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "in_order_completion",
      "checks": [
        {
          "actual": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "expected": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": true
        },
        {
          "actual": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "expected": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": true
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "completion_ordinal": 6,
          "replay_logical_units": [
            21,
            22,
            23,
            24
          ],
          "replay_unit_count": 4,
          "replayed_prefix_sum": 300,
          "restored_generation": 20,
          "restored_state": {
            "completed_generation": 20,
            "prefix_sum": 210
          },
          "snapshot_id": "newer",
          "status": "selected"
        },
        "last_completion": {
          "completion_ordinal": 6,
          "replay_logical_units": [
            21,
            22,
            23,
            24
          ],
          "replay_unit_count": 4,
          "replayed_prefix_sum": 300,
          "restored_generation": 20,
          "restored_state": {
            "completed_generation": 20,
            "prefix_sum": 210
          },
          "snapshot_id": "newer",
          "status": "selected"
        }
      },
      "validation": {
        "inspection": {
          "completed_generation_at_cutoff": 24,
          "cutoff_state": {
            "completed_generation": 24,
            "prefix_sum": 300
          },
          "event_decisions": [
            {
              "completed_generation": 12,
              "decision": "progress_observed",
              "ordinal": 1
            },
            {
              "decision": "capture_observed",
              "ordinal": 2,
              "snapshot_id": "older"
            },
            {
              "completed_generation": 20,
              "decision": "progress_observed",
              "ordinal": 3
            },
            {
              "decision": "capture_observed",
              "ordinal": 4,
              "snapshot_id": "newer"
            },
            {
              "completion_status": "saved",
              "decision": "completion_observed",
              "ordinal": 5,
              "snapshot_id": "older"
            },
            {
              "completion_status": "saved",
              "decision": "completion_observed",
              "ordinal": 6,
              "snapshot_id": "newer"
            },
            {
              "completed_generation": 24,
              "decision": "progress_observed",
              "ordinal": 7
            }
          ],
          "snapshots_at_cutoff": [
            {
              "capture_ordinal": 2,
              "captured_generation": 12,
              "completion_ordinal": 5,
              "completion_status": "saved",
              "eligibility": "eligible",
              "lineage": "toy-lineage-a",
              "snapshot_id": "older",
              "state": {
                "completed_generation": 12,
                "prefix_sum": 78
              }
            },
            {
              "capture_ordinal": 4,
              "captured_generation": 20,
              "completion_ordinal": 6,
              "completion_status": "saved",
              "eligibility": "eligible",
              "lineage": "toy-lineage-a",
              "snapshot_id": "newer",
              "state": {
                "completed_generation": 20,
                "prefix_sum": 210
              }
            }
          ]
        },
        "status": "accepted"
      }
    },
    {
      "authored_input": {
        "case_id": "newer_finishes_after_cutoff",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "older",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 78
            }
          },
          {
            "generation": 20,
            "kind": "progress",
            "ordinal": 3
          },
          {
            "captured_generation": 20,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 4,
            "snapshot_id": "newer",
            "state": {
              "completed_generation": 20,
              "prefix_sum": 210
            }
          },
          {
            "kind": "saved",
            "ordinal": 5,
            "snapshot_id": "older"
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          },
          {
            "kind": "saved",
            "ordinal": 9,
            "snapshot_id": "newer"
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "last_completion": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "newer_finishes_after_cutoff",
      "checks": [
        {
          "actual": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "expected": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": true
        },
        {
          "actual": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "expected": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": true
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "completion_ordinal": 5,
          "replay_logical_units": [
            13,
            14,
            15,
            16,
            17,
            18,
            19,
            20,
            21,
            22,
            23,
            24
          ],
          "replay_unit_count": 12,
          "replayed_prefix_sum": 300,
          "restored_generation": 12,
          "restored_state": {
            "completed_generation": 12,
            "prefix_sum": 78
          },
          "snapshot_id": "older",
          "status": "selected"
        },
        "last_completion": {
          "completion_ordinal": 5,
          "replay_logical_units": [
            13,
            14,
            15,
            16,
            17,
            18,
            19,
            20,
            21,
            22,
            23,
            24
          ],
          "replay_unit_count": 12,
          "replayed_prefix_sum": 300,
          "restored_generation": 12,
          "restored_state": {
            "completed_generation": 12,
            "prefix_sum": 78
          },
          "snapshot_id": "older",
          "status": "selected"
        }
      },
      "validation": {
        "inspection": {
          "completed_generation_at_cutoff": 24,
          "cutoff_state": {
            "completed_generation": 24,
            "prefix_sum": 300
          },
          "event_decisions": [
            {
              "completed_generation": 12,
              "decision": "progress_observed",
              "ordinal": 1
            },
            {
              "decision": "capture_observed",
              "ordinal": 2,
              "snapshot_id": "older"
            },
            {
              "completed_generation": 20,
              "decision": "progress_observed",
              "ordinal": 3
            },
            {
              "decision": "capture_observed",
              "ordinal": 4,
              "snapshot_id": "newer"
            },
            {
              "completion_status": "saved",
              "decision": "completion_observed",
              "ordinal": 5,
              "snapshot_id": "older"
            },
            {
              "completed_generation": 24,
              "decision": "progress_observed",
              "ordinal": 7
            },
            {
              "decision": "after_cutoff_not_observed",
              "ordinal": 9
            }
          ],
          "snapshots_at_cutoff": [
            {
              "capture_ordinal": 2,
              "captured_generation": 12,
              "completion_ordinal": 5,
              "completion_status": "saved",
              "eligibility": "eligible",
              "lineage": "toy-lineage-a",
              "snapshot_id": "older",
              "state": {
                "completed_generation": 12,
                "prefix_sum": 78
              }
            },
            {
              "capture_ordinal": 4,
              "captured_generation": 20,
              "completion_ordinal": null,
              "completion_status": "pending",
              "eligibility": "not_completed_by_cutoff",
              "lineage": "toy-lineage-a",
              "snapshot_id": "newer",
              "state": {
                "completed_generation": 20,
                "prefix_sum": 210
              }
            }
          ]
        },
        "status": "accepted"
      }
    },
    {
      "authored_input": {
        "case_id": "foreign_lineage_finishes_last",
        "cutoff_ordinal": 9,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "older",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 78
            }
          },
          {
            "generation": 20,
            "kind": "progress",
            "ordinal": 3
          },
          {
            "captured_generation": 20,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 4,
            "snapshot_id": "newer",
            "state": {
              "completed_generation": 20,
              "prefix_sum": 210
            }
          },
          {
            "kind": "saved",
            "ordinal": 5,
            "snapshot_id": "newer"
          },
          {
            "kind": "saved",
            "ordinal": 6,
            "snapshot_id": "older"
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          },
          {
            "captured_generation": 30,
            "kind": "capture",
            "lineage": "toy-lineage-b",
            "ordinal": 8,
            "snapshot_id": "foreign",
            "state": {
              "completed_generation": 30,
              "prefix_sum": 465
            }
          },
          {
            "kind": "saved",
            "ordinal": 9,
            "snapshot_id": "foreign"
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "last_completion": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "foreign_lineage_finishes_last",
      "checks": [
        {
          "actual": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "expected": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": true
        },
        {
          "actual": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "expected": {
            "replay_unit_count": 4,
            "restored_generation": 20,
            "snapshot_id": "newer",
            "status": "selected"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": true
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "completion_ordinal": 5,
          "replay_logical_units": [
            21,
            22,
            23,
            24
          ],
          "replay_unit_count": 4,
          "replayed_prefix_sum": 300,
          "restored_generation": 20,
          "restored_state": {
            "completed_generation": 20,
            "prefix_sum": 210
          },
          "snapshot_id": "newer",
          "status": "selected"
        },
        "last_completion": {
          "completion_ordinal": 6,
          "replay_logical_units": [
            13,
            14,
            15,
            16,
            17,
            18,
            19,
            20,
            21,
            22,
            23,
            24
          ],
          "replay_unit_count": 12,
          "replayed_prefix_sum": 300,
          "restored_generation": 12,
          "restored_state": {
            "completed_generation": 12,
            "prefix_sum": 78
          },
          "snapshot_id": "older",
          "status": "selected"
        }
      },
      "validation": {
        "inspection": {
          "completed_generation_at_cutoff": 24,
          "cutoff_state": {
            "completed_generation": 24,
            "prefix_sum": 300
          },
          "event_decisions": [
            {
              "completed_generation": 12,
              "decision": "progress_observed",
              "ordinal": 1
            },
            {
              "decision": "capture_observed",
              "ordinal": 2,
              "snapshot_id": "older"
            },
            {
              "completed_generation": 20,
              "decision": "progress_observed",
              "ordinal": 3
            },
            {
              "decision": "capture_observed",
              "ordinal": 4,
              "snapshot_id": "newer"
            },
            {
              "completion_status": "saved",
              "decision": "completion_observed",
              "ordinal": 5,
              "snapshot_id": "newer"
            },
            {
              "completion_status": "saved",
              "decision": "completion_observed",
              "ordinal": 6,
              "snapshot_id": "older"
            },
            {
              "completed_generation": 24,
              "decision": "progress_observed",
              "ordinal": 7
            },
            {
              "decision": "capture_observed",
              "ordinal": 8,
              "snapshot_id": "foreign"
            },
            {
              "completion_status": "saved",
              "decision": "completion_observed",
              "ordinal": 9,
              "snapshot_id": "foreign"
            }
          ],
          "snapshots_at_cutoff": [
            {
              "capture_ordinal": 2,
              "captured_generation": 12,
              "completion_ordinal": 6,
              "completion_status": "saved",
              "eligibility": "eligible",
              "lineage": "toy-lineage-a",
              "snapshot_id": "older",
              "state": {
                "completed_generation": 12,
                "prefix_sum": 78
              }
            },
            {
              "capture_ordinal": 4,
              "captured_generation": 20,
              "completion_ordinal": 5,
              "completion_status": "saved",
              "eligibility": "eligible",
              "lineage": "toy-lineage-a",
              "snapshot_id": "newer",
              "state": {
                "completed_generation": 20,
                "prefix_sum": 210
              }
            },
            {
              "capture_ordinal": 8,
              "captured_generation": 30,
              "completion_ordinal": 9,
              "completion_status": "saved",
              "eligibility": "different_lineage",
              "lineage": "toy-lineage-b",
              "snapshot_id": "foreign",
              "state": {
                "completed_generation": 30,
                "prefix_sum": 465
              }
            }
          ]
        },
        "status": "accepted"
      }
    },
    {
      "authored_input": {
        "case_id": "newer_save_failed",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "older",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 78
            }
          },
          {
            "generation": 20,
            "kind": "progress",
            "ordinal": 3
          },
          {
            "captured_generation": 20,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 4,
            "snapshot_id": "newer",
            "state": {
              "completed_generation": 20,
              "prefix_sum": 210
            }
          },
          {
            "kind": "saved",
            "ordinal": 5,
            "snapshot_id": "older"
          },
          {
            "kind": "failed",
            "ordinal": 6,
            "snapshot_id": "newer"
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "last_completion": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "newer_save_failed",
      "checks": [
        {
          "actual": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "expected": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": true
        },
        {
          "actual": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "expected": {
            "replay_unit_count": 12,
            "restored_generation": 12,
            "snapshot_id": "older",
            "status": "selected"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": true
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "completion_ordinal": 5,
          "replay_logical_units": [
            13,
            14,
            15,
            16,
            17,
            18,
            19,
            20,
            21,
            22,
            23,
            24
          ],
          "replay_unit_count": 12,
          "replayed_prefix_sum": 300,
          "restored_generation": 12,
          "restored_state": {
            "completed_generation": 12,
            "prefix_sum": 78
          },
          "snapshot_id": "older",
          "status": "selected"
        },
        "last_completion": {
          "completion_ordinal": 5,
          "replay_logical_units": [
            13,
            14,
            15,
            16,
            17,
            18,
            19,
            20,
            21,
            22,
            23,
            24
          ],
          "replay_unit_count": 12,
          "replayed_prefix_sum": 300,
          "restored_generation": 12,
          "restored_state": {
            "completed_generation": 12,
            "prefix_sum": 78
          },
          "snapshot_id": "older",
          "status": "selected"
        }
      },
      "validation": {
        "inspection": {
          "completed_generation_at_cutoff": 24,
          "cutoff_state": {
            "completed_generation": 24,
            "prefix_sum": 300
          },
          "event_decisions": [
            {
              "completed_generation": 12,
              "decision": "progress_observed",
              "ordinal": 1
            },
            {
              "decision": "capture_observed",
              "ordinal": 2,
              "snapshot_id": "older"
            },
            {
              "completed_generation": 20,
              "decision": "progress_observed",
              "ordinal": 3
            },
            {
              "decision": "capture_observed",
              "ordinal": 4,
              "snapshot_id": "newer"
            },
            {
              "completion_status": "saved",
              "decision": "completion_observed",
              "ordinal": 5,
              "snapshot_id": "older"
            },
            {
              "completion_status": "failed",
              "decision": "completion_observed",
              "ordinal": 6,
              "snapshot_id": "newer"
            },
            {
              "completed_generation": 24,
              "decision": "progress_observed",
              "ordinal": 7
            }
          ],
          "snapshots_at_cutoff": [
            {
              "capture_ordinal": 2,
              "captured_generation": 12,
              "completion_ordinal": 5,
              "completion_status": "saved",
              "eligibility": "eligible",
              "lineage": "toy-lineage-a",
              "snapshot_id": "older",
              "state": {
                "completed_generation": 12,
                "prefix_sum": 78
              }
            },
            {
              "capture_ordinal": 4,
              "captured_generation": 20,
              "completion_ordinal": 6,
              "completion_status": "failed",
              "eligibility": "save_failed",
              "lineage": "toy-lineage-a",
              "snapshot_id": "newer",
              "state": {
                "completed_generation": 20,
                "prefix_sum": 210
              }
            }
          ]
        },
        "status": "accepted"
      }
    },
    {
      "authored_input": {
        "case_id": "no_completed_snapshot",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "older",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 78
            }
          },
          {
            "generation": 20,
            "kind": "progress",
            "ordinal": 3
          },
          {
            "captured_generation": 20,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 4,
            "snapshot_id": "newer",
            "state": {
              "completed_generation": 20,
              "prefix_sum": 210
            }
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "reason": "no_eligible_snapshot",
            "status": "refused"
          },
          "last_completion": {
            "reason": "no_eligible_snapshot",
            "status": "refused"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "no_completed_snapshot",
      "checks": [
        {
          "actual": {
            "reason": "no_eligible_snapshot",
            "status": "refused"
          },
          "expected": {
            "reason": "no_eligible_snapshot",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": null
        },
        {
          "actual": {
            "reason": "no_eligible_snapshot",
            "status": "refused"
          },
          "expected": {
            "reason": "no_eligible_snapshot",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": null
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "reason": "no_eligible_snapshot",
          "status": "refused"
        },
        "last_completion": {
          "reason": "no_eligible_snapshot",
          "status": "refused"
        }
      },
      "validation": {
        "inspection": {
          "completed_generation_at_cutoff": 24,
          "cutoff_state": {
            "completed_generation": 24,
            "prefix_sum": 300
          },
          "event_decisions": [
            {
              "completed_generation": 12,
              "decision": "progress_observed",
              "ordinal": 1
            },
            {
              "decision": "capture_observed",
              "ordinal": 2,
              "snapshot_id": "older"
            },
            {
              "completed_generation": 20,
              "decision": "progress_observed",
              "ordinal": 3
            },
            {
              "decision": "capture_observed",
              "ordinal": 4,
              "snapshot_id": "newer"
            },
            {
              "completed_generation": 24,
              "decision": "progress_observed",
              "ordinal": 7
            }
          ],
          "snapshots_at_cutoff": [
            {
              "capture_ordinal": 2,
              "captured_generation": 12,
              "completion_ordinal": null,
              "completion_status": "pending",
              "eligibility": "not_completed_by_cutoff",
              "lineage": "toy-lineage-a",
              "snapshot_id": "older",
              "state": {
                "completed_generation": 12,
                "prefix_sum": 78
              }
            },
            {
              "capture_ordinal": 4,
              "captured_generation": 20,
              "completion_ordinal": null,
              "completion_status": "pending",
              "eligibility": "not_completed_by_cutoff",
              "lineage": "toy-lineage-a",
              "snapshot_id": "newer",
              "state": {
                "completed_generation": 20,
                "prefix_sum": 210
              }
            }
          ]
        },
        "status": "accepted"
      }
    },
    {
      "authored_input": {
        "case_id": "conflicting_equal_generation",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "first",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 78
            }
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 3,
            "snapshot_id": "conflict",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 79
            }
          },
          {
            "kind": "saved",
            "ordinal": 4,
            "snapshot_id": "first"
          },
          {
            "kind": "saved",
            "ordinal": 5,
            "snapshot_id": "conflict"
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "reason": "conflicting_state_at_equal_generation",
            "status": "refused"
          },
          "last_completion": {
            "reason": "conflicting_state_at_equal_generation",
            "status": "refused"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "conflicting_equal_generation",
      "checks": [
        {
          "actual": {
            "reason": "conflicting_state_at_equal_generation",
            "status": "refused"
          },
          "expected": {
            "reason": "conflicting_state_at_equal_generation",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": null
        },
        {
          "actual": {
            "reason": "conflicting_state_at_equal_generation",
            "status": "refused"
          },
          "expected": {
            "reason": "conflicting_state_at_equal_generation",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": null
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "reason": "conflicting_state_at_equal_generation",
          "status": "refused"
        },
        "last_completion": {
          "reason": "conflicting_state_at_equal_generation",
          "status": "refused"
        }
      },
      "validation": {
        "reason": "conflicting_state_at_equal_generation",
        "status": "refused"
      }
    },
    {
      "authored_input": {
        "case_id": "completion_before_capture",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "kind": "saved",
            "ordinal": 2,
            "snapshot_id": "older"
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 3,
            "snapshot_id": "older",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 78
            }
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "reason": "completion_without_observed_capture",
            "status": "refused"
          },
          "last_completion": {
            "reason": "completion_without_observed_capture",
            "status": "refused"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "completion_before_capture",
      "checks": [
        {
          "actual": {
            "reason": "completion_without_observed_capture",
            "status": "refused"
          },
          "expected": {
            "reason": "completion_without_observed_capture",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": null
        },
        {
          "actual": {
            "reason": "completion_without_observed_capture",
            "status": "refused"
          },
          "expected": {
            "reason": "completion_without_observed_capture",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": null
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "reason": "completion_without_observed_capture",
          "status": "refused"
        },
        "last_completion": {
          "reason": "completion_without_observed_capture",
          "status": "refused"
        }
      },
      "validation": {
        "reason": "completion_without_observed_capture",
        "status": "refused"
      }
    },
    {
      "authored_input": {
        "case_id": "capture_ahead_of_progress",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 20,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "ahead",
            "state": {
              "completed_generation": 20,
              "prefix_sum": 210
            }
          },
          {
            "kind": "saved",
            "ordinal": 3,
            "snapshot_id": "ahead"
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "reason": "capture_ahead_of_observed_progress",
            "status": "refused"
          },
          "last_completion": {
            "reason": "capture_ahead_of_observed_progress",
            "status": "refused"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "capture_ahead_of_progress",
      "checks": [
        {
          "actual": {
            "reason": "capture_ahead_of_observed_progress",
            "status": "refused"
          },
          "expected": {
            "reason": "capture_ahead_of_observed_progress",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": null
        },
        {
          "actual": {
            "reason": "capture_ahead_of_observed_progress",
            "status": "refused"
          },
          "expected": {
            "reason": "capture_ahead_of_observed_progress",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": null
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "reason": "capture_ahead_of_observed_progress",
          "status": "refused"
        },
        "last_completion": {
          "reason": "capture_ahead_of_observed_progress",
          "status": "refused"
        }
      },
      "validation": {
        "reason": "capture_ahead_of_observed_progress",
        "status": "refused"
      }
    },
    {
      "authored_input": {
        "case_id": "progress_moves_backwards",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "older",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 78
            }
          },
          {
            "kind": "saved",
            "ordinal": 3,
            "snapshot_id": "older"
          },
          {
            "generation": 11,
            "kind": "progress",
            "ordinal": 4
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "reason": "progress_regressed",
            "status": "refused"
          },
          "last_completion": {
            "reason": "progress_regressed",
            "status": "refused"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "progress_moves_backwards",
      "checks": [
        {
          "actual": {
            "reason": "progress_regressed",
            "status": "refused"
          },
          "expected": {
            "reason": "progress_regressed",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": null
        },
        {
          "actual": {
            "reason": "progress_regressed",
            "status": "refused"
          },
          "expected": {
            "reason": "progress_regressed",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": null
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "reason": "progress_regressed",
          "status": "refused"
        },
        "last_completion": {
          "reason": "progress_regressed",
          "status": "refused"
        }
      },
      "validation": {
        "reason": "progress_regressed",
        "status": "refused"
      }
    },
    {
      "authored_input": {
        "case_id": "invalid_prefix_state",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "bad",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 79
            }
          },
          {
            "kind": "saved",
            "ordinal": 3,
            "snapshot_id": "bad"
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "reason": "invalid_prefix_state",
            "status": "refused"
          },
          "last_completion": {
            "reason": "invalid_prefix_state",
            "status": "refused"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "invalid_prefix_state",
      "checks": [
        {
          "actual": {
            "reason": "invalid_prefix_state",
            "status": "refused"
          },
          "expected": {
            "reason": "invalid_prefix_state",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": null
        },
        {
          "actual": {
            "reason": "invalid_prefix_state",
            "status": "refused"
          },
          "expected": {
            "reason": "invalid_prefix_state",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": null
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "reason": "invalid_prefix_state",
          "status": "refused"
        },
        "last_completion": {
          "reason": "invalid_prefix_state",
          "status": "refused"
        }
      },
      "validation": {
        "reason": "invalid_prefix_state",
        "status": "refused"
      }
    },
    {
      "authored_input": {
        "case_id": "ambiguous_event_order",
        "cutoff_ordinal": 7,
        "events": [
          {
            "generation": 12,
            "kind": "progress",
            "ordinal": 1
          },
          {
            "captured_generation": 12,
            "kind": "capture",
            "lineage": "toy-lineage-a",
            "ordinal": 2,
            "snapshot_id": "older",
            "state": {
              "completed_generation": 12,
              "prefix_sum": 78
            }
          },
          {
            "kind": "saved",
            "ordinal": 2,
            "snapshot_id": "older"
          },
          {
            "generation": 24,
            "kind": "progress",
            "ordinal": 7
          }
        ],
        "expected": {
          "highest_captured_generation": {
            "reason": "non_increasing_ordinals",
            "status": "refused"
          },
          "last_completion": {
            "reason": "non_increasing_ordinals",
            "status": "refused"
          }
        },
        "target_lineage": "toy-lineage-a"
      },
      "case_id": "ambiguous_event_order",
      "checks": [
        {
          "actual": {
            "reason": "non_increasing_ordinals",
            "status": "refused"
          },
          "expected": {
            "reason": "non_increasing_ordinals",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "last_completion",
          "replay_arithmetic_check": null
        },
        {
          "actual": {
            "reason": "non_increasing_ordinals",
            "status": "refused"
          },
          "expected": {
            "reason": "non_increasing_ordinals",
            "status": "refused"
          },
          "matches_frozen_expectation": true,
          "policy": "highest_captured_generation",
          "replay_arithmetic_check": null
        }
      ],
      "policy_outcomes": {
        "highest_captured_generation": {
          "reason": "non_increasing_ordinals",
          "status": "refused"
        },
        "last_completion": {
          "reason": "non_increasing_ordinals",
          "status": "refused"
        }
      },
      "validation": {
        "reason": "non_increasing_ordinals",
        "status": "refused"
      }
    }
  ],
  "schema": "nodus.checkpoint-generation-result.v1",
  "source_sha256": "1dd3286e01b75fb21936f3618eec886c723b3d3b9c0cc3aad25a9e3b2bc71f00",
  "trace_count": 12
}
