Not that I have any idea what actually happened but hiring someone at a low level, who seems kind of unreliable, allowing them access to something who's leakage you might not care about, letting everything play out the way it did, seems like something a spy agency would be reasonably adept it.
The women was a contractor, not an agent, so they aren't sacrificing someone they've invested in. etc
Again, what actually happened, who knows?