I view XP as a reward for group success, which in itself is a bit vague. Usually it means "you succeeded at what you were trying to do", but that might involve lots of approaches - avoiding a trap rather than disarming it, negotiating a truce rather than fighting a battle, coming up with their...