Since I've been calling out moments of poor/dumb writing as I've been reading through this, it's only fair that I also acknowledge points of good writing. And I think this plot twist is a really good one. It's had tons of foreshadowing, but never quite enough to give it away.