"How could people have decided that marijuana should be legal, if nobody had ever used it? How could states decide that same sex marriage should be permitted, if nobody had ever seen or participated in a same sex relationship?"
https://moxie.org/blog/we-should-all-have-something-to-hide/
There is a similar analogy to what is happening in the computing world, and I've heard it called "the insecurity that gives us freedom." I agree.
I fear that trying to keep a cash infrastructure in place will turn out to be a futile effort because it is so expensive. Long before cash is completely gone I bet that almost everyone who needs it will be priced out of actually using it. Also, cash has the downside of not being usable online.
The problem is that I know of no government wise enough to legislate/regulate in order to keep all the very important things you mention. Right now these possibilities exist only because they are side-effects of the physical properties of cash.
I suspect that once we really do lose cash, some sort of grass roots replacement will emerge (cryptocurrencies?). The danger is that it will be something that lends itself to money laundering and tax evasion on a grand scale. That would make it far too high risk for the purposes you're talking about.
The best solution I can think of is a constitutional right to make and receive smallish payments anonymously and a constitutional obligation for all vendors to accept one such form of payment that is available to everyone.
That would make cash one option without equating the struggle for a right to anonymous small scale payments with a specific solution that is easy to reject because it is so expensive.
It would just be a trojan horse for total control.
In fact, it would allow big actors to pretend giving freedom while in fact having perfect discreet local control when they want.
At least with cash, it's clear when you face a hostile system.
Unfortunately the longer term likelihood of retaining a cash infrastructure is equally small, at least as a realistic, effective and affordable option to pay for what people actually want to pay for.
Isn't it pretty bad that you can't use cash to buy online? Cash is becoming far less useful than it once used to be because more and more things can only be bought online or cost a lot more if you don't.
"We have to assume that if a system is perfect, then it’s static. And part of what makes us who we are, and part of what makes us alive, is that we’re dynamic and we’re surprised. One of the challenges that we’ll have to think about is, where and when is it appropriate for us to have things work exactly the way they’re supposed to, without surprises?"
There is a need for a small grey area in any system to stay sane, where people can workaround the limitations of said system.
Yes, it will be abused, and also used for nefarious purposes. But it's better than the alternative.
You need people to sometimes be able to do things the state doesn't approve. You need children to be able to mess around without parent knowing. You need to be able to go to a gay bar without living a trace. You need to be able to give cash to a homeless without him being part of the system.
Also if you make it very hard to try new things that are illegal or immoral now, your society will get stuck and lose a lot of opportunities to evolve.
Yes, it would be better to change the system to make it better first. But it's a slow and unreliable process, especially if you can't prove that your way is ok. So having little pocket of experimentation is important, and cash allows that.