Kim Kardashian agonized over her decision to divorce Kris Humphries, and didn't make the final decision until Sunday night ... TMZ has learned.
Sources directly connected with Kim tell us ... KK cried all weekend, deciding to file legal docs, then changing her mind several times over.
We're told she clearly wasn't happy but wasn't 100% sure the marriage was irretrievably broken.
As for why she finally pulled the trigger ... we're told Kim was shocked and angry that Kris hired a Hollywood publicist. As she put it to one of her friends, "He's not in f**king Hollywood. He plays sports."