Some day the forward facing cameras on your car will read the street cleaning signs and warn you before you park and notify you if you are still parked there when street cleaning day/time is approaching. The nuance is that you are allowed to park after the truck has gone by (in SF).
https://www.sfmta.com/getting-around/drive-park/how-avoid-pa...