# planning/mutate.py planning/mutants_docs.json, 2026-11-26 (plan EDR plan 7), after code review edr-api-code-7.
# 48 mutants: the plan's 21 and 27 for the review's fixes. Every one must be KILLED by the test its 'expect' names.
# Two of the 21 were re-anchored after the fixes rewrote their lines (the preload's header check, the site check).
# 'The preload sends no Origin' is not a mutant: the API answers * whatever the Origin, so nothing can assert on it.
curl/node output comparison dropped          KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_wrong_curl_output_fails)
output binding not checked                   KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_each_inventory_rule_fails_on_a_planted_page[text0-<!-- output --> must sit directly after a bash or)
unknown (mistyped) markers accepted          KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_each_inventory_rule_fails_on_a_planted_page[text1-an unknown comment])
hidden non-200 statuses accepted             KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_4xx_the_example_does_not_show_fails)
curl dead proxy dropped                      KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_curl_escape_dies_at_the_dead_proxy)
httpx rewrite dropped                        KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_correct_page_passes - as...)
in-process guard dropped                     KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_python_escape_is_refused_by_the_guard)
node host check dropped                      KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_node_escape_is_refused_by_the_preload)
node CORS assertion dropped                  KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_an_answer_without_the_cors_header_fails_the_node_check)
scratch HOME dropped                         KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_the_suite_runs_on_a_scratch_home)
a handler bypasses its spec                  KILLED  (FAILED envlib_api/tests/test_openapi.py::test_each_route_accepts_exactly_its_documented_parameters[/collections/{cid}/area])
a required flag dropped from a spec          KILLED  (FAILED envlib_api/tests/test_openapi.py::test_an_empty_request_names_exactly_the_required_parameters[/collections/{cid}/area])
required not written into /api               KILLED  (FAILED envlib_api/tests/test_openapi.py::test_an_empty_request_names_exactly_the_required_parameters[/collections/{cid}/area])
a wrong f media type documented              KILLED  (FAILED envlib_api/tests/test_openapi.py::test_the_documented_formats_answer_exactly_the_documented_media_types[/collections/{cid}/locations])
a status that cannot happen documented       KILLED  (FAILED envlib_api/tests/test_openapi.py::test_each_documented_status_happens_with_a_documented_media_type[/-413])
/api media type reverted                     KILLED  (FAILED envlib_api/tests/test_openapi.py::test_the_document_is_valid_openapi_31_served_as_oas)
service-doc and oas31 without the site       KILLED  (FAILED envlib_api/tests/test_openapi.py::test_without_a_site_there_is_no_docs_link_no_claim_and_a_warning[missing])
the /docs mount dropped                      KILLED  (FAILED envlib_api/tests/test_openapi.py::test_with_a_site_the_service_doc_resolves_to_html_and_oas31_is_claimed)
a status the server answers dropped          KILLED  (FAILED envlib_api/tests/test_openapi.py::test_zz_every_answered_status_is_documented)
a name dropped from a spec                   KILLED  (FAILED envlib_api/tests/test_openapi.py::test_the_route_parameters_are_the_frozen_ones)
marker column-0 check dropped                KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_each_inventory_rule_fails_on_a_planted_page[text15-its text fence on the next line])
illustration may be loose again              KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_each_inventory_rule_fails_on_a_planted_page[text18-on the line directly before it])
status rule reads the code again             KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_status_in_the_code_does_not_show_it)
python doctest-only rule dropped             KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_each_inventory_rule_fails_on_a_planted_page[text19-a python block must be a doctest])
python refusals dropped                      KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_each_inventory_rule_fails_on_a_planted_page[text21-a python block may not use])
curl flag allowlist dropped                  KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_curl_flag_outside_the_allowlist_is_refused[-Nx ""])
curl URL allowlist dropped                   KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_curl_block_for_another_url_is_refused_before_it_runs[https://envlib.github.io/envlib/])
curl -q dropped                              KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_curlrc_is_never_read - A...)
preload has() unchecked                      KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_hidden_header_stays_hidden_however_it_is_read[r.headers.has('ETag')])
preload iteration shows hidden headers       KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_hidden_header_stays_hidden_however_it_is_read[Object.fromEntries(r.headers).etag])
preload preflight check dropped              KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_request_a_browser_would_preflight_is_refused)
preload drops a Request's method             KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_request_objects_method_is_kept_and_refused)
connect guard dropped, name guard kept       KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_connection_to_an_ip_literal_is_refused_by_the_guard)
guard ignores the test MongoDB host          KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_the_guard_lets_the_test_mongodb_through_and_nothing_else)
service-doc points at Home                   KILLED  (FAILED envlib_api/tests/test_openapi.py::test_with_a_site_the_service_doc_resolves_to_html_and_oas31_is_claimed)
a site without its Reference is served       KILLED  (FAILED envlib_api/tests/test_openapi.py::test_without_a_site_there_is_no_docs_link_no_claim_and_a_warning[index-only])
Reference drops the required marks           KILLED  (FAILED envlib_api/tests/test_docs_inventory.py::test_the_reference_shows_every_parameter_and_status_of_api)
Reference drops the enum values              KILLED  (FAILED envlib_api/tests/test_docs_inventory.py::test_the_reference_shows_every_parameter_and_status_of_api)
Reference prints every status as 200         KILLED  (FAILED envlib_api/tests/test_docs_inventory.py::test_the_reference_shows_every_parameter_and_status_of_api)
/api documents an extra enum value           KILLED  (FAILED envlib_api/tests/test_openapi.py::test_every_documented_enum_value_is_accepted_and_no_other[/catalogue-within-units])
/api documents a looser limit pattern        KILLED  (FAILED envlib_api/tests/test_openapi.py::test_the_documented_limit_pattern_is_what_the_server_accepts)
/api documents explode=true                  KILLED  (FAILED envlib_api/tests/test_openapi.py::test_a_list_parameter_is_comma_separated_as_documented[/catalogue-aggregation_statistic])
/api drops the 503 Retry-After header        KILLED  (FAILED envlib_api/tests/test_openapi.py::test_each_documented_status_happens_with_a_documented_media_type[/catalogue-503])
HEAD /api dropped                            KILLED  (FAILED envlib_api/tests/test_openapi.py::test_every_api_route_has_a_spec_and_every_spec_a_route)
the docs API off its default limits          KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_the_docs_api_runs_on_the_default_limits)
the recorder never installed                 KILLED  (FAILED envlib_api/tests/test_openapi.py::test_zz_every_answered_status_is_documented)
node exposed-header check dropped            KILLED  (FAILED envlib_api/tests/test_docs_harness.py::test_a_header_a_browser_hides_is_refused)
the mount made unconditional                 KILLED  (FAILED envlib_api/tests/test_openapi.py::test_without_a_site_there_is_no_docs_link_no_claim_and_a_warning[missing])

# mutants_api.json re-run after the fixes: 58 of 58 KILLED.
