What qualifies as good manners varies from situation to situation, but the concept of acting with good manners is hardly complicated (conform to the expected behavior of the situation).
Enforcment is a matter of encoding the rules and then applying a carrot and/or stick -- same as any other rule.
"Conform to the expected behavior of the situation" is incredibly complicated. What is the situation? How do you determine what the expected behavior is? What exactly does conforming consist of?
It takes humans years to learn how to do this. Entire books are written on the subject. A major medical disorder affecting millions of people includes a persistent difficulty doing this specific thing. Even normal people have to put serious effort into this if they visit a place where societal norms are different from what they're used to.
If it's not complicated, then I'm sure you can write down the rules for some specific situation real quick. Go ahead....
That wasn't complicated. And took 30seconds. Are there a lot of rules? Of course. Is knowing them all in advance possible? Of course not. Don't confuse that with 'complicated'.
Fine people who litter. Have an ai voice chide people who stand on the wrong side of an escalator. Both simple.
Do I really have to stand to the right on an escalator? I think the nearest one is a mile away, that seems really inconvenient and unnecessary, and it's going to be hard to get my work done.
I'm surprised to find this sentiment on a site filled with computer programmers. The most important and difficult lesson of computer programming is that simple-sounding rules have a lot of details that we take for granted.
> I think the nearest one is a mile away, that seems really inconvenient and unnecessary
I think this way of thinking, being obtuse on purpose to try to win an internet argument (without a prize, no less), is the more unnecessary thing. What point does that argumentation try to prove other than that a hypothetical version of you, as opposed to most humans who live in large cities, are an inflexible idiot?
Most people are not 100% unaware of the context in which they are engaging. We know to apply escalator rules when we're at an escalator. We know to put things in bins when we have things to put in bins. What we don't know, we can learn through observation, reading the atmosphere, and making at least a minimal effort not to showboat our individualism and, apparently, any obtuse refusal to engage with our context.
(By the way, I don't actually think you are an inflexible idiot.)