A woman accused of the brutal stabbing murder of her ex-lover changed her plea to guilty after her prison girlfriend gave evidence about their pillow talk.