I’m self-hosting a live mirror of musicbrainz (db only) and noticed recently that a release group had been deleted. I wasn’t surprised - it was attributed to the wrong artist, which is why I was keeping track of it.
Nevertheless, I’m not sure how I can programmatically detect deletions. There is a deleted_entity but from what I can tell it’s not updated via live replication.