A former San Francisco police detective suffering from an extreme case of obsessive-compulsive disorder is called in to investigate an apparent assassination attempt of a mayoral candidate in which one of his bodyguards is killed.