{
  "schema_version": 1,
  "proof_type": "sheeted_final_output_v1",
  "artifact_status": "production_final_output",
  "status": "passed",
  "passed": true,
  "normal_status": "Created",
  "job_id": "lps_20260602_000000_20c30500b0aa",
  "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:portrait:balanced",
        "target_key": "",
        "capability_key": "20x30_in:portrait:balanced"
      }
    },
    {
      "name": "source_plan_catalog_supports_final_output",
      "passed": true,
      "message": "Resolved catalog row supports final output files.",
      "details": {
        "target_id": "20x30_in:portrait:balanced",
        "capability_key": "20x30_in:portrait: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_portrait_balanced_shape_aware_k020_301_500_v1",
          "renderer_contract_version": "sheeted_final_output_v1_worker_1",
          "registry_manifest_sha256": "82f1b3f5da25c92d878679d51686e2f7ad4c3f077424b1c8963e7ab891b18bdf",
          "registry_path": "/tmp/lps-20x30-shape-aware-public-candidate.45YRYd/jobs/lps_20260602_000000_20c30500b0aa/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_portrait_balanced_shape_aware_k020_301_500_v1.proof.json",
          "proof_artifact_sha256": "ac13e483e5b9f9b304e89035f376d7a2ece5f97313b541ac00a54043bd86a2f0",
          "template_manifest_sha256": "094f22b47333e5ecc441e117f9c71eda6824fad1df9e21340bf3084cd37c8bbd",
          "materializable_artifact": "docs/manufacturing-layout-template-proofs/layout_20x30_portrait_balanced_shape_aware_k020_301_500_v1.materializable-template.json",
          "materializable_artifact_sha256": "c0bbdcc624da100d26c6698fc92f8c98deaa8dbb3b4abb1b9bac3fef86ae8ef8",
          "materializable_template_sha256": "ed985ef77e4706d4c743e6a5e53accef1ab214039c5a71665bc350896caaafa5",
          "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_8x10_landscape_more_shape_aware_k020_v1"
          ],
          "selection_key": {
            "capability_key": "20x30_in:portrait:balanced",
            "finished_size": "20x30_in",
            "resolved_orientation": "portrait",
            "piece_option": "balanced",
            "actual_piece_count": 500,
            "resolved_rows": 25,
            "resolved_columns": 20,
            "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-03T03:43:14Z",
          "template_id": "layout_20x30_portrait_balanced_shape_aware_k020_301_500_v1",
          "capability_key": "20x30_in:portrait:balanced",
          "registry_path": "docs/manufacturing-layout-template-proofs/manufacturing_layout_template_registry_v1.json",
          "registry_path_policy": "canonical_project_registry_only",
          "registry_manifest_sha256": "82f1b3f5da25c92d878679d51686e2f7ad4c3f077424b1c8963e7ab891b18bdf",
          "mode": "controlled_render_fixture",
          "render_fixture_guardrail_only": true,
          "proof_artifact": "docs/manufacturing-layout-template-proofs/layout_20x30_portrait_balanced_shape_aware_k020_301_500_v1.proof.json",
          "proof_artifact_sha256": "ac13e483e5b9f9b304e89035f376d7a2ece5f97313b541ac00a54043bd86a2f0",
          "materializable_artifact": "docs/manufacturing-layout-template-proofs/layout_20x30_portrait_balanced_shape_aware_k020_301_500_v1.materializable-template.json",
          "materializable_artifact_sha256": "c0bbdcc624da100d26c6698fc92f8c98deaa8dbb3b4abb1b9bac3fef86ae8ef8",
          "materializable_template_sha256": "ed985ef77e4706d4c743e6a5e53accef1ab214039c5a71665bc350896caaafa5",
          "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_8x10_landscape_more_shape_aware_k020_v1"
          ],
          "selection_key_sha256": "bace45ba6d4f9c3dae848300dbd21c7c59489d5f7ad755a6e941150848e2c297",
          "source_plan_manifest_sha256": "d6bb6c55781a57a9cb3c9151c9406ba7413d8897e43ede368b38a78b0542674d",
          "sheet_plan_hashes_verified": true,
          "rollback_env": "LPS_TEMPLATE_SELECTION_DISABLE_TEMPLATE_IDS",
          "rollback_disabled": false,
          "material_fit_class": "k020",
          "fallback_maturity": "not_recertified_for_runtime",
          "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_portrait_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": "82f1b3f5da25c92d878679d51686e2f7ad4c3f077424b1c8963e7ab891b18bdf"
              }
            },
            {
              "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": "ac13e483e5b9f9b304e89035f376d7a2ece5f97313b541ac00a54043bd86a2f0"
              }
            },
            {
              "name": "template_integrity_materializable_revalidated",
              "passed": true,
              "message": "Materializable template artifact was re-read and matched registry/source-plan evidence.",
              "details": {
                "materializable_artifact_sha256": "c0bbdcc624da100d26c6698fc92f8c98deaa8dbb3b4abb1b9bac3fef86ae8ef8"
              }
            },
            {
              "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": "35ebe0f3815e93d9ad214227c4da7cafbf7fe787fa5831f5d7a4e65ce2f6bfeb"
              }
            },
            {
              "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_portrait_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_landscape",
                  "piece_distribution": [
                    28,
                    29,
                    29,
                    29,
                    29,
                    29,
                    29,
                    29,
                    29,
                    28,
                    29,
                    28,
                    23,
                    28,
                    29,
                    28,
                    28,
                    19
                  ],
                  "fallback_reason": "rectangular_fallback_not_level_2_controlled_runtime_fallback",
                  "validation_status": "not_recertified_for_runtime"
                }
              }
            }
          ]
        }
      }
    },
    {
      "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": 125505,
          "cut_svg_file_size_bytes": 124614,
          "alignment_path_count": 28,
          "cut_path_count": 20,
          "alignment_node_count_after_flattening": 7461,
          "cut_node_count_after_flattening": 7397,
          "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": 125505,
    "cut_svg_file_size_bytes": 124614,
    "alignment_path_count": 28,
    "cut_path_count": 20,
    "alignment_node_count_after_flattening": 7461,
    "cut_node_count_after_flattening": 7397,
    "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": "538125e2f8555b21e40dd05ccbf97aa8528581bfe1c7ec7c91f8efc150c32a73",
    "print_pdf_sha256": "4170557fd8c9a1a4fae3266513a2fea2d57e09ce1b69347e7a2e09d45b2e6358",
    "print_preview_sha256": "b8f93521dbaeacc4157d4fcd4a69ba1b31db903b1f60071d731ee380063fda03",
    "alignment_svg_sha256": "0aad9a8124f8dc762f7919a6f49a359404a2ea5369ecdeaac6e5bcb678cafa80",
    "cut_svg_sha256": "e59541a5fe74092fa1f47436f1ceea0ad22fb9122a014a16f296a0a3fdbf4e12",
    "download_zip_sha256": "",
    "cut_path_hash": "d5da0fdca830c9850882e6fd2b10d32544fa360efbe45b9b60f6a02c5977605e",
    "alignment_cut_path_hash": "d5da0fdca830c9850882e6fd2b10d32544fa360efbe45b9b60f6a02c5977605e"
  }
}
