Vehicles must pass walkers, bicyclists, and other persons regardless of vehicle (ie. motorchair, wheelchair, scooter) with at least 4 feet of distance. They cannot pass at a high rate of speed.
https://www.massbike.org/new-massachusetts-vulnerable-road-users-laws-webinar-recap-faq