She was programmed to be insanely jealous to the point of…well, murder doesn’t fit perfectly, but that is the general point. Remember, she does show up after that so she was very much NOT deleted completely. I believe what happened there at the end was the deletion not of Monika, but of Monika’s programming. For her to all of a sudden repent for her actions felt a bit cheap given the events up to that point, so I thought about it some more. I’ve been thinking about a theory for a while now and I wanted to share it and get feedback! You know how at the end of the story, when you delete her, Monika has the moment of berating you for what you’ve done to her and then there is a long pause before she comments on how she had done so many terrible things and she apologizes for them? I thought the sudden 180 was extremely odd, especially given how well-written the story is.