{
  "schema_version": 1,
  "proof_type": "sheeted_final_output_v1",
  "artifact_status": "production_final_output",
  "status": "passed",
  "passed": true,
  "normal_status": "Created",
  "job_id": "lps_20260603_071437_57e7baaa0113",
  "checks": [
    {
      "name": "source_plan_manifest_exists",
      "passed": true,
      "message": "Source planning manifest exists.",
      "details": {}
    },
    {
      "name": "source_plan_manifest_hash_matches",
      "passed": true,
      "message": "Source planning manifest hash matches the approved job summary.",
      "details": {}
    },
    {
      "name": "source_plan_target_matches_catalog_identity",
      "passed": true,
      "message": "Source plan target matches the resolved catalog identity.",
      "details": {
        "target_id": "18x24_in:landscape:balanced",
        "target_key": "",
        "capability_key": "18x24_in:landscape:balanced"
      }
    },
    {
      "name": "source_plan_catalog_supports_final_output",
      "passed": true,
      "message": "Resolved catalog row supports final output files.",
      "details": {
        "target_id": "18x24_in:landscape:balanced",
        "capability_key": "18x24_in:landscape:balanced"
      }
    },
    {
      "name": "source_plan_sheet_count_matches_contract",
      "passed": true,
      "message": "Source plan sheet count is positive and plan-derived.",
      "details": {
        "expected_sheet_count": 12
      }
    },
    {
      "name": "source_plan_piece_count_matches_catalog",
      "passed": true,
      "message": "Source plan has the resolved planned piece count.",
      "details": {}
    },
    {
      "name": "source_plan_all_pieces_once",
      "passed": true,
      "message": "All source-plan pieces appear exactly once.",
      "details": {}
    },
    {
      "name": "sheet_piece_count_matches_plan",
      "passed": true,
      "message": "Sheet pieces match the source-plan sheet summary.",
      "details": {}
    },
    {
      "name": "source_plan_validation_passed",
      "passed": true,
      "message": "Source plan validation passed.",
      "details": {}
    },
    {
      "name": "source_plan_template_selection_recorded",
      "passed": true,
      "message": "Source plan records selected template evidence.",
      "details": {
        "template_selection": {
          "schema_version": 1,
          "status": "template_selected",
          "selection_type": "row_scoped_production_template_selection_v1",
          "enablement_source": "checked_in_production_allowlist",
          "template_id": "layout_18x24_landscape_balanced_shape_aware_k020_201_300_v1",
          "renderer_contract_version": "sheeted_final_output_v1_worker_1",
          "registry_manifest_sha256": "7259bd4cd4fb34b71825fb8e347a42107cd0baf4d13d0a58290707926348d46e",
          "registry_path": "/var/www/laserpuzzlestudio/docs/manufacturing-layout-template-proofs/manufacturing_layout_template_registry_v1.json",
          "proof_artifact": "docs/manufacturing-layout-template-proofs/layout_18x24_landscape_balanced_shape_aware_k020_201_300_v1.proof.json",
          "proof_artifact_sha256": "4c1477a5d8aa2354daabbee0d74346863f588c124e2cd9d807edac0d0d0c4ca3",
          "template_manifest_sha256": "f4c66f7988ae22ba8a4255053543b61a4b406e66d96cfffc74a8835b4ac72a61",
          "materializable_artifact": "docs/manufacturing-layout-template-proofs/layout_18x24_landscape_balanced_shape_aware_k020_201_300_v1.materializable-template.json",
          "materializable_artifact_sha256": "214ed6264906ccc9046881dee7f7f0fbc78ea050b7a8c6c7cfc85e6daa262b49",
          "materializable_template_sha256": "e1edb837dd1c1486dfe1d684936c8b1fb3f2536101d6ba45fb721e974f2f6f7b",
          "production_selection_enabled": true,
          "runtime_integration_guardrail_only": false,
          "production_allowlist_template_ids": [
            "layout_18x24_landscape_balanced_shape_aware_k020_201_300_v1",
            "layout_18x24_portrait_balanced_shape_aware_k020_201_300_v1",
            "layout_20x30_portrait_balanced_shape_aware_k020_301_500_v1",
            "layout_8x10_landscape_more_shape_aware_k020_v1"
          ],
          "selection_key": {
            "capability_key": "18x24_in:landscape:balanced",
            "finished_size": "18x24_in",
            "resolved_orientation": "landscape",
            "piece_option": "balanced",
            "actual_piece_count": 300,
            "resolved_rows": 15,
            "resolved_columns": 20,
            "connector_profile": "draradech_default_v1",
            "material_fit_class": "k020",
            "packing_strategy": "shape_aware_contact_candidate_v2",
            "usable_area_policy": "letter_full_page_marker_keepouts_v1",
            "print_page_preset": "us_letter_landscape",
            "allowed_rotations_deg": [
              0,
              90
            ],
            "renderer": "sheeted_final_output_v1",
            "renderer_contract_version": "sheeted_final_output_v1_worker_1"
          },
          "fallback_reason": "",
          "fallback_packing_strategy": "",
          "fallback_usable_area_policy": "",
          "fallback_print_page_preset": "",
          "material_profile_compatibility": {
            "setup_id": "calsetup_20260517_182621_c54446de4941",
            "setup_sha256": "8886ffb2d353cef97f4ea259fa9fd4565ca8b1cd04c164f286b52d520d83a2aa",
            "xy_profile_id": "cal_20260516_223213_982682889c87",
            "xy_profile_sha256": "592fa32a7c03dff07b26cd3d50c6bddcc0b3e55e6642a45f929778f59d8065c4",
            "material_profile_id": "matcal_20260517_061755_7d7370129bb0",
            "material_profile_sha256": "99f1a76f25c195fb4a409acfe951099411a225f2f55cab6d63aaf510d0ef0540",
            "full_kerf_mm": 0.2,
            "outward_cut_offset_mm": 0.1,
            "x_correction_mm": 0.7,
            "y_correction_mm": -0.1
          }
        }
      }
    },
    {
      "name": "source_plan_template_integrity_recheck_passed",
      "passed": true,
      "message": "Source plan selected-template evidence was revalidated at final-output time.",
      "details": {
        "template_integrity_recheck": {
          "schema_version": 1,
          "gate_type": "final_output_template_integrity_recheck_v1",
          "status": "passed",
          "checked_at": "2026-06-03T07:14:55Z",
          "template_id": "layout_18x24_landscape_balanced_shape_aware_k020_201_300_v1",
          "capability_key": "18x24_in:landscape:balanced",
          "registry_path": "docs/manufacturing-layout-template-proofs/manufacturing_layout_template_registry_v1.json",
          "registry_path_policy": "canonical_project_registry_only",
          "registry_manifest_sha256": "7259bd4cd4fb34b71825fb8e347a42107cd0baf4d13d0a58290707926348d46e",
          "mode": "checked_in_production_allowlist",
          "render_fixture_guardrail_only": false,
          "proof_artifact": "docs/manufacturing-layout-template-proofs/layout_18x24_landscape_balanced_shape_aware_k020_201_300_v1.proof.json",
          "proof_artifact_sha256": "4c1477a5d8aa2354daabbee0d74346863f588c124e2cd9d807edac0d0d0c4ca3",
          "materializable_artifact": "docs/manufacturing-layout-template-proofs/layout_18x24_landscape_balanced_shape_aware_k020_201_300_v1.materializable-template.json",
          "materializable_artifact_sha256": "214ed6264906ccc9046881dee7f7f0fbc78ea050b7a8c6c7cfc85e6daa262b49",
          "materializable_template_sha256": "e1edb837dd1c1486dfe1d684936c8b1fb3f2536101d6ba45fb721e974f2f6f7b",
          "renderer_contract_version": "sheeted_final_output_v1_worker_1",
          "final_output_production_allowlist": [
            "layout_18x24_landscape_balanced_shape_aware_k020_201_300_v1",
            "layout_18x24_portrait_balanced_shape_aware_k020_201_300_v1",
            "layout_20x30_portrait_balanced_shape_aware_k020_301_500_v1",
            "layout_8x10_landscape_more_shape_aware_k020_v1"
          ],
          "selection_key_sha256": "05fcb53984de5d0577235df320714c3bacb0b418c303a0ae0152da6d53481123",
          "source_plan_manifest_sha256": "98c9839da57fa98db7a70035ff60d538730d9a8d9608490772d0fedc058611c9",
          "sheet_plan_hashes_verified": true,
          "rollback_env": "LPS_TEMPLATE_SELECTION_DISABLE_TEMPLATE_IDS",
          "rollback_disabled": false,
          "material_fit_class": "k020",
          "fallback_maturity": "level_0_scoped_exception_approved_for_exact_config",
          "fallback_available": true,
          "failure_code": "",
          "failure_class": "",
          "recommended_action": "",
          "checks": [
            {
              "name": "template_integrity_selected_template_evidence_valid",
              "passed": true,
              "message": "Selected template evidence is present and scoped to an approved production or render-fixture gate.",
              "details": {
                "template_id": "layout_18x24_landscape_balanced_shape_aware_k020_201_300_v1",
                "mode": "checked_in_production_allowlist"
              }
            },
            {
              "name": "template_integrity_registry_revalidated",
              "passed": true,
              "message": "Canonical template registry was re-read and matched selected source-plan evidence.",
              "details": {
                "registry_manifest_sha256": "7259bd4cd4fb34b71825fb8e347a42107cd0baf4d13d0a58290707926348d46e"
              }
            },
            {
              "name": "template_integrity_rollback_state_checked",
              "passed": true,
              "message": "Rollback disable state was checked.",
              "details": {
                "disabled_template_ids": []
              }
            },
            {
              "name": "template_integrity_proof_revalidated",
              "passed": true,
              "message": "Template proof artifact was re-read and matched registry/source-plan evidence.",
              "details": {
                "proof_artifact_sha256": "4c1477a5d8aa2354daabbee0d74346863f588c124e2cd9d807edac0d0d0c4ca3"
              }
            },
            {
              "name": "template_integrity_materializable_revalidated",
              "passed": true,
              "message": "Materializable template artifact was re-read and matched registry/source-plan evidence.",
              "details": {
                "materializable_artifact_sha256": "214ed6264906ccc9046881dee7f7f0fbc78ea050b7a8c6c7cfc85e6daa262b49"
              }
            },
            {
              "name": "template_integrity_material_profile_revalidated",
              "passed": true,
              "message": "Material/profile compatibility was revalidated.",
              "details": {
                "material_profile_compatibility": {
                  "setup_id": "calsetup_20260517_182621_c54446de4941",
                  "setup_sha256": "8886ffb2d353cef97f4ea259fa9fd4565ca8b1cd04c164f286b52d520d83a2aa",
                  "xy_profile_id": "cal_20260516_223213_982682889c87",
                  "xy_profile_sha256": "592fa32a7c03dff07b26cd3d50c6bddcc0b3e55e6642a45f929778f59d8065c4",
                  "material_profile_id": "matcal_20260517_061755_7d7370129bb0",
                  "material_profile_sha256": "99f1a76f25c195fb4a409acfe951099411a225f2f55cab6d63aaf510d0ef0540",
                  "full_kerf_mm": 0.2,
                  "outward_cut_offset_mm": 0.1,
                  "x_correction_mm": 0.7,
                  "y_correction_mm": -0.1
                }
              }
            },
            {
              "name": "template_integrity_sheet_plan_hashes_verified",
              "passed": true,
              "message": "Source sheet-plan hashes and placement evidence are bound to the selected template.",
              "details": {
                "placement_sha256": "c18af9ccd5c707beb186372d10d730cb36d106624839c56fd1be86207880ef19"
              }
            },
            {
              "name": "template_integrity_fallback_available",
              "passed": true,
              "message": "Selected template has the approved rectangular fallback evidence.",
              "details": {
                "fallback": {
                  "status": "closed_uncertified_baseline",
                  "fallback_template_id": "layout_18x24_landscape_balanced_rectangular_k020_201_300_v1",
                  "packing_strategy": "full_page_multi_region_shelf_pack_bleed_bounds_no_rotation_v1",
                  "usable_area_policy": "letter_full_page_marker_keepouts_v1",
                  "print_page_preset": "us_letter_landscape",
                  "piece_distribution": [
                    25,
                    24,
                    24,
                    24,
                    24,
                    24,
                    24,
                    24,
                    24,
                    24,
                    24,
                    24,
                    11
                  ],
                  "blocker": "rectangular_baseline_not_certified_as_runtime_fallback"
                }
              }
            }
          ]
        }
      }
    },
    {
      "name": "active_setup_exists",
      "passed": true,
      "message": "Active setup exists.",
      "details": {}
    },
    {
      "name": "active_setup_hash_matches",
      "passed": true,
      "message": "Active setup state did not change during generation.",
      "details": {}
    },
    {
      "name": "material_safety_gate_passed",
      "passed": true,
      "message": "Material safety gate passed.",
      "details": {}
    },
    {
      "name": "print_png_exists",
      "passed": true,
      "message": "Print PNG exists.",
      "details": {}
    },
    {
      "name": "print_pdf_exists",
      "passed": true,
      "message": "Print PDF exists.",
      "details": {}
    },
    {
      "name": "print_pdf_page_size_is_letter",
      "passed": true,
      "message": "Print PDF page size matches the approved Letter page.",
      "details": {
        "page_preset": "us_letter_landscape",
        "expected_media_box_pt": [
          792.0,
          612.0
        ]
      }
    },
    {
      "name": "print_scale_checks_present",
      "passed": true,
      "message": "Print 50 mm scale bar is present.",
      "details": {}
    },
    {
      "name": "print_scale_checks_match_source_plan",
      "passed": true,
      "message": "Print 50 mm scale bar matches the source-plan scale check.",
      "details": {
        "planned": {
          "kind": "scale_bar",
          "label": "50 mm",
          "x_mm": 114.7,
          "y_mm": 201.55,
          "width_mm": 50.0,
          "height_mm": 8.0
        },
        "rendered": {
          "kind": "scale_bar",
          "label": "50 mm",
          "x_mm": 114.7,
          "y_mm": 201.55,
          "width_mm": 50.0
        }
      }
    },
    {
      "name": "print_registration_marks_present",
      "passed": true,
      "message": "Print registration marks are present.",
      "details": {}
    },
    {
      "name": "print_preview_exists",
      "passed": true,
      "message": "Print preview exists.",
      "details": {}
    },
    {
      "name": "alignment_svg_exists",
      "passed": true,
      "message": "Alignment SVG exists.",
      "details": {}
    },
    {
      "name": "cut_svg_exists",
      "passed": true,
      "message": "Cut SVG exists.",
      "details": {}
    },
    {
      "name": "print_png_page_size_is_letter",
      "passed": true,
      "message": "Print PNG is the approved Letter page at 600 DPI.",
      "details": {
        "size": [
          6600,
          5100
        ],
        "expected": [
          6600,
          5100
        ],
        "page_preset": "us_letter_landscape"
      }
    },
    {
      "name": "print_png_is_rgb",
      "passed": true,
      "message": "Print PNG is RGB.",
      "details": {
        "mode": "RGB"
      }
    },
    {
      "name": "print_png_dpi_is_600",
      "passed": true,
      "message": "Print PNG records 600 DPI.",
      "details": {
        "dpi": [
          599.9988,
          599.9988
        ]
      }
    },
    {
      "name": "alignment_svg_parses",
      "passed": true,
      "message": "Alignment SVG parses.",
      "details": {}
    },
    {
      "name": "cut_svg_parses",
      "passed": true,
      "message": "Cut SVG parses.",
      "details": {}
    },
    {
      "name": "svg_units_are_mm",
      "passed": true,
      "message": "SVG width units are mm.",
      "details": {}
    },
    {
      "name": "svg_viewbox_matches_page",
      "passed": true,
      "message": "SVG viewBox matches the approved Letter page.",
      "details": {
        "viewBox": "0 0 279.4 215.9",
        "page_preset": "us_letter_landscape"
      }
    },
    {
      "name": "svg_forbidden_content_absent",
      "passed": true,
      "message": "SVG forbidden content is absent.",
      "details": {
        "forbidden_element_counts": {
          "clipPath": 0,
          "filter": 0,
          "foreignObject": 0,
          "image": 0,
          "mask": 0,
          "style": 0,
          "symbol": 0,
          "text": 0,
          "use": 0
        }
      }
    },
    {
      "name": "svg_transform_content_absent",
      "passed": true,
      "message": "SVG transforms are absent.",
      "details": {}
    },
    {
      "name": "svg_filled_geometry_absent",
      "passed": true,
      "message": "SVG filled geometry is absent.",
      "details": {}
    },
    {
      "name": "svg_complexity_within_limits",
      "passed": true,
      "message": "SVG complexity is within first-slice limits.",
      "details": {
        "metrics": {
          "alignment_svg_file_size_bytes": 182316,
          "cut_svg_file_size_bytes": 181425,
          "alignment_path_count": 32,
          "cut_path_count": 24,
          "alignment_node_count_after_flattening": 10608,
          "cut_node_count_after_flattening": 10544,
          "alignment_cubic_segment_count": 0,
          "cut_cubic_segment_count": 0,
          "max_group_nesting_depth": 1,
          "forbidden_element_counts": {
            "clipPath": 0,
            "filter": 0,
            "foreignObject": 0,
            "image": 0,
            "mask": 0,
            "style": 0,
            "symbol": 0,
            "text": 0,
            "use": 0
          }
        },
        "limits": {
          "max_svg_file_size_bytes": 1000000,
          "max_path_count": 250,
          "max_node_count_after_flattening": 20000,
          "max_cubic_segment_count": 12000,
          "max_group_nesting_depth": 4
        }
      }
    },
    {
      "name": "cut_svg_has_cut_paths_only",
      "passed": true,
      "message": "Cut SVG has cut paths only.",
      "details": {}
    },
    {
      "name": "alignment_and_cut_path_hash_match",
      "passed": true,
      "message": "Alignment and cut SVG cut paths match.",
      "details": {}
    },
    {
      "name": "registration_coordinate_parity",
      "passed": true,
      "message": "Registration coordinates match between plan and alignment SVG.",
      "details": {}
    },
    {
      "name": "sheet_validation_passed",
      "passed": true,
      "message": "Sheet validation passed.",
      "details": {}
    },
    {
      "name": "no_redis_job_created",
      "passed": true,
      "message": "Worker-only final output did not enqueue a Redis job.",
      "details": {}
    },
    {
      "name": "no_public_download_created",
      "passed": true,
      "message": "Worker-only final output did not create a public download.",
      "details": {}
    },
    {
      "name": "no_calibration_change_created",
      "passed": true,
      "message": "Calibration setup pointer was not changed.",
      "details": {}
    },
    {
      "name": "final_manifest_written",
      "passed": true,
      "message": "Final output manifest is written.",
      "details": {}
    }
  ],
  "warning_codes": [],
  "failure_codes": [],
  "svg_validation_metrics": {
    "alignment_svg_file_size_bytes": 182316,
    "cut_svg_file_size_bytes": 181425,
    "alignment_path_count": 32,
    "cut_path_count": 24,
    "alignment_node_count_after_flattening": 10608,
    "cut_node_count_after_flattening": 10544,
    "alignment_cubic_segment_count": 0,
    "cut_cubic_segment_count": 0,
    "max_group_nesting_depth": 1,
    "forbidden_element_counts": {
      "clipPath": 0,
      "filter": 0,
      "foreignObject": 0,
      "image": 0,
      "mask": 0,
      "style": 0,
      "symbol": 0,
      "text": 0,
      "use": 0
    }
  },
  "hashes": {
    "print_png_sha256": "14635a199e7859afad421649300a5459bffdeaee28f5bbe84fbb980bd5bcf110",
    "print_pdf_sha256": "804e8783c345dcd2104f6ac909129c3e0e1acf08ad4dc17e21c9907401b94415",
    "print_preview_sha256": "6e8a364493089ed2bb86120418b41632321ce5c34cf5757b085441b8123c39bb",
    "alignment_svg_sha256": "6476e436935d605fa1e58ffde3a70ddbcb00f7360b7cf9dfce74743e90f44038",
    "cut_svg_sha256": "1a6e02ea844c0429296a6f7274bcb86f74e0ec71c4a69f5b6085e7f491a05059",
    "download_zip_sha256": "",
    "cut_path_hash": "d65a8245f094ce7b846f202ef0154675df9c4ade6addf89cb2f8f863bd8054f9",
    "alignment_cut_path_hash": "d65a8245f094ce7b846f202ef0154675df9c4ade6addf89cb2f8f863bd8054f9"
  }
}
