{
  "schema_version": 1,
  "tool": {
    "name": "Production Package Doctor",
    "version": "0.1.0.dev0"
  },
  "package": {
    "label": "Bundled Demo: missing-opt-image",
    "source_root_path_included": false
  },
  "run": {
    "started_at_utc": "2026-07-31T08:45:07.368473Z",
    "completed_at_utc": "2026-07-31T08:45:07.376539Z",
    "status": "failed"
  },
  "policy": {
    "dat_policy": "strict",
    "opt_policy": "strict",
    "source_integrity": "snapshot_before_after",
    "continue_independent_stages": true
  },
  "sections": {
    "production_components": [
      {
        "component": "dat_load_file",
        "observed": true,
        "expected": false,
        "count": 1,
        "observation_method": "inventory_kind"
      },
      {
        "component": "images",
        "observed": false,
        "expected": false,
        "count": 0,
        "observation_method": "inventory_kind"
      },
      {
        "component": "natives",
        "observed": false,
        "expected": false,
        "count": 0,
        "observation_method": "not_observed"
      },
      {
        "component": "opt_image_load_file",
        "observed": true,
        "expected": false,
        "count": 1,
        "observation_method": "inventory_kind"
      },
      {
        "component": "other",
        "observed": false,
        "expected": false,
        "count": 0,
        "observation_method": "inventory_kind"
      },
      {
        "component": "text",
        "observed": true,
        "expected": false,
        "count": 1,
        "observation_method": "inventory_kind"
      }
    ],
    "source_integrity": {
      "mode": "snapshot_before_after",
      "verified": true,
      "before_file_count": 3,
      "after_file_count": 3,
      "changed_paths": [],
      "message": "Source integrity verified: package contents did not change during the audit window."
    },
    "audit_diagnostics": {
      "total": 0,
      "diagnostics": [],
      "truncated": false
    },
    "discovery_summary": [],
    "pairing_summary": [
      {
        "code": "PAIRING_CONFIRMED",
        "severity": "info",
        "stage": "pairing",
        "title": "Confirmed DAT/OPT pairs",
        "message": "1 DAT/OPT pair(s) were confirmed for processing.",
        "total": 1,
        "examples": [
          "load.dat + load.opt"
        ],
        "truncated": false
      }
    ],
    "per_pair_processing": [
      {
        "dat_path": "load.dat",
        "opt_path": "load.opt",
        "stages_reached": [
          "dat_read",
          "dat_header_mapping",
          "opt_read",
          "dat_opt_cross_check"
        ],
        "dat_decision_source": "automatic",
        "opt_layout_source": "automatic",
        "header_decision_source": "automatic",
        "pairing_source": "auto_exact_stem",
        "stage_errors": [],
        "decisions_required": []
      }
    ],
    "findings": [
      {
        "code": "VALIDATION_OPT_IMAGE_FILE_MISSING",
        "severity": "error",
        "stage": "reference_check",
        "title": "OPT image file is missing",
        "message": "The OPT image path is absent from the observed package inventory.",
        "total": 1,
        "examples": [
          "load.dat / load.opt"
        ],
        "truncated": false
      }
    ],
    "not_evaluated": []
  },
  "limitations": "V1 scope limitations: This audit does not inspect image, PDF, native, or text file contents; does not perform OCR; does not extract PDF page counts; does not validate family relationships or privilege logs; does not repair source data; and does not make legal compliance conclusions. Review the full structured evidence before relying on a clean result."
}
