I doubt that this is comparable to Kennedy, given her lack of support for candidates like Conor Lamb or Colleen Hanabusa in their contested primaries. The only other example of Pelosi intervening in any other Senate primary is Ben Ray Lujan - a strong ally in Pelosi's personal inner circle.
I think you mostly have it right, but it's very clear in retrospect that she endorsed Kennedy because Markey was getting too close to the Squad.
She's hostile to socialism, and it's pretty well-documented. She is so neoliberal she thinks that members of Congress have a literal right to invest in the stock market. She's an ideologue on this issue. And I'm sure it has nothing to do with her own obscene wealth and privilege
Her husband is a hedge fund manager who massively outperforms the rest of the industry on returns.