Records show city officials' plans to remove people sleeping outside were simmering months ahead of the Supreme Court's ruling that allowed it.