After reading the FT article, it’s pretty clear that plans for this raid were leaked by someone in the Afghan military who was privy to them, to their friends in the Taliban.
This was a classic betrayal and ambush, and intended to send a message.
That's what I was getting at in my (poorly worded) #3 above.
Thanks mo