retire deletes the datasets doc              KILLED  (FAILED envlib_api/tests/test_refresher.py::test_a_retire_then_re_add_never_serves_fill_to_a_store_built_before[token])
tombstone without rev bump                   KILLED  (FAILED envlib_api/tests/test_refresher.py::test_a_retire_then_re_add_never_serves_fill_to_a_store_built_before[token])
retire: entries before tombstone             KILLED  (FAILED envlib_api/tests/test_refresher.py::test_a_retire_interrupted_at_any_step_converges[after-entries])
guard: catalogue refresh failure ignored     KILLED  (FAILED envlib_api/tests/test_refresher.py::test_a_failed_catalogue_refresh_retires_nothing)
guard: recreated catalogue ignored           KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_recreated_catalogue_does_not_repoint_until_acknowledged)
unreadable value treated as absent           KILLED  (FAILED envlib_api/tests/test_refresher.py::test_a_value_with_no_db_url_keeps_the_existing_document)
membership ignores missing/applying          KILLED  (FAILED envlib_api/tests/test_refresher.py::test_a_missing_catalogue_retires_nothing_and_still_polls)
reap disabled                                KILLED  (FAILED envlib_api/tests/test_refresher.py::test_a_retire_interrupted_at_any_step_converges[after-tombstone])
parse: key mismatch accepted                 KILLED  (FAILED envlib_api/tests/test_ops.py::test_parse_entry_refuses_unusable_values[key-mismatch])
parse: remote_conn copied whole              KILLED  (FAILED envlib_api/tests/test_ops.py::test_parse_entry_keeps_only_the_connection_fields_never_credentials)
sleep is time.sleep                          SURVIVED  (62 passed, 1 warning in 30.82s)
catalogue refresh touches the heartbeat      KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_every_member_missing_is_an_error_check_in_and_leaves_the_heartbeat)
Sentry dedup off                             KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_blocked_retire_alerts_once_and_again_only_after_it_cleared)
status ignores missing                       KILLED  (FAILED envlib_api/tests/test_ops.py::test_status_flags_stale_missing_and_unapplied_but_not_retired)
db_url change deletes and re-mirrors         KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_repoint_whose_refresh_fails_restores_the_old_applied_pair)
db_url change not repointed                  KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_repoint_to_a_remote_that_does_not_answer_keeps_serving_the_old_one)
retired not cleared on re-add                KILLED  (FAILED envlib_api/tests/test_refresher.py::test_a_retire_then_re_add_never_serves_fill_to_a_store_built_before[token])
catalogue doc upserted before member refresh KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_new_entry_whose_refresh_is_inconclusive_is_not_listed)
guard: empty catalogue ignored               KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_blocked_retire_alerts_once_and_again_only_after_it_cleared)
guard: retire cap ignored                    KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_allow_retires_is_consumed_by_one_retire_pass)
guard: cap boundary >=                       KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_the_cap_allows_exactly_max_retires)
guard: allow_retires window ignored          KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_allow_retires_is_consumed_by_one_retire_pass)
allow_retires not consumed                   KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_allow_retires_is_consumed_by_one_retire_pass)
allow_retires never expires                  KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_allow_retires_expires)
allow_retires accepts an unapplied catalogue KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_allow_retires_refuses_while_the_catalogue_mirror_is_not_applied[state0])
adoption not reported                        KILLED  (FAILED envlib_api/tests/test_refresher.py::test_a_recreated_catalogue_listing_everything_is_adopted)
repoint: no probe                            KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_repoint_to_a_remote_that_does_not_answer_keeps_serving_the_old_one)
repoint: not held for an unacked uuid        KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_recreated_catalogue_does_not_repoint_until_acknowledged)
repoint: old pair not restored               KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_repoint_whose_refresh_fails_restores_the_old_applied_pair)
listing failure not isolated                 KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_one_value_mongodb_refuses_does_not_stop_the_other_listings)
membership takes non-hex keys                KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_non_hex_catalogue_keys_are_never_mirrored)
SIGTERM handler only sets the flag           KILLED  (FAILED envlib_api/tests/test_ops.py::test_sigterm_during_a_stalled_refresh_exits_at_once)
no exit watchdog                             KILLED  (FAILED envlib_api/tests/test_ops.py::test_sigterm_during_a_stalled_catalogue_value_read_exits_by_the_watchdog)
status omits never-mirrored entries          KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_status_rows_include_catalogue_entries_never_mirrored)
no recovery clearing                         KILLED  (FAILED envlib_api/tests/test_refresher.py::test_one_failing_dataset_is_isolated_and_reported_once_until_it_recovers)
blocked alert cleared every cycle (the old bug) KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_blocked_retire_alerts_once_and_again_only_after_it_cleared)
value alert cleared by a member refresh (the old bug) KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_value_failure_alerts_once_across_cycles)
value counter not reset when listed          KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_the_value_failure_count_restarts_after_the_entry_is_listed)
retires do not alert                         KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_every_retire_alerts)
ok counts any result                         KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_every_member_missing_is_an_error_check_in_and_leaves_the_heartbeat)
ok ignores a failed sync                     KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_sync_that_raises_every_cycle_is_an_error_check_in)
heartbeat on missing                         KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_every_member_missing_is_an_error_check_in_and_leaves_the_heartbeat)
poll order not by checked_at                 KILLED  (FAILED envlib_api/tests/test_alerting_and_guards.py::test_a_cycle_polls_the_oldest_check_first)
poll_seconds not capped                      KILLED  (FAILED envlib_api/tests/test_ops.py::test_config_defaults_and_refusals - Fail...)
config accepts unknown keys                  KILLED  (FAILED envlib_api/tests/test_ops.py::test_config_defaults_and_refusals - Type...)
healthcheck never fails                      KILLED  (FAILED envlib_api/tests/test_ops.py::test_the_healthcheck_fails_on_an_old_or_missing_heartbeat)
healthcheck ignores a missing heartbeat      KILLED  (FAILED envlib_api/tests/test_ops.py::test_the_healthcheck_fails_on_an_old_or_missing_heartbeat)
role lacks collMod (a valid role)            KILLED  (FAILED envlib_api/tests/test_ops.py::test_the_production_role_runs_ensure_schema_at_every_start_and_changes_the_ttl)

# Run 2026-11-24 against mongo:9.0.8 with auth, on the code after code review edr-worker-code-2's fixes
# (62 tests). 47 of 48 KILLED.
# "sleep is time.sleep" is an EQUIVALENT mutant: the SIGTERM handler raises, and a raising handler
# interrupts time.sleep as well as Event.wait (PEP 475 retries the sleep only when the handler
# returns normally). The flag-only handler, the case where the sleep would matter, is its own mutant
# and is KILLED. Event.wait stays: it also lets stop.set() end the sleep from another thread.
# History:
#   first run, 24 mutants: 2 survivors gained tests ("retire: entries before tombstone"; "guard:
#     catalogue refresh failure ignored");
#   after the code review, 48 mutants: 2 survivors gained tests ("allow_retires accepts an unapplied
#     catalogue"; "poll order not by checked_at"). "role lacks collMod" now uses a VALID role
#     (["find"]): the old empty action list was refused by the server, so the fixture failed rather
#     than the test (Sonnet's finding).
