I can totally relate to this, Escape. As a perfectionist, it's typically important for me to not do X, Y, or Z, and if any of those do occur, I feel that I'm not doing a 'clean reboot' or recovery. But you're right, this is black-and-white thinking, also called 'all-or-nothing'.
I've gotten a lot better about this over time and learning.
This is why I've come to approach my own recovery in a way that goes for the win, no matter what it looks like. If I cross my red-lines (P, PMO, MO), I would typically reset to 0. But I would now treat p-subs and edging as 'lesser' (but related) issues, that a lapse is concerning, but not a reset. But again, I've been now tracking my red-line behaviors not as a full reset (if I saw P, but didn't PMO), then as definitely a concern, but not a full reset.
I don't know if any of that makes sense, and it can sound confusing. But it goes along the famous line said in the recovery community: Fake it until you make it.
We have to learn how to navigate our lapses to where, despite the obvious failure, we get whatever win we can out of it so we can go on with positivity and renewed focus. Even if I fall complete on my face today (PMO), I'll take a step back and say, "Well, at least out of the last 30 days, I've only lapsed 5x, for an example.
Like yourself, I want a perfect streak- even now. And I think I get closer to that, but I'll be damned if I'll let a small (or big) struggle with p-subs or edging ruin it for me. So, I relate it with the overall battle, but I compartmentalize it and celebrate if I didn't go so far as to MO, P, or PMO. The same if I've actually did one or the other of those, too.
Does this make sense?