It's a companion quest that you get from her. As soon as she gives it to me she stops with her current AI package, goes to Jorrvaskr, and never goes back to Breezehome.
I think the wiki mentions problems concerning this, because I looked into it before marrying her. It may mess up her totem quests too.
If it helps, I did all of her quests and then married her after collecting all the totems, and so far everything is fine.