She wasn’t much a spy, really no reason to execute her.
A spy is a spy evennot a very good one.
They used women because they thought they would go soft on them. She was treated equally like a male spy.