>>544750638
Another variable is not having an empty party slot when being asked to join on the Rooftop. Most players don't consider this (and why would they, as they just had her as an extra follower?) and it apparently can result as summon Jaheira joining later on.
Personally, when I saw her still posing like this AFTER the Rooftop fight (where she wasn't invited to) I knew she had to be babysat. She left when we wanted to go down to the prison, walked to the Throne Room to command her Harpers to patrol the floor and switched to this battle stance while barking motivational lines. We got back from the prison, it was the same. Went to the Rooftop without her, did the needful, returned for some trading and Jaheira was still preparing for the big fight we just completed. So I had to manually tell her to join the pack, then as soon as we got to the Rooftop she just switched to auto-pilot and walked to her Colony-recruitment place.
Do I need to say more? Her whole situation is a mess and I bet the code is a big bowl of spaghetti. We can only guess where the landmines are.
>>544751101
Just remember that (Trader) Attitude != (Companion) Approval. With 1 and 2 the situation is simple, taking damage from you in any shape of form equals "betrayal" in your allies' eyes. There's no Temporary Hostility, they just flip and that's it. With 3 I think the massive negative Approval is hard-coded to happen, the "bypass" just ensures that there's nobody (read: Jaheira as a companion) to register that malus to. Your idea about pumping her Approval to the skies might work though, as I remember reading that a player managed to raise it high enough somehow that J. didn't want to leave even after the "Isobel leaves the Inn" hit.