In a book I'm reading there is the phrase "semi-friendly arrangement" that I don't fully understand.
Here is the context
He and I silently acknowledged each other, and although I wondered whether having been seen there would have consequences, I at least knew it wasn’t unheard of for an astronaut to seek help for a troubled marriage. The counselor wasn’t able to help us much, and our marriage continued to deteriorate. Meanwhile, I dropped the subject of our marriage each time Leslie threatened me. After Charlotte was born, and “child” changed to “children,” the stakes were even higher. So we settled into a semi-friendly arrangement in which she took care of our children and home and I pursued my career.
What does "semi-friendly arrangement" mean here?
Please explain to me.