Great story. Lucky Spike. Lucky you to have developed that kind of relationship out of potential adversity.
Most of the free range dogs I've encountered are just goofballs, not malicious. The only hazard is when they play parade leader and weave in front of my wheel. But I don't go out of my way to get to know them. Usually I change routes if possible.