In the prologue of The Dark Forest, Ye Wenjie has a conversation with Luo Ji in which she reveals the "axioms of cosmic sociology" as well as the concepts of "chains of suspicion" and the "technological explosion". With these clues, Luo Ji eventually developed cosmic sociology to
discover the "dark forest" state of the universe and that the Trisolarans could be deterred from conquering Earth by threatening to broadcast Trisolaris' coordinates for destruction by hostile civilizations elsewhere in the universe.
She evidently felt she needed to give this information to Luo Ji since her parting words to him were that she'd "fulfilled [her] duty".
However, Ye Wenjie's decision to seek out Luo Ji and give him this information seems counter to her goals since she
deliberately betrayed the Earth's location to the Trisolarans when she answered the Trisolaran transmission. She wanted to "end human tyranny" as the "spiritual leader" and "commander in chief" of the rebel Earth-Trisolaran Organization (ETO).
Furthermore, Ye Wenjie put both herself and Luo Ji in danger by revealing this information to him despite knowing that
the Trisolarans could know about the conversation due to the sophons. Indeed, the Trisolarans were undoubtedly aware of the conversation since they tried to have Luo Ji killed by the ETO.
Why did Ye Wenjie reveal these clues to Luo Ji?