{
  "schema_version": 1,
  "proof_type": "sheeted_final_output_v1",
  "artifact_status": "production_final_output",
  "status": "passed",
  "passed": true,
  "normal_status": "Created",
  "job_id": "lps_20260601_022226_08f7633f70bd",
  "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": "20x30_in:landscape:balanced",
        "target_key": "",
        "capability_key": "20x30_in:landscape:balanced"
      }
    },
    {
      "name": "source_plan_catalog_supports_final_output",
      "passed": true,
      "message": "Resolved catalog row supports final output files.",
      "details": {
        "target_id": "20x30_in:landscape:balanced",
        "capability_key": "20x30_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": 18
      }
    },
    {
      "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": "controlled_test_env",
          "template_id": "layout_20x30_landscape_balanced_shape_aware_k020_301_500_v1",
          "renderer_contract_version": "sheeted_final_output_v1_worker_1",
          "registry_manifest_sha256": "d6781328dcff40b9ed4d2aa346a97df34fb95c39834895de8338d8b1b612562f",
          "registry_path": "/var/www/laserpuzzlestudio/var/jobs/lps_20260601_022226_08f7633f70bd/runtime/selected-template-public-candidate-v1/project-root/docs/manufacturing-layout-template-proofs/manufacturing_layout_template_registry_v1.json",
          "proof_artifact": "docs/manufacturing-layout-template-proofs/layout_20x30_landscape_balanced_shape_aware_k020_301_500_v1.proof.json",
          "proof_artifact_sha256": "a3ad20ece195a7581eaa82a20d33bf811f4faa5986c74c7f315ac0732e9865e2",
          "template_manifest_sha256": "97e2a7ea15d53851714fbff96c4bed5159ffeb7f1c619ae651d0ce94ccaba873",
          "materializable_artifact": "docs/manufacturing-layout-template-proofs/layout_20x30_landscape_balanced_shape_aware_k020_301_500_v1.materializable-template.json",
          "materializable_artifact_sha256": "639290f705f890409369de9a8291a8f37f523794ff3e910ab27157611ca3077a",
          "materializable_template_sha256": "f9a7827f8564833aa15b58ab8e34e6c75bfee076c5eb1cce175ac1a525a5ef03",
          "production_selection_enabled": true,
          "runtime_integration_guardrail_only": true,
          "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": "20x30_in:landscape:balanced",
            "finished_size": "20x30_in",
            "resolved_orientation": "landscape",
            "piece_option": "balanced",
            "actual_piece_count": 500,
            "resolved_rows": 20,
            "resolved_columns": 25,
            "connector_profile": "draradech_default_v1",
            "material_fit_class": "k020",
            "packing_strategy": "shape_aware_contact_candidate_load_balanced_v1",
            "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-03T23:18:35Z",
          "template_id": "layout_20x30_landscape_balanced_shape_aware_k020_301_500_v1",
          "capability_key": "20x30_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": "d6781328dcff40b9ed4d2aa346a97df34fb95c39834895de8338d8b1b612562f",
          "mode": "controlled_render_fixture",
          "render_fixture_guardrail_only": true,
          "proof_artifact": "docs/manufacturing-layout-template-proofs/layout_20x30_landscape_balanced_shape_aware_k020_301_500_v1.proof.json",
          "proof_artifact_sha256": "a3ad20ece195a7581eaa82a20d33bf811f4faa5986c74c7f315ac0732e9865e2",
          "materializable_artifact": "docs/manufacturing-layout-template-proofs/layout_20x30_landscape_balanced_shape_aware_k020_301_500_v1.materializable-template.json",
          "materializable_artifact_sha256": "639290f705f890409369de9a8291a8f37f523794ff3e910ab27157611ca3077a",
          "materializable_template_sha256": "f9a7827f8564833aa15b58ab8e34e6c75bfee076c5eb1cce175ac1a525a5ef03",
          "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": "cccb688698bbbc96f82b98134a864f267b3a0e8ed3acb49f3cc96bf6e1903c56",
          "source_plan_manifest_sha256": "5bbed4278d506584fca9d87b5129e3676f8bfb6163e98e0805d46e95133bd967",
          "sheet_plan_hashes_verified": true,
          "rollback_env": "LPS_TEMPLATE_SELECTION_DISABLE_TEMPLATE_IDS",
          "rollback_disabled": false,
          "material_fit_class": "k020",
          "fallback_maturity": "passed",
          "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_20x30_landscape_balanced_shape_aware_k020_301_500_v1",
                "mode": "controlled_render_fixture"
              }
            },
            {
              "name": "template_integrity_registry_revalidated",
              "passed": true,
              "message": "Canonical template registry was re-read and matched selected source-plan evidence.",
              "details": {
                "registry_manifest_sha256": "d6781328dcff40b9ed4d2aa346a97df34fb95c39834895de8338d8b1b612562f"
              }
            },
            {
              "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": "a3ad20ece195a7581eaa82a20d33bf811f4faa5986c74c7f315ac0732e9865e2"
              }
            },
            {
              "name": "template_integrity_materializable_revalidated",
              "passed": true,
              "message": "Materializable template artifact was re-read and matched registry/source-plan evidence.",
              "details": {
                "materializable_artifact_sha256": "639290f705f890409369de9a8291a8f37f523794ff3e910ab27157611ca3077a"
              }
            },
            {
              "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": "3addd47acd0af6b8839ea143d3f5acb2879b17cc401c3a06fc235061f82a07be"
              }
            },
            {
              "name": "template_integrity_fallback_recorded_for_fixture",
              "passed": true,
              "message": "Controlled render-fixture fallback evidence was recorded but not promoted.",
              "details": {
                "fallback": {
                  "status": "level_1_software_proven_candidate_only",
                  "fallback_template_id": "layout_20x30_landscape_balanced_rectangular_k020_301_500_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_portrait",
                  "piece_distribution": [
                    31,
                    26,
                    25,
                    26,
                    27,
                    26,
                    26,
                    27,
                    27,
                    26,
                    27,
                    26,
                    25,
                    26,
                    26,
                    26,
                    24,
                    26,
                    27
                  ],
                  "fallback_reason": "rectangular_fallback_not_level_2_controlled_runtime_fallback",
                  "validation_status": "passed"
                }
              }
            }
          ]
        }
      }
    },
    {
      "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": 204993,
          "cut_svg_file_size_bytes": 204102,
          "alignment_path_count": 37,
          "cut_path_count": 29,
          "alignment_node_count_after_flattening": 11943,
          "cut_node_count_after_flattening": 11879,
          "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": 204993,
    "cut_svg_file_size_bytes": 204102,
    "alignment_path_count": 37,
    "cut_path_count": 29,
    "alignment_node_count_after_flattening": 11943,
    "cut_node_count_after_flattening": 11879,
    "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": "1ef539f4d0244115819d6ed98e021ee5d31a76c8018d7c965577938b3f67dd67",
    "print_pdf_sha256": "74c30a730c4b10575d9d88ac2d26b7f40ae5201f748248cb2871e633dd79f071",
    "print_preview_sha256": "7daaed61a1912c641fa3781e1f46a57c8adeaf6b369ec5e2e9ec463ecfca56f7",
    "alignment_svg_sha256": "c56cfccf2411b85627ee3cdbb734de3d53eeb3221d43ff1fea52f9cdb90a1375",
    "cut_svg_sha256": "80886fa2e11d9a95a65dac174ee38384464438e4bf82aff9317feb29cc297de2",
    "download_zip_sha256": "",
    "cut_path_hash": "3a229d05c08eec128e12517f75394331e264732b158e5351d0e5d0b4c3a38111",
    "alignment_cut_path_hash": "3a229d05c08eec128e12517f75394331e264732b158e5351d0e5d0b4c3a38111"
  }
}
