{
  "policy": "No optional release exception is approved. All current supported PDF, XFA, document conversion and questionnaire-export integrations remain required. Class inventories include lightweight cases so no external integration is silently omitted.",
  "groups": [
    {
      "file": "tests/Unit/ImmXfaDatasetsTest.php",
      "test_methods": [
        "test_python_datasets_writer_sets_local_xml_names",
        "test_javascript_banner_is_marked_hidden_in_template",
        "test_filled_copy_drops_certification_edit_lock",
        "test_path_write_does_not_fill_sibling_same_local_name",
        "test_fill_keeps_imm5476_readable_pdf"
      ],
      "classification": "mandatory-release",
      "requirements": "Python 3; pikepdf for PDF transformations; authentic IMM1295/IMM5476; checkout-local IMM venv",
      "approved_optional_exceptions": []
    },
    {
      "file": "tests/Unit/SubmissionPackageServiceTest.php",
      "test_methods": [
        "test_inspect_uses_configured_pdfinfo_path",
        "test_inspect_accepts_a_valid_pdf",
        "test_merges_two_pdf_files",
        "test_rejects_unpackable_text_files",
        "test_rejects_a_file_that_is_not_a_pdf",
        "test_rejects_a_malformed_pdf_with_a_valid_magic_header",
        "test_rejects_an_encrypted_pdf_even_when_pdfinfo_succeeds",
        "test_converts_a_jpeg_and_does_not_modify_the_original",
        "test_merges_sources_in_the_given_order",
        "test_ircc_mode_warns_when_the_target_cannot_be_reached",
        "test_processing_failure_does_not_modify_originals",
        "test_process_option_adds_bookmarks_from_source_names_in_order",
        "test_disabled_process_option_still_merges_without_changing_originals",
        "test_process_images_without_ocr_still_builds_a_pdf",
        "test_ircc_mode_without_ghostscript_still_returns_the_merged_pdf"
      ],
      "classification": "mandatory-release",
      "requirements": "pdfinfo/pdfunite, Ghostscript, PHP GD; existing synthetic test-generated PDF/image inputs",
      "approved_optional_exceptions": []
    },
    {
      "file": "tests/Feature/SubmissionPackageOptionsTest.php",
      "test_methods": [
        "test_preserves_originals_and_versions_immutable_case_copy",
        "test_disabled_case_save_does_not_create_a_package_row",
        "test_library_link_reuses_the_same_stored_package_path",
        "test_case_only_merge_can_be_sent_to_client_without_duplicate_library_files",
        "test_disabled_library_link_does_not_add_a_master_library_row",
        "test_manifest_records_source_order_checksums_and_audit_event",
        "test_processing_failure_returns_an_error_and_keeps_originals",
        "test_both_save_options_disabled_is_rejected",
        "test_custom_file_label_is_saved_and_returned",
        "test_preview_streams_the_merged_pdf_inline"
      ],
      "classification": "mandatory-release",
      "requirements": "pdfinfo/pdfunite; PHP GD where images are generated",
      "approved_optional_exceptions": []
    },
    {
      "file": "tests/Unit/DocumentExtraction/DocumentFileNormalizerTest.php",
      "test_methods": [
        "test_it_converts_a_docx_to_pdf_before_provider_extraction",
        "test_it_rejects_truncated_images_even_when_their_headers_are_readable",
        "test_it_shrinks_an_image_above_the_provider_edge_limit"
      ],
      "classification": "mandatory-release",
      "requirements": "Pandoc and LibreOffice for DOCX integration; PHP GD for image shrinking",
      "approved_optional_exceptions": []
    },
    {
      "file": "tests/Feature/UserPortalPstqPrefillPdfTest.php",
      "test_methods": [
        "test_prefill_pdf_returns_filled_mifi_pdf_for_without_spouse_payload",
        "test_prefill_pdf_returns_filled_mifi_pdf_for_with_spouse_payload",
        "test_prefill_pdf_rejects_invalid_schema",
        "test_prefill_pdf_rejects_oversized_field_payload",
        "test_prefill_pdf_does_not_leak_python_stderr_when_deps_missing",
        "test_prefill_pdf_rejects_invalid_field_keys",
        "test_prefill_pdf_rejects_non_integer_points",
        "test_prefill_pdf_rejects_non_allowlisted_pdf_filename"
      ],
      "classification": "mandatory-release",
      "requirements": "Python pypdf; authentic ME-0104/ME-0120 blanks; prefill helper; absolute PSTQ_PYTHON",
      "approved_optional_exceptions": []
    },
    {
      "file": "tests/Feature/QuestionnaireBankConditionalLogicTest.php",
      "test_methods": [
        "test_condition_sync_only_populates_null_rules",
        "test_master_import_includes_visibility_rule_on_create"
      ],
      "classification": "mandatory-release",
      "requirements": "Tracked questionnaire_bank_master.json export",
      "approved_optional_exceptions": []
    }
  ]
}
