{
  "schema_version": "proof-recorded-plan-explorer/v1",
  "scope": "Recorded local teaching runs; no live execution, Proof product result or acceptance decision.",
  "plan": {
    "cases": [
      {
        "expected": [
          {
            "outcome": {
              "kind": "completed",
              "row_count": 3
            },
            "persisted_state": {
              "checkpoints": [
                {
                  "import_id": "batch-001",
                  "row_count": 3
                }
              ],
              "rows": [
                {
                  "import_id": "batch-001",
                  "item_id": "row-a",
                  "value": 11
                },
                {
                  "import_id": "batch-001",
                  "item_id": "row-b",
                  "value": 22
                },
                {
                  "import_id": "batch-001",
                  "item_id": "row-c",
                  "value": 33
                }
              ]
            }
          }
        ],
        "id": "T01",
        "operations": [
          {
            "import_id": "batch-001",
            "rows": [
              {
                "item_id": "row-a",
                "value": 11
              },
              {
                "item_id": "row-b",
                "value": 22
              },
              {
                "item_id": "row-c",
                "value": 33
              }
            ]
          }
        ],
        "requirement_ids": [
          "IMP01"
        ],
        "title": "Valid three-row batch and completion checkpoint"
      },
      {
        "expected": [
          {
            "outcome": {
              "kind": "completed",
              "row_count": 3
            },
            "persisted_state": {
              "checkpoints": [
                {
                  "import_id": "batch-001",
                  "row_count": 3
                }
              ],
              "rows": [
                {
                  "import_id": "batch-001",
                  "item_id": "row-a",
                  "value": 11
                },
                {
                  "import_id": "batch-001",
                  "item_id": "row-b",
                  "value": 22
                },
                {
                  "import_id": "batch-001",
                  "item_id": "row-c",
                  "value": 33
                }
              ]
            }
          },
          {
            "outcome": {
              "kind": "replayed",
              "row_count": 3
            },
            "persisted_state": {
              "checkpoints": [
                {
                  "import_id": "batch-001",
                  "row_count": 3
                }
              ],
              "rows": [
                {
                  "import_id": "batch-001",
                  "item_id": "row-a",
                  "value": 11
                },
                {
                  "import_id": "batch-001",
                  "item_id": "row-b",
                  "value": 22
                },
                {
                  "import_id": "batch-001",
                  "item_id": "row-c",
                  "value": 33
                }
              ]
            }
          }
        ],
        "id": "T02",
        "operations": [
          {
            "import_id": "batch-001",
            "rows": [
              {
                "item_id": "row-a",
                "value": 11
              },
              {
                "item_id": "row-b",
                "value": 22
              },
              {
                "item_id": "row-c",
                "value": 33
              }
            ]
          },
          {
            "import_id": "batch-001",
            "rows": [
              {
                "item_id": "row-a",
                "value": 11
              },
              {
                "item_id": "row-b",
                "value": 22
              },
              {
                "item_id": "row-c",
                "value": 33
              }
            ]
          }
        ],
        "requirement_ids": [
          "IMP02"
        ],
        "title": "Replay a completed import ID with the same payload"
      },
      {
        "expected": [
          {
            "outcome": {
              "error_code": "INVALID_ROW",
              "kind": "rejected",
              "message": "row 1: value must be an integer"
            },
            "persisted_state": {
              "checkpoints": [],
              "rows": []
            }
          }
        ],
        "id": "T03",
        "operations": [
          {
            "import_id": "batch-001",
            "rows": [
              {
                "item_id": "row-a",
                "value": "invalid"
              },
              {
                "item_id": "row-b",
                "value": 22
              },
              {
                "item_id": "row-c",
                "value": 33
              }
            ]
          }
        ],
        "requirement_ids": [
          "IMP03"
        ],
        "title": "Malformed first row leaves no persisted import state"
      },
      {
        "expected": [
          {
            "outcome": {
              "error_code": "EMPTY_BATCH",
              "kind": "rejected",
              "message": "batch must contain at least one row"
            },
            "persisted_state": {
              "checkpoints": [],
              "rows": []
            }
          }
        ],
        "id": "T04",
        "operations": [
          {
            "import_id": "batch-001",
            "rows": []
          }
        ],
        "requirement_ids": [
          "IMP04"
        ],
        "title": "Empty batch is rejected without persisted import state"
      },
      {
        "expected": [
          {
            "outcome": {
              "error_code": "INVALID_ROW",
              "kind": "rejected",
              "message": "row 2: value must be an integer"
            },
            "persisted_state": {
              "checkpoints": [],
              "rows": []
            }
          }
        ],
        "id": "T05",
        "operations": [
          {
            "import_id": "batch-001",
            "rows": [
              {
                "item_id": "row-a",
                "value": 11
              },
              {
                "item_id": "row-b",
                "value": "invalid"
              },
              {
                "item_id": "row-c",
                "value": 33
              }
            ]
          }
        ],
        "requirement_ids": [
          "IMP03"
        ],
        "title": "Malformed later row rejects the whole batch"
      }
    ],
    "evidence_policy": {
      "freshness": "The teaching checker requires exact plan and captured source hashes. A mismatch marks existing evidence stale; a production reuse decision would need impact assessment.",
      "readiness_limit": "Ready against this declared plan is a bounded bookkeeping result, not release approval, proof of exhaustive requirements or certification.",
      "validation_completion": "Validation is reported separately and requires its own accepted evidence.",
      "verification_completion": "Every declared verification obligation has complete, current evidence meeting its criterion; missing or partial work is not a pass."
    },
    "plan_id": "SVP-IMPORT-001",
    "purpose": "Distinguish passing executed cases from satisfied verification obligations, and expose a partial-write defect through a planned case.",
    "requirements": [
      {
        "id": "IMP01",
        "revision": 1,
        "text": "A nonempty valid batch shall persist its rows and a completed-import checkpoint whose row_count equals the batch size."
      },
      {
        "id": "IMP02",
        "revision": 1,
        "text": "Replaying a completed import ID with the same payload shall return the recorded completion count without additional rows or checkpoints."
      },
      {
        "id": "IMP03",
        "revision": 1,
        "text": "If a row is malformed, the batch shall be rejected with an explicit row error and no rows or completion checkpoint from that batch shall remain persisted."
      },
      {
        "id": "IMP04",
        "revision": 1,
        "text": "An empty batch shall be rejected explicitly without rows or a completed-import checkpoint."
      },
      {
        "id": "IMP05",
        "revision": 1,
        "text": "Concurrent retries of one import shall not duplicate imported rows or completion checkpoints. The response contract for the competing attempts must be settled before the integration procedure is accepted."
      },
      {
        "id": "IMP06",
        "revision": 1,
        "text": "Error and recovery documentation shall explain the malformed-row error, whole-batch rejection, correction/retry procedure and completed-ID replay limitation."
      },
      {
        "id": "NEED01",
        "revision": 1,
        "text": "The intended operator shall be able to identify and correct the malformed row, retry the rejected import, and recognize successful completion without introducing duplicate data."
      }
    ],
    "revision": 1,
    "schema_version": "svp-import-plan/v1",
    "scope": {
      "assumptions": [
        "Each case starts with an empty database.",
        "A valid row has a nonempty string item_id and a signed 64-bit integer value; bool is not accepted as an integer.",
        "Completed-ID replay in this fixture means replay of the same payload.",
        "The concurrency and recovery requirements below remain planned obligations, not measured conclusions."
      ],
      "executed_scope": [
        "Python function calls with a local SQLite database",
        "Sequential completed-import replay with the same import ID and payload",
        "Selected malformed-row and empty-input behavior",
        "Persisted rows and completion checkpoint observed through a new connection"
      ],
      "not_executed": [
        "Concurrent retries",
        "Process interruption or power loss",
        "Real service or network integration",
        "Different payload reused under a completed import ID",
        "Documentation review",
        "Operator recovery validation",
        "Proof CLI or Proof product execution"
      ]
    },
    "status": "teaching example; no approval or certification claim",
    "suites": {
      "expanded": [
        "T01",
        "T02",
        "T03",
        "T04",
        "T05"
      ],
      "legacy": [
        "T01",
        "T02",
        "T03",
        "T04"
      ]
    },
    "title": "Sequential import component verification teaching plan",
    "validation_obligations": [
      {
        "acceptance_criterion": "Observe a representative operator use the recovery instructions to diagnose the malformed row, correct it, retry the rejected import and recognize the resulting three rows and completion; record usability problems and the acceptance decision.",
        "evidence_kind": "validation",
        "id": "VAL01",
        "level": "intended operator / representative workflow",
        "method": "operational demonstration",
        "owner_role": "Product acceptance owner (no validation performed)",
        "planned_evidence": "Recorded operator-recovery scenario and acceptance assessment",
        "remaining_work": "Not performed. The local fixture does not demonstrate operator success or production suitability.",
        "required_evidence_ids": [
          "VALIDATE-RECOVERY-01"
        ],
        "requirement_ids": [
          "NEED01"
        ]
      }
    ],
    "verification_obligations": [
      {
        "acceptance_criterion": "T01 returns completed with row_count 3; exactly the three specified rows and one completed checkpoint persist.",
        "evidence_kind": "execution",
        "id": "VP01",
        "level": "component / local SQLite",
        "method": "test",
        "owner_role": "Developer",
        "planned_evidence": "T01 result with returned outcome and persisted database state",
        "remaining_work": "",
        "required_evidence_ids": [
          "T01"
        ],
        "requirement_ids": [
          "IMP01"
        ]
      },
      {
        "acceptance_criterion": "T02 returns completed then replayed with row_count 3; persisted rows and checkpoint are unchanged by replay.",
        "evidence_kind": "execution",
        "id": "VP02",
        "level": "component / local SQLite",
        "method": "test",
        "owner_role": "Developer",
        "planned_evidence": "Both operation outcomes and persisted snapshots from T02",
        "remaining_work": "",
        "required_evidence_ids": [
          "T02"
        ],
        "requirement_ids": [
          "IMP02"
        ]
      },
      {
        "acceptance_criterion": "Both T03 and T05 return the specified INVALID_ROW error; after each rejected batch, persisted rows and checkpoints are empty.",
        "evidence_kind": "execution",
        "id": "VP03",
        "level": "component / local SQLite",
        "method": "test",
        "owner_role": "Developer",
        "planned_evidence": "T03 and T05 results; first-row-only evidence is partial",
        "remaining_work": "",
        "required_evidence_ids": [
          "T03",
          "T05"
        ],
        "requirement_ids": [
          "IMP03"
        ]
      },
      {
        "acceptance_criterion": "T04 returns EMPTY_BATCH and leaves persisted rows and checkpoints empty.",
        "evidence_kind": "execution",
        "id": "VP04",
        "level": "component / local SQLite",
        "method": "test",
        "owner_role": "Developer",
        "planned_evidence": "T04 result and persisted snapshot",
        "remaining_work": "",
        "required_evidence_ids": [
          "T04"
        ],
        "requirement_ids": [
          "IMP04"
        ]
      },
      {
        "acceptance_criterion": "Run the agreed simultaneous-retry procedure against the target service; observe one row set and one checkpoint, and compare both responses with the approved concurrency contract.",
        "evidence_kind": "execution",
        "id": "VP05",
        "level": "integration / concurrent retries",
        "method": "test",
        "owner_role": "Integration owner (not assigned in this teaching run)",
        "planned_evidence": "Target-service concurrent-retry execution record",
        "remaining_work": "Not run. Requires a real integration environment and an agreed competing-response contract.",
        "required_evidence_ids": [
          "INT-CONCURRENT-01"
        ],
        "requirement_ids": [
          "IMP05"
        ]
      },
      {
        "acceptance_criterion": "Review the actual error and recovery instructions against IMP06; record reviewer, reviewed revision, findings and their disposition.",
        "evidence_kind": "review",
        "id": "VP06",
        "level": "documentation / recovery procedure",
        "method": "review",
        "owner_role": "Documentation reviewer (no review performed)",
        "planned_evidence": "Dated review record tied to the documentation and requirement revisions",
        "remaining_work": "Not performed. No documentation review or approval is claimed.",
        "required_evidence_ids": [
          "REVIEW-RECOVERY-01"
        ],
        "requirement_ids": [
          "IMP06"
        ]
      }
    ]
  },
  "stages": [
    {
      "id": "legacy",
      "label": "1. Four passing tests",
      "description": "The initial four cases pass. VP03 remains partial because T05 was required by the plan but did not run. Concurrent retries, the documentation review and operator validation are also unperformed.",
      "results": {
        "additional_evidence": [],
        "command": [
          "/opt/codex/runtimes/codex-primary-runtime/dependencies/python/bin/python",
          "run_cases.py",
          "--implementation",
          "buggy",
          "--suite",
          "legacy",
          "--output",
          "reports/legacy.results.json"
        ],
        "environment": {
          "platform": "Linux-6.18.55-x86_64-with-glibc2.39",
          "python": "3.12.14",
          "sqlite": "3.53.1"
        },
        "generated_at_utc": "2026-10-27T12:49:56.686381+00:00",
        "implementation": "buggy",
        "plan_id": "SVP-IMPORT-001",
        "plan_revision": 1,
        "plan_sha256": "d6002573f16ecf4b6e71935bfdbed49d2f8e3ea3beec0b2d04a2d9b3329c56c0",
        "results": [
          {
            "evidence_id": "T01",
            "expected": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "requirement_ids": [
              "IMP01"
            ],
            "status": "passed",
            "title": "Valid three-row batch and completion checkpoint"
          },
          {
            "evidence_id": "T02",
            "expected": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              },
              {
                "outcome": {
                  "kind": "replayed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              },
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              },
              {
                "outcome": {
                  "kind": "replayed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "requirement_ids": [
              "IMP02"
            ],
            "status": "passed",
            "title": "Replay a completed import ID with the same payload"
          },
          {
            "evidence_id": "T03",
            "expected": [
              {
                "outcome": {
                  "error_code": "INVALID_ROW",
                  "kind": "rejected",
                  "message": "row 1: value must be an integer"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": "invalid"
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "error_code": "INVALID_ROW",
                  "kind": "rejected",
                  "message": "row 1: value must be an integer"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "requirement_ids": [
              "IMP03"
            ],
            "status": "passed",
            "title": "Malformed first row leaves no persisted import state"
          },
          {
            "evidence_id": "T04",
            "expected": [
              {
                "outcome": {
                  "error_code": "EMPTY_BATCH",
                  "kind": "rejected",
                  "message": "batch must contain at least one row"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": []
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "error_code": "EMPTY_BATCH",
                  "kind": "rejected",
                  "message": "batch must contain at least one row"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "requirement_ids": [
              "IMP04"
            ],
            "status": "passed",
            "title": "Empty batch is rejected without persisted import state"
          }
        ],
        "schema_version": "svp-import-results/v1",
        "scope_note": "Local sequential SQLite fixture. No concurrent retry, documentation review, operator validation or Proof product execution was performed.",
        "selected_case_ids": [
          "T01",
          "T02",
          "T03",
          "T04"
        ],
        "source_sha256": {
          "check_plan.py": "1e23ebb91aa1852bd4d606154c0b4f6ed92d708eda3a23ed4934980a21ee2262",
          "common.py": "cbbd39d83afefd81d043874b22a2f3d35bae9718a1ca1c1a00bcc603d5668a70",
          "importer_buggy.py": "68143aa7d12e66b34d6b749fc9c667715f6a6d2233eac3e59be4d463b1214b30",
          "run_cases.py": "e311c3ef11dabcd640c365e63c338d3faf63faa400cf18cb45635c4f17164907"
        },
        "suite": "legacy",
        "summary": {
          "errors": 0,
          "failed": 0,
          "passed": 4,
          "selected": 4
        },
        "working_directory": "/workspace/scratch/d0867c09adec/proof-verification-plan/evidence/import-example"
      },
      "assessment": {
        "command": [
          "/opt/codex/runtimes/codex-primary-runtime/dependencies/python/bin/python",
          "check_plan.py",
          "--results",
          "reports/legacy.results.json",
          "--output",
          "reports/legacy.plan-status.json"
        ],
        "current_plan_sha256": "d6002573f16ecf4b6e71935bfdbed49d2f8e3ea3beec0b2d04a2d9b3329c56c0",
        "generated_at_utc": "2026-10-27T12:49:56.727111+00:00",
        "invalid_evidence": {},
        "plan_id": "SVP-IMPORT-001",
        "plan_revision": 1,
        "ready_against_declared_plan": false,
        "result_report": "reports/legacy.results.json",
        "result_report_sha256": "2365e96da0feaaa2a4e44fef1b707c640a6b5c1b677d8d1941a1ae0249ccb99d",
        "schema_version": "svp-import-plan-status/v1",
        "scope_note": "Consistency check of declared obligations and recorded evidence. It does not establish complete requirements, production suitability, human approval or certification.",
        "staleness_reasons": [],
        "validation": [
          {
            "acceptance_criterion": "Observe a representative operator use the recovery instructions to diagnose the malformed row, correct it, retry the rejected import and recognize the resulting three rows and completion; record usability problems and the acceptance decision.",
            "failed_evidence_ids": [],
            "id": "VAL01",
            "invalid_evidence_ids": [],
            "level": "intended operator / representative workflow",
            "method": "operational demonstration",
            "missing_evidence_ids": [
              "VALIDATE-RECOVERY-01"
            ],
            "owner_role": "Product acceptance owner (no validation performed)",
            "remaining_work": "Not performed. The local fixture does not demonstrate operator success or production suitability.",
            "required_evidence_ids": [
              "VALIDATE-RECOVERY-01"
            ],
            "requirement_ids": [
              "NEED01"
            ],
            "status": "not_performed",
            "usable_evidence_ids": []
          }
        ],
        "validation_ready": false,
        "validation_summary": {
          "not_performed": 1
        },
        "verification": [
          {
            "acceptance_criterion": "T01 returns completed with row_count 3; exactly the three specified rows and one completed checkpoint persist.",
            "failed_evidence_ids": [],
            "id": "VP01",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T01"
            ],
            "requirement_ids": [
              "IMP01"
            ],
            "status": "passed",
            "usable_evidence_ids": [
              "T01"
            ]
          },
          {
            "acceptance_criterion": "T02 returns completed then replayed with row_count 3; persisted rows and checkpoint are unchanged by replay.",
            "failed_evidence_ids": [],
            "id": "VP02",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T02"
            ],
            "requirement_ids": [
              "IMP02"
            ],
            "status": "passed",
            "usable_evidence_ids": [
              "T02"
            ]
          },
          {
            "acceptance_criterion": "Both T03 and T05 return the specified INVALID_ROW error; after each rejected batch, persisted rows and checkpoints are empty.",
            "failed_evidence_ids": [],
            "id": "VP03",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [
              "T05"
            ],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T03",
              "T05"
            ],
            "requirement_ids": [
              "IMP03"
            ],
            "status": "partial",
            "usable_evidence_ids": [
              "T03"
            ]
          },
          {
            "acceptance_criterion": "T04 returns EMPTY_BATCH and leaves persisted rows and checkpoints empty.",
            "failed_evidence_ids": [],
            "id": "VP04",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T04"
            ],
            "requirement_ids": [
              "IMP04"
            ],
            "status": "passed",
            "usable_evidence_ids": [
              "T04"
            ]
          },
          {
            "acceptance_criterion": "Run the agreed simultaneous-retry procedure against the target service; observe one row set and one checkpoint, and compare both responses with the approved concurrency contract.",
            "failed_evidence_ids": [],
            "id": "VP05",
            "invalid_evidence_ids": [],
            "level": "integration / concurrent retries",
            "method": "test",
            "missing_evidence_ids": [
              "INT-CONCURRENT-01"
            ],
            "owner_role": "Integration owner (not assigned in this teaching run)",
            "remaining_work": "Not run. Requires a real integration environment and an agreed competing-response contract.",
            "required_evidence_ids": [
              "INT-CONCURRENT-01"
            ],
            "requirement_ids": [
              "IMP05"
            ],
            "status": "not_run",
            "usable_evidence_ids": []
          },
          {
            "acceptance_criterion": "Review the actual error and recovery instructions against IMP06; record reviewer, reviewed revision, findings and their disposition.",
            "failed_evidence_ids": [],
            "id": "VP06",
            "invalid_evidence_ids": [],
            "level": "documentation / recovery procedure",
            "method": "review",
            "missing_evidence_ids": [
              "REVIEW-RECOVERY-01"
            ],
            "owner_role": "Documentation reviewer (no review performed)",
            "remaining_work": "Not performed. No documentation review or approval is claimed.",
            "required_evidence_ids": [
              "REVIEW-RECOVERY-01"
            ],
            "requirement_ids": [
              "IMP06"
            ],
            "status": "not_performed",
            "usable_evidence_ids": []
          }
        ],
        "verification_ready": false,
        "verification_summary": {
          "not_performed": 1,
          "not_run": 1,
          "partial": 1,
          "passed": 3
        }
      }
    },
    {
      "id": "expanded-buggy",
      "label": "2. Add the missing case",
      "description": "T05 rejects the malformed second row, but row-a with value 11 remains committed. Four of five cases pass; VP03 fails because the persisted state violates the declared oracle.",
      "results": {
        "additional_evidence": [],
        "command": [
          "/opt/codex/runtimes/codex-primary-runtime/dependencies/python/bin/python",
          "run_cases.py",
          "--implementation",
          "buggy",
          "--suite",
          "expanded",
          "--output",
          "reports/expanded-buggy.results.json"
        ],
        "environment": {
          "platform": "Linux-6.18.55-x86_64-with-glibc2.39",
          "python": "3.12.14",
          "sqlite": "3.53.1"
        },
        "generated_at_utc": "2026-10-27T12:49:56.823551+00:00",
        "implementation": "buggy",
        "plan_id": "SVP-IMPORT-001",
        "plan_revision": 1,
        "plan_sha256": "d6002573f16ecf4b6e71935bfdbed49d2f8e3ea3beec0b2d04a2d9b3329c56c0",
        "results": [
          {
            "evidence_id": "T01",
            "expected": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "requirement_ids": [
              "IMP01"
            ],
            "status": "passed",
            "title": "Valid three-row batch and completion checkpoint"
          },
          {
            "evidence_id": "T02",
            "expected": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              },
              {
                "outcome": {
                  "kind": "replayed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              },
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              },
              {
                "outcome": {
                  "kind": "replayed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "requirement_ids": [
              "IMP02"
            ],
            "status": "passed",
            "title": "Replay a completed import ID with the same payload"
          },
          {
            "evidence_id": "T03",
            "expected": [
              {
                "outcome": {
                  "error_code": "INVALID_ROW",
                  "kind": "rejected",
                  "message": "row 1: value must be an integer"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": "invalid"
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "error_code": "INVALID_ROW",
                  "kind": "rejected",
                  "message": "row 1: value must be an integer"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "requirement_ids": [
              "IMP03"
            ],
            "status": "passed",
            "title": "Malformed first row leaves no persisted import state"
          },
          {
            "evidence_id": "T04",
            "expected": [
              {
                "outcome": {
                  "error_code": "EMPTY_BATCH",
                  "kind": "rejected",
                  "message": "batch must contain at least one row"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": []
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "error_code": "EMPTY_BATCH",
                  "kind": "rejected",
                  "message": "batch must contain at least one row"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "requirement_ids": [
              "IMP04"
            ],
            "status": "passed",
            "title": "Empty batch is rejected without persisted import state"
          },
          {
            "evidence_id": "T05",
            "expected": [
              {
                "outcome": {
                  "error_code": "INVALID_ROW",
                  "kind": "rejected",
                  "message": "row 2: value must be an integer"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": "invalid"
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [
              1
            ],
            "observed": [
              {
                "outcome": {
                  "error_code": "INVALID_ROW",
                  "kind": "rejected",
                  "message": "row 2: value must be an integer"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    }
                  ]
                }
              }
            ],
            "requirement_ids": [
              "IMP03"
            ],
            "status": "failed",
            "title": "Malformed later row rejects the whole batch"
          }
        ],
        "schema_version": "svp-import-results/v1",
        "scope_note": "Local sequential SQLite fixture. No concurrent retry, documentation review, operator validation or Proof product execution was performed.",
        "selected_case_ids": [
          "T01",
          "T02",
          "T03",
          "T04",
          "T05"
        ],
        "source_sha256": {
          "check_plan.py": "1e23ebb91aa1852bd4d606154c0b4f6ed92d708eda3a23ed4934980a21ee2262",
          "common.py": "cbbd39d83afefd81d043874b22a2f3d35bae9718a1ca1c1a00bcc603d5668a70",
          "importer_buggy.py": "68143aa7d12e66b34d6b749fc9c667715f6a6d2233eac3e59be4d463b1214b30",
          "run_cases.py": "e311c3ef11dabcd640c365e63c338d3faf63faa400cf18cb45635c4f17164907"
        },
        "suite": "expanded",
        "summary": {
          "errors": 0,
          "failed": 1,
          "passed": 4,
          "selected": 5
        },
        "working_directory": "/workspace/scratch/d0867c09adec/proof-verification-plan/evidence/import-example"
      },
      "assessment": {
        "command": [
          "/opt/codex/runtimes/codex-primary-runtime/dependencies/python/bin/python",
          "check_plan.py",
          "--results",
          "reports/expanded-buggy.results.json",
          "--output",
          "reports/expanded-buggy.plan-status.json"
        ],
        "current_plan_sha256": "d6002573f16ecf4b6e71935bfdbed49d2f8e3ea3beec0b2d04a2d9b3329c56c0",
        "generated_at_utc": "2026-10-27T12:49:56.865384+00:00",
        "invalid_evidence": {},
        "plan_id": "SVP-IMPORT-001",
        "plan_revision": 1,
        "ready_against_declared_plan": false,
        "result_report": "reports/expanded-buggy.results.json",
        "result_report_sha256": "c2ce629bb0ace32171d19c3d3bd4526b921ab1ded4da90995b326faa02e930b1",
        "schema_version": "svp-import-plan-status/v1",
        "scope_note": "Consistency check of declared obligations and recorded evidence. It does not establish complete requirements, production suitability, human approval or certification.",
        "staleness_reasons": [],
        "validation": [
          {
            "acceptance_criterion": "Observe a representative operator use the recovery instructions to diagnose the malformed row, correct it, retry the rejected import and recognize the resulting three rows and completion; record usability problems and the acceptance decision.",
            "failed_evidence_ids": [],
            "id": "VAL01",
            "invalid_evidence_ids": [],
            "level": "intended operator / representative workflow",
            "method": "operational demonstration",
            "missing_evidence_ids": [
              "VALIDATE-RECOVERY-01"
            ],
            "owner_role": "Product acceptance owner (no validation performed)",
            "remaining_work": "Not performed. The local fixture does not demonstrate operator success or production suitability.",
            "required_evidence_ids": [
              "VALIDATE-RECOVERY-01"
            ],
            "requirement_ids": [
              "NEED01"
            ],
            "status": "not_performed",
            "usable_evidence_ids": []
          }
        ],
        "validation_ready": false,
        "validation_summary": {
          "not_performed": 1
        },
        "verification": [
          {
            "acceptance_criterion": "T01 returns completed with row_count 3; exactly the three specified rows and one completed checkpoint persist.",
            "failed_evidence_ids": [],
            "id": "VP01",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T01"
            ],
            "requirement_ids": [
              "IMP01"
            ],
            "status": "passed",
            "usable_evidence_ids": [
              "T01"
            ]
          },
          {
            "acceptance_criterion": "T02 returns completed then replayed with row_count 3; persisted rows and checkpoint are unchanged by replay.",
            "failed_evidence_ids": [],
            "id": "VP02",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T02"
            ],
            "requirement_ids": [
              "IMP02"
            ],
            "status": "passed",
            "usable_evidence_ids": [
              "T02"
            ]
          },
          {
            "acceptance_criterion": "Both T03 and T05 return the specified INVALID_ROW error; after each rejected batch, persisted rows and checkpoints are empty.",
            "failed_evidence_ids": [
              "T05"
            ],
            "id": "VP03",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T03",
              "T05"
            ],
            "requirement_ids": [
              "IMP03"
            ],
            "status": "failed",
            "usable_evidence_ids": [
              "T03"
            ]
          },
          {
            "acceptance_criterion": "T04 returns EMPTY_BATCH and leaves persisted rows and checkpoints empty.",
            "failed_evidence_ids": [],
            "id": "VP04",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T04"
            ],
            "requirement_ids": [
              "IMP04"
            ],
            "status": "passed",
            "usable_evidence_ids": [
              "T04"
            ]
          },
          {
            "acceptance_criterion": "Run the agreed simultaneous-retry procedure against the target service; observe one row set and one checkpoint, and compare both responses with the approved concurrency contract.",
            "failed_evidence_ids": [],
            "id": "VP05",
            "invalid_evidence_ids": [],
            "level": "integration / concurrent retries",
            "method": "test",
            "missing_evidence_ids": [
              "INT-CONCURRENT-01"
            ],
            "owner_role": "Integration owner (not assigned in this teaching run)",
            "remaining_work": "Not run. Requires a real integration environment and an agreed competing-response contract.",
            "required_evidence_ids": [
              "INT-CONCURRENT-01"
            ],
            "requirement_ids": [
              "IMP05"
            ],
            "status": "not_run",
            "usable_evidence_ids": []
          },
          {
            "acceptance_criterion": "Review the actual error and recovery instructions against IMP06; record reviewer, reviewed revision, findings and their disposition.",
            "failed_evidence_ids": [],
            "id": "VP06",
            "invalid_evidence_ids": [],
            "level": "documentation / recovery procedure",
            "method": "review",
            "missing_evidence_ids": [
              "REVIEW-RECOVERY-01"
            ],
            "owner_role": "Documentation reviewer (no review performed)",
            "remaining_work": "Not performed. No documentation review or approval is claimed.",
            "required_evidence_ids": [
              "REVIEW-RECOVERY-01"
            ],
            "requirement_ids": [
              "IMP06"
            ],
            "status": "not_performed",
            "usable_evidence_ids": []
          }
        ],
        "verification_ready": false,
        "verification_summary": {
          "failed": 1,
          "not_performed": 1,
          "not_run": 1,
          "passed": 3
        }
      }
    },
    {
      "id": "fixed",
      "label": "3. Repair the transaction",
      "description": "All five selected cases pass after the transaction repair. Four of six verification obligations are supported. Concurrency and documentation evidence remain missing; operator validation is still unperformed.",
      "results": {
        "additional_evidence": [],
        "command": [
          "/opt/codex/runtimes/codex-primary-runtime/dependencies/python/bin/python",
          "run_cases.py",
          "--implementation",
          "fixed",
          "--suite",
          "expanded",
          "--output",
          "reports/fixed.results.json"
        ],
        "environment": {
          "platform": "Linux-6.18.55-x86_64-with-glibc2.39",
          "python": "3.12.14",
          "sqlite": "3.53.1"
        },
        "generated_at_utc": "2026-10-27T12:49:56.921961+00:00",
        "implementation": "fixed",
        "plan_id": "SVP-IMPORT-001",
        "plan_revision": 1,
        "plan_sha256": "d6002573f16ecf4b6e71935bfdbed49d2f8e3ea3beec0b2d04a2d9b3329c56c0",
        "results": [
          {
            "evidence_id": "T01",
            "expected": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "requirement_ids": [
              "IMP01"
            ],
            "status": "passed",
            "title": "Valid three-row batch and completion checkpoint"
          },
          {
            "evidence_id": "T02",
            "expected": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              },
              {
                "outcome": {
                  "kind": "replayed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              },
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "kind": "completed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              },
              {
                "outcome": {
                  "kind": "replayed",
                  "row_count": 3
                },
                "persisted_state": {
                  "checkpoints": [
                    {
                      "import_id": "batch-001",
                      "row_count": 3
                    }
                  ],
                  "rows": [
                    {
                      "import_id": "batch-001",
                      "item_id": "row-a",
                      "value": 11
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-b",
                      "value": 22
                    },
                    {
                      "import_id": "batch-001",
                      "item_id": "row-c",
                      "value": 33
                    }
                  ]
                }
              }
            ],
            "requirement_ids": [
              "IMP02"
            ],
            "status": "passed",
            "title": "Replay a completed import ID with the same payload"
          },
          {
            "evidence_id": "T03",
            "expected": [
              {
                "outcome": {
                  "error_code": "INVALID_ROW",
                  "kind": "rejected",
                  "message": "row 1: value must be an integer"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": "invalid"
                  },
                  {
                    "item_id": "row-b",
                    "value": 22
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "error_code": "INVALID_ROW",
                  "kind": "rejected",
                  "message": "row 1: value must be an integer"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "requirement_ids": [
              "IMP03"
            ],
            "status": "passed",
            "title": "Malformed first row leaves no persisted import state"
          },
          {
            "evidence_id": "T04",
            "expected": [
              {
                "outcome": {
                  "error_code": "EMPTY_BATCH",
                  "kind": "rejected",
                  "message": "batch must contain at least one row"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": []
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "error_code": "EMPTY_BATCH",
                  "kind": "rejected",
                  "message": "batch must contain at least one row"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "requirement_ids": [
              "IMP04"
            ],
            "status": "passed",
            "title": "Empty batch is rejected without persisted import state"
          },
          {
            "evidence_id": "T05",
            "expected": [
              {
                "outcome": {
                  "error_code": "INVALID_ROW",
                  "kind": "rejected",
                  "message": "row 2: value must be an integer"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "inputs": [
              {
                "import_id": "batch-001",
                "rows": [
                  {
                    "item_id": "row-a",
                    "value": 11
                  },
                  {
                    "item_id": "row-b",
                    "value": "invalid"
                  },
                  {
                    "item_id": "row-c",
                    "value": 33
                  }
                ]
              }
            ],
            "kind": "execution",
            "mismatched_operations": [],
            "observed": [
              {
                "outcome": {
                  "error_code": "INVALID_ROW",
                  "kind": "rejected",
                  "message": "row 2: value must be an integer"
                },
                "persisted_state": {
                  "checkpoints": [],
                  "rows": []
                }
              }
            ],
            "requirement_ids": [
              "IMP03"
            ],
            "status": "passed",
            "title": "Malformed later row rejects the whole batch"
          }
        ],
        "schema_version": "svp-import-results/v1",
        "scope_note": "Local sequential SQLite fixture. No concurrent retry, documentation review, operator validation or Proof product execution was performed.",
        "selected_case_ids": [
          "T01",
          "T02",
          "T03",
          "T04",
          "T05"
        ],
        "source_sha256": {
          "check_plan.py": "1e23ebb91aa1852bd4d606154c0b4f6ed92d708eda3a23ed4934980a21ee2262",
          "common.py": "cbbd39d83afefd81d043874b22a2f3d35bae9718a1ca1c1a00bcc603d5668a70",
          "importer_fixed.py": "08130584a9a9d5bc5de00b9d871f359243fe1fbbf1203db9c98a0cc7e164283f",
          "run_cases.py": "e311c3ef11dabcd640c365e63c338d3faf63faa400cf18cb45635c4f17164907"
        },
        "suite": "expanded",
        "summary": {
          "errors": 0,
          "failed": 0,
          "passed": 5,
          "selected": 5
        },
        "working_directory": "/workspace/scratch/d0867c09adec/proof-verification-plan/evidence/import-example"
      },
      "assessment": {
        "command": [
          "/opt/codex/runtimes/codex-primary-runtime/dependencies/python/bin/python",
          "check_plan.py",
          "--results",
          "reports/fixed.results.json",
          "--output",
          "reports/fixed.plan-status.json"
        ],
        "current_plan_sha256": "d6002573f16ecf4b6e71935bfdbed49d2f8e3ea3beec0b2d04a2d9b3329c56c0",
        "generated_at_utc": "2026-10-27T12:49:56.970009+00:00",
        "invalid_evidence": {},
        "plan_id": "SVP-IMPORT-001",
        "plan_revision": 1,
        "ready_against_declared_plan": false,
        "result_report": "reports/fixed.results.json",
        "result_report_sha256": "4a5ca10d746e39d0259e3d66fa51dca1af8ab23b775b914507ef1c04dba69b93",
        "schema_version": "svp-import-plan-status/v1",
        "scope_note": "Consistency check of declared obligations and recorded evidence. It does not establish complete requirements, production suitability, human approval or certification.",
        "staleness_reasons": [],
        "validation": [
          {
            "acceptance_criterion": "Observe a representative operator use the recovery instructions to diagnose the malformed row, correct it, retry the rejected import and recognize the resulting three rows and completion; record usability problems and the acceptance decision.",
            "failed_evidence_ids": [],
            "id": "VAL01",
            "invalid_evidence_ids": [],
            "level": "intended operator / representative workflow",
            "method": "operational demonstration",
            "missing_evidence_ids": [
              "VALIDATE-RECOVERY-01"
            ],
            "owner_role": "Product acceptance owner (no validation performed)",
            "remaining_work": "Not performed. The local fixture does not demonstrate operator success or production suitability.",
            "required_evidence_ids": [
              "VALIDATE-RECOVERY-01"
            ],
            "requirement_ids": [
              "NEED01"
            ],
            "status": "not_performed",
            "usable_evidence_ids": []
          }
        ],
        "validation_ready": false,
        "validation_summary": {
          "not_performed": 1
        },
        "verification": [
          {
            "acceptance_criterion": "T01 returns completed with row_count 3; exactly the three specified rows and one completed checkpoint persist.",
            "failed_evidence_ids": [],
            "id": "VP01",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T01"
            ],
            "requirement_ids": [
              "IMP01"
            ],
            "status": "passed",
            "usable_evidence_ids": [
              "T01"
            ]
          },
          {
            "acceptance_criterion": "T02 returns completed then replayed with row_count 3; persisted rows and checkpoint are unchanged by replay.",
            "failed_evidence_ids": [],
            "id": "VP02",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T02"
            ],
            "requirement_ids": [
              "IMP02"
            ],
            "status": "passed",
            "usable_evidence_ids": [
              "T02"
            ]
          },
          {
            "acceptance_criterion": "Both T03 and T05 return the specified INVALID_ROW error; after each rejected batch, persisted rows and checkpoints are empty.",
            "failed_evidence_ids": [],
            "id": "VP03",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T03",
              "T05"
            ],
            "requirement_ids": [
              "IMP03"
            ],
            "status": "passed",
            "usable_evidence_ids": [
              "T03",
              "T05"
            ]
          },
          {
            "acceptance_criterion": "T04 returns EMPTY_BATCH and leaves persisted rows and checkpoints empty.",
            "failed_evidence_ids": [],
            "id": "VP04",
            "invalid_evidence_ids": [],
            "level": "component / local SQLite",
            "method": "test",
            "missing_evidence_ids": [],
            "owner_role": "Developer",
            "remaining_work": "",
            "required_evidence_ids": [
              "T04"
            ],
            "requirement_ids": [
              "IMP04"
            ],
            "status": "passed",
            "usable_evidence_ids": [
              "T04"
            ]
          },
          {
            "acceptance_criterion": "Run the agreed simultaneous-retry procedure against the target service; observe one row set and one checkpoint, and compare both responses with the approved concurrency contract.",
            "failed_evidence_ids": [],
            "id": "VP05",
            "invalid_evidence_ids": [],
            "level": "integration / concurrent retries",
            "method": "test",
            "missing_evidence_ids": [
              "INT-CONCURRENT-01"
            ],
            "owner_role": "Integration owner (not assigned in this teaching run)",
            "remaining_work": "Not run. Requires a real integration environment and an agreed competing-response contract.",
            "required_evidence_ids": [
              "INT-CONCURRENT-01"
            ],
            "requirement_ids": [
              "IMP05"
            ],
            "status": "not_run",
            "usable_evidence_ids": []
          },
          {
            "acceptance_criterion": "Review the actual error and recovery instructions against IMP06; record reviewer, reviewed revision, findings and their disposition.",
            "failed_evidence_ids": [],
            "id": "VP06",
            "invalid_evidence_ids": [],
            "level": "documentation / recovery procedure",
            "method": "review",
            "missing_evidence_ids": [
              "REVIEW-RECOVERY-01"
            ],
            "owner_role": "Documentation reviewer (no review performed)",
            "remaining_work": "Not performed. No documentation review or approval is claimed.",
            "required_evidence_ids": [
              "REVIEW-RECOVERY-01"
            ],
            "requirement_ids": [
              "IMP06"
            ],
            "status": "not_performed",
            "usable_evidence_ids": []
          }
        ],
        "verification_ready": false,
        "verification_summary": {
          "not_performed": 1,
          "not_run": 1,
          "passed": 4
        }
      }
    }
  ]
}
