What changed: management writes became real. PATCH/DELETE revalidate
the merged monitor through the same rules as create, then bump generation
in the same UPDATE — an in-flight probe claimed under the old generation is
dropped as stale at commit. Edit and invalidation are one committed fact
(D-009): there is no moment where new config is live but old probes still
count.
And a monitor with recorded checks or incidents can’t be deleted at all
(D-008): evidence isn’t erasable through an API call. DELETE is a single
conditional statement that refuses once history exists — pause is the answer
the API hands back in the refusal message.
Proof: a_stale_observation_after_edit_is_dropped plus the patch/delete
edge tests in tests/api.rs. Live: CLI edit/pause/unpause bumped
generation 2→3→4, a stale-generation PATCH returned conflict, and
delete-with-history returned conflict.