My question involves criminal law for the state of: Connecticut
All the details would fill the pages of a novel so I'm going to just provide Cliff notes.
Before I was married, when my wife (let's call her M) and I were just dating, we hit a rough spot in our relationship. We were living together in a condo and could not split easily but things were very rocky. During this time I befriended a coworker (let's call her N) who came onto me in a strong way. Nothing really happened, perhaps a kiss goodnight that lingered a little too long.
Anyway I reconciled with M and remained good friends with N. M and N actually grew to be friends with each other, so much so that N was the maid-of-honor at my wedding to M in May 2009.
Around the time I was married N started dating a guy named Q. The four of us became friends, played on a softball team together, vacationed together, etc. Q suddenly decided he no longer wanted N to be friends with either me or my wife nor did he want them as a couple to hang out with us as a couple. N agreed to his wishes, which was upsetting to both myself and my wife.
I have been avoiding N at work, since the falling out. I was avoiding her because 1) it was awkward to be around her after she told me she no longer wanted to remain friends and 2) her boyfriend probably would prefer our at work contact to be minimal. Note that in terms of work-related business I've been fine. If she needs my help I've been helpful and we can work on projects together. I simply do not stop by her office to chat nor do I join her for lunch.
She is now claiming that by avoiding her I've created a hostile work environment and that the reason I'm avoiding her is that she refused to meet me in a social setting outside of work.
My boss said I'm on 6 months probation and that I need to stop avoiding her. I asked him what to do if she walked into my office for computer help, for example, and because our doors can not be propped open I'd be behind closed doors one-on-one with her after she made sexual harassment claims. He said that I must treat her as if nothing happened and fix the computer problem even with her sitting right next to me alone in my office.
I feel like I'm getting set up for failure here.

