The city moves the wind sand drifts yes, but the tidal flows in and out of the golden gate are moving incredible amounts of sand pretty well every day, which is why the high surf moves around so much.
It's not as though SF engineering is pushing sand south with bulldozers every year after it piles up near the golden gate bridge. There is way to much drama and misinformation flowing around on this topic IMO
It's hard to imagine SF being affected by this that much anytime soon. I can imagine the Marina and places like that having issues, but SF itself is so tall and there's so much hard rock everywhere.
But I don't know much about the Sunset or the Richmond so I guess you could speak better to that. I live near Twin Peaks.
Marshland and lagoons sounds a bit different than ocean, though. Would they not be easier to drain and contain? Or are you saying this past makes it more susceptible to bay/ocean encroachment in the future?
I'm no civil engineer so this is totally out of my realm of knowledge.
Also, I guess I'm lucky to live on one of the highest points in the city.